org.broadleafcommerce.core.payment.service
Class CODPaymentInfoFactoryImpl

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

@Service(value="blCODPaymentInfoFactory")
public class CODPaymentInfoFactoryImpl
extends Object
implements PaymentInfoFactory

Collect On Delivery(COD) PaymentInfo factory

Author:
Joshua Skorton (jskorton)

Constructor Summary
CODPaymentInfoFactoryImpl()
           
 
Method Summary
 PaymentInfo constructPaymentInfo(Order order)
          Constructs a COD 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

CODPaymentInfoFactoryImpl

public CODPaymentInfoFactoryImpl()
Method Detail

constructPaymentInfo

public PaymentInfo constructPaymentInfo(Order order)
Constructs a COD 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 COD Payment object that gets persisted in Broadleaf.


Copyright © 2013. All Rights Reserved.