Interface PaymentRequestDTOService
- All Known Implementing Classes:
PaymentRequestDTOServiceImpl
public interface PaymentRequestDTOService
- Author:
- Chris Kittrell (ckittrell)
-
Method Summary
Modifier and TypeMethodDescriptionorg.broadleafcommerce.common.payment.dto.PaymentRequestDTOpopulateCustomerInfo(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO, org.broadleafcommerce.profile.core.domain.Customer customer) Uses customer information to populate thePaymentRequestDTO.customer()objectorg.broadleafcommerce.common.payment.dto.PaymentRequestDTOpopulateCustomerInfo(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO, org.broadleafcommerce.profile.core.domain.Customer customer, String defaultEmailAddress) Uses customer information to populate thePaymentRequestDTO.customer()object
-
Method Details
-
populateCustomerInfo
org.broadleafcommerce.common.payment.dto.PaymentRequestDTO populateCustomerInfo(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO, org.broadleafcommerce.profile.core.domain.Customer customer) Uses customer information to populate thePaymentRequestDTO.customer()object- Parameters:
requestDTO- thePaymentRequestDTOthat should be populatedcustomer- theCustomerto get data from
-
populateCustomerInfo
org.broadleafcommerce.common.payment.dto.PaymentRequestDTO populateCustomerInfo(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO, org.broadleafcommerce.profile.core.domain.Customer customer, String defaultEmailAddress) Uses customer information to populate thePaymentRequestDTO.customer()object- Parameters:
requestDTO- thePaymentRequestDTOthat should be populatedcustomer- theCustomerto get data fromdefaultEmailAddress- the default email address to use ifCustomer.getEmailAddress()returns `null`
-