@Service(value="blPaymentRequestDTOService") public class PaymentRequestDTOServiceImpl extends Object implements PaymentRequestDTOService
Constructor and Description |
---|
PaymentRequestDTOServiceImpl() |
Modifier and Type | Method and Description |
---|---|
PaymentRequestDTO |
populateCustomerInfo(PaymentRequestDTO requestDTO,
Customer customer)
Uses customer information to populate the
PaymentRequestDTO.customer() object |
PaymentRequestDTO |
populateCustomerInfo(PaymentRequestDTO requestDTO,
Customer customer,
String defaultEmailAddress)
Uses customer information to populate the
PaymentRequestDTO.customer() object |
public PaymentRequestDTO populateCustomerInfo(PaymentRequestDTO requestDTO, Customer customer)
PaymentRequestDTOService
PaymentRequestDTO.customer()
objectpopulateCustomerInfo
in interface PaymentRequestDTOService
requestDTO
- the PaymentRequestDTO
that should be populatedcustomer
- the Customer
to get data frompublic PaymentRequestDTO populateCustomerInfo(PaymentRequestDTO requestDTO, Customer customer, String defaultEmailAddress)
PaymentRequestDTOService
PaymentRequestDTO.customer()
objectpopulateCustomerInfo
in interface PaymentRequestDTOService
requestDTO
- the PaymentRequestDTO
that should be populatedcustomer
- the Customer
to get data fromdefaultEmailAddress
- the default email address to use if Customer.getEmailAddress()
returns `null`Copyright © 2022. All rights reserved.