public interface CustomerPaymentGatewayService
This is designed as a generic contract for allowing payment modules to tokenize payments and add it to a customer profile represented in Broadleaf while still staying decoupled from any of the Broadleaf core framework concepts.
Modifier and Type | Method and Description |
---|---|
Long |
createCustomerPaymentFromResponseDTO(PaymentResponse responseDTO,
PaymentGatewayConfiguration config) |
void |
deleteCustomerPaymentFromResponseDTO(PaymentResponse responseDTO,
PaymentGatewayConfiguration config) |
Long |
updateCustomerPaymentFromResponseDTO(PaymentResponse responseDTO,
PaymentGatewayConfiguration config) |
Long createCustomerPaymentFromResponseDTO(PaymentResponse responseDTO, PaymentGatewayConfiguration config) throws IllegalArgumentException
responseDTO
- the response from the gatewayconfig
- configuration values for the payment gatewayIllegalArgumentException
Long updateCustomerPaymentFromResponseDTO(PaymentResponse responseDTO, PaymentGatewayConfiguration config) throws IllegalArgumentException
responseDTO
- the response from the gatewayconfig
- configuration values for the payment gatewayIllegalArgumentException
void deleteCustomerPaymentFromResponseDTO(PaymentResponse responseDTO, PaymentGatewayConfiguration config) throws IllegalArgumentException
responseDTO
- the response from the gatewayconfig
- configuration values for the payment gatewayIllegalArgumentException
Copyright © 2021. All rights reserved.