Enum Class ApiTaxes.TaxSchemeEnum

java.lang.Object
java.lang.Enum<ApiTaxes.TaxSchemeEnum>
travel.wink.hotelbeds.booking.sdk.model.ApiTaxes.TaxSchemeEnum
All Implemented Interfaces:
Serializable, Comparable<ApiTaxes.TaxSchemeEnum>, Constable
Enclosing class:
ApiTaxes

public static enum ApiTaxes.TaxSchemeEnum extends Enum<ApiTaxes.TaxSchemeEnum>
\"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.
  • Enum Constant Details

  • Method Details

    • values

      public static ApiTaxes.TaxSchemeEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ApiTaxes.TaxSchemeEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ApiTaxes.TaxSchemeEnum>
    • fromValue

      public static ApiTaxes.TaxSchemeEnum fromValue(String value)