Class ApiOffer
java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiOffer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]")
public class ApiOffer
extends Object
Offer information.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_AMOUNT
- See Also:
-
-
Constructor Details
-
ApiOffer
public ApiOffer()
-
-
Method Details
-
code
-
getCode
Code of the offer.- Returns:
- code
-
setCode
-
name
-
getName
Short name/description of the offer.- Returns:
- name
-
setName
-
amount
-
getAmount
Monetary amount deducted by the offer. NOTE: This deduction is already applied to the final price.- Returns:
- amount
-
setAmount
-
equals
-
hashCode
public int hashCode() -
toString
-