Class BookingContractItemBooker

java.lang.Object
travel.wink.sdk.booking.model.BookingContractItemBooker

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-24T11:13:07.607433685+07:00[Asia/Bangkok]") public class BookingContractItemBooker extends Object
Holds one booking line item for a specific supplier.
  • Field Details

  • Constructor Details

    • BookingContractItemBooker

      public BookingContractItemBooker()
  • Method Details

    • supplierItemBookingCode

      public BookingContractItemBooker supplierItemBookingCode(String supplierItemBookingCode)
    • getSupplierItemBookingCode

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

      public void setSupplierItemBookingCode(String supplierItemBookingCode)
    • user

    • getUser

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

      public void setUser(BookingUserBooker user)
    • nameInEnglish

      public BookingContractItemBooker nameInEnglish(String nameInEnglish)
    • getNameInEnglish

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

      public void setNameInEnglish(String nameInEnglish)
    • descriptionInEnglish

      public BookingContractItemBooker descriptionInEnglish(String descriptionInEnglish)
    • getDescriptionInEnglish

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

      public void setDescriptionInEnglish(String descriptionInEnglish)
    • totalSourcePrice

      public BookingContractItemBooker totalSourcePrice(MoneysBooker totalSourcePrice)
    • getTotalSourcePrice

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

      public void setTotalSourcePrice(MoneysBooker totalSourcePrice)
    • totalDisplayPrice

      public BookingContractItemBooker totalDisplayPrice(MoneysBooker totalDisplayPrice)
    • getTotalDisplayPrice

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

      public void setTotalDisplayPrice(MoneysBooker totalDisplayPrice)
    • totalSupplierPrice

      public BookingContractItemBooker totalSupplierPrice(MoneysBooker totalSupplierPrice)
    • getTotalSupplierPrice

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

      public void setTotalSupplierPrice(MoneysBooker totalSupplierPrice)
    • totalInternalPrice

      public BookingContractItemBooker totalInternalPrice(MoneysBooker totalInternalPrice)
    • getTotalInternalPrice

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

      public void setTotalInternalPrice(MoneysBooker totalInternalPrice)
    • totalCapturePrice

      public BookingContractItemBooker totalCapturePrice(MoneysBooker totalCapturePrice)
    • getTotalCapturePrice

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

      public void setTotalCapturePrice(MoneysBooker totalCapturePrice)
    • itinerary

      public BookingContractItemBooker itinerary(ItineraryBooker itinerary)
    • getItinerary

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

      public void setItinerary(ItineraryBooker itinerary)
    • pricingType

    • getPricingType

      @Nonnull @NotNull public @NotNull BookingContractItemBooker.PricingTypeEnum getPricingType()
      How to calculate the total amount.
      Returns:
      pricingType
    • setPricingType

      public void setPricingType(BookingContractItemBooker.PricingTypeEnum pricingType)
    • type

    • getType

      @Nonnull @NotNull public @NotNull BookingContractItemBooker.TypeEnum getType()
      Type of item this is.
      Returns:
      type
    • setType

      public void setType(BookingContractItemBooker.TypeEnum type)
    • beneficiaryList

      public BookingContractItemBooker beneficiaryList(List<BeneficiaryBooker> beneficiaryList)
    • addBeneficiaryListItem

      public BookingContractItemBooker addBeneficiaryListItem(BeneficiaryBooker beneficiaryListItem)
    • getBeneficiaryList

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

      public void setBeneficiaryList(List<BeneficiaryBooker> beneficiaryList)
    • payable

    • getPayable

      @Nonnull @NotNull public @NotNull BookingContractItemBooker.PayableEnum getPayable()
      When to charge for this item.
      Returns:
      payable
    • setPayable

      public void setPayable(BookingContractItemBooker.PayableEnum payable)
    • policy

    • getPolicy

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

      public void setPolicy(SupplierContractItemPolicyBooker policy)
    • externalIdentifier

      public BookingContractItemBooker externalIdentifier(String externalIdentifier)
    • getExternalIdentifier

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

      public void setExternalIdentifier(String externalIdentifier)
    • tokensEarned

      public BookingContractItemBooker tokensEarned(Long tokensEarned)
    • getTokensEarned

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

      public void setTokensEarned(Long tokensEarned)
    • dailyRateList

      public BookingContractItemBooker dailyRateList(List<DailyRateBooker> dailyRateList)
    • addDailyRateListItem

      public BookingContractItemBooker addDailyRateListItem(DailyRateBooker dailyRateListItem)
    • getDailyRateList

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

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

      public BookingContractItemBooker cancelled(Boolean cancelled)
    • getCancelled

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

      public void setCancelled(Boolean cancelled)
    • totalSourcePriceAfterRefund

      public BookingContractItemBooker totalSourcePriceAfterRefund(MoneysBooker totalSourcePriceAfterRefund)
    • getTotalSourcePriceAfterRefund

      @Nullable @Valid public @Valid MoneysBooker getTotalSourcePriceAfterRefund()
      Get totalSourcePriceAfterRefund
      Returns:
      totalSourcePriceAfterRefund
    • setTotalSourcePriceAfterRefund

      public void setTotalSourcePriceAfterRefund(MoneysBooker totalSourcePriceAfterRefund)
    • totalDisplayPriceAfterRefund

      public BookingContractItemBooker totalDisplayPriceAfterRefund(MoneysBooker totalDisplayPriceAfterRefund)
    • getTotalDisplayPriceAfterRefund

      @Nullable @Valid public @Valid MoneysBooker getTotalDisplayPriceAfterRefund()
      Get totalDisplayPriceAfterRefund
      Returns:
      totalDisplayPriceAfterRefund
    • setTotalDisplayPriceAfterRefund

      public void setTotalDisplayPriceAfterRefund(MoneysBooker totalDisplayPriceAfterRefund)
    • totalSupplierPriceAfterRefund

      public BookingContractItemBooker totalSupplierPriceAfterRefund(MoneysBooker totalSupplierPriceAfterRefund)
    • getTotalSupplierPriceAfterRefund

      @Nullable @Valid public @Valid MoneysBooker getTotalSupplierPriceAfterRefund()
      Get totalSupplierPriceAfterRefund
      Returns:
      totalSupplierPriceAfterRefund
    • setTotalSupplierPriceAfterRefund

      public void setTotalSupplierPriceAfterRefund(MoneysBooker totalSupplierPriceAfterRefund)
    • totalInternalPriceAfterRefund

      public BookingContractItemBooker totalInternalPriceAfterRefund(MoneysBooker totalInternalPriceAfterRefund)
    • getTotalInternalPriceAfterRefund

      @Nullable @Valid public @Valid MoneysBooker getTotalInternalPriceAfterRefund()
      Get totalInternalPriceAfterRefund
      Returns:
      totalInternalPriceAfterRefund
    • setTotalInternalPriceAfterRefund

      public void setTotalInternalPriceAfterRefund(MoneysBooker totalInternalPriceAfterRefund)
    • totalCapturePriceAfterRefund

      public BookingContractItemBooker totalCapturePriceAfterRefund(MoneysBooker totalCapturePriceAfterRefund)
    • getTotalCapturePriceAfterRefund

      @Nullable @Valid public @Valid MoneysBooker getTotalCapturePriceAfterRefund()
      Get totalCapturePriceAfterRefund
      Returns:
      totalCapturePriceAfterRefund
    • setTotalCapturePriceAfterRefund

      public void setTotalCapturePriceAfterRefund(MoneysBooker totalCapturePriceAfterRefund)
    • cancellableBySupplier

      public BookingContractItemBooker 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)
    • isCancellableBySupplier

      public BookingContractItemBooker isCancellableBySupplier(Boolean isCancellableBySupplier)
    • getIsCancellableBySupplier

      @Nullable public Boolean getIsCancellableBySupplier()
      Get isCancellableBySupplier
      Returns:
      isCancellableBySupplier
    • setIsCancellableBySupplier

      public void setIsCancellableBySupplier(Boolean isCancellableBySupplier)
    • isCancellableByTraveler

      public BookingContractItemBooker isCancellableByTraveler(Boolean isCancellableByTraveler)
    • getIsCancellableByTraveler

      @Nullable public Boolean getIsCancellableByTraveler()
      Get isCancellableByTraveler
      Returns:
      isCancellableByTraveler
    • setIsCancellableByTraveler

      public void setIsCancellableByTraveler(Boolean isCancellableByTraveler)
    • cancellableByTraveler

      public BookingContractItemBooker 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)
    • cancellableWithNoCharges

      public BookingContractItemBooker 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)
    • cancellableWithPotentialCharges

      public BookingContractItemBooker 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)
    • 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