Class PrimaryAddress


  • @Generated("jsonschema2pojo")
    public class PrimaryAddress
    extends Object
    Primary Address

    The primary mail or residential address

    • Field Detail

      • streetLine1

        @JsonPropertyDescription("Line 1 of the street address")
        private String streetLine1
        Street Line 1

        Line 1 of the street address

      • streetLine2

        @JsonPropertyDescription("Line 2 of the street address")
        private String streetLine2
        Street Line 2

        Line 2 of the street address

      • city

        @JsonPropertyDescription("The city of residence")
        private String city
        City

        The city of residence

      • region

        @JsonPropertyDescription("The region within the country (state or province), in which the person resides")
        private String region
        Region

        The region within the country (state or province), in which the person resides

      • postalCode

        @JsonPropertyDescription("The postal (ZIP) code")
        private String postalCode
        Postal Code

        The postal (ZIP) code

      • country

        @JsonPropertyDescription("The ISO 3166-1 alpha-3 code of the country of residence")
        private PrimaryAddress.Country country
        Country

        The ISO 3166-1 alpha-3 code of the country of residence

    • Constructor Detail

      • PrimaryAddress

        public PrimaryAddress()
    • Method Detail

      • getStreetLine1

        public String getStreetLine1()
        Street Line 1

        Line 1 of the street address

      • setStreetLine1

        public void setStreetLine1​(String streetLine1)
        Street Line 1

        Line 1 of the street address

      • getStreetLine2

        public String getStreetLine2()
        Street Line 2

        Line 2 of the street address

      • setStreetLine2

        public void setStreetLine2​(String streetLine2)
        Street Line 2

        Line 2 of the street address

      • getCity

        public String getCity()
        City

        The city of residence

      • setCity

        public void setCity​(String city)
        City

        The city of residence

      • getRegion

        public String getRegion()
        Region

        The region within the country (state or province), in which the person resides

      • setRegion

        public void setRegion​(String region)
        Region

        The region within the country (state or province), in which the person resides

      • getPostalCode

        public String getPostalCode()
        Postal Code

        The postal (ZIP) code

      • setPostalCode

        public void setPostalCode​(String postalCode)
        Postal Code

        The postal (ZIP) code

      • getCountry

        public PrimaryAddress.Country getCountry()
        Country

        The ISO 3166-1 alpha-3 code of the country of residence

      • setCountry

        public void setCountry​(PrimaryAddress.Country country)
        Country

        The ISO 3166-1 alpha-3 code of the country of residence

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object