Package travel.wink.sdk.affiliate.model
Class PackageOffer
java.lang.Object
travel.wink.sdk.affiliate.model.PackageOffer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-07-03T20:09:51.912811+07:00[Asia/Bangkok]")
public class PackageOffer
extends Object
PackageOffer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOfferDetailsItem(SimpleDescription offerDetailsItem) boolean@Valid BundleGet bundleNumber of guestsNumber of nights@Valid List<SimpleDescription>Localized offer details if any applyPopulated for when we send out confirmation emails to travelers.@Valid LocalizedPricegetPrice()Get priceIf a package is linked to a rate plan the user could be entitled to a promotional discount if she enters a code.@Valid LocalizedPriceGet unitPriceinthashCode()offerDetails(List<SimpleDescription> offerDetails) packageImageUrl(String packageImageUrl) price(LocalizedPrice price) voidvoidvoidvoidsetOfferDetails(List<SimpleDescription> offerDetails) voidsetPackageImageUrl(String packageImageUrl) voidsetPrice(LocalizedPrice price) voidsetPromotion(String promotion) voidsetUnitPrice(LocalizedPrice unitPrice) toString()unitPrice(LocalizedPrice unitPrice)
-
Field Details
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_UNIT_PRICE
- See Also:
-
JSON_PROPERTY_PACKAGE_IMAGE_URL
- See Also:
-
JSON_PROPERTY_BUNDLE
- 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
-
PackageOffer
public PackageOffer()
-
-
Method Details
-
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
unitPrice
-
getUnitPrice
Get unitPrice- Returns:
- unitPrice
-
setUnitPrice
-
packageImageUrl
-
getPackageImageUrl
Populated for when we send out confirmation emails to travelers.- Returns:
- packageImageUrl
-
setPackageImageUrl
-
bundle
-
getBundle
Get bundle- Returns:
- bundle
-
setBundle
-
offerDetails
-
addOfferDetailsItem
-
getOfferDetails
Localized offer details if any apply- Returns:
- offerDetails
-
setOfferDetails
-
promotion
-
getPromotion
If a package 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 package.- Returns:
- promotion
-
setPromotion
-
guests
-
getGuests
Number of guests- Returns:
- guests
-
setGuests
-
nights
-
getNights
Number of nights- Returns:
- nights
-
setNights
-
equals
-
hashCode
public int hashCode() -
toString
-