Package io.trippay.sdk.payment.model
Class RawBookingContract
java.lang.Object
io.trippay.sdk.payment.model.RawBookingContract
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-05-26T19:22:52.742792184+07:00[Asia/Bangkok]")
public class RawBookingContract
extends Object
RawBookingContract
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of identifier this is -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContractListItem(RawSupplierContract contractListItem) affiliateAccountIdentifier(String affiliateAccountIdentifier) affiliateAccountIdentifierType(RawBookingContract.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) contractList(List<RawSupplierContract> contractList) displayCurrency(String displayCurrency) boolean@NotNull Stringaffiliate account making the requestType of identifier this is@NotNull @Valid @Size(min=1,max=2147483647) List<RawSupplierContract> Get contractList@NotNull StringThe desired quotePlace to add more data related to the booking contract.@NotNull StringWhere to redirect to after booking [in-]completeIntegrator 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(RawBookingContract.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) voidsetContractList(List<RawSupplierContract> contractList) voidsetDisplayCurrency(String displayCurrency) voidsetMetadata(Map<String, String> metadata) voidsetRedirectUrl(String redirectUrl) 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_METADATA
- See Also:
-
-
Constructor Details
-
RawBookingContract
public RawBookingContract()
-
-
Method Details
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
affiliateAccountIdentifier
-
getAffiliateAccountIdentifier
affiliate account making the request- Returns:
- affiliateAccountIdentifier
-
setAffiliateAccountIdentifier
-
affiliateAccountIdentifierType
public RawBookingContract affiliateAccountIdentifierType(RawBookingContract.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) -
getAffiliateAccountIdentifierType
@Nonnull @NotNull public @NotNull RawBookingContract.AffiliateAccountIdentifierTypeEnum getAffiliateAccountIdentifierType()Type of identifier this is- Returns:
- affiliateAccountIdentifierType
-
setAffiliateAccountIdentifierType
public void setAffiliateAccountIdentifierType(RawBookingContract.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<RawSupplierContract> 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
-
metadata
-
putMetadataItem
-
getMetadata
Place to add more data related to the booking contract.- Returns:
- metadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-