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.