Class PayableContractSupplierItem
java.lang.Object
io.trippay.sdk.payment.model.PayableContractSupplierItem
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-04T17:36:03.119950232+07:00[Asia/Bangkok]")
public class PayableContractSupplierItem
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 enumIndicates the way this item should be priced.static enumType of item this is. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBeneficiaryListItem(PayableContractSupplierItemBeneficiary beneficiaryListItem) addDailyRateListItem(RawDailyRate dailyRateListItem) beneficiaryList(List<PayableContractSupplierItemBeneficiary> beneficiaryList) dailyRateList(List<RawDailyRate> dailyRateList) descriptionInEnglish(String descriptionInEnglish) booleanexternalIdentifier(String externalIdentifier) @NotNull @Valid @Size(min=1,max=2147483647) List<PayableContractSupplierItemBeneficiary> Get beneficiaryList@Valid List<RawDailyRate> Get dailyRateList@NotNull StringShort description in English of item included in booking.Optional geoname externalIdentifier to remote blocking.@NotNull @Valid SimpleDateTimeItineraryGet itineraryPlace to add more data related to the booking contract item.@NotNull StringName of item in English included in booking.When to charge for this item.@Valid SupplierContractItemPolicyGet policy@NotNull @Valid CustomMonetaryAmountgetPrice()Get priceIndicates the way this item should be priced.@NotNull PayableContractSupplierItem.TypeEnumgetType()Type of item this is.@NotNull @Valid GuestUsergetUser()Get userinthashCode()itinerary(SimpleDateTimeItinerary itinerary) nameInEnglish(String nameInEnglish) policy(SupplierContractItemPolicy policy) price(CustomMonetaryAmount price) pricingType(PayableContractSupplierItem.PricingTypeEnum pricingType) putMetadataItem(String key, String metadataItem) voidsetBeneficiaryList(List<PayableContractSupplierItemBeneficiary> beneficiaryList) voidsetDailyRateList(List<RawDailyRate> dailyRateList) voidsetDescriptionInEnglish(String descriptionInEnglish) voidsetExternalIdentifier(String externalIdentifier) voidsetItinerary(SimpleDateTimeItinerary itinerary) voidsetMetadata(Map<String, String> metadata) voidsetNameInEnglish(String nameInEnglish) voidvoidsetPolicy(SupplierContractItemPolicy policy) voidsetPrice(CustomMonetaryAmount price) voidvoidvoidtoString()
-
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_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
-
PayableContractSupplierItem
public PayableContractSupplierItem()
-
-
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
-
itinerary
-
getItinerary
Get itinerary- Returns:
- itinerary
-
setItinerary
-
pricingType
public PayableContractSupplierItem pricingType(PayableContractSupplierItem.PricingTypeEnum pricingType) -
getPricingType
Indicates the way this item should be priced.- Returns:
- pricingType
-
setPricingType
-
type
-
getType
Type of item this is.- Returns:
- type
-
setType
-
beneficiaryList
public PayableContractSupplierItem beneficiaryList(List<PayableContractSupplierItemBeneficiary> beneficiaryList) -
addBeneficiaryListItem
public PayableContractSupplierItem addBeneficiaryListItem(PayableContractSupplierItemBeneficiary beneficiaryListItem) -
getBeneficiaryList
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<PayableContractSupplierItemBeneficiary> getBeneficiaryList()Get beneficiaryList- Returns:
- beneficiaryList
-
setBeneficiaryList
-
payable
-
getPayable
When to charge for this item.- Returns:
- payable
-
setPayable
-
policy
-
getPolicy
-
setPolicy
-
externalIdentifier
-
getExternalIdentifier
Optional geoname externalIdentifier to remote blocking.- Returns:
- externalIdentifier
-
setExternalIdentifier
-
dailyRateList
-
addDailyRateListItem
-
getDailyRateList
Get dailyRateList- Returns:
- dailyRateList
-
setDailyRateList
-
metadata
-
putMetadataItem
-
getMetadata
-
setMetadata
-
equals
-
hashCode
-
toString
-