Class ApiTax
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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclientAmount(String clientAmount) clientCurrency(String clientCurrency) booleanValue of the tax in hotel currency if the tax is not included in the price.Net amount of the tax in the client configured currency.Client configured currency.Currency of the tax amount.Indicates if the tax is included in the price or not.Value of the tax as a percentage.getType()Type of the tax.inthashCode()voidvoidsetClientAmount(String clientAmount) voidsetClientCurrency(String clientCurrency) voidsetCurrency(String currency) voidsetIncluded(Boolean included) voidsetPercent(String percent) voidsetType(ApiTax.TypeEnum type) toString()type(ApiTax.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_INCLUDED
- See Also:
-
JSON_PROPERTY_PERCENT
- See Also:
-
JSON_PROPERTY_AMOUNT
- See Also:
-
JSON_PROPERTY_CURRENCY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_CLIENT_AMOUNT
- See Also:
-
JSON_PROPERTY_CLIENT_CURRENCY
- See Also:
-
-
Constructor Details
-
ApiTax
public ApiTax()
-
-
Method Details
-
included
-
getIncluded
Indicates if the tax is included in the price or not.- Returns:
- included
-
setIncluded
-
percent
-
getPercent
Value of the tax as a percentage.- Returns:
- percent
-
setPercent
-
amount
-
getAmount
Value of the tax in hotel currency if the tax is not included in the price.- Returns:
- amount
-
setAmount
-
currency
-
getCurrency
Currency of the tax amount.- Returns:
- currency
-
setCurrency
-
type
-
getType
Type of the tax.- Returns:
- type
-
setType
-
clientAmount
-
getClientAmount
Net amount of the tax in the client configured currency.- Returns:
- clientAmount
-
setClientAmount
-
clientCurrency
-
getClientCurrency
Client configured currency.- Returns:
- clientCurrency
-
setClientCurrency
-
equals
-
hashCode
public int hashCode() -
toString
-