Class ApiTaxes

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

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

  • Constructor Details

    • ApiTaxes

      public ApiTaxes()
  • Method Details

    • allIncluded

      public ApiTaxes allIncluded(Boolean allIncluded)
    • getAllIncluded

      @Nullable public Boolean getAllIncluded()
      Indicates if all taxes are included or not.
      Returns:
      allIncluded
    • setAllIncluded

      public void setAllIncluded(Boolean allIncluded)
    • taxScheme

      public ApiTaxes taxScheme(ApiTaxes.TaxSchemeEnum taxScheme)
    • getTaxScheme

      @Nullable public ApiTaxes.TaxSchemeEnum getTaxScheme()
      \"margin\": This is an indirect tax regime for travel agencies where split of taxes is not shown in the invoices. In this case, the customer could not deduct any taxes even if the final customer is a legal entity with the right of deduction for indirect taxes. \"general\": This is the indirect tax regime where the split of taxes is shown in the invoices. In this case, the booking will be invoiced with split of taxes and the customer could be able to deduct the VAT and in some countries, these taxes are reduced rates. This tax scheme offers tax advantage for business customers with the right of deduction for indirect taxes.
      Returns:
      taxScheme
    • setTaxScheme

      public void setTaxScheme(ApiTaxes.TaxSchemeEnum taxScheme)
    • taxes

      public ApiTaxes taxes(List<ApiTax> taxes)
    • addTaxesItem

      public ApiTaxes addTaxesItem(ApiTax taxesItem)
    • getTaxes

      @Nullable @Valid public @Valid List<ApiTax> getTaxes()
      List of taxes.
      Returns:
      taxes
    • setTaxes

      public void setTaxes(List<ApiTax> taxes)
    • 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