Class BookingContractAgent

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-06T16:57:07.874773188+07:00[Asia/Bangkok]") public class BookingContractAgent extends Object
Booking contract created by TripPay
  • Field Details

  • Constructor Details

    • BookingContractAgent

      public BookingContractAgent()
  • Method Details

    • bookingContractIdentifier

      public BookingContractAgent bookingContractIdentifier(UUID bookingContractIdentifier)
    • getBookingContractIdentifier

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

      public void setBookingContractIdentifier(UUID bookingContractIdentifier)
    • createdDate

      public BookingContractAgent 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 BookingContractAgent 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 BookingContractAgent ipAddress(String ipAddress)
    • getIpAddress

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

      public void setIpAddress(String ipAddress)
    • traceId

      public BookingContractAgent 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 BookingContractAgent 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 BookingContractAgent 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 BookingContractAgent supplierIdentifier(UUID supplierIdentifier)
    • getSupplierIdentifier

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

      public void setSupplierIdentifier(UUID supplierIdentifier)
    • supplierName

      public BookingContractAgent supplierName(String supplierName)
    • getSupplierName

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

      public void setSupplierName(String supplierName)
    • displayPriceQuote

      public BookingContractAgent displayPriceQuote(QuoteAgent displayPriceQuote)
    • getDisplayPriceQuote

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

      public void setDisplayPriceQuote(QuoteAgent displayPriceQuote)
    • supplierPriceQuote

      public BookingContractAgent supplierPriceQuote(QuoteAgent supplierPriceQuote)
    • getSupplierPriceQuote

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

      public void setSupplierPriceQuote(QuoteAgent supplierPriceQuote)
    • internalPriceQuote

      public BookingContractAgent internalPriceQuote(QuoteAgent internalPriceQuote)
    • getInternalPriceQuote

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

      public void setInternalPriceQuote(QuoteAgent internalPriceQuote)
    • capturePriceQuote

      public BookingContractAgent capturePriceQuote(QuoteAgent capturePriceQuote)
    • getCapturePriceQuote

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

      public void setCapturePriceQuote(QuoteAgent capturePriceQuote)
    • itemList

      public BookingContractAgent itemList(List<BookingContractItemAgent> itemList)
    • addItemListItem

      public BookingContractAgent addItemListItem(BookingContractItemAgent itemListItem)
    • getItemList

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

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

      public BookingContractAgent 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 BookingContractAgent 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 BookingContractPaymentDetailsAgent getPayment()
      Get payment
      Returns:
      payment
    • setPayment

      public void setPayment(BookingContractPaymentDetailsAgent payment)
    • cancelled

      public BookingContractAgent cancelled(Boolean cancelled)
    • getCancelled

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

      public void setCancelled(Boolean cancelled)
    • cancelledOn

      public BookingContractAgent 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 BookingContractAgent.CancellerEnum getCanceller()
      Type of entity that cancelled the booking.
      Returns:
      canceller
    • setCanceller

      public void setCanceller(BookingContractAgent.CancellerEnum canceller)
    • cancellationType

      public BookingContractAgent cancellationType(BookingContractAgent.CancellationTypeEnum cancellationType)
    • getCancellationType

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

      public void setCancellationType(BookingContractAgent.CancellationTypeEnum cancellationType)
    • cancellerUserIdentifier

      public BookingContractAgent cancellerUserIdentifier(String cancellerUserIdentifier)
    • getCancellerUserIdentifier

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

      public void setCancellerUserIdentifier(String cancellerUserIdentifier)
    • cancelReason

      public BookingContractAgent cancelReason(String cancelReason)
    • getCancelReason

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

      public void setCancelReason(String cancelReason)
    • fundsProcessed

      public BookingContractAgent 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 BookingContractAgent refunds(List<RefundAgent> refunds)
    • addRefundsItem

      public BookingContractAgent addRefundsItem(RefundAgent refundsItem)
    • getRefunds

      @Nullable @Valid public @Valid List<RefundAgent> 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<RefundAgent> refunds)
    • totalSourcePrice

      public BookingContractAgent totalSourcePrice(MoneysAgent totalSourcePrice)
    • getTotalSourcePrice

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

      public void setTotalSourcePrice(MoneysAgent totalSourcePrice)
    • totalDisplayPrice

      public BookingContractAgent totalDisplayPrice(MoneysAgent totalDisplayPrice)
    • getTotalDisplayPrice

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

      public void setTotalDisplayPrice(MoneysAgent totalDisplayPrice)
    • totalSupplierPrice

      public BookingContractAgent totalSupplierPrice(MoneysAgent totalSupplierPrice)
    • getTotalSupplierPrice

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

      public void setTotalSupplierPrice(MoneysAgent totalSupplierPrice)
    • totalInternalPrice

      public BookingContractAgent totalInternalPrice(MoneysAgent totalInternalPrice)
    • getTotalInternalPrice

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

      public void setTotalInternalPrice(MoneysAgent totalInternalPrice)
    • totalCapturePrice

      public BookingContractAgent totalCapturePrice(MoneysAgent totalCapturePrice)
    • getTotalCapturePrice

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

      public void setTotalCapturePrice(MoneysAgent totalCapturePrice)
    • totalSourcePriceAfterRefund

      public BookingContractAgent totalSourcePriceAfterRefund(MoneysAgent totalSourcePriceAfterRefund)
    • getTotalSourcePriceAfterRefund

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

      public void setTotalSourcePriceAfterRefund(MoneysAgent totalSourcePriceAfterRefund)
    • totalDisplayPriceAfterRefund

      public BookingContractAgent totalDisplayPriceAfterRefund(MoneysAgent totalDisplayPriceAfterRefund)
    • getTotalDisplayPriceAfterRefund

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

      public void setTotalDisplayPriceAfterRefund(MoneysAgent totalDisplayPriceAfterRefund)
    • totalSupplierPriceAfterRefund

      public BookingContractAgent totalSupplierPriceAfterRefund(MoneysAgent totalSupplierPriceAfterRefund)
    • getTotalSupplierPriceAfterRefund

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

      public void setTotalSupplierPriceAfterRefund(MoneysAgent totalSupplierPriceAfterRefund)
    • totalInternalPriceAfterRefund

      public BookingContractAgent totalInternalPriceAfterRefund(MoneysAgent totalInternalPriceAfterRefund)
    • getTotalInternalPriceAfterRefund

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

      public void setTotalInternalPriceAfterRefund(MoneysAgent totalInternalPriceAfterRefund)
    • totalCapturePriceAfterRefund

      public BookingContractAgent totalCapturePriceAfterRefund(MoneysAgent totalCapturePriceAfterRefund)
    • getTotalCapturePriceAfterRefund

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

      public void setTotalCapturePriceAfterRefund(MoneysAgent totalCapturePriceAfterRefund)
    • refundedSourcePrice

      public BookingContractAgent refundedSourcePrice(MoneysAgent refundedSourcePrice)
    • getRefundedSourcePrice

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

      public void setRefundedSourcePrice(MoneysAgent refundedSourcePrice)
    • refundedDisplayPrice

      public BookingContractAgent refundedDisplayPrice(MoneysAgent refundedDisplayPrice)
    • getRefundedDisplayPrice

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

      public void setRefundedDisplayPrice(MoneysAgent refundedDisplayPrice)
    • refundedSupplierPrice

      public BookingContractAgent refundedSupplierPrice(MoneysAgent refundedSupplierPrice)
    • getRefundedSupplierPrice

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

      public void setRefundedSupplierPrice(MoneysAgent refundedSupplierPrice)
    • refundedInternalPrice

      public BookingContractAgent refundedInternalPrice(MoneysAgent refundedInternalPrice)
    • getRefundedInternalPrice

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

      public void setRefundedInternalPrice(MoneysAgent refundedInternalPrice)
    • refundedCapturePrice

      public BookingContractAgent refundedCapturePrice(MoneysAgent refundedCapturePrice)
    • getRefundedCapturePrice

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

      public void setRefundedCapturePrice(MoneysAgent refundedCapturePrice)
    • totalTokensEarned

      public BookingContractAgent totalTokensEarned(Long totalTokensEarned)
    • getTotalTokensEarned

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

      public void setTotalTokensEarned(Long totalTokensEarned)
    • cancellableBySupplier

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

      public BookingContractAgent 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 BookingContractAgent 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 BookingContractAgent commissionableTotalSourceAmount(MoneysAgent commissionableTotalSourceAmount)
    • getCommissionableTotalSourceAmount

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

      public void setCommissionableTotalSourceAmount(MoneysAgent commissionableTotalSourceAmount)
    • commissionableTotalCaptureAmount

      public BookingContractAgent commissionableTotalCaptureAmount(MoneysAgent commissionableTotalCaptureAmount)
    • getCommissionableTotalCaptureAmount

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

      public void setCommissionableTotalCaptureAmount(MoneysAgent commissionableTotalCaptureAmount)
    • commissionableTotalDisplayAmount

      public BookingContractAgent commissionableTotalDisplayAmount(MoneysAgent commissionableTotalDisplayAmount)
    • getCommissionableTotalDisplayAmount

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

      public void setCommissionableTotalDisplayAmount(MoneysAgent commissionableTotalDisplayAmount)
    • commissionableTotalSupplierAmount

      public BookingContractAgent commissionableTotalSupplierAmount(MoneysAgent commissionableTotalSupplierAmount)
    • getCommissionableTotalSupplierAmount

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

      public void setCommissionableTotalSupplierAmount(MoneysAgent commissionableTotalSupplierAmount)
    • commissionableTotalInternalAmount

      public BookingContractAgent commissionableTotalInternalAmount(MoneysAgent commissionableTotalInternalAmount)
    • getCommissionableTotalInternalAmount

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

      public void setCommissionableTotalInternalAmount(MoneysAgent commissionableTotalInternalAmount)
    • 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