Class BookingContractBooker

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-10T10:48:08.191600840+07:00[Asia/Bangkok]") public class BookingContractBooker extends Object
Booking contract created by TripPay
  • Field Details

  • Constructor Details

    • BookingContractBooker

      public BookingContractBooker()
  • Method Details

    • bookingContractIdentifier

      public BookingContractBooker bookingContractIdentifier(UUID bookingContractIdentifier)
    • getBookingContractIdentifier

      @Nullable @Valid public @Valid UUID getBookingContractIdentifier()
      Document UUID
      Returns:
      bookingContractIdentifier
    • setBookingContractIdentifier

      public void setBookingContractIdentifier(UUID bookingContractIdentifier)
    • createdDate

      public BookingContractBooker createdDate(LocalDateTime createdDate)
    • getCreatedDate

      @Nullable @Valid public LocalDateTime getCreatedDate()
      Datetime this record was first created
      Returns:
      createdDate
    • setCreatedDate

      public void setCreatedDate(LocalDateTime createdDate)
    • lastUpdate

      public BookingContractBooker lastUpdate(LocalDateTime lastUpdate)
    • getLastUpdate

      @Nullable @Valid public LocalDateTime getLastUpdate()
      Datetime this record was last updated
      Returns:
      lastUpdate
    • setLastUpdate

      public void setLastUpdate(LocalDateTime lastUpdate)
    • ipAddress

      public BookingContractBooker ipAddress(String ipAddress)
    • getIpAddress

      @Nonnull @NotNull public @NotNull String getIpAddress()
      Caller's IP address
      Returns:
      ipAddress
    • setIpAddress

      public void setIpAddress(String ipAddress)
    • traceId

      public BookingContractBooker traceId(String traceId)
    • getTraceId

      @Nonnull @NotNull public @NotNull String getTraceId()
      Way to track which booking contracts were made together
      Returns:
      traceId
    • setTraceId

      public void setTraceId(String traceId)
    • sourceUrl

      public BookingContractBooker sourceUrl(String sourceUrl)
    • getSourceUrl

      @Nonnull @NotNull public @NotNull String getSourceUrl()
      Where did the booking occur
      Returns:
      sourceUrl
    • setSourceUrl

      public void setSourceUrl(String sourceUrl)
    • identifier

      public BookingContractBooker identifier(UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getIdentifier()
      Unique identifier used to track the contract. Create a UUID for this purpose.
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • supplierIdentifier

      public BookingContractBooker supplierIdentifier(UUID supplierIdentifier)
    • getSupplierIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getSupplierIdentifier()
      Supplier identifier
      Returns:
      supplierIdentifier
    • setSupplierIdentifier

      public void setSupplierIdentifier(UUID supplierIdentifier)
    • supplierName

      public BookingContractBooker supplierName(String supplierName)
    • getSupplierName

      @Nonnull @NotNull public @NotNull String getSupplierName()
      Supplier name
      Returns:
      supplierName
    • setSupplierName

      public void setSupplierName(String supplierName)
    • displayPriceQuote

      public BookingContractBooker displayPriceQuote(QuoteBooker displayPriceQuote)
    • getDisplayPriceQuote

      @Nonnull @NotNull @Valid public @NotNull @Valid QuoteBooker getDisplayPriceQuote()
      Get displayPriceQuote
      Returns:
      displayPriceQuote
    • setDisplayPriceQuote

      public void setDisplayPriceQuote(QuoteBooker displayPriceQuote)
    • supplierPriceQuote

      public BookingContractBooker supplierPriceQuote(QuoteBooker supplierPriceQuote)
    • getSupplierPriceQuote

      @Nonnull @NotNull @Valid public @NotNull @Valid QuoteBooker getSupplierPriceQuote()
      Get supplierPriceQuote
      Returns:
      supplierPriceQuote
    • setSupplierPriceQuote

      public void setSupplierPriceQuote(QuoteBooker supplierPriceQuote)
    • internalPriceQuote

      public BookingContractBooker internalPriceQuote(QuoteBooker internalPriceQuote)
    • getInternalPriceQuote

      @Nonnull @NotNull @Valid public @NotNull @Valid QuoteBooker getInternalPriceQuote()
      Get internalPriceQuote
      Returns:
      internalPriceQuote
    • setInternalPriceQuote

      public void setInternalPriceQuote(QuoteBooker internalPriceQuote)
    • capturePriceQuote

      public BookingContractBooker capturePriceQuote(QuoteBooker capturePriceQuote)
    • getCapturePriceQuote

      @Nonnull @NotNull @Valid public @NotNull @Valid QuoteBooker getCapturePriceQuote()
      Get capturePriceQuote
      Returns:
      capturePriceQuote
    • setCapturePriceQuote

      public void setCapturePriceQuote(QuoteBooker capturePriceQuote)
    • itemList

    • addItemListItem

      public BookingContractBooker addItemListItem(BookingContractItemBooker itemListItem)
    • getItemList

      @Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<BookingContractItemBooker> getItemList()
      Holds one booking line item for a specific supplier.
      Returns:
      itemList
    • setItemList

      public void setItemList(List<BookingContractItemBooker> itemList)
    • externalSupplierIdentifier

      public BookingContractBooker externalSupplierIdentifier(String externalSupplierIdentifier)
    • getExternalSupplierIdentifier

      @Nullable public String getExternalSupplierIdentifier()
      Contract creator can choose to geoname this record with her own identifier
      Returns:
      externalSupplierIdentifier
    • setExternalSupplierIdentifier

      public void setExternalSupplierIdentifier(String externalSupplierIdentifier)
    • externalSupplierBookingCode

      public BookingContractBooker externalSupplierBookingCode(String externalSupplierBookingCode)
    • getExternalSupplierBookingCode

      @Nullable public String getExternalSupplierBookingCode()
      External booking code generated by the affiliate
      Returns:
      externalSupplierBookingCode
    • setExternalSupplierBookingCode

      public void setExternalSupplierBookingCode(String externalSupplierBookingCode)
    • payment

    • getPayment

      @Nullable @Valid public @Valid BookingContractPaymentDetailsBooker getPayment()
      Get payment
      Returns:
      payment
    • setPayment

      public void setPayment(BookingContractPaymentDetailsBooker payment)
    • cancelled

      public BookingContractBooker cancelled(Boolean cancelled)
    • getCancelled

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

      public void setCancelled(Boolean cancelled)
    • cancelledOn

      public BookingContractBooker cancelledOn(LocalDateTime cancelledOn)
    • getCancelledOn

      @Nullable @Valid public LocalDateTime getCancelledOn()
      When the booking was cancelled.
      Returns:
      cancelledOn
    • setCancelledOn

      public void setCancelledOn(LocalDateTime cancelledOn)
    • canceller

    • getCanceller

      @Nullable public BookingContractBooker.CancellerEnum getCanceller()
      Type of entity that cancelled the booking.
      Returns:
      canceller
    • setCanceller

      public void setCanceller(BookingContractBooker.CancellerEnum canceller)
    • cancellationType

      public BookingContractBooker cancellationType(BookingContractBooker.CancellationTypeEnum cancellationType)
    • getCancellationType

      @Nullable public BookingContractBooker.CancellationTypeEnum getCancellationType()
      Reason type.
      Returns:
      cancellationType
    • setCancellationType

      public void setCancellationType(BookingContractBooker.CancellationTypeEnum cancellationType)
    • cancellerUserIdentifier

      public BookingContractBooker cancellerUserIdentifier(String cancellerUserIdentifier)
    • getCancellerUserIdentifier

      @Nullable public String getCancellerUserIdentifier()
      User identifier that cancelled the entity.
      Returns:
      cancellerUserIdentifier
    • setCancellerUserIdentifier

      public void setCancellerUserIdentifier(String cancellerUserIdentifier)
    • cancelReason

      public BookingContractBooker cancelReason(String cancelReason)
    • getCancelReason

      @Nullable public String getCancelReason()
      Reason for cancellation.
      Returns:
      cancelReason
    • setCancelReason

      public void setCancelReason(String cancelReason)
    • fundsProcessed

      public BookingContractBooker fundsProcessed(Boolean fundsProcessed)
    • getFundsProcessed

      @Nullable public Boolean getFundsProcessed()
      Whether a funds transfer request has been created for this booking.
      Returns:
      fundsProcessed
    • setFundsProcessed

      public void setFundsProcessed(Boolean fundsProcessed)
    • refunds

      public BookingContractBooker refunds(List<RefundBooker> refunds)
    • addRefundsItem

      public BookingContractBooker addRefundsItem(RefundBooker refundsItem)
    • getRefunds

      @Nullable @Valid public @Valid List<RefundBooker> getRefunds()
      An optional list of refunds that occurred with this booking. If the refund amount(s) is the same as the total price, the booking also gets cancelled.
      Returns:
      refunds
    • setRefunds

      public void setRefunds(List<RefundBooker> refunds)
    • totalSourcePrice

      public BookingContractBooker totalSourcePrice(MoneysBooker totalSourcePrice)
    • getTotalSourcePrice

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

      public void setTotalSourcePrice(MoneysBooker totalSourcePrice)
    • totalDisplayPrice

      public BookingContractBooker totalDisplayPrice(MoneysBooker totalDisplayPrice)
    • getTotalDisplayPrice

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

      public void setTotalDisplayPrice(MoneysBooker totalDisplayPrice)
    • totalSupplierPrice

      public BookingContractBooker totalSupplierPrice(MoneysBooker totalSupplierPrice)
    • getTotalSupplierPrice

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

      public void setTotalSupplierPrice(MoneysBooker totalSupplierPrice)
    • totalInternalPrice

      public BookingContractBooker totalInternalPrice(MoneysBooker totalInternalPrice)
    • getTotalInternalPrice

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

      public void setTotalInternalPrice(MoneysBooker totalInternalPrice)
    • totalCapturePrice

      public BookingContractBooker totalCapturePrice(MoneysBooker totalCapturePrice)
    • getTotalCapturePrice

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

      public void setTotalCapturePrice(MoneysBooker totalCapturePrice)
    • totalSourcePriceAfterRefund

      public BookingContractBooker totalSourcePriceAfterRefund(MoneysBooker totalSourcePriceAfterRefund)
    • getTotalSourcePriceAfterRefund

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

      public void setTotalSourcePriceAfterRefund(MoneysBooker totalSourcePriceAfterRefund)
    • totalDisplayPriceAfterRefund

      public BookingContractBooker totalDisplayPriceAfterRefund(MoneysBooker totalDisplayPriceAfterRefund)
    • getTotalDisplayPriceAfterRefund

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

      public void setTotalDisplayPriceAfterRefund(MoneysBooker totalDisplayPriceAfterRefund)
    • totalSupplierPriceAfterRefund

      public BookingContractBooker totalSupplierPriceAfterRefund(MoneysBooker totalSupplierPriceAfterRefund)
    • getTotalSupplierPriceAfterRefund

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

      public void setTotalSupplierPriceAfterRefund(MoneysBooker totalSupplierPriceAfterRefund)
    • totalInternalPriceAfterRefund

      public BookingContractBooker totalInternalPriceAfterRefund(MoneysBooker totalInternalPriceAfterRefund)
    • getTotalInternalPriceAfterRefund

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

      public void setTotalInternalPriceAfterRefund(MoneysBooker totalInternalPriceAfterRefund)
    • totalCapturePriceAfterRefund

      public BookingContractBooker totalCapturePriceAfterRefund(MoneysBooker totalCapturePriceAfterRefund)
    • getTotalCapturePriceAfterRefund

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

      public void setTotalCapturePriceAfterRefund(MoneysBooker totalCapturePriceAfterRefund)
    • refundedSourcePrice

      public BookingContractBooker refundedSourcePrice(MoneysBooker refundedSourcePrice)
    • getRefundedSourcePrice

      @Nullable @Valid public @Valid MoneysBooker getRefundedSourcePrice()
      Get refundedSourcePrice
      Returns:
      refundedSourcePrice
    • setRefundedSourcePrice

      public void setRefundedSourcePrice(MoneysBooker refundedSourcePrice)
    • refundedDisplayPrice

      public BookingContractBooker refundedDisplayPrice(MoneysBooker refundedDisplayPrice)
    • getRefundedDisplayPrice

      @Nullable @Valid public @Valid MoneysBooker getRefundedDisplayPrice()
      Get refundedDisplayPrice
      Returns:
      refundedDisplayPrice
    • setRefundedDisplayPrice

      public void setRefundedDisplayPrice(MoneysBooker refundedDisplayPrice)
    • refundedSupplierPrice

      public BookingContractBooker refundedSupplierPrice(MoneysBooker refundedSupplierPrice)
    • getRefundedSupplierPrice

      @Nullable @Valid public @Valid MoneysBooker getRefundedSupplierPrice()
      Get refundedSupplierPrice
      Returns:
      refundedSupplierPrice
    • setRefundedSupplierPrice

      public void setRefundedSupplierPrice(MoneysBooker refundedSupplierPrice)
    • refundedInternalPrice

      public BookingContractBooker refundedInternalPrice(MoneysBooker refundedInternalPrice)
    • getRefundedInternalPrice

      @Nullable @Valid public @Valid MoneysBooker getRefundedInternalPrice()
      Get refundedInternalPrice
      Returns:
      refundedInternalPrice
    • setRefundedInternalPrice

      public void setRefundedInternalPrice(MoneysBooker refundedInternalPrice)
    • refundedCapturePrice

      public BookingContractBooker refundedCapturePrice(MoneysBooker refundedCapturePrice)
    • getRefundedCapturePrice

      @Nullable @Valid public @Valid MoneysBooker getRefundedCapturePrice()
      Get refundedCapturePrice
      Returns:
      refundedCapturePrice
    • setRefundedCapturePrice

      public void setRefundedCapturePrice(MoneysBooker refundedCapturePrice)
    • totalTokensEarned

      public BookingContractBooker totalTokensEarned(Long totalTokensEarned)
    • getTotalTokensEarned

      @Nullable public Long getTotalTokensEarned()
      Total amount of tokens minted on this contract.
      Returns:
      totalTokensEarned
    • setTotalTokensEarned

      public void setTotalTokensEarned(Long totalTokensEarned)
    • cancellableWithNoCharges

      public BookingContractBooker cancellableWithNoCharges(Boolean cancellableWithNoCharges)
    • getCancellableWithNoCharges

      @Nullable public Boolean getCancellableWithNoCharges()
      Whether the cancellation comes at no cost to the traveler.
      Returns:
      cancellableWithNoCharges
    • setCancellableWithNoCharges

      public void setCancellableWithNoCharges(Boolean cancellableWithNoCharges)
    • isCancellableWithPotentialCharges

      public BookingContractBooker isCancellableWithPotentialCharges(Boolean isCancellableWithPotentialCharges)
    • getIsCancellableWithPotentialCharges

      @Nullable public Boolean getIsCancellableWithPotentialCharges()
      Whether a cancellation comes with partial charges. I.e. Only some of the items in contract are not fully refundable.
      Returns:
      isCancellableWithPotentialCharges
    • setIsCancellableWithPotentialCharges

      public void setIsCancellableWithPotentialCharges(Boolean isCancellableWithPotentialCharges)
    • commissionableTotalSourceAmount

      public BookingContractBooker commissionableTotalSourceAmount(MoneysBooker commissionableTotalSourceAmount)
    • getCommissionableTotalSourceAmount

      @Nullable @Valid public @Valid MoneysBooker getCommissionableTotalSourceAmount()
      Get commissionableTotalSourceAmount
      Returns:
      commissionableTotalSourceAmount
    • setCommissionableTotalSourceAmount

      public void setCommissionableTotalSourceAmount(MoneysBooker commissionableTotalSourceAmount)
    • commissionableTotalCaptureAmount

      public BookingContractBooker commissionableTotalCaptureAmount(MoneysBooker commissionableTotalCaptureAmount)
    • getCommissionableTotalCaptureAmount

      @Nullable @Valid public @Valid MoneysBooker getCommissionableTotalCaptureAmount()
      Get commissionableTotalCaptureAmount
      Returns:
      commissionableTotalCaptureAmount
    • setCommissionableTotalCaptureAmount

      public void setCommissionableTotalCaptureAmount(MoneysBooker commissionableTotalCaptureAmount)
    • commissionableTotalDisplayAmount

      public BookingContractBooker commissionableTotalDisplayAmount(MoneysBooker commissionableTotalDisplayAmount)
    • getCommissionableTotalDisplayAmount

      @Nullable @Valid public @Valid MoneysBooker getCommissionableTotalDisplayAmount()
      Get commissionableTotalDisplayAmount
      Returns:
      commissionableTotalDisplayAmount
    • setCommissionableTotalDisplayAmount

      public void setCommissionableTotalDisplayAmount(MoneysBooker commissionableTotalDisplayAmount)
    • commissionableTotalSupplierAmount

      public BookingContractBooker commissionableTotalSupplierAmount(MoneysBooker commissionableTotalSupplierAmount)
    • getCommissionableTotalSupplierAmount

      @Nullable @Valid public @Valid MoneysBooker getCommissionableTotalSupplierAmount()
      Get commissionableTotalSupplierAmount
      Returns:
      commissionableTotalSupplierAmount
    • setCommissionableTotalSupplierAmount

      public void setCommissionableTotalSupplierAmount(MoneysBooker commissionableTotalSupplierAmount)
    • commissionableTotalInternalAmount

      public BookingContractBooker commissionableTotalInternalAmount(MoneysBooker commissionableTotalInternalAmount)
    • getCommissionableTotalInternalAmount

      @Nullable @Valid public @Valid MoneysBooker getCommissionableTotalInternalAmount()
      Get commissionableTotalInternalAmount
      Returns:
      commissionableTotalInternalAmount
    • setCommissionableTotalInternalAmount

      public void setCommissionableTotalInternalAmount(MoneysBooker commissionableTotalInternalAmount)
    • cancellableBySupplier

      public BookingContractBooker cancellableBySupplier(Boolean cancellableBySupplier)
    • getCancellableBySupplier

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

      public void setCancellableBySupplier(Boolean cancellableBySupplier)
    • cancellableByTraveler

      public BookingContractBooker cancellableByTraveler(Boolean cancellableByTraveler)
    • getCancellableByTraveler

      @Nullable public Boolean getCancellableByTraveler()
      Whether the booking can still be cancelled completely 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