AuthApiPaymentMethodRequest Class
Sends information about a payment method to a gateway adapter during an authorization service call.
Contains information about the payment method that is used for an authorization request. It contains all available payment methods as fields, but populates only one field for each request. The gateway adapter uses this class when constructing an authorization request. An object of this class is available through the paymentMethod field on the AuthorizationRequest Class object.
The following are constructors for AuthApiPaymentMethodRequest.
-
AuthApiPaymentMethodRequest(cardPaymentMethodRequest)
Constructs a sample
cardPaymentMethodRequest. This constructor is intended for test usage and throws an exception if used outside of the Apex test context. -
Constructor for
AuthApiPaymentMethodRequest.
Constructs a sample cardPaymentMethodRequest. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
global AuthApiPaymentMethodRequest(commercepayments.CardPaymentMethodRequest cardPaymentMethodRequest)
- cardPaymentMethodRequest: Type: commercepayments.CardPaymentMethodRequest Contains information about the card payment method. Used to send information to a gateway adapter during a service call.
Constructor for AuthApiPaymentMethodRequest.
global AuthApiPaymentMethodRequest()
The following are properties for AuthApiPaymentMethodRequest.
-
The card payment method object used in a payment method request.
The card payment method object used in a payment method request.
global commercepayments.CardPaymentMethodRequest cardPaymentMethod {get; set;}