Class SimpleAddressNonAuthenticatedEntity

java.lang.Object
travel.wink.sdk.lookup.model.SimpleAddressNonAuthenticatedEntity

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:20:57.458275411+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class SimpleAddressNonAuthenticatedEntity extends Object
Address information
  • Field Details

  • Constructor Details

    • SimpleAddressNonAuthenticatedEntity

      public SimpleAddressNonAuthenticatedEntity()
    • SimpleAddressNonAuthenticatedEntity

      public SimpleAddressNonAuthenticatedEntity(String country, String fullAddress)
      Constructor with only readonly parameters
  • Method Details

    • address1

      public SimpleAddressNonAuthenticatedEntity address1(@Nonnull String address1)
    • getAddress1

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getAddress1()
      Address line 1
      Returns:
      address1
    • setAddress1

      public void setAddress1(@Nonnull String address1)
    • address2

      public SimpleAddressNonAuthenticatedEntity address2(@Nullable String address2)
    • getAddress2

      @Nullable public String getAddress2()
      Address line 2
      Returns:
      address2
    • setAddress2

      public void setAddress2(@Nullable String address2)
    • state

      public SimpleAddressNonAuthenticatedEntity state(@Nullable String state)
    • getState

      @Nullable public String getState()
      State
      Returns:
      state
    • setState

      public void setState(@Nullable String state)
    • postalCode

      public SimpleAddressNonAuthenticatedEntity postalCode(@Nonnull String postalCode)
    • getPostalCode

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getPostalCode()
      Postal / zip code
      Returns:
      postalCode
    • setPostalCode

      public void setPostalCode(@Nonnull String postalCode)
    • county

      public SimpleAddressNonAuthenticatedEntity county(@Nullable String county)
    • getCounty

      @Nullable public String getCounty()
      County
      Returns:
      county
    • setCounty

      public void setCounty(@Nullable String county)
    • city

      public SimpleAddressNonAuthenticatedEntity city(@Nonnull String city)
    • getCity

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getCity()
      City name
      Returns:
      city
    • setCity

      public void setCity(@Nonnull String city)
    • countryCode

      public SimpleAddressNonAuthenticatedEntity countryCode(@Nonnull String countryCode)
    • getCountryCode

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getCountryCode()
      Country
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(@Nonnull String countryCode)
    • getCountry

      @Nullable public String getCountry()
      Country
      Returns:
      country
    • getFullAddress

      @Nullable public String getFullAddress()
      Address 1, Address 2, City, State, Postal / Zip code, Country
      Returns:
      fullAddress
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object