@Service(value="blCustomerPaymentGatewayService") public class DefaultCustomerPaymentGatewayService extends Object implements CustomerPaymentGatewayService
CustomerPaymentGatewayService.CustomerPaymentGatewayAbstractController}| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.profile.core.service.AddressService |
addressService |
protected org.broadleafcommerce.profile.core.service.CustomerPaymentService |
customerPaymentService |
protected org.broadleafcommerce.profile.core.service.CustomerService |
customerService |
protected PaymentResponseDTOToEntityService |
dtoToEntityService |
| Constructor and Description |
|---|
DefaultCustomerPaymentGatewayService() |
| Modifier and Type | Method and Description |
|---|---|
Long |
createCustomerPaymentFromResponseDTO(PaymentResponseDTO responseDTO,
PaymentGatewayConfiguration config) |
void |
deleteCustomerPaymentFromResponseDTO(PaymentResponseDTO responseDTO,
PaymentGatewayConfiguration config) |
protected void |
populateCustomerPayment(org.broadleafcommerce.profile.core.domain.CustomerPayment customerPayment,
PaymentResponseDTO responseDTO,
PaymentGatewayConfiguration config) |
Long |
updateCustomerPaymentFromResponseDTO(PaymentResponseDTO responseDTO,
PaymentGatewayConfiguration config) |
protected void |
validateResponseAndConfig(PaymentResponseDTO responseDTO,
PaymentGatewayConfiguration config) |
protected org.broadleafcommerce.profile.core.service.AddressService addressService
protected org.broadleafcommerce.profile.core.service.CustomerPaymentService customerPaymentService
protected org.broadleafcommerce.profile.core.service.CustomerService customerService
protected PaymentResponseDTOToEntityService dtoToEntityService
public DefaultCustomerPaymentGatewayService()
public Long createCustomerPaymentFromResponseDTO(PaymentResponseDTO responseDTO, PaymentGatewayConfiguration config) throws IllegalArgumentException
createCustomerPaymentFromResponseDTO in interface CustomerPaymentGatewayServiceIllegalArgumentExceptionpublic Long updateCustomerPaymentFromResponseDTO(PaymentResponseDTO responseDTO, PaymentGatewayConfiguration config) throws IllegalArgumentException
updateCustomerPaymentFromResponseDTO in interface CustomerPaymentGatewayServiceIllegalArgumentExceptionpublic void deleteCustomerPaymentFromResponseDTO(PaymentResponseDTO responseDTO, PaymentGatewayConfiguration config) throws IllegalArgumentException
deleteCustomerPaymentFromResponseDTO in interface CustomerPaymentGatewayServiceIllegalArgumentExceptionprotected void validateResponseAndConfig(PaymentResponseDTO responseDTO, PaymentGatewayConfiguration config) throws IllegalArgumentException
IllegalArgumentExceptionprotected void populateCustomerPayment(org.broadleafcommerce.profile.core.domain.CustomerPayment customerPayment,
PaymentResponseDTO responseDTO,
PaymentGatewayConfiguration config)
Copyright © 2021. All rights reserved.