Package travel.wink.sdk.affiliate.model
Class AddOnOffer
java.lang.Object
travel.wink.sdk.affiliate.model.AddOnOffer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-09-08T16:31:43.015348+07:00[Asia/Bangkok]")
public class AddOnOffer
extends Object
AddOnOffer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOfferDetailsItem(SimpleDescription 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<SimpleDescription>Localized offer details if any apply@Valid LocalizedPricegetPrice()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 LocalizedPriceGet unitPrice@Valid AddOnGet upgradeinthashCode()offerDetails(List<SimpleDescription> offerDetails) price(LocalizedPrice price) voidsetAddOnImageUrl(String addOnImageUrl) voidvoidvoidsetOfferDetails(List<SimpleDescription> offerDetails) voidsetPrice(LocalizedPrice price) voidsetPromotion(String promotion) voidsetUnitPrice(LocalizedPrice unitPrice) voidsetUpgrade(AddOn upgrade) toString()unitPrice(LocalizedPrice unitPrice)
-
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
-
AddOnOffer
public AddOnOffer()
-
-
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
-