Class PaymentRequestDTOServiceImpl
java.lang.Object
org.broadleafcommerce.core.payment.service.PaymentRequestDTOServiceImpl
- All Implemented Interfaces:
PaymentRequestDTOService
@Service("blPaymentRequestDTOService")
public class PaymentRequestDTOServiceImpl
extends Object
implements PaymentRequestDTOService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpopulateCustomerInfo(PaymentRequestDTO requestDTO, Customer customer) Uses customer information to populate thePaymentRequestDTO.customer()objectpopulateCustomerInfo(PaymentRequestDTO requestDTO, Customer customer, String defaultEmailAddress) Uses customer information to populate thePaymentRequestDTO.customer()object
-
Constructor Details
-
PaymentRequestDTOServiceImpl
public PaymentRequestDTOServiceImpl()
-
-
Method Details
-
populateCustomerInfo
Description copied from interface:PaymentRequestDTOServiceUses customer information to populate thePaymentRequestDTO.customer()object- Specified by:
populateCustomerInfoin interfacePaymentRequestDTOService- Parameters:
requestDTO- thePaymentRequestDTOthat should be populatedcustomer- theCustomerto get data from
-
populateCustomerInfo
public PaymentRequestDTO populateCustomerInfo(PaymentRequestDTO requestDTO, Customer customer, String defaultEmailAddress) Description copied from interface:PaymentRequestDTOServiceUses customer information to populate thePaymentRequestDTO.customer()object- Specified by:
populateCustomerInfoin interfacePaymentRequestDTOService- Parameters:
requestDTO- thePaymentRequestDTOthat should be populatedcustomer- theCustomerto get data fromdefaultEmailAddress- the default email address to use ifCustomer.getEmailAddress()returns `null`
-