Package travel.wink.sdk.payment.model
Class RawSupplierContract
java.lang.Object
travel.wink.sdk.payment.model.RawSupplierContract
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-07-01T17:01:23.504311+07:00[Asia/Bangkok]")
public class RawSupplierContract
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(RawSupplierContractItem contractItemListItem) contractItemList(List<RawSupplierContractItem> contractItemList) booleanexternalSupplierBookingCode(String externalSupplierBookingCode) externalTransactionIdentifier(String externalTransactionIdentifier) @NotNull @Valid @Size(min=1,max=2147483647) List<RawSupplierContractItem>Get contractItemListExternal booking code generated by the affiliateExternal transaction identifier populated when agent responsible for acquiring@Valid UUIDUnique identifier used to track the contract.@NotNull @Valid UUIDSupplier identifierIndicates whether the supplierIdentifier can be found internally or is mapped via an external identifierinthashCode()identifier(UUID identifier) voidsetContractItemList(List<RawSupplierContractItem> contractItemList) voidsetExternalSupplierBookingCode(String externalSupplierBookingCode) voidsetExternalTransactionIdentifier(String externalTransactionIdentifier) voidsetIdentifier(UUID identifier) voidsetSupplierIdentifier(UUID supplierIdentifier) voidsetSupplierIdentifierType(RawSupplierContract.SupplierIdentifierTypeEnum supplierIdentifierType) supplierIdentifier(UUID supplierIdentifier) supplierIdentifierType(RawSupplierContract.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:
-
-
Constructor Details
-
RawSupplierContract
public RawSupplierContract()
-
-
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 RawSupplierContract supplierIdentifierType(RawSupplierContract.SupplierIdentifierTypeEnum supplierIdentifierType) -
getSupplierIdentifierType
@Nonnull @NotNull public @NotNull RawSupplierContract.SupplierIdentifierTypeEnum getSupplierIdentifierType()Indicates whether the supplierIdentifier can be found internally or is mapped via an external identifier- Returns:
- supplierIdentifierType
-
setSupplierIdentifierType
public void setSupplierIdentifierType(RawSupplierContract.SupplierIdentifierTypeEnum supplierIdentifierType) -
contractItemList
-
addContractItemListItem
-
getContractItemList
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<RawSupplierContractItem> 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
-
equals
-
hashCode
public int hashCode() -
toString
-