Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

PostAuthorizationResponse Class

Response sent by the payment gateway adapter for a postauthorization service.

Namespace

CommercePayments

Usage

This class extends AbstractTransactionResponse. The constructor of this class takes no arguments. For example:

CommercePayments.PostAuthorizationResponse authr = new CommercePayments.PostAuthorizationResponse();

Contains information about the payment gateway’s response following an authorization transaction. The gateway adapter uses the payment gateway’s response to populate the PostAuthorizationResponse fields. The payments platform uses the information from this class to settle the transaction.