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="2023-05-12T17:59:21.291736784+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 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(Moneys capturePrice) dailyRateList(List<DailyRate> dailyRateList) descriptionInEnglish(String descriptionInEnglish) displayPrice(Moneys displayPrice) booleanexternalIdentifier(String externalIdentifier) @NotNull @Valid @Size(min=1,max=2147483647) List<RawBeneficiary>Get beneficiaryList@NotNull @Valid MoneysGet capturePriceGet dailyRateList@NotNull StringShort description in English of item included in booking.@NotNull @Valid MoneysGet displayPriceOptional geoname externalIdentifier to remote inventory.@NotNull @Valid MoneysGet internalPrice@NotNull @Valid ItineraryGet itinerary@NotNull StringName of item in English included in booking.When to charge for this item.Required when pricing type is PER_USE.@Valid SupplierContractItemPolicyGet policy@NotNull @Valid MoneysgetPrice()Get priceHow to calculate the total amount.@NotNull @Valid MoneysGet supplierPrice@Valid MoneysGet totalCapturePrice@Valid MoneysGet totalDisplayPrice@Valid MoneysGet totalInternalPrice@Valid MoneysGet totalPrice@Valid MoneysGet totalSupplierPricegetType()Type of item this is.@NotNull @Valid BookingUsergetUser()Get userinthashCode()internalPrice(Moneys internalPrice) nameInEnglish(String nameInEnglish) perUseQuantity(Integer perUseQuantity) policy(SupplierContractItemPolicy policy) voidsetBeneficiaryList(List<RawBeneficiary> beneficiaryList) voidsetCapturePrice(Moneys capturePrice) voidsetDailyRateList(List<DailyRate> dailyRateList) voidsetDescriptionInEnglish(String descriptionInEnglish) voidsetDisplayPrice(Moneys displayPrice) voidsetExternalIdentifier(String externalIdentifier) voidsetInternalPrice(Moneys internalPrice) voidsetItinerary(Itinerary itinerary) voidsetNameInEnglish(String nameInEnglish) voidvoidsetPerUseQuantity(Integer perUseQuantity) voidsetPolicy(SupplierContractItemPolicy policy) voidvoidvoidsetSupplierPrice(Moneys supplierPrice) voidsetTotalCapturePrice(Moneys totalCapturePrice) voidsetTotalDisplayPrice(Moneys totalDisplayPrice) voidsetTotalInternalPrice(Moneys totalInternalPrice) voidsetTotalPrice(Moneys totalPrice) voidsetTotalSupplierPrice(Moneys totalSupplierPrice) voidvoidsetUser(BookingUser user) supplierPrice(Moneys supplierPrice) toString()totalCapturePrice(Moneys totalCapturePrice) totalDisplayPrice(Moneys totalDisplayPrice) totalInternalPrice(Moneys totalInternalPrice) totalPrice(Moneys totalPrice) totalSupplierPrice(Moneys totalSupplierPrice) user(BookingUser user)
-
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_PER_USE_QUANTITY
- 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_TOTAL_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_DISPLAY_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_SUPPLIER_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_INTERNAL_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_CAPTURE_PRICE
- See Also:
-
-
Constructor Details
-
PricedSupplierContractItemWithAcquirer
public PricedSupplierContractItemWithAcquirer()
-
-
Method Details
-
user
-
getUser
Get user- Returns:
- user
-
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
-
perUseQuantity
-
getPerUseQuantity
Required when pricing type is PER_USE.- Returns:
- perUseQuantity
-
setPerUseQuantity
-
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
Get policy- Returns:
- policy
-
setPolicy
-
externalIdentifier
-
getExternalIdentifier
Optional geoname externalIdentifier to remote inventory.- Returns:
- externalIdentifier
-
setExternalIdentifier
-
dailyRateList
-
addDailyRateListItem
-
getDailyRateList
Get dailyRateList- Returns:
- dailyRateList
-
setDailyRateList
-
totalPrice
-
getTotalPrice
Get totalPrice- Returns:
- totalPrice
-
setTotalPrice
-
totalDisplayPrice
-
getTotalDisplayPrice
Get totalDisplayPrice- Returns:
- totalDisplayPrice
-
setTotalDisplayPrice
-
totalSupplierPrice
-
getTotalSupplierPrice
Get totalSupplierPrice- Returns:
- totalSupplierPrice
-
setTotalSupplierPrice
-
totalInternalPrice
-
getTotalInternalPrice
Get totalInternalPrice- Returns:
- totalInternalPrice
-
setTotalInternalPrice
-
totalCapturePrice
-
getTotalCapturePrice
Get totalCapturePrice- Returns:
- totalCapturePrice
-
setTotalCapturePrice
-
equals
-
hashCode
public int hashCode() -
toString
-