org.broadleafcommerce.vendor.paypal.service.payment
Class PayPalPaymentInfoFactoryImpl
java.lang.Object
org.broadleafcommerce.vendor.paypal.service.payment.PayPalPaymentInfoFactoryImpl
- All Implemented Interfaces:
- org.broadleafcommerce.core.payment.service.PaymentInfoFactory
public class PayPalPaymentInfoFactoryImpl
- extends Object
- implements org.broadleafcommerce.core.payment.service.PaymentInfoFactory
Created with IntelliJ IDEA.
User: elbertbautista
Date: 6/13/12
Time: 1:54 PM
|
Method Summary |
org.broadleafcommerce.core.payment.domain.PaymentInfo |
constructPaymentInfo(org.broadleafcommerce.core.order.domain.Order order)
Constructs a default PayPal 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 |
PayPalPaymentInfoFactoryImpl
public PayPalPaymentInfoFactoryImpl()
constructPaymentInfo
public org.broadleafcommerce.core.payment.domain.PaymentInfo constructPaymentInfo(org.broadleafcommerce.core.order.domain.Order order)
- Constructs a default PayPal PaymentInfo object based on the passed in order.
Sets the basic information necessary to complete an order.
- Specified by:
constructPaymentInfo in interface org.broadleafcommerce.core.payment.service.PaymentInfoFactory
- Parameters:
order -
- Returns:
- PaymentInfo - the PayPal payment object that gets sent to PayPal and persisted in Broadleaf.
Copyright © 2012. All Rights Reserved.