com.elasticpath.domain.payment.impl
Class PaymentTypeFactoryImpl

java.lang.Object
  extended by com.elasticpath.domain.payment.impl.PaymentTypeFactoryImpl
All Implemented Interfaces:
PaymentTypeFactory

public class PaymentTypeFactoryImpl
extends java.lang.Object
implements PaymentTypeFactory

Represet a default implementation of PaymentTypeFactory.


Field Summary
 
Fields inherited from interface com.elasticpath.domain.payment.PaymentTypeFactory
CREDITCARD, PAYPAL_EXPRESS
 
Constructor Summary
PaymentTypeFactoryImpl()
           
 
Method Summary
 PaymentType getPaymentType(java.lang.String typeName)
          Return the PaymentType instance based on the given type name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentTypeFactoryImpl

public PaymentTypeFactoryImpl()
Method Detail

getPaymentType

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

Specified by:
getPaymentType in interface PaymentTypeFactory
Parameters:
typeName - the name of the payment type.
Returns:
the PaymentType instance based on the given type name.