File
Optional
cantonCode
|
Type : string
|
|
Optional
longName
|
Type : string
|
|
Optional
municipalityId
|
Type : number
|
|
Optional
postalLocalityHistoryId
|
Type : string
|
|
Optional
zipCode
|
Type : string
|
|
Optional
zipCodeId
|
Type : string
|
|
export class Street {
estrid?: string;
longName: string;
}
export class Locality {
postalLocalityHistoryId?: string;
zipCode?: string; // zipCode is a string and not a Long because foreign zip code can be anything
longName?: string;
zipCodeId?: string;
municipalityId?: number;
cantonCode?: string;
}
export class Country {
iso2Id: string;
shortNameFr: string;
}
export class Address {
addressLine1?: string;
addressLine2?: string;
postOfficeBoxText?: string;
postOfficeBoxNumber?: string;
street?: Street;
houseNumber?: string;
dwellingNumber?: string;
locality?: Locality;
country?: Country;
}