Class BookingContractItemSupplier

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

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

  • Constructor Details

    • BookingContractItemSupplier

      public BookingContractItemSupplier()
  • Method Details

    • supplierItemBookingCode

      public BookingContractItemSupplier 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 BookingUserSupplier getUser()
      Get user
      Returns:
      user
    • setUser

      public void setUser(BookingUserSupplier user)
    • nameInEnglish

      public BookingContractItemSupplier 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 BookingContractItemSupplier 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 BookingContractItemSupplier totalSourcePrice(MoneysSupplier totalSourcePrice)
    • getTotalSourcePrice

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

      public void setTotalSourcePrice(MoneysSupplier totalSourcePrice)
    • totalDisplayPrice

      public BookingContractItemSupplier totalDisplayPrice(MoneysSupplier totalDisplayPrice)
    • getTotalDisplayPrice

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

      public void setTotalDisplayPrice(MoneysSupplier totalDisplayPrice)
    • totalSupplierPrice

      public BookingContractItemSupplier totalSupplierPrice(MoneysSupplier totalSupplierPrice)
    • getTotalSupplierPrice

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

      public void setTotalSupplierPrice(MoneysSupplier totalSupplierPrice)
    • totalInternalPrice

      public BookingContractItemSupplier totalInternalPrice(MoneysSupplier totalInternalPrice)
    • getTotalInternalPrice

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

      public void setTotalInternalPrice(MoneysSupplier totalInternalPrice)
    • totalCapturePrice

      public BookingContractItemSupplier totalCapturePrice(MoneysSupplier totalCapturePrice)
    • getTotalCapturePrice

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

      public void setTotalCapturePrice(MoneysSupplier totalCapturePrice)
    • itinerary

      public BookingContractItemSupplier itinerary(ItinerarySupplier itinerary)
    • getItinerary

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

      public void setItinerary(ItinerarySupplier itinerary)
    • pricingType

    • getPricingType

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

      public void setPricingType(BookingContractItemSupplier.PricingTypeEnum pricingType)
    • type

    • getType

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

      public void setType(BookingContractItemSupplier.TypeEnum type)
    • beneficiaryList

      public BookingContractItemSupplier beneficiaryList(List<BeneficiarySupplier> beneficiaryList)
    • addBeneficiaryListItem

      public BookingContractItemSupplier addBeneficiaryListItem(BeneficiarySupplier beneficiaryListItem)
    • getBeneficiaryList

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

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

    • getPayable

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

      public void setPayable(BookingContractItemSupplier.PayableEnum payable)
    • policy

    • getPolicy

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

      public void setPolicy(SupplierContractItemPolicySupplier policy)
    • externalIdentifier

      public BookingContractItemSupplier externalIdentifier(String externalIdentifier)
    • getExternalIdentifier

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

      public void setExternalIdentifier(String externalIdentifier)
    • tokensEarned

      public BookingContractItemSupplier tokensEarned(Long tokensEarned)
    • getTokensEarned

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

      public void setTokensEarned(Long tokensEarned)
    • dailyRateList

      public BookingContractItemSupplier dailyRateList(List<DailyRateSupplier> dailyRateList)
    • addDailyRateListItem

      public BookingContractItemSupplier addDailyRateListItem(DailyRateSupplier dailyRateListItem)
    • getDailyRateList

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

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

      public BookingContractItemSupplier cancelled(Boolean cancelled)
    • getCancelled

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

      public void setCancelled(Boolean cancelled)
    • totalSourcePriceAfterRefund

      public BookingContractItemSupplier totalSourcePriceAfterRefund(MoneysSupplier totalSourcePriceAfterRefund)
    • getTotalSourcePriceAfterRefund

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

      public void setTotalSourcePriceAfterRefund(MoneysSupplier totalSourcePriceAfterRefund)
    • totalDisplayPriceAfterRefund

      public BookingContractItemSupplier totalDisplayPriceAfterRefund(MoneysSupplier totalDisplayPriceAfterRefund)
    • getTotalDisplayPriceAfterRefund

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

      public void setTotalDisplayPriceAfterRefund(MoneysSupplier totalDisplayPriceAfterRefund)
    • totalSupplierPriceAfterRefund

      public BookingContractItemSupplier totalSupplierPriceAfterRefund(MoneysSupplier totalSupplierPriceAfterRefund)
    • getTotalSupplierPriceAfterRefund

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

      public void setTotalSupplierPriceAfterRefund(MoneysSupplier totalSupplierPriceAfterRefund)
    • totalInternalPriceAfterRefund

      public BookingContractItemSupplier totalInternalPriceAfterRefund(MoneysSupplier totalInternalPriceAfterRefund)
    • getTotalInternalPriceAfterRefund

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

      public void setTotalInternalPriceAfterRefund(MoneysSupplier totalInternalPriceAfterRefund)
    • totalCapturePriceAfterRefund

      public BookingContractItemSupplier totalCapturePriceAfterRefund(MoneysSupplier totalCapturePriceAfterRefund)
    • getTotalCapturePriceAfterRefund

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

      public void setTotalCapturePriceAfterRefund(MoneysSupplier totalCapturePriceAfterRefund)
    • cancellableWithNoCharges

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

      public BookingContractItemSupplier isCancellableBySupplier(Boolean isCancellableBySupplier)
    • getIsCancellableBySupplier

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

      public void setIsCancellableBySupplier(Boolean isCancellableBySupplier)
    • cancellableBySupplier

      public BookingContractItemSupplier 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 BookingContractItemSupplier 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)
    • isCancellableByTraveler

      public BookingContractItemSupplier isCancellableByTraveler(Boolean isCancellableByTraveler)
    • getIsCancellableByTraveler

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

      public void setIsCancellableByTraveler(Boolean isCancellableByTraveler)
    • 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