Class PayableContractSupplier
java.lang.Object
io.trippay.sdk.payment.model.PayableContractSupplier
@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 PayableContractSupplier
extends Object
Details of the booking entries that went in for one particular supplier directly.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates whether the supplierIdentifier can be found internally or is mapped via an external identifier -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContractItemListItem(PayableContractSupplierItem contractItemListItem) contractItemList(List<@Valid PayableContractSupplierItem> contractItemList) booleanexternalSupplierBookingCode(String externalSupplierBookingCode) externalTransactionIdentifier(String externalTransactionIdentifier) @NotNull @Valid @Size(min=1,max=2147483647) List<@Valid PayableContractSupplierItem> Get contractItemListExternal booking code generated by the affiliateExternal transaction identifier populated when agent responsible for acquiring@Valid UUIDUnique identifier used to track the contract.Place to add more data related to the booking contract.@NotNull @Valid @Size(min=1) UUIDSupplier identifierIndicates whether the supplierIdentifier can be found internally or is mapped via an external identifierinthashCode()identifier(UUID identifier) putMetadataItem(String key, String metadataItem) voidsetContractItemList(List<@Valid PayableContractSupplierItem> contractItemList) voidsetExternalSupplierBookingCode(String externalSupplierBookingCode) voidsetExternalTransactionIdentifier(String externalTransactionIdentifier) voidsetIdentifier(UUID identifier) voidsetMetadata(Map<String, String> metadata) voidsetSupplierIdentifier(UUID supplierIdentifier) voidsetSupplierIdentifierType(PayableContractSupplier.SupplierIdentifierTypeEnum supplierIdentifierType) supplierIdentifier(UUID supplierIdentifier) supplierIdentifierType(PayableContractSupplier.SupplierIdentifierTypeEnum supplierIdentifierType) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_IDENTIFIER_TYPE
- See Also:
-
JSON_PROPERTY_CONTRACT_ITEM_LIST
- See Also:
-
JSON_PROPERTY_EXTERNAL_SUPPLIER_BOOKING_CODE
- See Also:
-
JSON_PROPERTY_EXTERNAL_TRANSACTION_IDENTIFIER
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
-
Constructor Details
-
PayableContractSupplier
public PayableContractSupplier()
-
-
Method Details
-
identifier
-
getIdentifier
Unique identifier used to track the contract. Will auto-generate on if doesn't exist.- Returns:
- identifier
-
setIdentifier
-
supplierIdentifier
-
getSupplierIdentifier
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getSupplierIdentifier()Supplier identifier- Returns:
- supplierIdentifier
-
setSupplierIdentifier
-
supplierIdentifierType
public PayableContractSupplier supplierIdentifierType(@Nonnull PayableContractSupplier.SupplierIdentifierTypeEnum supplierIdentifierType) -
getSupplierIdentifierType
@Nonnull @NotNull public @NotNull PayableContractSupplier.SupplierIdentifierTypeEnum getSupplierIdentifierType()Indicates whether the supplierIdentifier can be found internally or is mapped via an external identifier- Returns:
- supplierIdentifierType
-
setSupplierIdentifierType
public void setSupplierIdentifierType(@Nonnull PayableContractSupplier.SupplierIdentifierTypeEnum supplierIdentifierType) -
contractItemList
public PayableContractSupplier contractItemList(@Nonnull List<@Valid PayableContractSupplierItem> contractItemList) -
addContractItemListItem
public PayableContractSupplier addContractItemListItem(PayableContractSupplierItem contractItemListItem) -
getContractItemList
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<@Valid PayableContractSupplierItem> getContractItemList()Get contractItemList- Returns:
- contractItemList
-
setContractItemList
-
externalSupplierBookingCode
public PayableContractSupplier externalSupplierBookingCode(@Nullable String externalSupplierBookingCode) -
getExternalSupplierBookingCode
External booking code generated by the affiliate- Returns:
- externalSupplierBookingCode
-
setExternalSupplierBookingCode
-
externalTransactionIdentifier
public PayableContractSupplier externalTransactionIdentifier(@Nullable String externalTransactionIdentifier) -
getExternalTransactionIdentifier
External transaction identifier populated when agent responsible for acquiring- Returns:
- externalTransactionIdentifier
-
setExternalTransactionIdentifier
-
metadata
-
putMetadataItem
-
getMetadata
-
setMetadata
-
equals
-
hashCode
-
toString
-