Class BookingContractItemBooker

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:16:53.154776164+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class BookingContractItemBooker extends Object
BookingContractItemBooker
  • Field Details

  • Constructor Details

    • BookingContractItemBooker

      public BookingContractItemBooker()
  • Method Details

    • supplierItemBookingCode

      public BookingContractItemBooker supplierItemBookingCode(@Nonnull String supplierItemBookingCode)
    • getSupplierItemBookingCode

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

      public void setSupplierItemBookingCode(@Nonnull String supplierItemBookingCode)
    • user

      public BookingContractItemBooker user(@Nonnull GuestUserBooker user)
    • getUser

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

      public void setUser(@Nonnull GuestUserBooker user)
    • nameInEnglish

      public BookingContractItemBooker nameInEnglish(@Nonnull String nameInEnglish)
    • getNameInEnglish

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

      public void setNameInEnglish(@Nonnull String nameInEnglish)
    • descriptionInEnglish

      public BookingContractItemBooker descriptionInEnglish(@Nonnull String descriptionInEnglish)
    • getDescriptionInEnglish

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

      public void setDescriptionInEnglish(@Nonnull String descriptionInEnglish)
    • itinerary

      public BookingContractItemBooker itinerary(@Nonnull SimpleDateTimeItineraryBooker itinerary)
    • getItinerary

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

      public void setItinerary(@Nonnull SimpleDateTimeItineraryBooker itinerary)
    • pricingType

      public BookingContractItemBooker pricingType(@Nonnull BookingContractItemBooker.PricingTypeEnum pricingType)
    • getPricingType

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

      public void setPricingType(@Nonnull BookingContractItemBooker.PricingTypeEnum pricingType)
    • type

    • getType

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

      public void setType(@Nonnull BookingContractItemBooker.TypeEnum type)
    • beneficiaryList

      public BookingContractItemBooker beneficiaryList(@Nonnull List<@Valid 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<@Valid BeneficiaryBooker> getBeneficiaryList()
      Get beneficiaryList
      Returns:
      beneficiaryList
    • setBeneficiaryList

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

    • getPayable

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

      public void setPayable(@Nonnull BookingContractItemBooker.PayableEnum payable)
    • policy

    • getPolicy

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

      public void setPolicy(@Nullable SupplierContractItemPolicyBooker policy)
    • externalIdentifier

      public BookingContractItemBooker externalIdentifier(@Nullable String externalIdentifier)
    • getExternalIdentifier

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

      public void setExternalIdentifier(@Nullable String externalIdentifier)
    • tokensEarned

      public BookingContractItemBooker tokensEarned(@Nullable Long tokensEarned)
    • getTokensEarned

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

      public void setTokensEarned(@Nullable Long tokensEarned)
    • dailyRateList

      public BookingContractItemBooker dailyRateList(@Nullable List<Object> dailyRateList)
    • addDailyRateListItem

      public BookingContractItemBooker addDailyRateListItem(Object dailyRateListItem)
    • getDailyRateList

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

      public void setDailyRateList(@Nullable List<Object> dailyRateList)
    • cancelled

      public BookingContractItemBooker cancelled(@Nullable Boolean cancelled)
    • getCancelled

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

      public void setCancelled(@Nullable Boolean cancelled)
    • sourceCurrency

      public BookingContractItemBooker sourceCurrency(@Nonnull String sourceCurrency)
    • getSourceCurrency

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getSourceCurrency()
      The source currency
      Returns:
      sourceCurrency
    • setSourceCurrency

      public void setSourceCurrency(@Nonnull String sourceCurrency)
    • displayCurrency

      public BookingContractItemBooker displayCurrency(@Nonnull String displayCurrency)
    • getDisplayCurrency

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getDisplayCurrency()
      The display currency
      Returns:
      displayCurrency
    • setDisplayCurrency

      public void setDisplayCurrency(@Nonnull String displayCurrency)
    • supplierCurrency

      public BookingContractItemBooker supplierCurrency(@Nonnull String supplierCurrency)
    • getSupplierCurrency

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getSupplierCurrency()
      The supplier currency
      Returns:
      supplierCurrency
    • setSupplierCurrency

      public void setSupplierCurrency(@Nonnull String supplierCurrency)
    • internalCurrency

      public BookingContractItemBooker internalCurrency(@Nonnull String internalCurrency)
    • getInternalCurrency

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getInternalCurrency()
      The internal currency
      Returns:
      internalCurrency
    • setInternalCurrency

      public void setInternalCurrency(@Nonnull String internalCurrency)
    • captureCurrency

      public BookingContractItemBooker captureCurrency(@Nonnull String captureCurrency)
    • getCaptureCurrency

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getCaptureCurrency()
      The capture currency
      Returns:
      captureCurrency
    • setCaptureCurrency

      public void setCaptureCurrency(@Nonnull String captureCurrency)
    • sourceAmount

      public BookingContractItemBooker sourceAmount(@Nonnull BigDecimal sourceAmount)
    • getSourceAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getSourceAmount()
      The total initial price as quoted in the original TripPay contract. minimum: 0
      Returns:
      sourceAmount
    • setSourceAmount

      public void setSourceAmount(@Nonnull BigDecimal sourceAmount)
    • displayAmount

      public BookingContractItemBooker displayAmount(@Nonnull BigDecimal displayAmount)
    • getDisplayAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getDisplayAmount()
      The total display price. minimum: 0
      Returns:
      displayAmount
    • setDisplayAmount

      public void setDisplayAmount(@Nonnull BigDecimal displayAmount)
    • supplierAmount

      public BookingContractItemBooker supplierAmount(@Nonnull BigDecimal supplierAmount)
    • getSupplierAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getSupplierAmount()
      The total supplier price. minimum: 0
      Returns:
      supplierAmount
    • setSupplierAmount

      public void setSupplierAmount(@Nonnull BigDecimal supplierAmount)
    • internalAmount

      public BookingContractItemBooker internalAmount(@Nonnull BigDecimal internalAmount)
    • getInternalAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getInternalAmount()
      The total internal price. minimum: 0
      Returns:
      internalAmount
    • setInternalAmount

      public void setInternalAmount(@Nonnull BigDecimal internalAmount)
    • captureAmount

      public BookingContractItemBooker captureAmount(@Nonnull BigDecimal captureAmount)
    • getCaptureAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getCaptureAmount()
      The total capture price. minimum: 0
      Returns:
      captureAmount
    • setCaptureAmount

      public void setCaptureAmount(@Nonnull BigDecimal captureAmount)
    • sourceAmountRefundModifier

      public BookingContractItemBooker sourceAmountRefundModifier(@Nullable BigDecimal sourceAmountRefundModifier)
    • getSourceAmountRefundModifier

      @Nullable @Valid @DecimalMin("0") public @Valid @DecimalMin("0") BigDecimal getSourceAmountRefundModifier()
      The source amount still due after a partial refund occurs. minimum: 0
      Returns:
      sourceAmountRefundModifier
    • setSourceAmountRefundModifier

      public void setSourceAmountRefundModifier(@Nullable BigDecimal sourceAmountRefundModifier)
    • displayAmountRefundModifier

      public BookingContractItemBooker displayAmountRefundModifier(@Nullable BigDecimal displayAmountRefundModifier)
    • getDisplayAmountRefundModifier

      @Nullable @Valid @DecimalMin("0") public @Valid @DecimalMin("0") BigDecimal getDisplayAmountRefundModifier()
      The display amount still due after a partial refund occurs. minimum: 0
      Returns:
      displayAmountRefundModifier
    • setDisplayAmountRefundModifier

      public void setDisplayAmountRefundModifier(@Nullable BigDecimal displayAmountRefundModifier)
    • supplierAmountRefundModifier

      public BookingContractItemBooker supplierAmountRefundModifier(@Nullable BigDecimal supplierAmountRefundModifier)
    • getSupplierAmountRefundModifier

      @Nullable @Valid @DecimalMin("0") public @Valid @DecimalMin("0") BigDecimal getSupplierAmountRefundModifier()
      The supplier amount still due after a partial refund occurs. minimum: 0
      Returns:
      supplierAmountRefundModifier
    • setSupplierAmountRefundModifier

      public void setSupplierAmountRefundModifier(@Nullable BigDecimal supplierAmountRefundModifier)
    • internalAmountRefundModifier

      public BookingContractItemBooker internalAmountRefundModifier(@Nullable BigDecimal internalAmountRefundModifier)
    • getInternalAmountRefundModifier

      @Nullable @Valid @DecimalMin("0") public @Valid @DecimalMin("0") BigDecimal getInternalAmountRefundModifier()
      The internal amount still due after a partial refund occurs. minimum: 0
      Returns:
      internalAmountRefundModifier
    • setInternalAmountRefundModifier

      public void setInternalAmountRefundModifier(@Nullable BigDecimal internalAmountRefundModifier)
    • captureAmountRefundModifier

      public BookingContractItemBooker captureAmountRefundModifier(@Nullable BigDecimal captureAmountRefundModifier)
    • getCaptureAmountRefundModifier

      @Nullable @Valid @DecimalMin("0") public @Valid @DecimalMin("0") BigDecimal getCaptureAmountRefundModifier()
      The capture amount still due after a partial refund occurs. minimum: 0
      Returns:
      captureAmountRefundModifier
    • setCaptureAmountRefundModifier

      public void setCaptureAmountRefundModifier(@Nullable BigDecimal captureAmountRefundModifier)
    • netSourceAmount

      public BookingContractItemBooker netSourceAmount(@Nonnull BigDecimal netSourceAmount)
    • getNetSourceAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getNetSourceAmount()
      Source amount minus source modifier. minimum: 0
      Returns:
      netSourceAmount
    • setNetSourceAmount

      public void setNetSourceAmount(@Nonnull BigDecimal netSourceAmount)
    • netDisplayAmount

      public BookingContractItemBooker netDisplayAmount(@Nonnull BigDecimal netDisplayAmount)
    • getNetDisplayAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getNetDisplayAmount()
      Display amount minus display modifier. minimum: 0
      Returns:
      netDisplayAmount
    • setNetDisplayAmount

      public void setNetDisplayAmount(@Nonnull BigDecimal netDisplayAmount)
    • netSupplierAmount

      public BookingContractItemBooker netSupplierAmount(@Nonnull BigDecimal netSupplierAmount)
    • getNetSupplierAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getNetSupplierAmount()
      Supplier amount minus supplier modifier. minimum: 0
      Returns:
      netSupplierAmount
    • setNetSupplierAmount

      public void setNetSupplierAmount(@Nonnull BigDecimal netSupplierAmount)
    • netInternalAmount

      public BookingContractItemBooker netInternalAmount(@Nonnull BigDecimal netInternalAmount)
    • getNetInternalAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getNetInternalAmount()
      Internal amount minus internal modifier. minimum: 0
      Returns:
      netInternalAmount
    • setNetInternalAmount

      public void setNetInternalAmount(@Nonnull BigDecimal netInternalAmount)
    • netCaptureAmount

      public BookingContractItemBooker netCaptureAmount(@Nonnull BigDecimal netCaptureAmount)
    • getNetCaptureAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getNetCaptureAmount()
      Capture amount minus capture modifier. minimum: 0
      Returns:
      netCaptureAmount
    • setNetCaptureAmount

      public void setNetCaptureAmount(@Nonnull BigDecimal netCaptureAmount)
    • metadata

      public BookingContractItemBooker metadata(@Nullable Map<String,String> metadata)
    • putMetadataItem

      public BookingContractItemBooker putMetadataItem(String key, String metadataItem)
    • getMetadata

      @Nullable public Map<String,String> getMetadata()
      Place to add more data related to the booking contract item.
      Returns:
      metadata
    • setMetadata

      public void setMetadata(@Nullable Map<String,String> metadata)
    • cancellableByTraveler

      public BookingContractItemBooker cancellableByTraveler(@Nullable Boolean cancellableByTraveler)
    • getCancellableByTraveler

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

      public void setCancellableByTraveler(@Nullable Boolean cancellableByTraveler)
    • cancellableWithNoCharges

      public BookingContractItemBooker cancellableWithNoCharges(@Nullable 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(@Nullable Boolean cancellableWithNoCharges)
    • cancellableWithPotentialCharges

      public BookingContractItemBooker cancellableWithPotentialCharges(@Nullable 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(@Nullable Boolean cancellableWithPotentialCharges)
    • cancellableBySupplierOrAgent

      public BookingContractItemBooker cancellableBySupplierOrAgent(@Nullable Boolean cancellableBySupplierOrAgent)
    • getCancellableBySupplierOrAgent

      @Nullable public Boolean getCancellableBySupplierOrAgent()
      Whether the booking can still be cancelled by the supplier. A supplier cancellation overrides the refundable
      Returns:
      cancellableBySupplierOrAgent
    • setCancellableBySupplierOrAgent

      public void setCancellableBySupplierOrAgent(@Nullable Boolean cancellableBySupplierOrAgent)
    • 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