Class BookingContractSupplierDetails

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-12T17:36:59.732058641+07:00[Asia/Bangkok]") public class BookingContractSupplierDetails extends Object
Booking contract created by TripPay
  • Field Details

  • Constructor Details

    • BookingContractSupplierDetails

      public BookingContractSupplierDetails()
  • Method Details

    • bookingContractIdentifier

      public BookingContractSupplierDetails bookingContractIdentifier(UUID bookingContractIdentifier)
    • getBookingContractIdentifier

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

      public void setBookingContractIdentifier(UUID bookingContractIdentifier)
    • createdDate

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

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

      public void setIpAddress(String ipAddress)
    • traceId

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

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

      public void setSupplierIdentifier(UUID supplierIdentifier)
    • supplierName

      public BookingContractSupplierDetails supplierName(String supplierName)
    • getSupplierName

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

      public void setSupplierName(String supplierName)
    • displayPriceQuote

      public BookingContractSupplierDetails displayPriceQuote(QuoteSupplierDetails displayPriceQuote)
    • getDisplayPriceQuote

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

      public void setDisplayPriceQuote(QuoteSupplierDetails displayPriceQuote)
    • supplierPriceQuote

      public BookingContractSupplierDetails supplierPriceQuote(QuoteSupplierDetails supplierPriceQuote)
    • getSupplierPriceQuote

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

      public void setSupplierPriceQuote(QuoteSupplierDetails supplierPriceQuote)
    • internalPriceQuote

      public BookingContractSupplierDetails internalPriceQuote(QuoteSupplierDetails internalPriceQuote)
    • getInternalPriceQuote

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

      public void setInternalPriceQuote(QuoteSupplierDetails internalPriceQuote)
    • capturePriceQuote

      public BookingContractSupplierDetails capturePriceQuote(QuoteSupplierDetails capturePriceQuote)
    • getCapturePriceQuote

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

      public void setCapturePriceQuote(QuoteSupplierDetails capturePriceQuote)
    • itemList

    • addItemListItem

    • getItemList

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

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

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

      public void setPayment(BookingContractPaymentDetailsSupplierDetails payment)
    • cancelled

      public BookingContractSupplierDetails cancelled(Boolean cancelled)
    • getCancelled

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

      public void setCancelled(Boolean cancelled)
    • cancelledOn

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

      public void setCanceller(BookingContractSupplierDetails.CancellerEnum canceller)
    • cancellationType

    • getCancellationType

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

      public void setCancellationType(BookingContractSupplierDetails.CancellationTypeEnum cancellationType)
    • cancellerUserIdentifier

      public BookingContractSupplierDetails cancellerUserIdentifier(String cancellerUserIdentifier)
    • getCancellerUserIdentifier

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

      public void setCancellerUserIdentifier(String cancellerUserIdentifier)
    • cancelReason

      public BookingContractSupplierDetails cancelReason(String cancelReason)
    • getCancelReason

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

      public void setCancelReason(String cancelReason)
    • fundsProcessed

      public BookingContractSupplierDetails 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

    • addRefundsItem

      public BookingContractSupplierDetails addRefundsItem(RefundSupplierDetails refundsItem)
    • getRefunds

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

      public BookingContractSupplierDetails sourceCurrency(String sourceCurrency)
    • getSourceCurrency

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

      public void setSourceCurrency(String sourceCurrency)
    • displayCurrency

      public BookingContractSupplierDetails displayCurrency(String displayCurrency)
    • getDisplayCurrency

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

      public void setDisplayCurrency(String displayCurrency)
    • supplierCurrency

      public BookingContractSupplierDetails supplierCurrency(String supplierCurrency)
    • getSupplierCurrency

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

      public void setSupplierCurrency(String supplierCurrency)
    • internalCurrency

      public BookingContractSupplierDetails internalCurrency(String internalCurrency)
    • getInternalCurrency

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

      public void setInternalCurrency(String internalCurrency)
    • captureCurrency

      public BookingContractSupplierDetails captureCurrency(String captureCurrency)
    • getCaptureCurrency

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

      public void setCaptureCurrency(String captureCurrency)
    • sourceAmount

      public BookingContractSupplierDetails sourceAmount(Double sourceAmount)
    • getSourceAmount

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

      public void setSourceAmount(Double sourceAmount)
    • displayAmount

      public BookingContractSupplierDetails displayAmount(Double displayAmount)
    • getDisplayAmount

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

      public void setDisplayAmount(Double displayAmount)
    • supplierAmount

      public BookingContractSupplierDetails supplierAmount(Double supplierAmount)
    • getSupplierAmount

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

      public void setSupplierAmount(Double supplierAmount)
    • internalAmount

      public BookingContractSupplierDetails internalAmount(Double internalAmount)
    • getInternalAmount

      @Nullable @DecimalMin("0") public @DecimalMin("0") Double getInternalAmount()
      Get internalAmount minimum: 0
      Returns:
      internalAmount
    • setInternalAmount

      public void setInternalAmount(Double internalAmount)
    • captureAmount

      public BookingContractSupplierDetails captureAmount(Double captureAmount)
    • getCaptureAmount

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

      public void setCaptureAmount(Double captureAmount)
    • sourceAmountRefundModifier

      public BookingContractSupplierDetails sourceAmountRefundModifier(Double sourceAmountRefundModifier)
    • getSourceAmountRefundModifier

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

      public void setSourceAmountRefundModifier(Double sourceAmountRefundModifier)
    • displayAmountRefundModifier

      public BookingContractSupplierDetails displayAmountRefundModifier(Double displayAmountRefundModifier)
    • getDisplayAmountRefundModifier

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

      public void setDisplayAmountRefundModifier(Double displayAmountRefundModifier)
    • supplierAmountRefundModifier

      public BookingContractSupplierDetails supplierAmountRefundModifier(Double supplierAmountRefundModifier)
    • getSupplierAmountRefundModifier

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

      public void setSupplierAmountRefundModifier(Double supplierAmountRefundModifier)
    • internalAmountRefundModifier

      public BookingContractSupplierDetails internalAmountRefundModifier(Double internalAmountRefundModifier)
    • getInternalAmountRefundModifier

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

      public void setInternalAmountRefundModifier(Double internalAmountRefundModifier)
    • captureAmountRefundModifier

      public BookingContractSupplierDetails captureAmountRefundModifier(Double captureAmountRefundModifier)
    • getCaptureAmountRefundModifier

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

      public void setCaptureAmountRefundModifier(Double captureAmountRefundModifier)
    • netSourceAmount

      public BookingContractSupplierDetails netSourceAmount(Double netSourceAmount)
    • getNetSourceAmount

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getNetSourceAmount()
      The total initial price as quoted in the original TripPay contract. minimum: 0
      Returns:
      netSourceAmount
    • setNetSourceAmount

      public void setNetSourceAmount(Double netSourceAmount)
    • netDisplayAmount

      public BookingContractSupplierDetails netDisplayAmount(Double netDisplayAmount)
    • getNetDisplayAmount

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getNetDisplayAmount()
      The total display price. minimum: 0
      Returns:
      netDisplayAmount
    • setNetDisplayAmount

      public void setNetDisplayAmount(Double netDisplayAmount)
    • netSupplierAmount

      public BookingContractSupplierDetails netSupplierAmount(Double netSupplierAmount)
    • getNetSupplierAmount

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getNetSupplierAmount()
      The total supplier price. minimum: 0
      Returns:
      netSupplierAmount
    • setNetSupplierAmount

      public void setNetSupplierAmount(Double netSupplierAmount)
    • netInternalAmount

      public BookingContractSupplierDetails netInternalAmount(Double netInternalAmount)
    • getNetInternalAmount

      @Nullable @DecimalMin("0") public @DecimalMin("0") Double getNetInternalAmount()
      Get netInternalAmount minimum: 0
      Returns:
      netInternalAmount
    • setNetInternalAmount

      public void setNetInternalAmount(Double netInternalAmount)
    • netCaptureAmount

      public BookingContractSupplierDetails netCaptureAmount(Double netCaptureAmount)
    • getNetCaptureAmount

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getNetCaptureAmount()
      The total capture price. minimum: 0
      Returns:
      netCaptureAmount
    • setNetCaptureAmount

      public void setNetCaptureAmount(Double netCaptureAmount)
    • totalTokensEarned

      public BookingContractSupplierDetails 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 BookingContractSupplierDetails 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 BookingContractSupplierDetails 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 BookingContractSupplierDetails 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 BookingContractSupplierDetails 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 BookingContractSupplierDetails commissionableTotalSourceAmount(MoneysSupplierDetails commissionableTotalSourceAmount)
    • getCommissionableTotalSourceAmount

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

      public void setCommissionableTotalSourceAmount(MoneysSupplierDetails commissionableTotalSourceAmount)
    • commissionableTotalCaptureAmount

      public BookingContractSupplierDetails commissionableTotalCaptureAmount(MoneysSupplierDetails commissionableTotalCaptureAmount)
    • getCommissionableTotalCaptureAmount

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

      public void setCommissionableTotalCaptureAmount(MoneysSupplierDetails commissionableTotalCaptureAmount)
    • commissionableTotalDisplayAmount

      public BookingContractSupplierDetails commissionableTotalDisplayAmount(MoneysSupplierDetails commissionableTotalDisplayAmount)
    • getCommissionableTotalDisplayAmount

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

      public void setCommissionableTotalDisplayAmount(MoneysSupplierDetails commissionableTotalDisplayAmount)
    • commissionableTotalSupplierAmount

      public BookingContractSupplierDetails commissionableTotalSupplierAmount(MoneysSupplierDetails commissionableTotalSupplierAmount)
    • getCommissionableTotalSupplierAmount

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

      public void setCommissionableTotalSupplierAmount(MoneysSupplierDetails commissionableTotalSupplierAmount)
    • commissionableTotalInternalAmount

      public BookingContractSupplierDetails commissionableTotalInternalAmount(MoneysSupplierDetails commissionableTotalInternalAmount)
    • getCommissionableTotalInternalAmount

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

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