Class PayableContractSupplier
java.lang.Object
io.trippay.sdk.payment.model.PayableContractSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-03-04T20:44:38.105926479+07:00[Asia/Bangkok]")
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<PayableContractSupplierItem> contractItemList) booleanexternalSupplierBookingCode(String externalSupplierBookingCode) externalTransactionIdentifier(String externalTransactionIdentifier) @NotNull @Valid @Size(min=1,max=2147483647) List<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 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<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
Supplier identifier- Returns:
- supplierIdentifier
-
setSupplierIdentifier
-
supplierIdentifierType
public PayableContractSupplier supplierIdentifierType(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(PayableContractSupplier.SupplierIdentifierTypeEnum supplierIdentifierType) -
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<PayableContractSupplierItem> getContractItemList()Get contractItemList- Returns:
- contractItemList
-
setContractItemList
-
externalSupplierBookingCode
-
getExternalSupplierBookingCode
External booking code generated by the affiliate- Returns:
- externalSupplierBookingCode
-
setExternalSupplierBookingCode
-
externalTransactionIdentifier
-
getExternalTransactionIdentifier
External transaction identifier populated when agent responsible for acquiring- Returns:
- externalTransactionIdentifier
-
setExternalTransactionIdentifier
-
metadata
-
putMetadataItem
-
getMetadata
-
setMetadata
-
equals
-
hashCode
-
toString
-