wallee
Version:
TypeScript/JavaScript client for wallee
106 lines (105 loc) • 3.11 kB
TypeScript
/**
*
* @export
* @interface SpaceAddress
*/
export interface SpaceAddress {
/**
* The two-letter country code (ISO 3166 format).
* @type {string}
* @memberof SpaceAddress
*/
readonly country?: string;
/**
* The phone number of a mobile phone.
* @type {string}
* @memberof SpaceAddress
*/
readonly mobilePhoneNumber?: string;
/**
* The organization's name.
* @type {string}
* @memberof SpaceAddress
*/
readonly organizationName?: string;
/**
* The city, town or village.
* @type {string}
* @memberof SpaceAddress
*/
readonly city?: string;
/**
* The given or first name.
* @type {string}
* @memberof SpaceAddress
*/
readonly givenName?: string;
/**
* The postal code, also known as ZIP, postcode, etc.
* @type {string}
* @memberof SpaceAddress
*/
readonly postcode?: string;
/**
* The sales tax number of the organization.
* @type {string}
* @memberof SpaceAddress
*/
readonly salesTaxNumber?: string;
/**
* The dependent locality which is a sub-division of the state.
* @type {string}
* @memberof SpaceAddress
*/
readonly dependentLocality?: string;
/**
* The email address used for communication with clients.
* @type {string}
* @memberof SpaceAddress
*/
readonly emailAddress?: string;
/**
* The phone number.
* @type {string}
* @memberof SpaceAddress
*/
readonly phoneNumber?: string;
/**
* The sorting code identifying the post office where the PO Box is located.
* @type {string}
* @memberof SpaceAddress
*/
readonly sortingCode?: string;
/**
* The street or PO Box.
* @type {string}
* @memberof SpaceAddress
*/
readonly street?: string;
/**
* The family or last name.
* @type {string}
* @memberof SpaceAddress
*/
readonly familyName?: string;
/**
* The name of the region, typically a state, county, province or prefecture.
* @type {string}
* @memberof SpaceAddress
*/
readonly postalState?: string;
/**
* The salutation e.g. Mrs, Mr, Dr.
* @type {string}
* @memberof SpaceAddress
*/
readonly salutation?: string;
}
/**
* Check if a given object implements the SpaceAddress interface.
*/
export declare function instanceOfSpaceAddress(value: object): value is SpaceAddress;
export declare function SpaceAddressFromJSON(json: any): SpaceAddress;
export declare function SpaceAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpaceAddress;
export declare function SpaceAddressToJSON(json: any): SpaceAddress;
export declare function SpaceAddressToJSONTyped(value?: Omit<SpaceAddress, 'country' | 'mobilePhoneNumber' | 'organizationName' | 'city' | 'givenName' | 'postcode' | 'salesTaxNumber' | 'dependentLocality' | 'emailAddress' | 'phoneNumber' | 'sortingCode' | 'street' | 'familyName' | 'postalState' | 'salutation'> | null, ignoreDiscriminator?: boolean): any;