PaymentGateways Interface

Interface with common payment gateway operation across all gateways.

blng

Test.

The following are methods for PaymentGateways.

Generates a token.

global Map<String, TransactionResult> processPayments(Map<String, TransactionParameter> mapOfTransactionParameterById, PaymentGatewayParameter paymentGatewayParameter)

mapOfTransactionParameterById: Type: Map<String, TransactionParameter>

paymentGatewayParameter: Type: PaymentGatewayParameter

Type: Map<String, TransactionResult>

The YourGatewayAPI class implements the PaymentGateway, PaymentGateways, and PaymentGatewayStatus interfaces.