Click or drag to resize

GoCardlessCustomer Class

Customer object to pass information about a customer. swedish_identity_number field is NEVER set by us because it may only be supplied for Swedish customers. Corresponds directly to GoCardless Customer object https://developer.gocardless.com/api-reference/#core-endpoints-customers.
Inheritance Hierarchy
SystemObject
  NetQuarry.Services.PaymentGoCardlessCustomer

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

The GoCardlessCustomer type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyaddress_line1
The first line of the customer’s address.
Public propertyaddress_line2
The second line of the customer’s address.
Public propertyaddress_line3
The third line of the customer’s address.
Public propertycity
The city of the customer’s address.
Public propertycompany_name
Customer’s company name. Required unless a given_name and family_name are provided.
Public propertycountry_code
ISO 3166-1 alpha-2 code.
Public propertycreated_at
Fixed timestamp, recording when this resource was created.
Public propertyemail
Customer’s email address.
Public propertyfamily_name
Customer’s surname. Required unless a company_name is provided.
Public propertygiven_name
Customer’s first name. Required unless a company_name is provided.
Public propertyid
Unique identifier, beginning with “CU”.
Public propertyIDEMPOTENCYKEY
Not part of actual object sent to GoCardless. Used in HTTP header to prevent duplicating a successful request.
Public propertylanguage
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”.
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.
Public propertypostal_code
The customer’s postal code.
Public propertyregion
The customer’s address region, county or department.
Public propertyswedish_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.
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