Click or drag to resize

GoCardlessCustomerBankAccount Class

CustomerBankAccount object to pass information about a customer bank account. A bank account has to be tied to a customer. 1 customer can have multiple accounts. A customer's bank accounts must be unique. GoCardless will reply with a bank_account_exists error if you try to duplicate a bank account. Corresponds directly to GoCardless CustomerBankAccount object https://developer.gocardless.com/api-reference/#core-endpoints-customer-bank-accounts.
Inheritance Hierarchy
SystemObject
  NetQuarry.Services.PaymentGoCardlessCustomerBankAccount

Namespace:  NetQuarry.Services.Payment
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class CustomerBankAccount

The GoCardlessCustomerBankAccount type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyaccount_holder_name
Name of the account holder, as known by the bank. Usually this matches the name of the linked customer. This field will be transliterated, upcased and truncated to 18 characters.
Public propertyaccount_number
For the CustomerBankAccount create API. Bank account number - see local details for more information. Alternatively you can provide an iban.
Public propertyaccount_number_ending
Last two digits of account number.
Public propertybank_code
For the CustomerBankAccount create API. Bank code - see local details for more information. Alternatively you can provide an iban.
Public propertybank_name
Name of bank, taken from the bank details.
Public propertybranch_code
Branch code - see local details for more information. Alternatively you can provide an iban.
Public propertycountry_code
ISO 3166-1 alpha-2 code. Defaults to the country code of the iban if supplied, otherwise is required.
Public propertycreated_at
Fixed timestamp, recording when this resource was created.
Public propertycurrency
ISO 4217 currency code, defaults to national currency of country_code.
Public propertyenabled
Boolean value showing whether the bank account is enabled or disabled.
Public propertyiban
International Bank Account Number. Alternatively you can provide local details. IBANs are not accepted for Swedish bank accounts denominated in SEK - you must supply local details.
Public propertyid
Unique identifier, beginning with “BA”.
Public propertyIDEMPOTENCYKEY
Not part of actual object sent to GoCardless. Used in HTTP header to prevent duplicating a successful request.
Public propertylinks
IDs of things that could be related: customer, customer_bank_account_token can be linked during CustomerBankAccount creation (through API) but we do NOT use it.
Public propertymetadata
Key-value store of custom data. Up to 3 keys are permitted, with key names up to 50 characters and values up to 500 characters.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also