Class BookingContractSupplier

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-06T14:58:42.579815638+07:00[Asia/Bangkok]") public class BookingContractSupplier extends Object
Booking contract created by TripPay
  • Field Details

  • Constructor Details

    • BookingContractSupplier

      public BookingContractSupplier()
  • Method Details

    • bookingContractIdentifier

      public BookingContractSupplier bookingContractIdentifier(UUID bookingContractIdentifier)
    • getBookingContractIdentifier

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

      public void setBookingContractIdentifier(UUID bookingContractIdentifier)
    • createdDate

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

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

      public void setIpAddress(String ipAddress)
    • traceId

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

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

      public void setSupplierIdentifier(UUID supplierIdentifier)
    • supplierName

      public BookingContractSupplier supplierName(String supplierName)
    • getSupplierName

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

      public void setSupplierName(String supplierName)
    • displayPriceQuote

      public BookingContractSupplier displayPriceQuote(QuoteSupplier displayPriceQuote)
    • getDisplayPriceQuote

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

      public void setDisplayPriceQuote(QuoteSupplier displayPriceQuote)
    • supplierPriceQuote

      public BookingContractSupplier supplierPriceQuote(QuoteSupplier supplierPriceQuote)
    • getSupplierPriceQuote

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

      public void setSupplierPriceQuote(QuoteSupplier supplierPriceQuote)
    • internalPriceQuote

      public BookingContractSupplier internalPriceQuote(QuoteSupplier internalPriceQuote)
    • getInternalPriceQuote

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

      public void setInternalPriceQuote(QuoteSupplier internalPriceQuote)
    • capturePriceQuote

      public BookingContractSupplier capturePriceQuote(QuoteSupplier capturePriceQuote)
    • getCapturePriceQuote

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

      public void setCapturePriceQuote(QuoteSupplier capturePriceQuote)
    • itemList

    • addItemListItem

      public BookingContractSupplier addItemListItem(BookingContractItemSupplier itemListItem)
    • getItemList

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

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

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

      public void setPayment(BookingContractPaymentDetailsSupplier payment)
    • cancelled

      public BookingContractSupplier cancelled(Boolean cancelled)
    • getCancelled

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

      public void setCancelled(Boolean cancelled)
    • cancelledOn

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

      public void setCanceller(BookingContractSupplier.CancellerEnum canceller)
    • cancellationType

      public BookingContractSupplier cancellationType(BookingContractSupplier.CancellationTypeEnum cancellationType)
    • getCancellationType

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

      public void setCancellationType(BookingContractSupplier.CancellationTypeEnum cancellationType)
    • cancellerUserIdentifier

      public BookingContractSupplier cancellerUserIdentifier(String cancellerUserIdentifier)
    • getCancellerUserIdentifier

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

      public void setCancellerUserIdentifier(String cancellerUserIdentifier)
    • cancelReason

      public BookingContractSupplier cancelReason(String cancelReason)
    • getCancelReason

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

      public void setCancelReason(String cancelReason)
    • fundsProcessed

      public BookingContractSupplier 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 BookingContractSupplier refunds(List<RefundSupplier> refunds)
    • addRefundsItem

      public BookingContractSupplier addRefundsItem(RefundSupplier refundsItem)
    • getRefunds

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

      public BookingContractSupplier totalSourcePrice(MoneysSupplier totalSourcePrice)
    • getTotalSourcePrice

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

      public void setTotalSourcePrice(MoneysSupplier totalSourcePrice)
    • totalDisplayPrice

      public BookingContractSupplier totalDisplayPrice(MoneysSupplier totalDisplayPrice)
    • getTotalDisplayPrice

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

      public void setTotalDisplayPrice(MoneysSupplier totalDisplayPrice)
    • totalSupplierPrice

      public BookingContractSupplier totalSupplierPrice(MoneysSupplier totalSupplierPrice)
    • getTotalSupplierPrice

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

      public void setTotalSupplierPrice(MoneysSupplier totalSupplierPrice)
    • totalInternalPrice

      public BookingContractSupplier totalInternalPrice(MoneysSupplier totalInternalPrice)
    • getTotalInternalPrice

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

      public void setTotalInternalPrice(MoneysSupplier totalInternalPrice)
    • totalCapturePrice

      public BookingContractSupplier totalCapturePrice(MoneysSupplier totalCapturePrice)
    • getTotalCapturePrice

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

      public void setTotalCapturePrice(MoneysSupplier totalCapturePrice)
    • totalSourcePriceAfterRefund

      public BookingContractSupplier totalSourcePriceAfterRefund(MoneysSupplier totalSourcePriceAfterRefund)
    • getTotalSourcePriceAfterRefund

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

      public void setTotalSourcePriceAfterRefund(MoneysSupplier totalSourcePriceAfterRefund)
    • totalDisplayPriceAfterRefund

      public BookingContractSupplier totalDisplayPriceAfterRefund(MoneysSupplier totalDisplayPriceAfterRefund)
    • getTotalDisplayPriceAfterRefund

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

      public void setTotalDisplayPriceAfterRefund(MoneysSupplier totalDisplayPriceAfterRefund)
    • totalSupplierPriceAfterRefund

      public BookingContractSupplier totalSupplierPriceAfterRefund(MoneysSupplier totalSupplierPriceAfterRefund)
    • getTotalSupplierPriceAfterRefund

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

      public void setTotalSupplierPriceAfterRefund(MoneysSupplier totalSupplierPriceAfterRefund)
    • totalInternalPriceAfterRefund

      public BookingContractSupplier totalInternalPriceAfterRefund(MoneysSupplier totalInternalPriceAfterRefund)
    • getTotalInternalPriceAfterRefund

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

      public void setTotalInternalPriceAfterRefund(MoneysSupplier totalInternalPriceAfterRefund)
    • totalCapturePriceAfterRefund

      public BookingContractSupplier totalCapturePriceAfterRefund(MoneysSupplier totalCapturePriceAfterRefund)
    • getTotalCapturePriceAfterRefund

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

      public void setTotalCapturePriceAfterRefund(MoneysSupplier totalCapturePriceAfterRefund)
    • refundedSourcePrice

      public BookingContractSupplier refundedSourcePrice(MoneysSupplier refundedSourcePrice)
    • getRefundedSourcePrice

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

      public void setRefundedSourcePrice(MoneysSupplier refundedSourcePrice)
    • refundedDisplayPrice

      public BookingContractSupplier refundedDisplayPrice(MoneysSupplier refundedDisplayPrice)
    • getRefundedDisplayPrice

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

      public void setRefundedDisplayPrice(MoneysSupplier refundedDisplayPrice)
    • refundedSupplierPrice

      public BookingContractSupplier refundedSupplierPrice(MoneysSupplier refundedSupplierPrice)
    • getRefundedSupplierPrice

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

      public void setRefundedSupplierPrice(MoneysSupplier refundedSupplierPrice)
    • refundedInternalPrice

      public BookingContractSupplier refundedInternalPrice(MoneysSupplier refundedInternalPrice)
    • getRefundedInternalPrice

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

      public void setRefundedInternalPrice(MoneysSupplier refundedInternalPrice)
    • refundedCapturePrice

      public BookingContractSupplier refundedCapturePrice(MoneysSupplier refundedCapturePrice)
    • getRefundedCapturePrice

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

      public void setRefundedCapturePrice(MoneysSupplier refundedCapturePrice)
    • totalTokensEarned

      public BookingContractSupplier 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 BookingContractSupplier 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)
    • cancellableBySupplier

      public BookingContractSupplier 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 BookingContractSupplier 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)
    • isCancellableWithPotentialCharges

      public BookingContractSupplier 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 BookingContractSupplier commissionableTotalSourceAmount(MoneysSupplier commissionableTotalSourceAmount)
    • getCommissionableTotalSourceAmount

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

      public void setCommissionableTotalSourceAmount(MoneysSupplier commissionableTotalSourceAmount)
    • commissionableTotalCaptureAmount

      public BookingContractSupplier commissionableTotalCaptureAmount(MoneysSupplier commissionableTotalCaptureAmount)
    • getCommissionableTotalCaptureAmount

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

      public void setCommissionableTotalCaptureAmount(MoneysSupplier commissionableTotalCaptureAmount)
    • commissionableTotalDisplayAmount

      public BookingContractSupplier commissionableTotalDisplayAmount(MoneysSupplier commissionableTotalDisplayAmount)
    • getCommissionableTotalDisplayAmount

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

      public void setCommissionableTotalDisplayAmount(MoneysSupplier commissionableTotalDisplayAmount)
    • commissionableTotalSupplierAmount

      public BookingContractSupplier commissionableTotalSupplierAmount(MoneysSupplier commissionableTotalSupplierAmount)
    • getCommissionableTotalSupplierAmount

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

      public void setCommissionableTotalSupplierAmount(MoneysSupplier commissionableTotalSupplierAmount)
    • commissionableTotalInternalAmount

      public BookingContractSupplier commissionableTotalInternalAmount(MoneysSupplier commissionableTotalInternalAmount)
    • getCommissionableTotalInternalAmount

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

      public void setCommissionableTotalInternalAmount(MoneysSupplier 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