Class BookingContractItem

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-31T13:46:32.173577+07:00[Asia/Bangkok]") public class BookingContractItem extends Object
Holds one booking line item for a specific supplier.
  • Field Details

  • Constructor Details

  • Method Details

    • getSupplierItemBookingCode

      @Nonnull public String getSupplierItemBookingCode()
      Booking code identifying the supplier line item.
      Returns:
      supplierItemBookingCode
    • user

      public BookingContractItem user(BookingUser user)
    • getUser

      @Nonnull @NotNull @Valid public @NotNull @Valid BookingUser getUser()
      Get user
      Returns:
      user
    • setUser

      public void setUser(BookingUser user)
    • getNameInEnglish

      @Nonnull public String getNameInEnglish()
      Name of item in English included in booking.
      Returns:
      nameInEnglish
    • getDescriptionInEnglish

      @Nonnull public String getDescriptionInEnglish()
      Short description in English of item included in booking.
      Returns:
      descriptionInEnglish
    • totalSourcePrice

      public BookingContractItem totalSourcePrice(Moneys totalSourcePrice)
    • getTotalSourcePrice

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getTotalSourcePrice()
      Get totalSourcePrice
      Returns:
      totalSourcePrice
    • setTotalSourcePrice

      public void setTotalSourcePrice(Moneys totalSourcePrice)
    • totalDisplayPrice

      public BookingContractItem totalDisplayPrice(Moneys totalDisplayPrice)
    • getTotalDisplayPrice

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getTotalDisplayPrice()
      Get totalDisplayPrice
      Returns:
      totalDisplayPrice
    • setTotalDisplayPrice

      public void setTotalDisplayPrice(Moneys totalDisplayPrice)
    • totalSupplierPrice

      public BookingContractItem totalSupplierPrice(Moneys totalSupplierPrice)
    • getTotalSupplierPrice

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getTotalSupplierPrice()
      Get totalSupplierPrice
      Returns:
      totalSupplierPrice
    • setTotalSupplierPrice

      public void setTotalSupplierPrice(Moneys totalSupplierPrice)
    • totalInternalPrice

      public BookingContractItem totalInternalPrice(Moneys totalInternalPrice)
    • getTotalInternalPrice

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getTotalInternalPrice()
      Get totalInternalPrice
      Returns:
      totalInternalPrice
    • setTotalInternalPrice

      public void setTotalInternalPrice(Moneys totalInternalPrice)
    • totalCapturePrice

      public BookingContractItem totalCapturePrice(Moneys totalCapturePrice)
    • getTotalCapturePrice

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getTotalCapturePrice()
      Get totalCapturePrice
      Returns:
      totalCapturePrice
    • setTotalCapturePrice

      public void setTotalCapturePrice(Moneys totalCapturePrice)
    • itinerary

      public BookingContractItem itinerary(Itinerary itinerary)
    • getItinerary

      @Nonnull @NotNull @Valid public @NotNull @Valid Itinerary getItinerary()
      Get itinerary
      Returns:
      itinerary
    • setItinerary

      public void setItinerary(Itinerary itinerary)
    • getPricingType

      @Nonnull public BookingContractItem.PricingTypeEnum getPricingType()
      How to calculate the total amount.
      Returns:
      pricingType
    • getType

      @Nonnull public BookingContractItem.TypeEnum getType()
      Type of item this is.
      Returns:
      type
    • beneficiaryList

      public BookingContractItem beneficiaryList(List<Beneficiary> beneficiaryList)
    • addBeneficiaryListItem

      public BookingContractItem addBeneficiaryListItem(Beneficiary beneficiaryListItem)
    • getBeneficiaryList

      @Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<Beneficiary> getBeneficiaryList()
      Get beneficiaryList
      Returns:
      beneficiaryList
    • setBeneficiaryList

      public void setBeneficiaryList(List<Beneficiary> beneficiaryList)
    • getPayable

      @Nonnull public BookingContractItem.PayableEnum getPayable()
      When to charge for this item.
      Returns:
      payable
    • policy

    • getPolicy

      @Nullable @Valid public @Valid SupplierContractItemPolicy getPolicy()
      Get policy
      Returns:
      policy
    • setPolicy

      public void setPolicy(SupplierContractItemPolicy policy)
    • getExternalIdentifier

      @Nullable public String getExternalIdentifier()
      Optional reference externalIdentifier to remote inventory.
      Returns:
      externalIdentifier
    • getTokensEarned

      @Nullable public Long getTokensEarned()
      Tokens earned for this item
      Returns:
      tokensEarned
    • dailyRateList

      public BookingContractItem dailyRateList(List<DailyRate> dailyRateList)
    • addDailyRateListItem

      public BookingContractItem addDailyRateListItem(DailyRate dailyRateListItem)
    • getDailyRateList

      @Nullable @Valid public @Valid List<DailyRate> getDailyRateList()
      Get dailyRateList
      Returns:
      dailyRateList
    • setDailyRateList

      public void setDailyRateList(List<DailyRate> dailyRateList)
    • cancelled

      public BookingContractItem cancelled(Boolean cancelled)
    • getCancelled

      @Nullable public Boolean getCancelled()
      Optional reference externalIdentifier to remote inventory.
      Returns:
      cancelled
    • setCancelled

      public void setCancelled(Boolean cancelled)
    • totalSourcePriceAfterCancellation

      public BookingContractItem totalSourcePriceAfterCancellation(Moneys totalSourcePriceAfterCancellation)
    • getTotalSourcePriceAfterCancellation

      @Nullable @Valid public @Valid Moneys getTotalSourcePriceAfterCancellation()
      Get totalSourcePriceAfterCancellation
      Returns:
      totalSourcePriceAfterCancellation
    • setTotalSourcePriceAfterCancellation

      public void setTotalSourcePriceAfterCancellation(Moneys totalSourcePriceAfterCancellation)
    • totalDisplayPriceAfterCancellation

      public BookingContractItem totalDisplayPriceAfterCancellation(Moneys totalDisplayPriceAfterCancellation)
    • getTotalDisplayPriceAfterCancellation

      @Nullable @Valid public @Valid Moneys getTotalDisplayPriceAfterCancellation()
      Get totalDisplayPriceAfterCancellation
      Returns:
      totalDisplayPriceAfterCancellation
    • setTotalDisplayPriceAfterCancellation

      public void setTotalDisplayPriceAfterCancellation(Moneys totalDisplayPriceAfterCancellation)
    • totalSupplierPriceAfterCancellation

      public BookingContractItem totalSupplierPriceAfterCancellation(Moneys totalSupplierPriceAfterCancellation)
    • getTotalSupplierPriceAfterCancellation

      @Nullable @Valid public @Valid Moneys getTotalSupplierPriceAfterCancellation()
      Get totalSupplierPriceAfterCancellation
      Returns:
      totalSupplierPriceAfterCancellation
    • setTotalSupplierPriceAfterCancellation

      public void setTotalSupplierPriceAfterCancellation(Moneys totalSupplierPriceAfterCancellation)
    • totalInternalPriceAfterCancellation

      public BookingContractItem totalInternalPriceAfterCancellation(Moneys totalInternalPriceAfterCancellation)
    • getTotalInternalPriceAfterCancellation

      @Nullable @Valid public @Valid Moneys getTotalInternalPriceAfterCancellation()
      Get totalInternalPriceAfterCancellation
      Returns:
      totalInternalPriceAfterCancellation
    • setTotalInternalPriceAfterCancellation

      public void setTotalInternalPriceAfterCancellation(Moneys totalInternalPriceAfterCancellation)
    • totalCapturePriceAfterCancellation

      public BookingContractItem totalCapturePriceAfterCancellation(Moneys totalCapturePriceAfterCancellation)
    • getTotalCapturePriceAfterCancellation

      @Nullable @Valid public @Valid Moneys getTotalCapturePriceAfterCancellation()
      Get totalCapturePriceAfterCancellation
      Returns:
      totalCapturePriceAfterCancellation
    • setTotalCapturePriceAfterCancellation

      public void setTotalCapturePriceAfterCancellation(Moneys totalCapturePriceAfterCancellation)
    • cancellableWithPotentialCharges

      public BookingContractItem cancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges)
    • getCancellableWithPotentialCharges

      @Nullable public Boolean getCancellableWithPotentialCharges()
      Whether the booking can still be cancelled and whether cancellation charges might still occur.
      Returns:
      cancellableWithPotentialCharges
    • setCancellableWithPotentialCharges

      public void setCancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges)
    • cancellableWithNoCharges

      public BookingContractItem cancellableWithNoCharges(Boolean cancellableWithNoCharges)
    • getCancellableWithNoCharges

      @Nullable public Boolean getCancellableWithNoCharges()
      Whether the booking can still be cancelled and whether cancellation charges might still occur.
      Returns:
      cancellableWithNoCharges
    • setCancellableWithNoCharges

      public void setCancellableWithNoCharges(Boolean cancellableWithNoCharges)
    • cancellableBySupplier

      public BookingContractItem cancellableBySupplier(Boolean cancellableBySupplier)
    • getCancellableBySupplier

      @Nullable public Boolean getCancellableBySupplier()
      Whether the booking can still be cancelled by the supplier. A supplier cancellation overrides the refundable
      Returns:
      cancellableBySupplier
    • setCancellableBySupplier

      public void setCancellableBySupplier(Boolean cancellableBySupplier)
    • cancellableByTraveler

      public BookingContractItem cancellableByTraveler(Boolean cancellableByTraveler)
    • getCancellableByTraveler

      @Nullable public Boolean getCancellableByTraveler()
      Whether the booking can still be cancelled by the traveller.
      Returns:
      cancellableByTraveler
    • setCancellableByTraveler

      public void setCancellableByTraveler(Boolean cancellableByTraveler)
    • 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