Newer Version Available

This content describes an older version of this product. View Latest

PostAuthApiPaymentMethodRequest(cardPaymentMethodRequest)

Constructs a sample cardPaymentMethodRequest. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.

Signature

global PostAuthApiPaymentMethodRequest(commercepayments.CardPaymentMethodRequest cardPaymentMethodRequest)

Parameters

cardPaymentMethodRequest
Type: commercepayments.CardPaymentMethodRequest
Contains information about the card payment method. Used to send information to a gateway adapter during a service call.