Class SimpleAddressSupplier

java.lang.Object
travel.wink.sdk.extranet.booking.model.SimpleAddressSupplier

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-03-04T20:47:24.964660134+07:00[Asia/Bangkok]") public class SimpleAddressSupplier extends Object
Address information
  • Field Details

  • Constructor Details

    • SimpleAddressSupplier

      public SimpleAddressSupplier()
    • SimpleAddressSupplier

      public SimpleAddressSupplier(String fullAddress)
  • Method Details

    • address1

      public SimpleAddressSupplier address1(String address1)
    • getAddress1

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

      public void setAddress1(String address1)
    • address2

      public SimpleAddressSupplier address2(String address2)
    • getAddress2

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

      public void setAddress2(String address2)
    • state

      public SimpleAddressSupplier state(String state)
    • getState

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

      public void setState(String state)
    • postalCode

      public SimpleAddressSupplier postalCode(String postalCode)
    • getPostalCode

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

      public void setPostalCode(String postalCode)
    • county

      public SimpleAddressSupplier county(String county)
    • getCounty

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

      public void setCounty(String county)
    • city

      public SimpleAddressSupplier city(String city)
    • getCity

      @Nonnull @NotNull public @NotNull String getCity()
      City name
      Returns:
      city
    • setCity

      public void setCity(String city)
    • countryCode

      public SimpleAddressSupplier countryCode(String countryCode)
    • getCountryCode

      @Nonnull @NotNull public @NotNull String getCountryCode()
      Country
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(String countryCode)
    • 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