File

projects/prestations-ng/src/foehn-address/address.type.ts

Index

Properties

Properties

Optional addressLine1
Type : string
Optional addressLine2
Type : string
Optional country
Type : Country
Optional dwellingNumber
Type : string
Optional houseNumber
Type : string
Optional locality
Type : Locality
Optional postOfficeBoxNumber
Type : string
Optional postOfficeBoxText
Type : string
Optional street
Type : Street
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;
}

results matching ""

    No results matching ""