Package io.trippay.sdk.payment.model
Class BookingContract
java.lang.Object
io.trippay.sdk.payment.model.BookingContract
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-09-09T10:13:04.222556669+07:00[Asia/Bangkok]")
public class BookingContract
extends Object
A booking record is the contract that got created after a successful payment was submitted.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumReason type.static enumType of entity that cancelled the booking. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddItemListItem(BookingContractItem itemListItem) addRefundsItem(Refund refundsItem) addTotalFundsGroupedByBeneficiaryItem(Beneficiary totalFundsGroupedByBeneficiaryItem) cancellableBySupplier(Boolean cancellableBySupplier) cancellableByTraveler(Boolean cancellableByTraveler) cancellableWithNoCharges(Boolean cancellableWithNoCharges) cancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges) cancellationType(BookingContract.CancellationTypeEnum cancellationType) cancelledOn(LocalDateTime cancelledOn) canceller(BookingContract.CancellerEnum canceller) cancellerUserIdentifier(String cancellerUserIdentifier) cancelReason(String cancelReason) captureAmount(BigDecimal captureAmount) captureAmountRefundModifier(BigDecimal captureAmountRefundModifier) captureCurrency(String captureCurrency) capturePriceQuote(Quote capturePriceQuote) commissionableTotalCaptureAmount(CustomMonetaryAmount commissionableTotalCaptureAmount) commissionableTotalDisplayAmount(CustomMonetaryAmount commissionableTotalDisplayAmount) commissionableTotalInternalAmount(CustomMonetaryAmount commissionableTotalInternalAmount) commissionableTotalSourceAmount(CustomMonetaryAmount commissionableTotalSourceAmount) commissionableTotalSupplierAmount(CustomMonetaryAmount commissionableTotalSupplierAmount) createdDate(LocalDateTime createdDate) displayAmount(BigDecimal displayAmount) displayAmountRefundModifier(BigDecimal displayAmountRefundModifier) displayCurrency(String displayCurrency) displayPriceQuote(Quote displayPriceQuote) booleanexternalSupplierBookingCode(String externalSupplierBookingCode) externalSupplierIdentifier(String externalSupplierIdentifier) fundsAddedToLedger(Boolean fundsAddedToLedger) fundsAvailableDate(LocalDate fundsAvailableDate) fundsProcessed(Boolean fundsProcessed) Whether the booking can still be cancelled completely by the supplier.Whether the booking can still be cancelled completely by the traveller.Whether the cancellation comes at no cost to the traveler.Whether a cancellation comes with partial charges.Reason type.@NotNull BooleanWhether the booking was cancelled.When the booking was cancelled.Type of entity that cancelled the booking.User identifier that cancelled the entity.Reason for cancellation.@NotNull @Valid @DecimalMin("0") BigDecimalThe total capture price.@Valid @DecimalMin("0") BigDecimalThe capture amount still due after a partial refund occurs.@NotNull StringThe capture currency@NotNull @Valid QuoteGet capturePriceQuote@Valid CustomMonetaryAmountGet commissionableTotalCaptureAmount@Valid CustomMonetaryAmountGet commissionableTotalDisplayAmount@Valid CustomMonetaryAmountGet commissionableTotalInternalAmount@Valid CustomMonetaryAmountGet commissionableTotalSourceAmount@Valid CustomMonetaryAmountGet commissionableTotalSupplierAmountDatetime this record was first created@NotNull @Valid @DecimalMin("0") BigDecimalThe total display price.@Valid @DecimalMin("0") BigDecimalThe display amount still due after a partial refund occurs.@NotNull StringThe display currency@NotNull @Valid QuoteGet displayPriceQuoteExternal booking code generated by the callerContract creator can choose to identify this record with her own identifierWhether the contract has been added to the ledger; rady for payout.@Valid LocalDateReturns the date the funds will be released to the customer.Whether a funds transfer request has been created for this booking.getId()Document UUID@NotNull StringUnique identifier used to track the contract.@NotNull @Valid @DecimalMin("0") BigDecimalThe total internal price.@Valid @DecimalMin("0") BigDecimalThe internal amount still due after a partial refund occurs.@NotNull StringThe internal currency@NotNull @Valid QuoteGet internalPriceQuote@NotNull StringCaller's IP address@NotNull @Valid @Size(min=1,max=2147483647) List<BookingContractItem>Holds one booking line item for a specific supplier.Datetime this record was last updated@Valid BigDecimalGet netCaptureAmount@Valid CustomMonetaryAmountGet netCommissionableTotalCaptureAmount@Valid CustomMonetaryAmountGet netCommissionableTotalDisplayAmount@Valid CustomMonetaryAmountGet netCommissionableTotalInternalAmount@Valid CustomMonetaryAmountGet netCommissionableTotalSourceAmount@Valid CustomMonetaryAmountGet netCommissionableTotalSupplierAmount@Valid BigDecimalGet netDisplayAmount@Valid BigDecimalGet netInternalAmount@Valid BigDecimalGet netSourceAmount@Valid BigDecimalGet netSupplierAmount@Valid CustomMonetaryAmountGet netTotalFeesAndCommissionsCaptureAmount@Valid CustomMonetaryAmountGet netTotalFeesAndCommissionsDisplayAmount@Valid CustomMonetaryAmountGet netTotalFeesAndCommissionsInternalAmount@Valid CustomMonetaryAmountGet netTotalFeesAndCommissionsSourceAmount@Valid CustomMonetaryAmountGet netTotalFeesAndCommissionsSupplierAmount@Valid CustomMonetaryAmountGet netTotalFeesCaptureAmount@Valid CustomMonetaryAmountGet netTotalFeesDisplayAmount@Valid CustomMonetaryAmountGet netTotalFeesInternalAmount@Valid CustomMonetaryAmountGet netTotalFeesSourceAmount@Valid CustomMonetaryAmountGet netTotalFeesSupplierAmount@Valid CustomMonetaryAmountGet netTotalSalesCaptureAmount@Valid CustomMonetaryAmountGet netTotalSalesDisplayAmount@Valid CustomMonetaryAmountGet netTotalSalesInternalAmount@Valid CustomMonetaryAmountGet netTotalSalesSourceAmount@Valid CustomMonetaryAmountGet netTotalSalesSupplierAmount@Valid CustomMonetaryAmountGet netTotalTripPayFeeCaptureAmount@Valid CustomMonetaryAmountGet netTotalTripPayFeeDisplayAmount@Valid CustomMonetaryAmountGet netTotalTripPayFeeInternalAmount@Valid CustomMonetaryAmountGet netTotalTripPayFeeSourceAmount@Valid CustomMonetaryAmountGet netTotalTripPayFeeSupplierAmount@Valid BigDecimalAll amounts that are not of type SALE before a refund was applied@Valid BigDecimalAll amounts that are not of type SALE before a refund was applied@NotNull @Valid BookingContractPaymentDetailsGet paymentGet refundableGet refundedAn optional list of refunds that occurred with this booking.@NotNull @Valid @DecimalMin("0") BigDecimalThe total initial price as quoted in the original TripPay contract.@Valid @DecimalMin("0") BigDecimalThe source amount still due after a partial refund occurs.@NotNull StringThe source currency@NotNull StringWhere did the booking occur@NotNull @Valid @DecimalMin("0") BigDecimalThe total supplier price.@Valid @DecimalMin("0") BigDecimalThe supplier amount still due after a partial refund occurs.@NotNull StringThe supplier currency@NotNull @Valid UUIDSupplier identifier@NotNull StringSupplier name@NotNull @Valid QuoteGet supplierPriceQuoteAll amounts that are not of type SALE before a refund was appliedAll amounts that are not of type SALE@Valid CustomMonetaryAmountGet totalFeesAndCommissionsCaptureAmount@Valid CustomMonetaryAmountGet totalFeesAndCommissionsDisplayAmountAll amounts that are not of type SALE before a refund was appliedAll amounts that are not of type SALE@Valid CustomMonetaryAmountGet totalFeesAndCommissionsInternalAmount@Valid CustomMonetaryAmountGet totalFeesAndCommissionsSourceAmount@Valid CustomMonetaryAmountGet totalFeesAndCommissionsSupplierAmount@Valid CustomMonetaryAmountGet totalFeesCaptureAmount@Valid CustomMonetaryAmountGet totalFeesDisplayAmountAll amounts that are not of type SALE before a refund was appliedAll amounts that are not of type SALE@Valid CustomMonetaryAmountGet totalFeesInternalAmount@Valid CustomMonetaryAmountGet totalFeesSourceAmount@Valid CustomMonetaryAmountGet totalFeesSupplierAmount@Valid List<Beneficiary>Get totalFundsGroupedByBeneficiary@Valid CustomMonetaryAmountGet totalSalesCaptureAmount@Valid CustomMonetaryAmountGet totalSalesDisplayAmount@Valid CustomMonetaryAmountGet totalSalesInternalAmount@Valid CustomMonetaryAmountGet totalSalesSourceAmount@Valid CustomMonetaryAmountGet totalSalesSupplierAmountTotal amount of tokens minted on this contract.@Valid CustomMonetaryAmountGet totalTripPayFeeCaptureAmount@Valid CustomMonetaryAmountGet totalTripPayFeeDisplayAmountAll amounts that are not of type SALE before a refund was appliedAll amounts that are not of type SALE@Valid CustomMonetaryAmountGet totalTripPayFeeInternalAmount@Valid CustomMonetaryAmountGet totalTripPayFeeSourceAmount@Valid CustomMonetaryAmountGet totalTripPayFeeSupplierAmount@NotNull StringWay to track which booking contracts were made togetherVersion property that shows how many times this document has been persisted.inthashCode()identifier(String identifier) internalAmount(BigDecimal internalAmount) internalAmountRefundModifier(BigDecimal internalAmountRefundModifier) internalCurrency(String internalCurrency) internalPriceQuote(Quote internalPriceQuote) itemList(List<BookingContractItem> itemList) lastUpdate(LocalDateTime lastUpdate) netCaptureAmount(BigDecimal netCaptureAmount) netCommissionableTotalCaptureAmount(CustomMonetaryAmount netCommissionableTotalCaptureAmount) netCommissionableTotalDisplayAmount(CustomMonetaryAmount netCommissionableTotalDisplayAmount) netCommissionableTotalInternalAmount(CustomMonetaryAmount netCommissionableTotalInternalAmount) netCommissionableTotalSourceAmount(CustomMonetaryAmount netCommissionableTotalSourceAmount) netCommissionableTotalSupplierAmount(CustomMonetaryAmount netCommissionableTotalSupplierAmount) netDisplayAmount(BigDecimal netDisplayAmount) netInternalAmount(BigDecimal netInternalAmount) netSourceAmount(BigDecimal netSourceAmount) netSupplierAmount(BigDecimal netSupplierAmount) netTotalFeesAndCommissionsCaptureAmount(CustomMonetaryAmount netTotalFeesAndCommissionsCaptureAmount) netTotalFeesAndCommissionsDisplayAmount(CustomMonetaryAmount netTotalFeesAndCommissionsDisplayAmount) netTotalFeesAndCommissionsInternalAmount(CustomMonetaryAmount netTotalFeesAndCommissionsInternalAmount) netTotalFeesAndCommissionsSourceAmount(CustomMonetaryAmount netTotalFeesAndCommissionsSourceAmount) netTotalFeesAndCommissionsSupplierAmount(CustomMonetaryAmount netTotalFeesAndCommissionsSupplierAmount) netTotalFeesCaptureAmount(CustomMonetaryAmount netTotalFeesCaptureAmount) netTotalFeesDisplayAmount(CustomMonetaryAmount netTotalFeesDisplayAmount) netTotalFeesInternalAmount(CustomMonetaryAmount netTotalFeesInternalAmount) netTotalFeesSourceAmount(CustomMonetaryAmount netTotalFeesSourceAmount) netTotalFeesSupplierAmount(CustomMonetaryAmount netTotalFeesSupplierAmount) netTotalSalesCaptureAmount(CustomMonetaryAmount netTotalSalesCaptureAmount) netTotalSalesDisplayAmount(CustomMonetaryAmount netTotalSalesDisplayAmount) netTotalSalesInternalAmount(CustomMonetaryAmount netTotalSalesInternalAmount) netTotalSalesSourceAmount(CustomMonetaryAmount netTotalSalesSourceAmount) netTotalSalesSupplierAmount(CustomMonetaryAmount netTotalSalesSupplierAmount) netTotalTripPayFeeCaptureAmount(CustomMonetaryAmount netTotalTripPayFeeCaptureAmount) netTotalTripPayFeeDisplayAmount(CustomMonetaryAmount netTotalTripPayFeeDisplayAmount) netTotalTripPayFeeInternalAmount(CustomMonetaryAmount netTotalTripPayFeeInternalAmount) netTotalTripPayFeeSourceAmount(CustomMonetaryAmount netTotalTripPayFeeSourceAmount) netTotalTripPayFeeSupplierAmount(CustomMonetaryAmount netTotalTripPayFeeSupplierAmount) originalCommissionsInPercent(BigDecimal originalCommissionsInPercent) originalFeesInPercent(BigDecimal originalFeesInPercent) payment(BookingContractPaymentDetails payment) refundable(Boolean refundable) voidsetCancellableBySupplier(Boolean cancellableBySupplier) voidsetCancellableByTraveler(Boolean cancellableByTraveler) voidsetCancellableWithNoCharges(Boolean cancellableWithNoCharges) voidsetCancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges) voidsetCancellationType(BookingContract.CancellationTypeEnum cancellationType) voidsetCancelled(Boolean cancelled) voidsetCancelledOn(LocalDateTime cancelledOn) voidsetCanceller(BookingContract.CancellerEnum canceller) voidsetCancellerUserIdentifier(String cancellerUserIdentifier) voidsetCancelReason(String cancelReason) voidsetCaptureAmount(BigDecimal captureAmount) voidsetCaptureAmountRefundModifier(BigDecimal captureAmountRefundModifier) voidsetCaptureCurrency(String captureCurrency) voidsetCapturePriceQuote(Quote capturePriceQuote) voidsetCommissionableTotalCaptureAmount(CustomMonetaryAmount commissionableTotalCaptureAmount) voidsetCommissionableTotalDisplayAmount(CustomMonetaryAmount commissionableTotalDisplayAmount) voidsetCommissionableTotalInternalAmount(CustomMonetaryAmount commissionableTotalInternalAmount) voidsetCommissionableTotalSourceAmount(CustomMonetaryAmount commissionableTotalSourceAmount) voidsetCommissionableTotalSupplierAmount(CustomMonetaryAmount commissionableTotalSupplierAmount) voidsetCreatedDate(LocalDateTime createdDate) voidsetDisplayAmount(BigDecimal displayAmount) voidsetDisplayAmountRefundModifier(BigDecimal displayAmountRefundModifier) voidsetDisplayCurrency(String displayCurrency) voidsetDisplayPriceQuote(Quote displayPriceQuote) voidsetExternalSupplierBookingCode(String externalSupplierBookingCode) voidsetExternalSupplierIdentifier(String externalSupplierIdentifier) voidsetFundsAddedToLedger(Boolean fundsAddedToLedger) voidsetFundsAvailableDate(LocalDate fundsAvailableDate) voidsetFundsProcessed(Boolean fundsProcessed) voidvoidsetIdentifier(String identifier) voidsetInternalAmount(BigDecimal internalAmount) voidsetInternalAmountRefundModifier(BigDecimal internalAmountRefundModifier) voidsetInternalCurrency(String internalCurrency) voidsetInternalPriceQuote(Quote internalPriceQuote) voidsetIpAddress(String ipAddress) voidsetItemList(List<BookingContractItem> itemList) voidsetLastUpdate(LocalDateTime lastUpdate) voidsetNetCaptureAmount(BigDecimal netCaptureAmount) voidsetNetCommissionableTotalCaptureAmount(CustomMonetaryAmount netCommissionableTotalCaptureAmount) voidsetNetCommissionableTotalDisplayAmount(CustomMonetaryAmount netCommissionableTotalDisplayAmount) voidsetNetCommissionableTotalInternalAmount(CustomMonetaryAmount netCommissionableTotalInternalAmount) voidsetNetCommissionableTotalSourceAmount(CustomMonetaryAmount netCommissionableTotalSourceAmount) voidsetNetCommissionableTotalSupplierAmount(CustomMonetaryAmount netCommissionableTotalSupplierAmount) voidsetNetDisplayAmount(BigDecimal netDisplayAmount) voidsetNetInternalAmount(BigDecimal netInternalAmount) voidsetNetSourceAmount(BigDecimal netSourceAmount) voidsetNetSupplierAmount(BigDecimal netSupplierAmount) voidsetNetTotalFeesAndCommissionsCaptureAmount(CustomMonetaryAmount netTotalFeesAndCommissionsCaptureAmount) voidsetNetTotalFeesAndCommissionsDisplayAmount(CustomMonetaryAmount netTotalFeesAndCommissionsDisplayAmount) voidsetNetTotalFeesAndCommissionsInternalAmount(CustomMonetaryAmount netTotalFeesAndCommissionsInternalAmount) voidsetNetTotalFeesAndCommissionsSourceAmount(CustomMonetaryAmount netTotalFeesAndCommissionsSourceAmount) voidsetNetTotalFeesAndCommissionsSupplierAmount(CustomMonetaryAmount netTotalFeesAndCommissionsSupplierAmount) voidsetNetTotalFeesCaptureAmount(CustomMonetaryAmount netTotalFeesCaptureAmount) voidsetNetTotalFeesDisplayAmount(CustomMonetaryAmount netTotalFeesDisplayAmount) voidsetNetTotalFeesInternalAmount(CustomMonetaryAmount netTotalFeesInternalAmount) voidsetNetTotalFeesSourceAmount(CustomMonetaryAmount netTotalFeesSourceAmount) voidsetNetTotalFeesSupplierAmount(CustomMonetaryAmount netTotalFeesSupplierAmount) voidsetNetTotalSalesCaptureAmount(CustomMonetaryAmount netTotalSalesCaptureAmount) voidsetNetTotalSalesDisplayAmount(CustomMonetaryAmount netTotalSalesDisplayAmount) voidsetNetTotalSalesInternalAmount(CustomMonetaryAmount netTotalSalesInternalAmount) voidsetNetTotalSalesSourceAmount(CustomMonetaryAmount netTotalSalesSourceAmount) voidsetNetTotalSalesSupplierAmount(CustomMonetaryAmount netTotalSalesSupplierAmount) voidsetNetTotalTripPayFeeCaptureAmount(CustomMonetaryAmount netTotalTripPayFeeCaptureAmount) voidsetNetTotalTripPayFeeDisplayAmount(CustomMonetaryAmount netTotalTripPayFeeDisplayAmount) voidsetNetTotalTripPayFeeInternalAmount(CustomMonetaryAmount netTotalTripPayFeeInternalAmount) voidsetNetTotalTripPayFeeSourceAmount(CustomMonetaryAmount netTotalTripPayFeeSourceAmount) voidsetNetTotalTripPayFeeSupplierAmount(CustomMonetaryAmount netTotalTripPayFeeSupplierAmount) voidsetOriginalCommissionsInPercent(BigDecimal originalCommissionsInPercent) voidsetOriginalFeesInPercent(BigDecimal originalFeesInPercent) voidsetPayment(BookingContractPaymentDetails payment) voidsetRefundable(Boolean refundable) voidsetRefunded(Boolean refunded) voidsetRefunds(List<Refund> refunds) voidsetSourceAmount(BigDecimal sourceAmount) voidsetSourceAmountRefundModifier(BigDecimal sourceAmountRefundModifier) voidsetSourceCurrency(String sourceCurrency) voidsetSourceUrl(String sourceUrl) voidsetSupplierAmount(BigDecimal supplierAmount) voidsetSupplierAmountRefundModifier(BigDecimal supplierAmountRefundModifier) voidsetSupplierCurrency(String supplierCurrency) voidsetSupplierIdentifier(UUID supplierIdentifier) voidsetSupplierName(String supplierName) voidsetSupplierPriceQuote(Quote supplierPriceQuote) voidsetTotalCommissionsInPercent(Float totalCommissionsInPercent) voidsetTotalCommissionsInPercentWithRefund(Float totalCommissionsInPercentWithRefund) voidsetTotalFeesAndCommissionsCaptureAmount(CustomMonetaryAmount totalFeesAndCommissionsCaptureAmount) voidsetTotalFeesAndCommissionsDisplayAmount(CustomMonetaryAmount totalFeesAndCommissionsDisplayAmount) voidsetTotalFeesAndCommissionsInPercent(Float totalFeesAndCommissionsInPercent) voidsetTotalFeesAndCommissionsInPercentWithRefund(Float totalFeesAndCommissionsInPercentWithRefund) voidsetTotalFeesAndCommissionsInternalAmount(CustomMonetaryAmount totalFeesAndCommissionsInternalAmount) voidsetTotalFeesAndCommissionsSourceAmount(CustomMonetaryAmount totalFeesAndCommissionsSourceAmount) voidsetTotalFeesAndCommissionsSupplierAmount(CustomMonetaryAmount totalFeesAndCommissionsSupplierAmount) voidsetTotalFeesCaptureAmount(CustomMonetaryAmount totalFeesCaptureAmount) voidsetTotalFeesDisplayAmount(CustomMonetaryAmount totalFeesDisplayAmount) voidsetTotalFeesInPercent(Float totalFeesInPercent) voidsetTotalFeesInPercentWithRefund(Float totalFeesInPercentWithRefund) voidsetTotalFeesInternalAmount(CustomMonetaryAmount totalFeesInternalAmount) voidsetTotalFeesSourceAmount(CustomMonetaryAmount totalFeesSourceAmount) voidsetTotalFeesSupplierAmount(CustomMonetaryAmount totalFeesSupplierAmount) voidsetTotalFundsGroupedByBeneficiary(List<Beneficiary> totalFundsGroupedByBeneficiary) voidsetTotalSalesCaptureAmount(CustomMonetaryAmount totalSalesCaptureAmount) voidsetTotalSalesDisplayAmount(CustomMonetaryAmount totalSalesDisplayAmount) voidsetTotalSalesInternalAmount(CustomMonetaryAmount totalSalesInternalAmount) voidsetTotalSalesSourceAmount(CustomMonetaryAmount totalSalesSourceAmount) voidsetTotalSalesSupplierAmount(CustomMonetaryAmount totalSalesSupplierAmount) voidsetTotalTokensEarned(Long totalTokensEarned) voidsetTotalTripPayFeeCaptureAmount(CustomMonetaryAmount totalTripPayFeeCaptureAmount) voidsetTotalTripPayFeeDisplayAmount(CustomMonetaryAmount totalTripPayFeeDisplayAmount) voidsetTotalTripPayFeeInPercent(Float totalTripPayFeeInPercent) voidsetTotalTripPayFeeInPercentWithRefund(Float totalTripPayFeeInPercentWithRefund) voidsetTotalTripPayFeeInternalAmount(CustomMonetaryAmount totalTripPayFeeInternalAmount) voidsetTotalTripPayFeeSourceAmount(CustomMonetaryAmount totalTripPayFeeSourceAmount) voidsetTotalTripPayFeeSupplierAmount(CustomMonetaryAmount totalTripPayFeeSupplierAmount) voidsetTraceId(String traceId) voidsetVersion(Long version) sourceAmount(BigDecimal sourceAmount) sourceAmountRefundModifier(BigDecimal sourceAmountRefundModifier) sourceCurrency(String sourceCurrency) supplierAmount(BigDecimal supplierAmount) supplierAmountRefundModifier(BigDecimal supplierAmountRefundModifier) supplierCurrency(String supplierCurrency) supplierIdentifier(UUID supplierIdentifier) supplierName(String supplierName) supplierPriceQuote(Quote supplierPriceQuote) toString()totalCommissionsInPercent(Float totalCommissionsInPercent) totalCommissionsInPercentWithRefund(Float totalCommissionsInPercentWithRefund) totalFeesAndCommissionsCaptureAmount(CustomMonetaryAmount totalFeesAndCommissionsCaptureAmount) totalFeesAndCommissionsDisplayAmount(CustomMonetaryAmount totalFeesAndCommissionsDisplayAmount) totalFeesAndCommissionsInPercent(Float totalFeesAndCommissionsInPercent) totalFeesAndCommissionsInPercentWithRefund(Float totalFeesAndCommissionsInPercentWithRefund) totalFeesAndCommissionsInternalAmount(CustomMonetaryAmount totalFeesAndCommissionsInternalAmount) totalFeesAndCommissionsSourceAmount(CustomMonetaryAmount totalFeesAndCommissionsSourceAmount) totalFeesAndCommissionsSupplierAmount(CustomMonetaryAmount totalFeesAndCommissionsSupplierAmount) totalFeesCaptureAmount(CustomMonetaryAmount totalFeesCaptureAmount) totalFeesDisplayAmount(CustomMonetaryAmount totalFeesDisplayAmount) totalFeesInPercent(Float totalFeesInPercent) totalFeesInPercentWithRefund(Float totalFeesInPercentWithRefund) totalFeesInternalAmount(CustomMonetaryAmount totalFeesInternalAmount) totalFeesSourceAmount(CustomMonetaryAmount totalFeesSourceAmount) totalFeesSupplierAmount(CustomMonetaryAmount totalFeesSupplierAmount) totalFundsGroupedByBeneficiary(List<Beneficiary> totalFundsGroupedByBeneficiary) totalSalesCaptureAmount(CustomMonetaryAmount totalSalesCaptureAmount) totalSalesDisplayAmount(CustomMonetaryAmount totalSalesDisplayAmount) totalSalesInternalAmount(CustomMonetaryAmount totalSalesInternalAmount) totalSalesSourceAmount(CustomMonetaryAmount totalSalesSourceAmount) totalSalesSupplierAmount(CustomMonetaryAmount totalSalesSupplierAmount) totalTokensEarned(Long totalTokensEarned) totalTripPayFeeCaptureAmount(CustomMonetaryAmount totalTripPayFeeCaptureAmount) totalTripPayFeeDisplayAmount(CustomMonetaryAmount totalTripPayFeeDisplayAmount) totalTripPayFeeInPercent(Float totalTripPayFeeInPercent) totalTripPayFeeInPercentWithRefund(Float totalTripPayFeeInPercentWithRefund) totalTripPayFeeInternalAmount(CustomMonetaryAmount totalTripPayFeeInternalAmount) totalTripPayFeeSourceAmount(CustomMonetaryAmount totalTripPayFeeSourceAmount) totalTripPayFeeSupplierAmount(CustomMonetaryAmount totalTripPayFeeSupplierAmount)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CREATED_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_IP_ADDRESS
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
JSON_PROPERTY_SOURCE_URL
- See Also:
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_NAME
- See Also:
-
JSON_PROPERTY_DISPLAY_PRICE_QUOTE
- See Also:
-
JSON_PROPERTY_SUPPLIER_PRICE_QUOTE
- See Also:
-
JSON_PROPERTY_INTERNAL_PRICE_QUOTE
- See Also:
-
JSON_PROPERTY_CAPTURE_PRICE_QUOTE
- See Also:
-
JSON_PROPERTY_ITEM_LIST
- See Also:
-
JSON_PROPERTY_EXTERNAL_SUPPLIER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_EXTERNAL_SUPPLIER_BOOKING_CODE
- See Also:
-
JSON_PROPERTY_PAYMENT
- See Also:
-
JSON_PROPERTY_CANCELLED
- See Also:
-
JSON_PROPERTY_CANCELLED_ON
- See Also:
-
JSON_PROPERTY_CANCELLER
- See Also:
-
JSON_PROPERTY_CANCELLATION_TYPE
- See Also:
-
JSON_PROPERTY_CANCELLER_USER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_CANCEL_REASON
- See Also:
-
JSON_PROPERTY_FUNDS_ADDED_TO_LEDGER
- See Also:
-
JSON_PROPERTY_FUNDS_PROCESSED
- See Also:
-
JSON_PROPERTY_REFUNDS
- See Also:
-
JSON_PROPERTY_SOURCE_CURRENCY
- See Also:
-
JSON_PROPERTY_DISPLAY_CURRENCY
- See Also:
-
JSON_PROPERTY_SUPPLIER_CURRENCY
- See Also:
-
JSON_PROPERTY_INTERNAL_CURRENCY
- See Also:
-
JSON_PROPERTY_CAPTURE_CURRENCY
- See Also:
-
JSON_PROPERTY_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_SOURCE_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_DISPLAY_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_INTERNAL_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_CAPTURE_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_ORIGINAL_FEES_IN_PERCENT
- See Also:
-
JSON_PROPERTY_NET_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_TRAVELER
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_SUPPLIER
- See Also:
-
JSON_PROPERTY_NET_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_NO_CHARGES
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_POTENTIAL_CHARGES
- See Also:
-
JSON_PROPERTY_REFUNDED
- See Also:
-
JSON_PROPERTY_NET_TOTAL_SALES_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_SALES_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_FEES_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_TRIP_PAY_FEE_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_TRIP_PAY_FEE_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_COMMISSIONABLE_TOTAL_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE_TOTAL_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_FEES_AND_COMMISSIONS_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_AND_COMMISSIONS_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_TOKENS_EARNED
- See Also:
-
JSON_PROPERTY_TOTAL_FUNDS_GROUPED_BY_BENEFICIARY
- See Also:
-
JSON_PROPERTY_NET_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_REFUNDABLE
- See Also:
-
JSON_PROPERTY_NET_COMMISSIONABLE_TOTAL_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_COMMISSIONABLE_TOTAL_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_COMMISSIONABLE_TOTAL_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_COMMISSIONABLE_TOTAL_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_FEES_AND_COMMISSIONS_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_FEES_AND_COMMISSIONS_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_FEES_AND_COMMISSIONS_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_FEES_AND_COMMISSIONS_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_FEES_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_FEES_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_FEES_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_FEES_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_TRIP_PAY_FEE_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_TRIP_PAY_FEE_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_TRIP_PAY_FEE_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_TRIP_PAY_FEE_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_SALES_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_SALES_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_TOTAL_SALES_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE_TOTAL_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE_TOTAL_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE_TOTAL_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE_TOTAL_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_AND_COMMISSIONS_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_AND_COMMISSIONS_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_AND_COMMISSIONS_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_AND_COMMISSIONS_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_TRIP_PAY_FEE_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_TRIP_PAY_FEE_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_TRIP_PAY_FEE_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_TRIP_PAY_FEE_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_SALES_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_SALES_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_SALES_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_SALES_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_SALES_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_FUNDS_AVAILABLE_DATE
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_IN_PERCENT_WITH_REFUND
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_IN_PERCENT
- See Also:
-
JSON_PROPERTY_TOTAL_TRIP_PAY_FEE_IN_PERCENT_WITH_REFUND
- See Also:
-
JSON_PROPERTY_TOTAL_TRIP_PAY_FEE_IN_PERCENT
- See Also:
-
JSON_PROPERTY_TOTAL_COMMISSIONS_IN_PERCENT_WITH_REFUND
- See Also:
-
JSON_PROPERTY_TOTAL_COMMISSIONS_IN_PERCENT
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_AND_COMMISSIONS_IN_PERCENT_WITH_REFUND
- See Also:
-
JSON_PROPERTY_TOTAL_FEES_AND_COMMISSIONS_IN_PERCENT
- See Also:
-
JSON_PROPERTY_ORIGINAL_COMMISSIONS_IN_PERCENT
- See Also:
-
-
Constructor Details
-
BookingContract
public BookingContract()
-
-
Method Details
-
id
-
getId
Document UUID- Returns:
- id
-
setId
-
createdDate
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
setCreatedDate
-
lastUpdate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
setLastUpdate
-
version
-
getVersion
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.- Returns:
- version
-
setVersion
-
ipAddress
-
getIpAddress
Caller's IP address- Returns:
- ipAddress
-
setIpAddress
-
traceId
-
getTraceId
Way to track which booking contracts were made together- Returns:
- traceId
-
setTraceId
-
sourceUrl
-
getSourceUrl
Where did the booking occur- Returns:
- sourceUrl
-
setSourceUrl
-
identifier
-
getIdentifier
Unique identifier used to track the contract.- Returns:
- identifier
-
setIdentifier
-
supplierIdentifier
-
getSupplierIdentifier
Supplier identifier- Returns:
- supplierIdentifier
-
setSupplierIdentifier
-
supplierName
-
getSupplierName
Supplier name- Returns:
- supplierName
-
setSupplierName
-
displayPriceQuote
-
getDisplayPriceQuote
Get displayPriceQuote- Returns:
- displayPriceQuote
-
setDisplayPriceQuote
-
supplierPriceQuote
-
getSupplierPriceQuote
Get supplierPriceQuote- Returns:
- supplierPriceQuote
-
setSupplierPriceQuote
-
internalPriceQuote
-
getInternalPriceQuote
Get internalPriceQuote- Returns:
- internalPriceQuote
-
setInternalPriceQuote
-
capturePriceQuote
-
getCapturePriceQuote
Get capturePriceQuote- Returns:
- capturePriceQuote
-
setCapturePriceQuote
-
itemList
-
addItemListItem
-
getItemList
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<BookingContractItem> getItemList()Holds one booking line item for a specific supplier.- Returns:
- itemList
-
setItemList
-
externalSupplierIdentifier
-
getExternalSupplierIdentifier
Contract creator can choose to identify this record with her own identifier- Returns:
- externalSupplierIdentifier
-
setExternalSupplierIdentifier
-
externalSupplierBookingCode
-
getExternalSupplierBookingCode
External booking code generated by the caller- Returns:
- externalSupplierBookingCode
-
setExternalSupplierBookingCode
-
payment
-
getPayment
Get payment- Returns:
- payment
-
setPayment
-
cancelled
-
getCancelled
Whether the booking was cancelled.- Returns:
- cancelled
-
setCancelled
-
cancelledOn
-
getCancelledOn
When the booking was cancelled.- Returns:
- cancelledOn
-
setCancelledOn
-
canceller
-
getCanceller
Type of entity that cancelled the booking.- Returns:
- canceller
-
setCanceller
-
cancellationType
-
getCancellationType
Reason type.- Returns:
- cancellationType
-
setCancellationType
-
cancellerUserIdentifier
-
getCancellerUserIdentifier
User identifier that cancelled the entity.- Returns:
- cancellerUserIdentifier
-
setCancellerUserIdentifier
-
cancelReason
-
getCancelReason
Reason for cancellation.- Returns:
- cancelReason
-
setCancelReason
-
fundsAddedToLedger
-
getFundsAddedToLedger
Whether the contract has been added to the ledger; rady for payout.- Returns:
- fundsAddedToLedger
-
setFundsAddedToLedger
-
fundsProcessed
-
getFundsProcessed
Whether a funds transfer request has been created for this booking.- Returns:
- fundsProcessed
-
setFundsProcessed
-
refunds
-
addRefundsItem
-
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
-
sourceCurrency
-
getSourceCurrency
The source currency- Returns:
- sourceCurrency
-
setSourceCurrency
-
displayCurrency
-
getDisplayCurrency
The display currency- Returns:
- displayCurrency
-
setDisplayCurrency
-
supplierCurrency
-
getSupplierCurrency
The supplier currency- Returns:
- supplierCurrency
-
setSupplierCurrency
-
internalCurrency
-
getInternalCurrency
The internal currency- Returns:
- internalCurrency
-
setInternalCurrency
-
captureCurrency
-
getCaptureCurrency
The capture currency- Returns:
- captureCurrency
-
setCaptureCurrency
-
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
-
displayAmount
-
getDisplayAmount
@Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getDisplayAmount()The total display price. minimum: 0- Returns:
- displayAmount
-
setDisplayAmount
-
supplierAmount
-
getSupplierAmount
@Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getSupplierAmount()The total supplier price. minimum: 0- Returns:
- supplierAmount
-
setSupplierAmount
-
internalAmount
-
getInternalAmount
@Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getInternalAmount()The total internal price. minimum: 0- Returns:
- internalAmount
-
setInternalAmount
-
captureAmount
-
getCaptureAmount
@Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getCaptureAmount()The total capture price. minimum: 0- Returns:
- captureAmount
-
setCaptureAmount
-
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
-
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
-
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
-
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
-
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
-
originalFeesInPercent
-
getOriginalFeesInPercent
All amounts that are not of type SALE before a refund was applied- Returns:
- originalFeesInPercent
-
setOriginalFeesInPercent
-
netCaptureAmount
-
getNetCaptureAmount
Get netCaptureAmount- Returns:
- netCaptureAmount
-
setNetCaptureAmount
-
cancellableByTraveler
-
getCancellableByTraveler
Whether the booking can still be cancelled completely by the traveller.- Returns:
- cancellableByTraveler
-
setCancellableByTraveler
-
cancellableBySupplier
-
getCancellableBySupplier
Whether the booking can still be cancelled completely by the supplier.- Returns:
- cancellableBySupplier
-
setCancellableBySupplier
-
netSupplierAmount
-
getNetSupplierAmount
Get netSupplierAmount- Returns:
- netSupplierAmount
-
setNetSupplierAmount
-
cancellableWithNoCharges
-
getCancellableWithNoCharges
Whether the cancellation comes at no cost to the traveler.- Returns:
- cancellableWithNoCharges
-
setCancellableWithNoCharges
-
cancellableWithPotentialCharges
-
getCancellableWithPotentialCharges
Whether a cancellation comes with partial charges. I.e. Only some of the items in contract are not fully refundable.- Returns:
- cancellableWithPotentialCharges
-
setCancellableWithPotentialCharges
-
refunded
-
getRefunded
Get refunded- Returns:
- refunded
-
setRefunded
-
netTotalSalesCaptureAmount
-
getNetTotalSalesCaptureAmount
Get netTotalSalesCaptureAmount- Returns:
- netTotalSalesCaptureAmount
-
setNetTotalSalesCaptureAmount
-
netTotalSalesSupplierAmount
public BookingContract netTotalSalesSupplierAmount(CustomMonetaryAmount netTotalSalesSupplierAmount) -
getNetTotalSalesSupplierAmount
Get netTotalSalesSupplierAmount- Returns:
- netTotalSalesSupplierAmount
-
setNetTotalSalesSupplierAmount
-
netTotalFeesSupplierAmount
-
getNetTotalFeesSupplierAmount
Get netTotalFeesSupplierAmount- Returns:
- netTotalFeesSupplierAmount
-
setNetTotalFeesSupplierAmount
-
totalFeesSupplierAmount
-
getTotalFeesSupplierAmount
Get totalFeesSupplierAmount- Returns:
- totalFeesSupplierAmount
-
setTotalFeesSupplierAmount
-
netTotalTripPayFeeSupplierAmount
public BookingContract netTotalTripPayFeeSupplierAmount(CustomMonetaryAmount netTotalTripPayFeeSupplierAmount) -
getNetTotalTripPayFeeSupplierAmount
Get netTotalTripPayFeeSupplierAmount- Returns:
- netTotalTripPayFeeSupplierAmount
-
setNetTotalTripPayFeeSupplierAmount
public void setNetTotalTripPayFeeSupplierAmount(CustomMonetaryAmount netTotalTripPayFeeSupplierAmount) -
totalTripPayFeeSupplierAmount
public BookingContract totalTripPayFeeSupplierAmount(CustomMonetaryAmount totalTripPayFeeSupplierAmount) -
getTotalTripPayFeeSupplierAmount
Get totalTripPayFeeSupplierAmount- Returns:
- totalTripPayFeeSupplierAmount
-
setTotalTripPayFeeSupplierAmount
-
netCommissionableTotalSupplierAmount
public BookingContract netCommissionableTotalSupplierAmount(CustomMonetaryAmount netCommissionableTotalSupplierAmount) -
getNetCommissionableTotalSupplierAmount
Get netCommissionableTotalSupplierAmount- Returns:
- netCommissionableTotalSupplierAmount
-
setNetCommissionableTotalSupplierAmount
public void setNetCommissionableTotalSupplierAmount(CustomMonetaryAmount netCommissionableTotalSupplierAmount) -
commissionableTotalSupplierAmount
public BookingContract commissionableTotalSupplierAmount(CustomMonetaryAmount commissionableTotalSupplierAmount) -
getCommissionableTotalSupplierAmount
Get commissionableTotalSupplierAmount- Returns:
- commissionableTotalSupplierAmount
-
setCommissionableTotalSupplierAmount
public void setCommissionableTotalSupplierAmount(CustomMonetaryAmount commissionableTotalSupplierAmount) -
netTotalFeesAndCommissionsSupplierAmount
public BookingContract netTotalFeesAndCommissionsSupplierAmount(CustomMonetaryAmount netTotalFeesAndCommissionsSupplierAmount) -
getNetTotalFeesAndCommissionsSupplierAmount
Get netTotalFeesAndCommissionsSupplierAmount- Returns:
- netTotalFeesAndCommissionsSupplierAmount
-
setNetTotalFeesAndCommissionsSupplierAmount
public void setNetTotalFeesAndCommissionsSupplierAmount(CustomMonetaryAmount netTotalFeesAndCommissionsSupplierAmount) -
totalFeesAndCommissionsSupplierAmount
public BookingContract totalFeesAndCommissionsSupplierAmount(CustomMonetaryAmount totalFeesAndCommissionsSupplierAmount) -
getTotalFeesAndCommissionsSupplierAmount
Get totalFeesAndCommissionsSupplierAmount- Returns:
- totalFeesAndCommissionsSupplierAmount
-
setTotalFeesAndCommissionsSupplierAmount
public void setTotalFeesAndCommissionsSupplierAmount(CustomMonetaryAmount totalFeesAndCommissionsSupplierAmount) -
totalTokensEarned
-
getTotalTokensEarned
Total amount of tokens minted on this contract.- Returns:
- totalTokensEarned
-
setTotalTokensEarned
-
totalFundsGroupedByBeneficiary
public BookingContract totalFundsGroupedByBeneficiary(List<Beneficiary> totalFundsGroupedByBeneficiary) -
addTotalFundsGroupedByBeneficiaryItem
public BookingContract addTotalFundsGroupedByBeneficiaryItem(Beneficiary totalFundsGroupedByBeneficiaryItem) -
getTotalFundsGroupedByBeneficiary
Get totalFundsGroupedByBeneficiary- Returns:
- totalFundsGroupedByBeneficiary
-
setTotalFundsGroupedByBeneficiary
-
netSourceAmount
-
getNetSourceAmount
Get netSourceAmount- Returns:
- netSourceAmount
-
setNetSourceAmount
-
netDisplayAmount
-
getNetDisplayAmount
Get netDisplayAmount- Returns:
- netDisplayAmount
-
setNetDisplayAmount
-
netInternalAmount
-
getNetInternalAmount
Get netInternalAmount- Returns:
- netInternalAmount
-
setNetInternalAmount
-
refundable
-
getRefundable
Get refundable- Returns:
- refundable
-
setRefundable
-
netCommissionableTotalSourceAmount
public BookingContract netCommissionableTotalSourceAmount(CustomMonetaryAmount netCommissionableTotalSourceAmount) -
getNetCommissionableTotalSourceAmount
Get netCommissionableTotalSourceAmount- Returns:
- netCommissionableTotalSourceAmount
-
setNetCommissionableTotalSourceAmount
public void setNetCommissionableTotalSourceAmount(CustomMonetaryAmount netCommissionableTotalSourceAmount) -
netCommissionableTotalCaptureAmount
public BookingContract netCommissionableTotalCaptureAmount(CustomMonetaryAmount netCommissionableTotalCaptureAmount) -
getNetCommissionableTotalCaptureAmount
Get netCommissionableTotalCaptureAmount- Returns:
- netCommissionableTotalCaptureAmount
-
setNetCommissionableTotalCaptureAmount
public void setNetCommissionableTotalCaptureAmount(CustomMonetaryAmount netCommissionableTotalCaptureAmount) -
netCommissionableTotalDisplayAmount
public BookingContract netCommissionableTotalDisplayAmount(CustomMonetaryAmount netCommissionableTotalDisplayAmount) -
getNetCommissionableTotalDisplayAmount
Get netCommissionableTotalDisplayAmount- Returns:
- netCommissionableTotalDisplayAmount
-
setNetCommissionableTotalDisplayAmount
public void setNetCommissionableTotalDisplayAmount(CustomMonetaryAmount netCommissionableTotalDisplayAmount) -
netCommissionableTotalInternalAmount
public BookingContract netCommissionableTotalInternalAmount(CustomMonetaryAmount netCommissionableTotalInternalAmount) -
getNetCommissionableTotalInternalAmount
Get netCommissionableTotalInternalAmount- Returns:
- netCommissionableTotalInternalAmount
-
setNetCommissionableTotalInternalAmount
public void setNetCommissionableTotalInternalAmount(CustomMonetaryAmount netCommissionableTotalInternalAmount) -
netTotalFeesAndCommissionsSourceAmount
public BookingContract netTotalFeesAndCommissionsSourceAmount(CustomMonetaryAmount netTotalFeesAndCommissionsSourceAmount) -
getNetTotalFeesAndCommissionsSourceAmount
Get netTotalFeesAndCommissionsSourceAmount- Returns:
- netTotalFeesAndCommissionsSourceAmount
-
setNetTotalFeesAndCommissionsSourceAmount
public void setNetTotalFeesAndCommissionsSourceAmount(CustomMonetaryAmount netTotalFeesAndCommissionsSourceAmount) -
netTotalFeesAndCommissionsCaptureAmount
public BookingContract netTotalFeesAndCommissionsCaptureAmount(CustomMonetaryAmount netTotalFeesAndCommissionsCaptureAmount) -
getNetTotalFeesAndCommissionsCaptureAmount
Get netTotalFeesAndCommissionsCaptureAmount- Returns:
- netTotalFeesAndCommissionsCaptureAmount
-
setNetTotalFeesAndCommissionsCaptureAmount
public void setNetTotalFeesAndCommissionsCaptureAmount(CustomMonetaryAmount netTotalFeesAndCommissionsCaptureAmount) -
netTotalFeesAndCommissionsDisplayAmount
public BookingContract netTotalFeesAndCommissionsDisplayAmount(CustomMonetaryAmount netTotalFeesAndCommissionsDisplayAmount) -
getNetTotalFeesAndCommissionsDisplayAmount
Get netTotalFeesAndCommissionsDisplayAmount- Returns:
- netTotalFeesAndCommissionsDisplayAmount
-
setNetTotalFeesAndCommissionsDisplayAmount
public void setNetTotalFeesAndCommissionsDisplayAmount(CustomMonetaryAmount netTotalFeesAndCommissionsDisplayAmount) -
netTotalFeesAndCommissionsInternalAmount
public BookingContract netTotalFeesAndCommissionsInternalAmount(CustomMonetaryAmount netTotalFeesAndCommissionsInternalAmount) -
getNetTotalFeesAndCommissionsInternalAmount
Get netTotalFeesAndCommissionsInternalAmount- Returns:
- netTotalFeesAndCommissionsInternalAmount
-
setNetTotalFeesAndCommissionsInternalAmount
public void setNetTotalFeesAndCommissionsInternalAmount(CustomMonetaryAmount netTotalFeesAndCommissionsInternalAmount) -
netTotalFeesSourceAmount
-
getNetTotalFeesSourceAmount
Get netTotalFeesSourceAmount- Returns:
- netTotalFeesSourceAmount
-
setNetTotalFeesSourceAmount
-
netTotalFeesCaptureAmount
-
getNetTotalFeesCaptureAmount
Get netTotalFeesCaptureAmount- Returns:
- netTotalFeesCaptureAmount
-
setNetTotalFeesCaptureAmount
-
netTotalFeesDisplayAmount
-
getNetTotalFeesDisplayAmount
Get netTotalFeesDisplayAmount- Returns:
- netTotalFeesDisplayAmount
-
setNetTotalFeesDisplayAmount
-
netTotalFeesInternalAmount
-
getNetTotalFeesInternalAmount
Get netTotalFeesInternalAmount- Returns:
- netTotalFeesInternalAmount
-
setNetTotalFeesInternalAmount
-
netTotalTripPayFeeSourceAmount
public BookingContract netTotalTripPayFeeSourceAmount(CustomMonetaryAmount netTotalTripPayFeeSourceAmount) -
getNetTotalTripPayFeeSourceAmount
Get netTotalTripPayFeeSourceAmount- Returns:
- netTotalTripPayFeeSourceAmount
-
setNetTotalTripPayFeeSourceAmount
-
netTotalTripPayFeeCaptureAmount
public BookingContract netTotalTripPayFeeCaptureAmount(CustomMonetaryAmount netTotalTripPayFeeCaptureAmount) -
getNetTotalTripPayFeeCaptureAmount
Get netTotalTripPayFeeCaptureAmount- Returns:
- netTotalTripPayFeeCaptureAmount
-
setNetTotalTripPayFeeCaptureAmount
public void setNetTotalTripPayFeeCaptureAmount(CustomMonetaryAmount netTotalTripPayFeeCaptureAmount) -
netTotalTripPayFeeDisplayAmount
public BookingContract netTotalTripPayFeeDisplayAmount(CustomMonetaryAmount netTotalTripPayFeeDisplayAmount) -
getNetTotalTripPayFeeDisplayAmount
Get netTotalTripPayFeeDisplayAmount- Returns:
- netTotalTripPayFeeDisplayAmount
-
setNetTotalTripPayFeeDisplayAmount
public void setNetTotalTripPayFeeDisplayAmount(CustomMonetaryAmount netTotalTripPayFeeDisplayAmount) -
netTotalTripPayFeeInternalAmount
public BookingContract netTotalTripPayFeeInternalAmount(CustomMonetaryAmount netTotalTripPayFeeInternalAmount) -
getNetTotalTripPayFeeInternalAmount
Get netTotalTripPayFeeInternalAmount- Returns:
- netTotalTripPayFeeInternalAmount
-
setNetTotalTripPayFeeInternalAmount
public void setNetTotalTripPayFeeInternalAmount(CustomMonetaryAmount netTotalTripPayFeeInternalAmount) -
netTotalSalesSourceAmount
-
getNetTotalSalesSourceAmount
Get netTotalSalesSourceAmount- Returns:
- netTotalSalesSourceAmount
-
setNetTotalSalesSourceAmount
-
netTotalSalesDisplayAmount
-
getNetTotalSalesDisplayAmount
Get netTotalSalesDisplayAmount- Returns:
- netTotalSalesDisplayAmount
-
setNetTotalSalesDisplayAmount
-
netTotalSalesInternalAmount
public BookingContract netTotalSalesInternalAmount(CustomMonetaryAmount netTotalSalesInternalAmount) -
getNetTotalSalesInternalAmount
Get netTotalSalesInternalAmount- Returns:
- netTotalSalesInternalAmount
-
setNetTotalSalesInternalAmount
-
commissionableTotalSourceAmount
public BookingContract commissionableTotalSourceAmount(CustomMonetaryAmount commissionableTotalSourceAmount) -
getCommissionableTotalSourceAmount
Get commissionableTotalSourceAmount- Returns:
- commissionableTotalSourceAmount
-
setCommissionableTotalSourceAmount
public void setCommissionableTotalSourceAmount(CustomMonetaryAmount commissionableTotalSourceAmount) -
commissionableTotalCaptureAmount
public BookingContract commissionableTotalCaptureAmount(CustomMonetaryAmount commissionableTotalCaptureAmount) -
getCommissionableTotalCaptureAmount
Get commissionableTotalCaptureAmount- Returns:
- commissionableTotalCaptureAmount
-
setCommissionableTotalCaptureAmount
public void setCommissionableTotalCaptureAmount(CustomMonetaryAmount commissionableTotalCaptureAmount) -
commissionableTotalDisplayAmount
public BookingContract commissionableTotalDisplayAmount(CustomMonetaryAmount commissionableTotalDisplayAmount) -
getCommissionableTotalDisplayAmount
Get commissionableTotalDisplayAmount- Returns:
- commissionableTotalDisplayAmount
-
setCommissionableTotalDisplayAmount
public void setCommissionableTotalDisplayAmount(CustomMonetaryAmount commissionableTotalDisplayAmount) -
commissionableTotalInternalAmount
public BookingContract commissionableTotalInternalAmount(CustomMonetaryAmount commissionableTotalInternalAmount) -
getCommissionableTotalInternalAmount
Get commissionableTotalInternalAmount- Returns:
- commissionableTotalInternalAmount
-
setCommissionableTotalInternalAmount
public void setCommissionableTotalInternalAmount(CustomMonetaryAmount commissionableTotalInternalAmount) -
totalFeesAndCommissionsSourceAmount
public BookingContract totalFeesAndCommissionsSourceAmount(CustomMonetaryAmount totalFeesAndCommissionsSourceAmount) -
getTotalFeesAndCommissionsSourceAmount
Get totalFeesAndCommissionsSourceAmount- Returns:
- totalFeesAndCommissionsSourceAmount
-
setTotalFeesAndCommissionsSourceAmount
public void setTotalFeesAndCommissionsSourceAmount(CustomMonetaryAmount totalFeesAndCommissionsSourceAmount) -
totalFeesAndCommissionsCaptureAmount
public BookingContract totalFeesAndCommissionsCaptureAmount(CustomMonetaryAmount totalFeesAndCommissionsCaptureAmount) -
getTotalFeesAndCommissionsCaptureAmount
Get totalFeesAndCommissionsCaptureAmount- Returns:
- totalFeesAndCommissionsCaptureAmount
-
setTotalFeesAndCommissionsCaptureAmount
public void setTotalFeesAndCommissionsCaptureAmount(CustomMonetaryAmount totalFeesAndCommissionsCaptureAmount) -
totalFeesAndCommissionsDisplayAmount
public BookingContract totalFeesAndCommissionsDisplayAmount(CustomMonetaryAmount totalFeesAndCommissionsDisplayAmount) -
getTotalFeesAndCommissionsDisplayAmount
Get totalFeesAndCommissionsDisplayAmount- Returns:
- totalFeesAndCommissionsDisplayAmount
-
setTotalFeesAndCommissionsDisplayAmount
public void setTotalFeesAndCommissionsDisplayAmount(CustomMonetaryAmount totalFeesAndCommissionsDisplayAmount) -
totalFeesAndCommissionsInternalAmount
public BookingContract totalFeesAndCommissionsInternalAmount(CustomMonetaryAmount totalFeesAndCommissionsInternalAmount) -
getTotalFeesAndCommissionsInternalAmount
Get totalFeesAndCommissionsInternalAmount- Returns:
- totalFeesAndCommissionsInternalAmount
-
setTotalFeesAndCommissionsInternalAmount
public void setTotalFeesAndCommissionsInternalAmount(CustomMonetaryAmount totalFeesAndCommissionsInternalAmount) -
totalFeesSourceAmount
-
getTotalFeesSourceAmount
Get totalFeesSourceAmount- Returns:
- totalFeesSourceAmount
-
setTotalFeesSourceAmount
-
totalFeesCaptureAmount
-
getTotalFeesCaptureAmount
Get totalFeesCaptureAmount- Returns:
- totalFeesCaptureAmount
-
setTotalFeesCaptureAmount
-
totalFeesDisplayAmount
-
getTotalFeesDisplayAmount
Get totalFeesDisplayAmount- Returns:
- totalFeesDisplayAmount
-
setTotalFeesDisplayAmount
-
totalFeesInternalAmount
-
getTotalFeesInternalAmount
Get totalFeesInternalAmount- Returns:
- totalFeesInternalAmount
-
setTotalFeesInternalAmount
-
totalTripPayFeeSourceAmount
public BookingContract totalTripPayFeeSourceAmount(CustomMonetaryAmount totalTripPayFeeSourceAmount) -
getTotalTripPayFeeSourceAmount
Get totalTripPayFeeSourceAmount- Returns:
- totalTripPayFeeSourceAmount
-
setTotalTripPayFeeSourceAmount
-
totalTripPayFeeCaptureAmount
public BookingContract totalTripPayFeeCaptureAmount(CustomMonetaryAmount totalTripPayFeeCaptureAmount) -
getTotalTripPayFeeCaptureAmount
Get totalTripPayFeeCaptureAmount- Returns:
- totalTripPayFeeCaptureAmount
-
setTotalTripPayFeeCaptureAmount
-
totalTripPayFeeDisplayAmount
public BookingContract totalTripPayFeeDisplayAmount(CustomMonetaryAmount totalTripPayFeeDisplayAmount) -
getTotalTripPayFeeDisplayAmount
Get totalTripPayFeeDisplayAmount- Returns:
- totalTripPayFeeDisplayAmount
-
setTotalTripPayFeeDisplayAmount
-
totalTripPayFeeInternalAmount
public BookingContract totalTripPayFeeInternalAmount(CustomMonetaryAmount totalTripPayFeeInternalAmount) -
getTotalTripPayFeeInternalAmount
Get totalTripPayFeeInternalAmount- Returns:
- totalTripPayFeeInternalAmount
-
setTotalTripPayFeeInternalAmount
-
totalSalesSourceAmount
-
getTotalSalesSourceAmount
Get totalSalesSourceAmount- Returns:
- totalSalesSourceAmount
-
setTotalSalesSourceAmount
-
totalSalesCaptureAmount
-
getTotalSalesCaptureAmount
Get totalSalesCaptureAmount- Returns:
- totalSalesCaptureAmount
-
setTotalSalesCaptureAmount
-
totalSalesDisplayAmount
-
getTotalSalesDisplayAmount
Get totalSalesDisplayAmount- Returns:
- totalSalesDisplayAmount
-
setTotalSalesDisplayAmount
-
totalSalesSupplierAmount
-
getTotalSalesSupplierAmount
Get totalSalesSupplierAmount- Returns:
- totalSalesSupplierAmount
-
setTotalSalesSupplierAmount
-
totalSalesInternalAmount
-
getTotalSalesInternalAmount
Get totalSalesInternalAmount- Returns:
- totalSalesInternalAmount
-
setTotalSalesInternalAmount
-
fundsAvailableDate
-
getFundsAvailableDate
Returns the date the funds will be released to the customer.- Returns:
- fundsAvailableDate
-
setFundsAvailableDate
-
totalFeesInPercentWithRefund
-
getTotalFeesInPercentWithRefund
All amounts that are not of type SALE- Returns:
- totalFeesInPercentWithRefund
-
setTotalFeesInPercentWithRefund
-
totalFeesInPercent
-
getTotalFeesInPercent
All amounts that are not of type SALE before a refund was applied- Returns:
- totalFeesInPercent
-
setTotalFeesInPercent
-
totalTripPayFeeInPercentWithRefund
-
getTotalTripPayFeeInPercentWithRefund
All amounts that are not of type SALE- Returns:
- totalTripPayFeeInPercentWithRefund
-
setTotalTripPayFeeInPercentWithRefund
-
totalTripPayFeeInPercent
-
getTotalTripPayFeeInPercent
All amounts that are not of type SALE before a refund was applied- Returns:
- totalTripPayFeeInPercent
-
setTotalTripPayFeeInPercent
-
totalCommissionsInPercentWithRefund
public BookingContract totalCommissionsInPercentWithRefund(Float totalCommissionsInPercentWithRefund) -
getTotalCommissionsInPercentWithRefund
All amounts that are not of type SALE- Returns:
- totalCommissionsInPercentWithRefund
-
setTotalCommissionsInPercentWithRefund
-
totalCommissionsInPercent
-
getTotalCommissionsInPercent
All amounts that are not of type SALE before a refund was applied- Returns:
- totalCommissionsInPercent
-
setTotalCommissionsInPercent
-
totalFeesAndCommissionsInPercentWithRefund
public BookingContract totalFeesAndCommissionsInPercentWithRefund(Float totalFeesAndCommissionsInPercentWithRefund) -
getTotalFeesAndCommissionsInPercentWithRefund
All amounts that are not of type SALE- Returns:
- totalFeesAndCommissionsInPercentWithRefund
-
setTotalFeesAndCommissionsInPercentWithRefund
public void setTotalFeesAndCommissionsInPercentWithRefund(Float totalFeesAndCommissionsInPercentWithRefund) -
totalFeesAndCommissionsInPercent
-
getTotalFeesAndCommissionsInPercent
All amounts that are not of type SALE before a refund was applied- Returns:
- totalFeesAndCommissionsInPercent
-
setTotalFeesAndCommissionsInPercent
-
originalCommissionsInPercent
-
getOriginalCommissionsInPercent
All amounts that are not of type SALE before a refund was applied- Returns:
- originalCommissionsInPercent
-
setOriginalCommissionsInPercent
-
equals
-
hashCode
public int hashCode() -
toString
-