PaymentGateways Interface

Interface with common payment gateway operation across all gateways.

Namespace 

blng

Usage 

Test.

PaymentGateways Methods 

The following are methods for PaymentGateways.

processPayments(mapOfTransactionParameterById, paymentGatewayParameter) 

Generates a token.

Signature 

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

Parameters 

mapOfTransactionParameterById: Type: Map<String, TransactionParameter>

paymentGatewayParameter: Type: PaymentGatewayParameter

Return Value 

Type: Map<String, TransactionResult>

PaymentGateways Example Implementation 

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