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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiTax extends Object
Tax information.
  • Field Details

  • Constructor Details

    • ApiTax

      public ApiTax()
  • Method Details

    • included

      public ApiTax included(Boolean included)
    • getIncluded

      @Nullable public Boolean getIncluded()
      Indicates if the tax is included in the price or not.
      Returns:
      included
    • setIncluded

      public void setIncluded(Boolean included)
    • percent

      public ApiTax percent(String percent)
    • getPercent

      @Nullable public String getPercent()
      Value of the tax as a percentage.
      Returns:
      percent
    • setPercent

      public void setPercent(String percent)
    • amount

      public ApiTax amount(String amount)
    • getAmount

      @Nullable public String getAmount()
      Value of the tax in hotel currency if the tax is not included in the price.
      Returns:
      amount
    • setAmount

      public void setAmount(String amount)
    • currency

      public ApiTax currency(String currency)
    • getCurrency

      @Nullable public String getCurrency()
      Currency of the tax amount.
      Returns:
      currency
    • setCurrency

      public void setCurrency(String currency)
    • type

      public ApiTax type(ApiTax.TypeEnum type)
    • getType

      @Nullable public ApiTax.TypeEnum getType()
      Type of the tax.
      Returns:
      type
    • setType

      public void setType(ApiTax.TypeEnum type)
    • clientAmount

      public ApiTax clientAmount(String clientAmount)
    • getClientAmount

      @Nullable public String getClientAmount()
      Net amount of the tax in the client configured currency.
      Returns:
      clientAmount
    • setClientAmount

      public void setClientAmount(String clientAmount)
    • clientCurrency

      public ApiTax clientCurrency(String clientCurrency)
    • getClientCurrency

      @Nullable public String getClientCurrency()
      Client configured currency.
      Returns:
      clientCurrency
    • setClientCurrency

      public void setClientCurrency(String clientCurrency)
    • 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