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.
BaseApiPaymentMethodRequest Class
Namespace
Usage
BaseApiPaymentMethodRequest Constructors
The following are constructors for BaseApiPaymentMethodRequest.
BaseApiPaymentMethodRequest(address, id, saveForFuture)
Signature
global BaseApiPaymentMethodRequest(commercepayments.AddressRequest address, String id, Boolean saveForFuture)
Parameters
-
address:
Type: commercepayments.AddressRequest
Sends
data related on address request to a gateway adapter during a service call.
-
id:
Type: String
-
saveForFuture:
Type: Boolean
Indicates whether Salesforce saves the payment method for future use.
BaseApiPaymentMethodRequest Properties
The following are properties for BaseApiPaymentMethodRequest.
address
Signature
global commercepayments.AddressRequest address {get; set;}
Property Value
Type: AddressRequest
idType
Signature
public commercepayments.PaymentMethodIdType idType {get; set;}
Property Value
Type: commercepayments.PaymentMethodIdType
BaseApiPaymentMethodRequest Methods
The following are methods for BaseApiPaymentMethodRequest.
equals(obj)
Signature
global Boolean equals(Object obj)
Parameters
-
obj:
Type:
Object External object whose key is to be validated.
Return Value
Type: Boolean
hashCode()
Signature
global Integer hashCode()
Return Value
Type: Integer