Class BookingContractItem
java.lang.Object
travel.wink.sdk.booking.engine.model.BookingContractItem
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-11T13:45:57.039738+07:00[Asia/Bangkok]")
public class BookingContractItem
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionBookingContractItem(String supplierItemBookingCode, String nameInEnglish, String descriptionInEnglish, BookingContractItem.PricingTypeEnum pricingType, BookingContractItem.TypeEnum type, BookingContractItem.PayableEnum payable, String externalIdentifier, Long tokensEarned) -
Method Summary
Modifier and TypeMethodDescriptionaddBeneficiaryListItem(Beneficiary beneficiaryListItem) addDailyRateListItem(DailyRate dailyRateListItem) beneficiaryList(List<Beneficiary> beneficiaryList) cancellableBySupplier(Boolean cancellableBySupplier) cancellableByTraveler(Boolean cancellableByTraveler) cancellableWithNoCharges(Boolean cancellableWithNoCharges) cancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges) dailyRateList(List<DailyRate> dailyRateList) boolean@NotNull @Valid @Size(min=1,max=2147483647) List<Beneficiary>Get beneficiaryListWhether the booking can still be cancelled by the supplier.Whether the booking can still be cancelled by the traveller.Whether the booking can still be cancelled and whether cancellation charges might still occur.Whether the booking can still be cancelled and whether cancellation charges might still occur.Optional geoname externalIdentifier to remote inventory.Get dailyRateListShort description in English of item included in booking.Optional geoname externalIdentifier to remote inventory.@NotNull @Valid ItineraryGet itineraryName of item in English included in booking.When to charge for this item.@Valid SupplierContractItemPolicyGet policyHow to calculate the total amount.Booking code identifying the supplier line item.Tokens earned for this item@NotNull @Valid MoneysGet totalCapturePrice@Valid MoneysGet totalCapturePriceAfterCancellation@NotNull @Valid MoneysGet totalDisplayPrice@Valid MoneysGet totalDisplayPriceAfterCancellation@NotNull @Valid MoneysGet totalInternalPrice@Valid MoneysGet totalInternalPriceAfterCancellation@NotNull @Valid MoneysGet totalSourcePrice@Valid MoneysGet totalSourcePriceAfterCancellation@NotNull @Valid MoneysGet totalSupplierPrice@Valid MoneysGet totalSupplierPriceAfterCancellationgetType()Type of item this is.@NotNull @Valid BookingUsergetUser()Get userinthashCode()policy(SupplierContractItemPolicy policy) voidsetBeneficiaryList(List<Beneficiary> beneficiaryList) voidsetCancellableBySupplier(Boolean cancellableBySupplier) voidsetCancellableByTraveler(Boolean cancellableByTraveler) voidsetCancellableWithNoCharges(Boolean cancellableWithNoCharges) voidsetCancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges) voidsetCancelled(Boolean cancelled) voidsetDailyRateList(List<DailyRate> dailyRateList) voidsetItinerary(Itinerary itinerary) voidsetPolicy(SupplierContractItemPolicy policy) voidsetTotalCapturePrice(Moneys totalCapturePrice) voidsetTotalCapturePriceAfterCancellation(Moneys totalCapturePriceAfterCancellation) voidsetTotalDisplayPrice(Moneys totalDisplayPrice) voidsetTotalDisplayPriceAfterCancellation(Moneys totalDisplayPriceAfterCancellation) voidsetTotalInternalPrice(Moneys totalInternalPrice) voidsetTotalInternalPriceAfterCancellation(Moneys totalInternalPriceAfterCancellation) voidsetTotalSourcePrice(Moneys totalSourcePrice) voidsetTotalSourcePriceAfterCancellation(Moneys totalSourcePriceAfterCancellation) voidsetTotalSupplierPrice(Moneys totalSupplierPrice) voidsetTotalSupplierPriceAfterCancellation(Moneys totalSupplierPriceAfterCancellation) voidsetUser(BookingUser user) toString()totalCapturePrice(Moneys totalCapturePrice) totalCapturePriceAfterCancellation(Moneys totalCapturePriceAfterCancellation) totalDisplayPrice(Moneys totalDisplayPrice) totalDisplayPriceAfterCancellation(Moneys totalDisplayPriceAfterCancellation) totalInternalPrice(Moneys totalInternalPrice) totalInternalPriceAfterCancellation(Moneys totalInternalPriceAfterCancellation) totalSourcePrice(Moneys totalSourcePrice) totalSourcePriceAfterCancellation(Moneys totalSourcePriceAfterCancellation) totalSupplierPrice(Moneys totalSupplierPrice) totalSupplierPriceAfterCancellation(Moneys totalSupplierPriceAfterCancellation) user(BookingUser user)
-
Field Details
-
JSON_PROPERTY_SUPPLIER_ITEM_BOOKING_CODE
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
JSON_PROPERTY_NAME_IN_ENGLISH
- See Also:
-
JSON_PROPERTY_DESCRIPTION_IN_ENGLISH
- See Also:
-
JSON_PROPERTY_TOTAL_SOURCE_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:
-
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_TOKENS_EARNED
- See Also:
-
JSON_PROPERTY_DAILY_RATE_LIST
- See Also:
-
JSON_PROPERTY_CANCELLED
- See Also:
-
JSON_PROPERTY_TOTAL_SOURCE_PRICE_AFTER_CANCELLATION
- See Also:
-
JSON_PROPERTY_TOTAL_DISPLAY_PRICE_AFTER_CANCELLATION
- See Also:
-
JSON_PROPERTY_TOTAL_SUPPLIER_PRICE_AFTER_CANCELLATION
- See Also:
-
JSON_PROPERTY_TOTAL_INTERNAL_PRICE_AFTER_CANCELLATION
- See Also:
-
JSON_PROPERTY_TOTAL_CAPTURE_PRICE_AFTER_CANCELLATION
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_SUPPLIER
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_TRAVELER
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_NO_CHARGES
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_POTENTIAL_CHARGES
- See Also:
-
-
Constructor Details
-
BookingContractItem
public BookingContractItem() -
BookingContractItem
public BookingContractItem(String supplierItemBookingCode, String nameInEnglish, String descriptionInEnglish, BookingContractItem.PricingTypeEnum pricingType, BookingContractItem.TypeEnum type, BookingContractItem.PayableEnum payable, String externalIdentifier, Long tokensEarned)
-
-
Method Details
-
getSupplierItemBookingCode
Booking code identifying the supplier line item.- Returns:
- supplierItemBookingCode
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
getNameInEnglish
Name of item in English included in booking.- Returns:
- nameInEnglish
-
getDescriptionInEnglish
Short description in English of item included in booking.- Returns:
- descriptionInEnglish
-
totalSourcePrice
-
getTotalSourcePrice
Get totalSourcePrice- Returns:
- totalSourcePrice
-
setTotalSourcePrice
-
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
-
itinerary
-
getItinerary
Get itinerary- Returns:
- itinerary
-
setItinerary
-
getPricingType
How to calculate the total amount.- Returns:
- pricingType
-
getType
Type of item this is.- Returns:
- type
-
beneficiaryList
-
addBeneficiaryListItem
-
getBeneficiaryList
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<Beneficiary> getBeneficiaryList()Get beneficiaryList- Returns:
- beneficiaryList
-
setBeneficiaryList
-
getPayable
When to charge for this item.- Returns:
- payable
-
policy
-
getPolicy
Get policy- Returns:
- policy
-
setPolicy
-
getExternalIdentifier
Optional geoname externalIdentifier to remote inventory.- Returns:
- externalIdentifier
-
getTokensEarned
Tokens earned for this item- Returns:
- tokensEarned
-
dailyRateList
-
addDailyRateListItem
-
getDailyRateList
Get dailyRateList- Returns:
- dailyRateList
-
setDailyRateList
-
cancelled
-
getCancelled
Optional geoname externalIdentifier to remote inventory.- Returns:
- cancelled
-
setCancelled
-
totalSourcePriceAfterCancellation
public BookingContractItem totalSourcePriceAfterCancellation(Moneys totalSourcePriceAfterCancellation) -
getTotalSourcePriceAfterCancellation
Get totalSourcePriceAfterCancellation- Returns:
- totalSourcePriceAfterCancellation
-
setTotalSourcePriceAfterCancellation
-
totalDisplayPriceAfterCancellation
public BookingContractItem totalDisplayPriceAfterCancellation(Moneys totalDisplayPriceAfterCancellation) -
getTotalDisplayPriceAfterCancellation
Get totalDisplayPriceAfterCancellation- Returns:
- totalDisplayPriceAfterCancellation
-
setTotalDisplayPriceAfterCancellation
-
totalSupplierPriceAfterCancellation
public BookingContractItem totalSupplierPriceAfterCancellation(Moneys totalSupplierPriceAfterCancellation) -
getTotalSupplierPriceAfterCancellation
Get totalSupplierPriceAfterCancellation- Returns:
- totalSupplierPriceAfterCancellation
-
setTotalSupplierPriceAfterCancellation
-
totalInternalPriceAfterCancellation
public BookingContractItem totalInternalPriceAfterCancellation(Moneys totalInternalPriceAfterCancellation) -
getTotalInternalPriceAfterCancellation
Get totalInternalPriceAfterCancellation- Returns:
- totalInternalPriceAfterCancellation
-
setTotalInternalPriceAfterCancellation
-
totalCapturePriceAfterCancellation
public BookingContractItem totalCapturePriceAfterCancellation(Moneys totalCapturePriceAfterCancellation) -
getTotalCapturePriceAfterCancellation
Get totalCapturePriceAfterCancellation- Returns:
- totalCapturePriceAfterCancellation
-
setTotalCapturePriceAfterCancellation
-
cancellableBySupplier
-
getCancellableBySupplier
Whether the booking can still be cancelled by the supplier. A supplier cancellation overrides the refundable- Returns:
- cancellableBySupplier
-
setCancellableBySupplier
-
cancellableByTraveler
-
getCancellableByTraveler
Whether the booking can still be cancelled by the traveller.- Returns:
- cancellableByTraveler
-
setCancellableByTraveler
-
cancellableWithNoCharges
-
getCancellableWithNoCharges
Whether the booking can still be cancelled and whether cancellation charges might still occur.- Returns:
- cancellableWithNoCharges
-
setCancellableWithNoCharges
-
cancellableWithPotentialCharges
-
getCancellableWithPotentialCharges
Whether the booking can still be cancelled and whether cancellation charges might still occur.- Returns:
- cancellableWithPotentialCharges
-
setCancellableWithPotentialCharges
-
equals
-
hashCode
public int hashCode() -
toString
-