org.broadleafcommerce.core.payment.service
Class CreditCardPaymentInfoFactoryImpl

java.lang.Object
  extended by org.broadleafcommerce.core.payment.service.CreditCardPaymentInfoFactoryImpl
All Implemented Interfaces:
PaymentInfoFactory

@Service(value="blCreditCardPaymentInfoFactory")
public class CreditCardPaymentInfoFactoryImpl
extends Object
implements PaymentInfoFactory


Constructor Summary
CreditCardPaymentInfoFactoryImpl()
           
 
Method Summary
 PaymentInfo constructPaymentInfo(Order order)
          Constructs a default Credit Card PaymentInfo object based on the passed in order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreditCardPaymentInfoFactoryImpl

public CreditCardPaymentInfoFactoryImpl()
Method Detail

constructPaymentInfo

public PaymentInfo constructPaymentInfo(Order order)
Constructs a default Credit Card PaymentInfo object based on the passed in order. Sets the basic information necessary to complete an order.

Specified by:
constructPaymentInfo in interface PaymentInfoFactory
Parameters:
order -
Returns:
PaymentInfo - the Credit Card Payment object that gets persisted in Broadleaf.


Copyright © 2012. All Rights Reserved.