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="2023-09-09T10:13:04.222556669+07:00[Asia/Bangkok]")
public class RawBookingContract
extends Object
Unedited / unfiltered booking contracts directly from the vendor
-
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 quote@NotNull StringWhere did the booking occurIntegrator can choose to include a unique identifier to help identify the collection of bookingsinthashCode()voidsetAffiliateAccountIdentifier(String affiliateAccountIdentifier) voidsetAffiliateAccountIdentifierType(RawBookingContract.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) voidsetContractList(List<RawSupplierContract> contractList) voidsetDisplayCurrency(String displayCurrency) voidsetSourceUrl(String sourceUrl) voidsetTraceId(String traceId) toString()
-
Field Details
-
JSON_PROPERTY_AFFILIATE_ACCOUNT_IDENTIFIER
- See Also:
-
JSON_PROPERTY_AFFILIATE_ACCOUNT_IDENTIFIER_TYPE
- See Also:
-
JSON_PROPERTY_DISPLAY_CURRENCY
- See Also:
-
JSON_PROPERTY_SOURCE_URL
- See Also:
-
JSON_PROPERTY_CONTRACT_LIST
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
-
Constructor Details
-
RawBookingContract
public RawBookingContract()
-
-
Method Details
-
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
-
sourceUrl
-
getSourceUrl
Where did the booking occur- Returns:
- sourceUrl
-
setSourceUrl
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-