@Service(value="blCustomerPaymentGatewayService") public class DefaultCustomerPaymentGatewayService extends Object implements CustomerPaymentGatewayService
CustomerPaymentGatewayService.CustomerPaymentGatewayAbstractController}| Modifier and Type | Field and Description |
|---|---|
protected AddressService |
addressService |
protected CustomerPaymentService |
customerPaymentService |
protected 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(CustomerPayment customerPayment,
PaymentResponseDTO responseDTO,
PaymentGatewayConfiguration config) |
Long |
updateCustomerPaymentFromResponseDTO(PaymentResponseDTO responseDTO,
PaymentGatewayConfiguration config) |
protected void |
validateResponseAndConfig(PaymentResponseDTO responseDTO,
PaymentGatewayConfiguration config) |
protected AddressService addressService
protected CustomerPaymentService customerPaymentService
protected 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(CustomerPayment customerPayment, PaymentResponseDTO responseDTO, PaymentGatewayConfiguration config)
Copyright © 2018. All rights reserved.