wallee
Version:
TypeScript/JavaScript client for wallee
138 lines (137 loc) • 4.24 kB
TypeScript
import type { Gender } from './Gender';
import type { LegalOrganizationForm } from './LegalOrganizationForm';
/**
*
* @export
* @interface CustomerPostalAddress
*/
export interface CustomerPostalAddress {
/**
* The two-letter country code (ISO 3166 format).
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly country?: string;
/**
* The phone number of a mobile phone.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly mobilePhoneNumber?: string;
/**
*
* @type {Gender}
* @memberof CustomerPostalAddress
*/
gender?: Gender;
/**
* The organization's name.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly organizationName?: string;
/**
* The city, town or village.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly city?: string;
/**
* The commercial registration number of the organization.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly commercialRegisterNumber?: string;
/**
* The social security number.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly socialSecurityNumber?: string;
/**
* The given or first name.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly givenName?: string;
/**
* The postal code, also known as ZIP, postcode, etc.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly postcode?: string;
/**
*
* @type {LegalOrganizationForm}
* @memberof CustomerPostalAddress
*/
legalOrganizationForm?: LegalOrganizationForm;
/**
* The sales tax number of the organization.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly salesTaxNumber?: string;
/**
* The date of birth.
* @type {Date}
* @memberof CustomerPostalAddress
*/
readonly dateOfBirth?: Date;
/**
* The dependent locality which is a sub-division of the state.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly dependentLocality?: string;
/**
* The email address.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly emailAddress?: string;
/**
* The phone number.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly phoneNumber?: string;
/**
* The sorting code identifying the post office where the PO Box is located.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly sortingCode?: string;
/**
* The street or PO Box.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly street?: string;
/**
* The family or last name.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly familyName?: string;
/**
* The name of the region, typically a state, county, province or prefecture.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly postalState?: string;
/**
* The salutation e.g. Mrs, Mr, Dr.
* @type {string}
* @memberof CustomerPostalAddress
*/
readonly salutation?: string;
}
/**
* Check if a given object implements the CustomerPostalAddress interface.
*/
export declare function instanceOfCustomerPostalAddress(value: object): value is CustomerPostalAddress;
export declare function CustomerPostalAddressFromJSON(json: any): CustomerPostalAddress;
export declare function CustomerPostalAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerPostalAddress;
export declare function CustomerPostalAddressToJSON(json: any): CustomerPostalAddress;
export declare function CustomerPostalAddressToJSONTyped(value?: Omit<CustomerPostalAddress, 'country' | 'mobilePhoneNumber' | 'organizationName' | 'city' | 'commercialRegisterNumber' | 'socialSecurityNumber' | 'givenName' | 'postcode' | 'salesTaxNumber' | 'dateOfBirth' | 'dependentLocality' | 'emailAddress' | 'phoneNumber' | 'sortingCode' | 'street' | 'familyName' | 'postalState' | 'salutation'> | null, ignoreDiscriminator?: boolean): any;