Package io.trippay.sdk.payment.model
Class PricedBookingContract
java.lang.Object
io.trippay.sdk.payment.model.PricedBookingContract
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-30T09:45:07.381511750+07:00[Asia/Bangkok]")
public class PricedBookingContract
extends Object
Validated and priced contract
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of identifier this is -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContractListItem(PricedSupplierContract contractListItem) affiliateAccountIdentifier(UUID affiliateAccountIdentifier) affiliateAccountIdentifierType(PricedBookingContract.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) contractList(List<PricedSupplierContract> contractList) displayCurrency(String displayCurrency) boolean@NotNull @Valid UUIDaffiliate account making the requestType of identifier this is@NotNull @Valid @Size(min=1,max=2147483647) List<PricedSupplierContract>Get contractList@NotNull StringThe desired quotePlace to add more data related to the booking contract.@Valid CustomMonetaryAmountGet totalDisplayPriceinthashCode()putMetadataItem(String key, String metadataItem) voidsetAffiliateAccountIdentifier(UUID affiliateAccountIdentifier) voidsetAffiliateAccountIdentifierType(PricedBookingContract.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) voidsetContractList(List<PricedSupplierContract> contractList) voidsetDisplayCurrency(String displayCurrency) voidsetMetadata(Map<String, String> metadata) voidsetTotalDisplayPrice(CustomMonetaryAmount totalDisplayPrice) toString()totalDisplayPrice(CustomMonetaryAmount totalDisplayPrice)
-
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_CONTRACT_LIST
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_TOTAL_DISPLAY_PRICE
- See Also:
-
-
Constructor Details
-
PricedBookingContract
public PricedBookingContract()
-
-
Method Details
-
affiliateAccountIdentifier
-
getAffiliateAccountIdentifier
affiliate account making the request- Returns:
- affiliateAccountIdentifier
-
setAffiliateAccountIdentifier
-
affiliateAccountIdentifierType
public PricedBookingContract affiliateAccountIdentifierType(PricedBookingContract.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) -
getAffiliateAccountIdentifierType
@Nonnull @NotNull public @NotNull PricedBookingContract.AffiliateAccountIdentifierTypeEnum getAffiliateAccountIdentifierType()Type of identifier this is- Returns:
- affiliateAccountIdentifierType
-
setAffiliateAccountIdentifierType
public void setAffiliateAccountIdentifierType(PricedBookingContract.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<PricedSupplierContract> getContractList()Get contractList- Returns:
- contractList
-
setContractList
-
metadata
-
putMetadataItem
-
getMetadata
Place to add more data related to the booking contract.- Returns:
- metadata
-
setMetadata
-
totalDisplayPrice
-
getTotalDisplayPrice
Get totalDisplayPrice- Returns:
- totalDisplayPrice
-
setTotalDisplayPrice
-
equals
-
hashCode
public int hashCode() -
toString
-