Class ApiBillingAddress

java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiBillingAddress

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiBillingAddress extends Object
The billing address of your credit card. Mandatory for clients with AVS or other fraud detection mechanisms activated. Please contact apitude@hotelbeds.com to know if you must provide this data or not. Normally this is enabled only for clients using the end user's credit card.
  • Field Details

  • Constructor Details

    • ApiBillingAddress

      public ApiBillingAddress()
  • Method Details

    • address1

      public ApiBillingAddress address1(String address1)
    • getAddress1

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

      public void setAddress1(String address1)
    • address2

      public ApiBillingAddress address2(String address2)
    • getAddress2

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

      public void setAddress2(String address2)
    • city

      public ApiBillingAddress city(String city)
    • getCity

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

      public void setCity(String city)
    • state

      public ApiBillingAddress state(String state)
    • getState

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

      public void setState(String state)
    • postalCode

      public ApiBillingAddress postalCode(String postalCode)
    • getPostalCode

      @Nonnull @NotNull public @NotNull String getPostalCode()
      Get postalCode
      Returns:
      postalCode
    • setPostalCode

      public void setPostalCode(String postalCode)
    • countryCode

      public ApiBillingAddress countryCode(String countryCode)
    • getCountryCode

      @Nonnull @NotNull public @NotNull String getCountryCode()
      Code of the country.
      Returns:
      countryCode
    • setCountryCode

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