GoCardlessCustomer Class |
Namespace: NetQuarry.Services.Payment
The GoCardlessCustomer type exposes the following members.
Name | Description | |
---|---|---|
GoCardlessCustomer |
Empty constructor.
| |
GoCardlessCustomer(String) |
Constructor with idempotency key.
|
Name | Description | |
---|---|---|
address_line1 |
The first line of the customer’s address.
| |
address_line2 |
The second line of the customer’s address.
| |
address_line3 |
The third line of the customer’s address.
| |
city |
The city of the customer’s address.
| |
company_name |
Customer’s company name. Required unless a given_name and family_name are provided.
| |
country_code |
ISO 3166-1 alpha-2 code.
| |
created_at |
Fixed timestamp, recording when this resource was created.
| |
Customer’s email address.
| ||
family_name |
Customer’s surname. Required unless a company_name is provided.
| |
given_name |
Customer’s first name. Required unless a company_name is provided.
| |
id |
Unique identifier, beginning with “CU”.
| |
IDEMPOTENCYKEY |
Not part of actual object sent to GoCardless. Used in HTTP header to prevent duplicating a successful request.
| |
language |
ISO 639-1 code. Used as the language for notification emails sent by GoCardless if your organisation does not send its own (see compliance requirements). Currently only “en”, “fr”, “de”, “pt”, “es”, “it”, “nl”, “sv” are supported. If this is not provided, the language will be chosen based on the country_code (if supplied) or default to “en”.
| |
metadata |
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.
| |
postal_code |
The customer’s postal code.
| |
region |
The customer’s address region, county or department.
| |
swedish_identity_number |
IS NOT USED.
For Swedish customers only. The civic/company number (personnummer, samordningsnummer, or organisationsnummer) of the customer. Must be supplied if the customer’s bank account is denominated in Swedish krona (SEK). This field cannot be changed once it has been set.
Beta: this field is only used for Autogiro, which is currently in beta.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
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.) |