public static class MandateImportEntryService.MandateImportEntryCreateRequest.Customer
extends java.lang.Object
Constructor and Description |
---|
MandateImportEntryService.MandateImportEntryCreateRequest.Customer() |
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer()
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withAddressLine1(java.lang.String addressLine1)
The first line of the customer’s address. Required if mandate import scheme is bacs
.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withAddressLine2(java.lang.String addressLine2)
The second line of the customer’s address.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withAddressLine3(java.lang.String addressLine3)
The third line of the customer’s address.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withCity(java.lang.String city)
The city of the customer’s address.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withCompanyName(java.lang.String companyName)
Customer’s company name. Required unless a given_name
and family_name
are provided.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withCountryCode(java.lang.String countryCode)
ISO 3166-1 alpha-2 code.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withDanishIdentityNumber(java.lang.String danishIdentityNumber)
For Danish customers only. The civic/company number (CPR or CVR) of the customer. Must be supplied if the customer’s bank account is denominated in Danish krone (DKK).
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withEmail(java.lang.String email)
Customer’s email address. Required in most cases, as this allows GoCardless to send notifications to this customer.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withFamilyName(java.lang.String familyName)
Customer’s surname. Required unless a company_name
is provided.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withGivenName(java.lang.String givenName)
Customer’s first name. Required unless a company_name
is provided.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withLanguage(java.lang.String 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”, “da”, “nb”, “sl”, “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 MandateImportEntryService.MandateImportEntryCreateRequest.Customer withPostalCode(java.lang.String postalCode)
The customer’s postal code. Required if mandate import scheme is bacs
.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withRegion(java.lang.String region)
The customer’s address region, county or department.
public MandateImportEntryService.MandateImportEntryCreateRequest.Customer withSwedishIdentityNumber(java.lang.String swedishIdentityNumber)
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.