com.elasticpath.domain.payment
Interface PaymentTypeFactory

All Known Implementing Classes:
PaymentTypeFactoryImpl

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

CREDITCARD

static final PaymentType CREDITCARD
The PaymentType instance for order placed.


PAYPAL_EXPRESS

static final PaymentType PAYPAL_EXPRESS
The PaymentType instance for order on hold.

Method Detail

getPaymentType

PaymentType getPaymentType(java.lang.String typeName)
Return the PaymentType instance based on the given type name.

Parameters:
typeName - the name of the payment type.
Returns:
the PaymentType instance based on the given type name.