Package travel.wink.sdk.extranet.model
Class AddOnOfferDescriptive
java.lang.Object
travel.wink.sdk.extranet.model.AddOnOfferDescriptive
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-11-08T09:36:20.822132243+07:00[Asia/Bangkok]")
public class AddOnOfferDescriptive
extends Object
AddOnOfferDescriptive
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOfferDetailsItem(SimpleDescriptionDescriptive offerDetailsItem) addOnImageUrl(String addOnImageUrl) booleanPopulated for when we send out confirmation emails to travelers.Number of guest that will be using this add-on.Number of nights the guests will be staying.@Valid List<SimpleDescriptionDescriptive>Localized offer details if any apply@Valid LocalizedPriceDescriptivegetPrice()Get priceIf an add-on is linked to a rate plan the user could be entitled to a promotional discount if she enters a code.@Valid LocalizedPriceDescriptiveGet unitPrice@Valid AddOnDescriptiveGet upgradeinthashCode()offerDetails(List<SimpleDescriptionDescriptive> offerDetails) price(LocalizedPriceDescriptive price) voidsetAddOnImageUrl(String addOnImageUrl) voidvoidvoidsetOfferDetails(List<SimpleDescriptionDescriptive> offerDetails) voidvoidsetPromotion(String promotion) voidsetUnitPrice(LocalizedPriceDescriptive unitPrice) voidsetUpgrade(AddOnDescriptive upgrade) toString()unitPrice(LocalizedPriceDescriptive unitPrice) upgrade(AddOnDescriptive upgrade)
-
Field Details
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_UNIT_PRICE
- See Also:
-
JSON_PROPERTY_ADD_ON_IMAGE_URL
- See Also:
-
JSON_PROPERTY_UPGRADE
- See Also:
-
JSON_PROPERTY_OFFER_DETAILS
- See Also:
-
JSON_PROPERTY_PROMOTION
- See Also:
-
JSON_PROPERTY_GUESTS
- See Also:
-
JSON_PROPERTY_NIGHTS
- See Also:
-
-
Constructor Details
-
AddOnOfferDescriptive
public AddOnOfferDescriptive()
-
-
Method Details
-
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
unitPrice
-
getUnitPrice
Get unitPrice- Returns:
- unitPrice
-
setUnitPrice
-
addOnImageUrl
-
getAddOnImageUrl
Populated for when we send out confirmation emails to travelers.- Returns:
- addOnImageUrl
-
setAddOnImageUrl
-
upgrade
-
getUpgrade
Get upgrade- Returns:
- upgrade
-
setUpgrade
-
offerDetails
-
addOfferDetailsItem
-
getOfferDetails
Localized offer details if any apply- Returns:
- offerDetails
-
setOfferDetails
-
promotion
-
getPromotion
If an add-on is linked to a rate plan the user could be entitled to a promotional discount if she enters a code. When this field is populated, it means the discount was applied to the add-on.- Returns:
- promotion
-
setPromotion
-
guests
-
getGuests
Number of guest that will be using this add-on.- Returns:
- guests
-
setGuests
-
nights
-
getNights
Number of nights the guests will be staying.- Returns:
- nights
-
setNights
-
equals
-
hashCode
public int hashCode() -
toString
-