|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PaymentTypeFactory
The factory for enum type PaymentType
object handling.
Field Summary | |
---|---|
static PaymentType |
CREDITCARD
The PaymentType instance for order placed. |
static PaymentType |
PAYPAL_EXPRESS
The PaymentType instance for order on hold. |
Method Summary | |
---|---|
PaymentType |
getPaymentType(java.lang.String typeName)
Return the PaymentType instance based on the given type name. |
Field Detail |
---|
static final PaymentType CREDITCARD
PaymentType
instance for order placed.
static final PaymentType PAYPAL_EXPRESS
PaymentType
instance for order on hold.
Method Detail |
---|
PaymentType getPaymentType(java.lang.String typeName)
PaymentType
instance based on the given type name.
typeName
- the name of the payment type.
PaymentType
instance based on the given type name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |