PaymentGatewayNotificationContext Class
Wraps the information related to a gateway notification.
This class is used with asynchronous payments. It wraps all of the information related to a notification from the payment gateway. The payments platform provides its context to the payment gateway adapters.
The constructor of this class takes no arguments. For example:
CommercePayments.PaymentGatewayNotificationContext pgnc = new CommercePayments.PaymentGatewayNotificationContext();
The following are methods for PaymentGatewayNotificationContext.
-
getPaymentGatewayNotificationRequest()
Returns the payment gateway’s notification request.
Returns the payment gateway’s notification request.
global commercepayments.PaymentGatewayNotificationRequest getPaymentGatewayNotificationRequest()