Class PayableContractRequest
java.lang.Object
io.trippay.sdk.payment.model.PayableContractRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-03-04T20:44:38.105926479+07:00[Asia/Bangkok]")
public class PayableContractRequest
extends Object
PayableContractRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of identifier this is -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContractListItem(PayableContractSupplier contractListItem) affiliateAccountIdentifier(String affiliateAccountIdentifier) affiliateAccountIdentifierType(PayableContractRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) contractList(List<PayableContractSupplier> contractList) displayCurrency(String displayCurrency) boolean@NotNull Stringaffiliate account making the requestType of identifier this is@NotNull @Valid @Size(min=1,max=2147483647) List<PayableContractSupplier> Get contractList@NotNull StringThe desired quotePlace to add more data related to the booking contract.@NotNull StringWhere to redirect to after booking [in-]complete@NotNull StringWhere the booking originate fromIntegrator can choose to include a unique identifier to help identify the collection of bookings@NotNull @Valid AuthenticatedUsergetUser()Get userinthashCode()putMetadataItem(String key, String metadataItem) redirectUrl(String redirectUrl) voidsetAffiliateAccountIdentifier(String affiliateAccountIdentifier) voidsetAffiliateAccountIdentifierType(PayableContractRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) voidsetContractList(List<PayableContractSupplier> contractList) voidsetDisplayCurrency(String displayCurrency) voidsetMetadata(Map<String, String> metadata) voidsetRedirectUrl(String redirectUrl) voidsetSourceUrl(String sourceUrl) voidsetTraceId(String traceId) voidsetUser(AuthenticatedUser user) toString()user(AuthenticatedUser user)
-
Field Details
-
JSON_PROPERTY_USER
- See Also:
-
JSON_PROPERTY_AFFILIATE_ACCOUNT_IDENTIFIER
- See Also:
-
JSON_PROPERTY_AFFILIATE_ACCOUNT_IDENTIFIER_TYPE
- See Also:
-
JSON_PROPERTY_DISPLAY_CURRENCY
- See Also:
-
JSON_PROPERTY_CONTRACT_LIST
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
JSON_PROPERTY_REDIRECT_URL
- See Also:
-
JSON_PROPERTY_SOURCE_URL
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
-
Constructor Details
-
PayableContractRequest
public PayableContractRequest()
-
-
Method Details
-
user
-
getUser
-
setUser
-
affiliateAccountIdentifier
-
getAffiliateAccountIdentifier
affiliate account making the request- Returns:
- affiliateAccountIdentifier
-
setAffiliateAccountIdentifier
-
affiliateAccountIdentifierType
public PayableContractRequest affiliateAccountIdentifierType(PayableContractRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) -
getAffiliateAccountIdentifierType
@Nonnull @NotNull public @NotNull PayableContractRequest.AffiliateAccountIdentifierTypeEnum getAffiliateAccountIdentifierType()Type of identifier this is- Returns:
- affiliateAccountIdentifierType
-
setAffiliateAccountIdentifierType
public void setAffiliateAccountIdentifierType(PayableContractRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) -
displayCurrency
-
getDisplayCurrency
The desired quote- Returns:
- displayCurrency
-
setDisplayCurrency
-
contractList
-
addContractListItem
-
getContractList
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<PayableContractSupplier> getContractList()Get contractList- Returns:
- contractList
-
setContractList
-
traceId
-
getTraceId
Integrator can choose to include a unique identifier to help identify the collection of bookings- Returns:
- traceId
-
setTraceId
-
redirectUrl
-
getRedirectUrl
Where to redirect to after booking [in-]complete- Returns:
- redirectUrl
-
setRedirectUrl
-
sourceUrl
-
getSourceUrl
Where the booking originate from- Returns:
- sourceUrl
-
setSourceUrl
-
metadata
-
putMetadataItem
-
getMetadata
-
setMetadata
-
equals
-
hashCode
-
toString
-