public interface PaymentGatewaySubscriptionService extends PaymentGatewayTypeAware
Some gateways allow you to create a form of recurring billing by creating a subscription profile. Note: Some Gateways charge an extra fee to enable this feature
Modifier and Type | Method and Description |
---|---|
default PaymentResponse |
cancelGatewaySubscription(PaymentRequest requestDTO) |
default PaymentResponse |
createGatewaySubscription(PaymentRequest requestDTO) |
default PaymentResponse |
updateGatewaySubscription(PaymentRequest requestDTO) |
getGatewayType
default PaymentResponse createGatewaySubscription(PaymentRequest requestDTO) throws PaymentException
PaymentException
default PaymentResponse updateGatewaySubscription(PaymentRequest requestDTO) throws PaymentException
PaymentException
default PaymentResponse cancelGatewaySubscription(PaymentRequest requestDTO) throws PaymentException
PaymentException
Copyright © 2021. All rights reserved.