org.broadleafcommerce.core.payment.service
Class CODPaymentInfoFactoryImpl
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CODPaymentInfoFactoryImpl
public CODPaymentInfoFactoryImpl()
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.