Package travel.wink.sdk.extranet.model
Class PackageOfferDescriptive
java.lang.Object
travel.wink.sdk.extranet.model.PackageOfferDescriptive
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-09-08T16:32:28.411222+07:00[Asia/Bangkok]")
public class PackageOfferDescriptive
extends Object
PackageOfferDescriptive
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOfferDetailsItem(SimpleDescriptionDescriptive offerDetailsItem) bundle(BundleDescriptive bundle) boolean@Valid BundleDescriptiveGet bundleNumber of guestsNumber of nights@Valid List<SimpleDescriptionDescriptive>Localized offer details if any applyPopulated for when we send out confirmation emails to travelers.@Valid LocalizedPriceDescriptivegetPrice()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 LocalizedPriceDescriptiveGet unitPriceinthashCode()offerDetails(List<SimpleDescriptionDescriptive> offerDetails) packageImageUrl(String packageImageUrl) price(LocalizedPriceDescriptive price) voidsetBundle(BundleDescriptive bundle) voidvoidvoidsetOfferDetails(List<SimpleDescriptionDescriptive> offerDetails) voidsetPackageImageUrl(String packageImageUrl) voidvoidsetPromotion(String promotion) voidsetUnitPrice(LocalizedPriceDescriptive unitPrice) toString()unitPrice(LocalizedPriceDescriptive 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
-
PackageOfferDescriptive
public PackageOfferDescriptive()
-
-
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
-