Class PackageOffer

java.lang.Object
travel.wink.sdk.extranet.model.PackageOffer

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-27T09:29:05.118372+07:00[Asia/Bangkok]") public class PackageOffer extends Object
PackageOffer
  • Field Details

  • Constructor Details

    • PackageOffer

      public PackageOffer()
  • Method Details

    • price

      public PackageOffer price(LocalizedPrice price)
    • getPrice

      @Nullable @Valid public @Valid LocalizedPrice getPrice()
      Get price
      Returns:
      price
    • setPrice

      public void setPrice(LocalizedPrice price)
    • unitPrice

      public PackageOffer unitPrice(LocalizedPrice unitPrice)
    • getUnitPrice

      @Nullable @Valid public @Valid LocalizedPrice getUnitPrice()
      Get unitPrice
      Returns:
      unitPrice
    • setUnitPrice

      public void setUnitPrice(LocalizedPrice unitPrice)
    • packageImageUrl

      public PackageOffer packageImageUrl(String packageImageUrl)
    • getPackageImageUrl

      @Nullable public String getPackageImageUrl()
      Populated for when we send out confirmation emails to travelers.
      Returns:
      packageImageUrl
    • setPackageImageUrl

      public void setPackageImageUrl(String packageImageUrl)
    • bundle

      public PackageOffer bundle(Bundle bundle)
    • getBundle

      @Nullable @Valid public @Valid Bundle getBundle()
      Get bundle
      Returns:
      bundle
    • setBundle

      public void setBundle(Bundle bundle)
    • offerDetails

      public PackageOffer offerDetails(List<SimpleDescription> offerDetails)
    • addOfferDetailsItem

      public PackageOffer addOfferDetailsItem(SimpleDescription offerDetailsItem)
    • getOfferDetails

      @Nullable @Valid public @Valid List<SimpleDescription> getOfferDetails()
      Localized offer details if any apply
      Returns:
      offerDetails
    • setOfferDetails

      public void setOfferDetails(List<SimpleDescription> offerDetails)
    • promotion

      public PackageOffer promotion(String promotion)
    • getPromotion

      @Nullable public String 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

      public void setPromotion(String promotion)
    • guests

      public PackageOffer guests(Integer guests)
    • getGuests

      @Nullable public Integer getGuests()
      Number of guests
      Returns:
      guests
    • setGuests

      public void setGuests(Integer guests)
    • nights

      public PackageOffer nights(Integer nights)
    • getNights

      @Nullable public Integer getNights()
      Number of nights
      Returns:
      nights
    • setNights

      public void setNights(Integer nights)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object