BankPaymentMethodRequest Class
Sends data related to a bank payment method to a gateway adapter during a service call.
Use the BankPaymentMethodRequest class to include bank payment details in a Tokenize request. The gateway adapter reads the fields from this class when constructing the tokenized JSON request for the payment gateway. You can create an instance of this class by calling bankPaymentMethod on the PaymentMethodTokenizationRequest class.
The following are properties for BankPaymentMethodRequest.
-
The first name of the account holder for the bank payment method.
-
The last name of the account holder for the bank payment method.
-
The name of the account holder for the bank payment method.
-
The type of the account holder.
-
Salesforce Payments account ID associated with the bank payment method.
-
The unique account number for the bank account.
-
The type for the bank account.
-
Indicates whether a token for recurring payments is being requested (true) or not (false). The token enables the payment method to be used for recurring payments.
-
The routing number is a unique nine-digit code that identifies the bank.
-
The bank type associated with the bank payment method.
-
Additional details about the bank account.
-
The email address of the bank account holder.
-
Authorization from the account holder to debit their payment method.
-
The nick name of the account holder.
-
The three-letter code that identifies the type of electronic payment transaction being processed within the Automated Clearing House (ACH) network.
The first name of the account holder for the bank payment method.
public String accountHolderFirstName {get; set;}
Type: String
The last name of the account holder for the bank payment method.
public String accountHolderLastName {get; set;}
Type: String
The name of the account holder for the bank payment method.
public String accountHolderName {get; set;}
Type: String
The type of the account holder.
public commercepayments.AccountHolderType accountHolderType {get; set;}
Type: commercepayments.AccountHolderType
Salesforce Payments account ID associated with the bank payment method.
public String accountId {get; set;}
Type: String
The unique account number for the bank account.
public String accountNumber {get; set;}
Type: String
The type for the bank account.
public commercepayments.AccountType accountType {get; set;}
Type: commercepayments.AccountType
Indicates whether a token for recurring payments is being requested (true) or not (false). The token enables the payment method to be used for recurring payments.
public Boolean autoPay {get; set;}
Type: Boolean
The routing number is a unique nine-digit code that identifies the bank.
public String bankCode {get; set;}
Type: String
The bank type associated with the bank payment method.
public commercepayments.BankType bankType {get; set;}
Type: commercepayments.BankType
Additional details about the bank account.
public String comments {get; set;}
Type: String
The email address of the bank account holder.
public String email {get; set;}
Type: String
Authorization from the account holder to debit their payment method.
public String mandate {get; set;}
Type: String
The nick name of the account holder.
public String nickName {get; set;}
Type: String
The three-letter code that identifies the type of electronic payment transaction being processed within the Automated Clearing House (ACH) network.
public commercepayments.StandardEntryClassCode standardEntryClassCode {get; set;}
Type: commercepayments.StandardEntryClassCode
The following are methods for BankPaymentMethodRequest.
-
Maintains the integrity of lists of type
BankPaymentMethodRequestby determining the equality of external objects in a list. This method is dynamic and based on the equals method in Java. -
Maintains the integrity of lists of type
BankPaymentMethodRequest. -
Converts a date to a string.
Maintains the integrity of lists of type BankPaymentMethodRequest by determining the equality of external objects in a list. This method is dynamic and based on the equals method in Java.
public Boolean equals(Object obj)
-
obj:
Type: Object External object whose key is to be validated.
Type: Boolean
Maintains the integrity of lists of type BankPaymentMethodRequest.
public Integer hashCode()
Type: Integer
Converts a date to a string.
public String toString()
Type: String