Interface PaymentGatewayTypeAware
- All Known Subinterfaces:
PassthroughConfiguration,PassthroughPaymentValidator,PassthroughTransactionService,PaymentGateway3DSTransactionLookupService,PaymentGatewayConfiguration,PaymentGatewayCustomerService,PaymentGatewayHostedService,PaymentGatewayPaymentModificationService,PaymentGatewayPaymentValidator,PaymentGatewayReportingService,PaymentGatewayRollbackService,PaymentGatewaySavedPaymentMethodService,PaymentGatewaySavedPaymentMethodWebhookHandler,PaymentGatewayTransactionConfirmationService,PaymentGatewayTransactionLookupService,PaymentGatewayTransactionResponseService,PaymentGatewayTransactionResponseValidator,PaymentGatewayTransactionService,PaymentGatewayWebhookHandler
- All Known Implementing Classes:
DefaultPassthroughConfiguration,DefaultPassthroughPaymentValidator,DefaultPassthroughTestingTransactionService,DefaultPassthroughTransactionService
public interface PaymentGatewayTypeAware
This API is intended to identify the related
PaymentGatewayType so that the resource can
be easily identified by the payment gateway type in PaymentGatewayResourceProvider.- Author:
- Chris Kittrell (ckittrell)
-
Method Summary
Modifier and TypeMethodDescriptionEach payment module should have a unique implementation ofPaymentGatewayTypewith only a single type.
-
Method Details
-
getGatewayType
String getGatewayType()Each payment module should have a unique implementation ofPaymentGatewayTypewith only a single type. For instance, the Braintree module would have a 'BraintreePaymentGatewayType' implementation which defines its gateway type key.- Returns:
- The
PaymentGatewayTyperelated to implementing resource
-