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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 the PaymentRequestDTO.customer() object
    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 the PaymentRequestDTO.customer() object

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PaymentRequestDTOServiceImpl

      public PaymentRequestDTOServiceImpl()
  • Method Details

    • populateCustomerInfo

      public org.broadleafcommerce.common.payment.dto.PaymentRequestDTO populateCustomerInfo(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO, org.broadleafcommerce.profile.core.domain.Customer customer)
      Description copied from interface: PaymentRequestDTOService
      Uses customer information to populate the PaymentRequestDTO.customer() object
      Specified by:
      populateCustomerInfo in interface PaymentRequestDTOService
      Parameters:
      requestDTO - the PaymentRequestDTO that should be populated
      customer - the Customer to get data from
    • populateCustomerInfo

      public org.broadleafcommerce.common.payment.dto.PaymentRequestDTO populateCustomerInfo(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO, org.broadleafcommerce.profile.core.domain.Customer customer, String defaultEmailAddress)
      Description copied from interface: PaymentRequestDTOService
      Uses customer information to populate the PaymentRequestDTO.customer() object
      Specified by:
      populateCustomerInfo in interface PaymentRequestDTOService
      Parameters:
      requestDTO - the PaymentRequestDTO that should be populated
      customer - the Customer to get data from
      defaultEmailAddress - the default email address to use if Customer.getEmailAddress() returns `null`