wallee
Version:
TypeScript/JavaScript client for wallee
137 lines (136 loc) • 3.5 kB
TypeScript
import type { Gender } from './Gender';
/**
*
* @export
* @interface AddressCreate
*/
export interface AddressCreate {
/**
* The country is represented with a two-letter code (ISO 3166-1 alpha-2 standard) - for example, CH for Switzerland.
* @type {string}
* @memberof AddressCreate
*/
country?: string;
/**
* The phone number of a mobile phone.
* @type {string}
* @memberof AddressCreate
*/
mobilePhoneNumber?: string;
/**
*
* @type {Gender}
* @memberof AddressCreate
*/
gender?: Gender;
/**
* The organization's name.
* @type {string}
* @memberof AddressCreate
*/
organizationName?: string;
/**
* The city, town or village.
* @type {string}
* @memberof AddressCreate
*/
city?: string;
/**
* The commercial registration number of the organization.
* @type {string}
* @memberof AddressCreate
*/
commercialRegisterNumber?: string;
/**
* The social security number.
* @type {string}
* @memberof AddressCreate
*/
socialSecurityNumber?: string;
/**
* The given or first name.
* @type {string}
* @memberof AddressCreate
*/
givenName?: string;
/**
* The postal code, also known as ZIP, postcode, etc.
* @type {string}
* @memberof AddressCreate
*/
postcode?: string;
/**
* The legal form of the organization.
* @type {number}
* @memberof AddressCreate
*/
legalOrganizationForm?: number;
/**
* The sales tax number of the organization.
* @type {string}
* @memberof AddressCreate
*/
salesTaxNumber?: string;
/**
* The date of birth.
* @type {Date}
* @memberof AddressCreate
*/
dateOfBirth?: Date;
/**
* The dependent locality which is a sub-division of the state.
* @type {string}
* @memberof AddressCreate
*/
dependentLocality?: string;
/**
* The email address.
* @type {string}
* @memberof AddressCreate
*/
emailAddress?: string;
/**
* The phone number.
* @type {string}
* @memberof AddressCreate
*/
phoneNumber?: string;
/**
* The sorting code identifying the post office where the PO Box is located.
* @type {string}
* @memberof AddressCreate
*/
sortingCode?: string;
/**
* The street or PO Box.
* @type {string}
* @memberof AddressCreate
*/
street?: string;
/**
* The family or last name.
* @type {string}
* @memberof AddressCreate
*/
familyName?: string;
/**
* The name of the region, typically a state, county, province or prefecture.
* @type {string}
* @memberof AddressCreate
*/
postalState?: string;
/**
* The salutation e.g. Mrs, Mr, Dr.
* @type {string}
* @memberof AddressCreate
*/
salutation?: string;
}
/**
* Check if a given object implements the AddressCreate interface.
*/
export declare function instanceOfAddressCreate(value: object): value is AddressCreate;
export declare function AddressCreateFromJSON(json: any): AddressCreate;
export declare function AddressCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressCreate;
export declare function AddressCreateToJSON(json: any): AddressCreate;
export declare function AddressCreateToJSONTyped(value?: AddressCreate | null, ignoreDiscriminator?: boolean): any;