Class PayableContractResponse
java.lang.Object
io.trippay.sdk.payment.model.PayableContractResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class PayableContractResponse
extends Object
Details of the booking entries that went in for one particular supplier directly.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexternalSupplierBookingCode(String externalSupplierBookingCode) externalSupplierIdentifier(String externalSupplierIdentifier) externalTransactionIdentifier(String externalTransactionIdentifier) @NotNull @Size(min=1) StringExternal booking code generated by the affiliate@NotNull @Size(min=1) StringTrack supplier with its external supplier supplierContractIdentifierExternal transaction supplierContractIdentifier populated when agent responsible for acquiring@NotNull StringgetId()TripPay supplierContractIdentifier for reactive widget@NotNull @Valid @Size(min=1) UUIDUnique supplierContractIdentifier used to track the contract.@NotNull @Valid @Size(min=1) UUIDSupplier supplierContractIdentifier@NotNull @Size(min=1) StringSupplier name@NotNull @Valid CustomMonetaryAmountGet totalCapturePrice@NotNull @Valid CustomMonetaryAmountGet totalDisplayPrice@NotNull @Valid CustomMonetaryAmountGet totalInternalPrice@NotNull @Valid CustomMonetaryAmountGet totalPrice@NotNull @Valid CustomMonetaryAmountGet totalSupplierPriceGroups all booking contracts submitted at the same timeinthashCode()voidsetExternalSupplierBookingCode(String externalSupplierBookingCode) voidsetExternalSupplierIdentifier(String externalSupplierIdentifier) voidsetExternalTransactionIdentifier(String externalTransactionIdentifier) voidvoidsetSupplierContractIdentifier(UUID supplierContractIdentifier) voidsetSupplierIdentifier(UUID supplierIdentifier) voidsetSupplierName(String supplierName) voidsetTotalCapturePrice(CustomMonetaryAmount totalCapturePrice) voidsetTotalDisplayPrice(CustomMonetaryAmount totalDisplayPrice) voidsetTotalInternalPrice(CustomMonetaryAmount totalInternalPrice) voidsetTotalPrice(CustomMonetaryAmount totalPrice) voidsetTotalSupplierPrice(CustomMonetaryAmount totalSupplierPrice) voidsetTraceId(String traceId) supplierContractIdentifier(UUID supplierContractIdentifier) supplierIdentifier(UUID supplierIdentifier) supplierName(String supplierName) toString()totalCapturePrice(CustomMonetaryAmount totalCapturePrice) totalDisplayPrice(CustomMonetaryAmount totalDisplayPrice) totalInternalPrice(CustomMonetaryAmount totalInternalPrice) totalPrice(CustomMonetaryAmount totalPrice) totalSupplierPrice(CustomMonetaryAmount totalSupplierPrice)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
JSON_PROPERTY_SUPPLIER_CONTRACT_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_NAME
- See Also:
-
JSON_PROPERTY_EXTERNAL_SUPPLIER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_EXTERNAL_SUPPLIER_BOOKING_CODE
- See Also:
-
JSON_PROPERTY_EXTERNAL_TRANSACTION_IDENTIFIER
- See Also:
-
JSON_PROPERTY_TOTAL_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_DISPLAY_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_SUPPLIER_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_INTERNAL_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_CAPTURE_PRICE
- See Also:
-
-
Constructor Details
-
PayableContractResponse
public PayableContractResponse()
-
-
Method Details
-
id
-
getId
TripPay supplierContractIdentifier for reactive widget- Returns:
- id
-
setId
-
traceId
-
getTraceId
Groups all booking contracts submitted at the same time- Returns:
- traceId
-
setTraceId
-
supplierContractIdentifier
-
getSupplierContractIdentifier
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getSupplierContractIdentifier()Unique supplierContractIdentifier used to track the contract. Create a UUID for this purpose.- Returns:
- supplierContractIdentifier
-
setSupplierContractIdentifier
-
supplierIdentifier
-
getSupplierIdentifier
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getSupplierIdentifier()Supplier supplierContractIdentifier- Returns:
- supplierIdentifier
-
setSupplierIdentifier
-
supplierName
-
getSupplierName
Supplier name- Returns:
- supplierName
-
setSupplierName
-
externalSupplierIdentifier
public PayableContractResponse externalSupplierIdentifier(@Nonnull String externalSupplierIdentifier) -
getExternalSupplierIdentifier
Track supplier with its external supplier supplierContractIdentifier- Returns:
- externalSupplierIdentifier
-
setExternalSupplierIdentifier
-
externalSupplierBookingCode
public PayableContractResponse externalSupplierBookingCode(@Nonnull String externalSupplierBookingCode) -
getExternalSupplierBookingCode
External booking code generated by the affiliate- Returns:
- externalSupplierBookingCode
-
setExternalSupplierBookingCode
-
externalTransactionIdentifier
public PayableContractResponse externalTransactionIdentifier(@Nullable String externalTransactionIdentifier) -
getExternalTransactionIdentifier
External transaction supplierContractIdentifier populated when agent responsible for acquiring- Returns:
- externalTransactionIdentifier
-
setExternalTransactionIdentifier
-
totalPrice
-
getTotalPrice
Get totalPrice- Returns:
- totalPrice
-
setTotalPrice
-
totalDisplayPrice
-
getTotalDisplayPrice
Get totalDisplayPrice- Returns:
- totalDisplayPrice
-
setTotalDisplayPrice
-
totalSupplierPrice
-
getTotalSupplierPrice
Get totalSupplierPrice- Returns:
- totalSupplierPrice
-
setTotalSupplierPrice
-
totalInternalPrice
-
getTotalInternalPrice
Get totalInternalPrice- Returns:
- totalInternalPrice
-
setTotalInternalPrice
-
totalCapturePrice
-
getTotalCapturePrice
Get totalCapturePrice- Returns:
- totalCapturePrice
-
setTotalCapturePrice
-
equals
-
hashCode
-
toString
-