EPBank Type
Contains the customer's bank routing and account information.
Remarks
This type contains the customer's bank account information, and is used for electronic check transactions authorized by the ECheck component. The information contained by this type includes the customer's AccountNumber, the RoutingNumber (or ABA number) to his bank, the Name of the bank, and the AccountType (Checking or Savings). These may be set using the fields, or via the constructors.
Example: Setting the Fields
EPBank bank = new EPBank(); bank.AccountNumber = "9999967"; bank.RoutingNumber = "005300065"; bank.AccountType = acctChecking; bank.Name = "Wachovia"; bank.AccountHolderName = "John Smith" ECheck1.Bank = bank;
Example: Using the Constructors:
ECheck1.Bank = new EPBank("9999967", "005300065", acctChecking, "Wachovia", "John Smith");
Fields
AccountClass TibpAccountClass |
Indicates whether a personal or business account is used for this transaction. Available values:
| ||||||
AccountHolderName String |
Account holder's name. This property contains the customer's name as it appears on their account. Many gateways use this property in addition to, or instead of, the Customer Firsts and Last name properties. Note that if this property is not specified, the FullName property from the EPCustomer type will be used instead. | ||||||
AccountNumber String |
Bank account number for ACH transactions. This property contains the customer's bank account number, which along with the RoutingNumber identify the location of the account where funds are to be drawn from for ACH transactions. This property is required for all ACH transactions. | ||||||
AccountType TibpAccountTypes |
Indicates whether a checking or savings account is used for this transaction. For gateways that support it, this property allows funds to be withdrawn (or added in the case of a Credit) from either the customer's Checking or Savings account. Available values:
| ||||||
Name String |
Name of the account holder's bank. For example, Citibank, Wells-Fargo, Wachovia, etc. This property contains the name of the bank associated with the RoutingNumber. | ||||||
RoutingNumber String |
Routing number for ACH transactions. This property contains the routing number to the customer's bank (Also known as an ABA code). This number indicates at which bank the AccountNumber is located, and is used to identify the location of the account where funds are to be drawn from for ACH transactions. This property is required for all ACH transactions. Note: When using ACHPayments gateway, a leading zero must be added for Canadian bank accounts. |
Constructors
constructor Create();
constructor Create(valRoutingNumber: String; valAccountNumber: String; valAccountClass: TibpAccountClass; valAccountType: TibpAccountTypes);
constructor Create(valRoutingNumber: String; valAccountNumber: String; valAccountClass: TibpAccountClass; valAccountType: TibpAccountTypes; valName: String; valAccountHolderName: String);