Class ApiRateSupplement
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiRateSupplement
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class ApiRateSupplement
extends Object
Information describing a supplement on a rate.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAmount of the supplement.getCode()Internal code of the supplement.@Valid LocalDategetFrom()Date from which the discount is applied.getName()Name/description of the supplement.Number of nights for which the supplement applies.Number of paxes that are affected by the supplement.@Valid LocalDategetTo()Date when the discount ends.inthashCode()voidvoidvoidvoidvoidvoidsetPaxNumber(Integer paxNumber) voidtoString()
-
Field Details
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_AMOUNT
- See Also:
-
JSON_PROPERTY_NIGHTS
- See Also:
-
JSON_PROPERTY_PAX_NUMBER
- See Also:
-
-
Constructor Details
-
ApiRateSupplement
public ApiRateSupplement()
-
-
Method Details
-
code
-
getCode
Internal code of the supplement.- Returns:
- code
-
setCode
-
name
-
getName
Name/description of the supplement.- Returns:
- name
-
setName
-
from
-
getFrom
Date from which the discount is applied.- Returns:
- from
-
setFrom
-
to
-
getTo
Date when the discount ends.- Returns:
- to
-
setTo
-
amount
-
getAmount
Amount of the supplement.- Returns:
- amount
-
setAmount
-
nights
-
getNights
Number of nights for which the supplement applies.- Returns:
- nights
-
setNights
-
paxNumber
-
getPaxNumber
Number of paxes that are affected by the supplement.- Returns:
- paxNumber
-
setPaxNumber
-
equals
-
hashCode
public int hashCode() -
toString
-