Package io.trippay.sdk.payment.model
Class PricedSupplierContractItemWithAcquirer
java.lang.Object
io.trippay.sdk.payment.model.PricedSupplierContractItemWithAcquirer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-23T16:25:07.961871385+07:00[Asia/Bangkok]")
public class PricedSupplierContractItemWithAcquirer
extends Object
Holds one booking line item for a specific supplier.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhen to charge for this item.static enumHow to calculate the total amount.static enumType of item this is. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBeneficiaryListItem(RawBeneficiary beneficiaryListItem) addDailyRateListItem(DailyRate dailyRateListItem) beneficiaryList(List<RawBeneficiary> beneficiaryList) capturePrice(CustomMonetaryAmount capturePrice) dailyRateList(List<DailyRate> dailyRateList) descriptionInEnglish(String descriptionInEnglish) displayPrice(CustomMonetaryAmount displayPrice) booleanexternalIdentifier(String externalIdentifier) @NotNull @Valid @Size(min=1,max=2147483647) List<RawBeneficiary> Get beneficiaryList@NotNull @Valid CustomMonetaryAmountGet capturePriceGet dailyRateList@NotNull StringShort description in English of item included in booking.@NotNull @Valid CustomMonetaryAmountGet displayPriceOptional geoname externalIdentifier to remote inventory.@NotNull @Valid CustomMonetaryAmountGet internalPrice@NotNull @Valid SimpleDateTimeItineraryGet itineraryPlace to add more data related to the booking contract.@NotNull StringName of item in English included in booking.When to charge for this item.@Valid SupplierContractItemPolicyGet policy@NotNull @Valid CustomMonetaryAmountgetPrice()Get priceHow to calculate the total amount.@NotNull @Valid CustomMonetaryAmountGet supplierPricegetType()Type of item this is.@NotNull @Valid GuestUsergetUser()Get userinthashCode()internalPrice(CustomMonetaryAmount internalPrice) itinerary(SimpleDateTimeItinerary itinerary) nameInEnglish(String nameInEnglish) policy(SupplierContractItemPolicy policy) price(CustomMonetaryAmount price) putMetadataItem(String key, String metadataItem) voidsetBeneficiaryList(List<RawBeneficiary> beneficiaryList) voidsetCapturePrice(CustomMonetaryAmount capturePrice) voidsetDailyRateList(List<DailyRate> dailyRateList) voidsetDescriptionInEnglish(String descriptionInEnglish) voidsetDisplayPrice(CustomMonetaryAmount displayPrice) voidsetExternalIdentifier(String externalIdentifier) voidsetInternalPrice(CustomMonetaryAmount internalPrice) voidsetItinerary(SimpleDateTimeItinerary itinerary) voidsetMetadata(Map<String, String> metadata) voidsetNameInEnglish(String nameInEnglish) voidvoidsetPolicy(SupplierContractItemPolicy policy) voidsetPrice(CustomMonetaryAmount price) voidvoidsetSupplierPrice(CustomMonetaryAmount supplierPrice) voidvoidsupplierPrice(CustomMonetaryAmount supplierPrice) toString()
-
Field Details
-
JSON_PROPERTY_USER
- See Also:
-
JSON_PROPERTY_NAME_IN_ENGLISH
- See Also:
-
JSON_PROPERTY_DESCRIPTION_IN_ENGLISH
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_DISPLAY_PRICE
- See Also:
-
JSON_PROPERTY_SUPPLIER_PRICE
- See Also:
-
JSON_PROPERTY_INTERNAL_PRICE
- See Also:
-
JSON_PROPERTY_CAPTURE_PRICE
- See Also:
-
JSON_PROPERTY_ITINERARY
- See Also:
-
JSON_PROPERTY_PRICING_TYPE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_BENEFICIARY_LIST
- See Also:
-
JSON_PROPERTY_PAYABLE
- See Also:
-
JSON_PROPERTY_POLICY
- See Also:
-
JSON_PROPERTY_EXTERNAL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_DAILY_RATE_LIST
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
-
Constructor Details
-
PricedSupplierContractItemWithAcquirer
public PricedSupplierContractItemWithAcquirer()
-
-
Method Details
-
user
-
getUser
-
setUser
-
nameInEnglish
-
getNameInEnglish
Name of item in English included in booking.- Returns:
- nameInEnglish
-
setNameInEnglish
-
descriptionInEnglish
-
getDescriptionInEnglish
Short description in English of item included in booking.- Returns:
- descriptionInEnglish
-
setDescriptionInEnglish
-
price
-
getPrice
Get price- Returns:
- price
-
setPrice
-
displayPrice
-
getDisplayPrice
Get displayPrice- Returns:
- displayPrice
-
setDisplayPrice
-
supplierPrice
-
getSupplierPrice
Get supplierPrice- Returns:
- supplierPrice
-
setSupplierPrice
-
internalPrice
-
getInternalPrice
Get internalPrice- Returns:
- internalPrice
-
setInternalPrice
-
capturePrice
-
getCapturePrice
Get capturePrice- Returns:
- capturePrice
-
setCapturePrice
-
itinerary
-
getItinerary
Get itinerary- Returns:
- itinerary
-
setItinerary
-
pricingType
public PricedSupplierContractItemWithAcquirer pricingType(PricedSupplierContractItemWithAcquirer.PricingTypeEnum pricingType) -
getPricingType
@Nonnull @NotNull public @NotNull PricedSupplierContractItemWithAcquirer.PricingTypeEnum getPricingType()How to calculate the total amount.- Returns:
- pricingType
-
setPricingType
-
type
-
getType
Type of item this is.- Returns:
- type
-
setType
-
beneficiaryList
-
addBeneficiaryListItem
public PricedSupplierContractItemWithAcquirer addBeneficiaryListItem(RawBeneficiary beneficiaryListItem) -
getBeneficiaryList
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<RawBeneficiary> getBeneficiaryList()Get beneficiaryList- Returns:
- beneficiaryList
-
setBeneficiaryList
-
payable
public PricedSupplierContractItemWithAcquirer payable(PricedSupplierContractItemWithAcquirer.PayableEnum payable) -
getPayable
When to charge for this item.- Returns:
- payable
-
setPayable
-
policy
-
getPolicy
-
setPolicy
-
externalIdentifier
-
getExternalIdentifier
Optional geoname externalIdentifier to remote inventory.- Returns:
- externalIdentifier
-
setExternalIdentifier
-
dailyRateList
-
addDailyRateListItem
-
getDailyRateList
-
setDailyRateList
-
metadata
-
putMetadataItem
-
getMetadata
-
setMetadata
-
equals
-
hashCode
-
toString
-