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
\"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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ApiTaxes.TaxSchemeEnumgetValue()toString()static ApiTaxes.TaxSchemeEnumReturns the enum constant of this class with the specified name.static ApiTaxes.TaxSchemeEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MARGIN
-
GENERAL
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<ApiTaxes.TaxSchemeEnum>
-
fromValue
-