public class DefaultPaymentGatewayRollbackServiceProvider extends Object implements PaymentGatewayRollbackServiceProvider
Constructor and Description |
---|
DefaultPaymentGatewayRollbackServiceProvider(@NonNull List<PaymentGatewayRollbackService> rollbackServices) |
Modifier and Type | Method and Description |
---|---|
PaymentGatewayRollbackService |
getRollbackService(@NonNull String gatewayType)
Returns the first
PaymentGatewayRollbackService that matches the given
PaymentGatewayType . |
protected List<PaymentGatewayRollbackService> |
getRollbackServices() |
public DefaultPaymentGatewayRollbackServiceProvider(@NonNull @NonNull List<PaymentGatewayRollbackService> rollbackServices)
public PaymentGatewayRollbackService getRollbackService(@NonNull @NonNull String gatewayType)
PaymentGatewayRollbackServiceProvider
Returns the first PaymentGatewayRollbackService
that matches the given
PaymentGatewayType
.
getRollbackService
in interface PaymentGatewayRollbackServiceProvider
protected List<PaymentGatewayRollbackService> getRollbackServices()
Copyright © 2021. All rights reserved.