BankPaymentMethodResponse Class
This class contains information about the bank payment method response. The gateway adapter reads the gateway response and generates a BankPaymentMethodResponse, populating the required fields to create a bank payment method.
The following are methods for BankPaymentMethodResponse.
-
setAccountHolderType(accountHolderType)
Sets the account holder type for the bank payment method.
-
Sets the Payments account ID associated with the bank payment method.
-
Sets the account type for the bank payment method.
-
Sets the unique nine-digit code that identifies the bank code for the bank payment method.
-
Sets the bank name for the bank payment method.
-
Sets the bank type for the bank payment method.
-
Sets any additional details about the bank account.
-
Sets the email address of the bank account holder.
-
Sets the gateway token value that the gateway returned.
-
setGatewayTokenDetails(gatewayTokenDetails)
Sets any additional information that the gateway returned about the payment token.
-
Sets the last four digits of the bank account number.
-
Sets the name of the account holder for the bank payment method.
-
setSavedPaymentMethodId(savedPaymentMethodId)
Sets the saved payment method ID for the bank account holder.
-
setStandardEntryClassCode(standardEntryClassCode)
Sets the code that identifies the type of electronic payment transaction being processed within the Automated Clearing House (ACH) network.
Sets the account holder type for the bank payment method.
public void setAccountHolderType(commercepayments.AccountHolderType accountHolderType)
- accountHolderType: Type: commercepayments.AccountHolderType
Type: void
Sets the Payments account ID associated with the bank payment method.
public void setAccountId(String accountId)
- accountId: Type: String
Type: void
Sets the account type for the bank payment method.
public void setAccountType(commercepayments.AccountType accountType)
- accountType: Type: commercepayments.AccountType
Type: void
Sets the unique nine-digit code that identifies the bank code for the bank payment method.
public void setBankCode(String bankCode)
- bankCode: Type: String
Type: void
Sets the bank name for the bank payment method.
public void setBankName(String bankName)
- bankName: Type: String
Type: void
Sets the bank type for the bank payment method.
public void setBankType(commercepayments.BankType bankType)
- bankType: Type: commercepayments.BankType
Type: void
Sets any additional details about the bank account.
public void setComments(String comments)
- comments: Type: String
Type: void
Sets the email address of the bank account holder.
public void setEmail(String email)
- email: Type: String
Type: void
Sets the gateway token value that the gateway returned.
public void setGatewayToken(String gatewayToken)
- gatewayToken: Type: String
Type: void
Sets any additional information that the gateway returned about the payment token.
public void setGatewayTokenDetails(String gatewayTokenDetails)
- gatewayTokenDetails: Type: String
Type: void
Sets the last four digits of the bank account number.
public void setLast4(String lastFour)
- lastFour: Type: String
Type: void
Sets the name of the account holder for the bank payment method.
public void setName(String name)
- name: Type: String
Type: void
Sets the saved payment method ID for the bank account holder.
public void setSavedPaymentMethodId(String savedPaymentMethodId)
- savedPaymentMethodId: Type: String
Type: void
Sets the code that identifies the type of electronic payment transaction being processed within the Automated Clearing House (ACH) network.
public void setStandardEntryClassCode(commercepayments.StandardEntryClassCode standardEntryClassCode)
- standardEntryClassCode: Type: commercepayments.StandardEntryClassCode
Type: void