Package travel.wink.sdk.extranet.model
Class BookingContractItemSupplierDetails
java.lang.Object
travel.wink.sdk.extranet.model.BookingContractItemSupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-06T14:58:42.579815638+07:00[Asia/Bangkok]")
public class BookingContractItemSupplierDetails
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 Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBeneficiaryListItem(BeneficiarySupplierDetails beneficiaryListItem) addDailyRateListItem(DailyRateSupplierDetails dailyRateListItem) beneficiaryList(List<BeneficiarySupplierDetails> beneficiaryList) cancellableBySupplier(Boolean cancellableBySupplier) cancellableByTraveler(Boolean cancellableByTraveler) cancellableWithNoCharges(Boolean cancellableWithNoCharges) cancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges) dailyRateList(List<DailyRateSupplierDetails> dailyRateList) descriptionInEnglish(String descriptionInEnglish) booleanexternalIdentifier(String externalIdentifier) @NotNull @Valid @Size(min=1,max=2147483647) List<BeneficiarySupplierDetails>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.@Valid List<DailyRateSupplierDetails>Get dailyRateList@NotNull StringShort description in English of item included in booking.Optional geoname externalIdentifier to remote inventory.Get isCancellableBySupplierGet isCancellableByTraveler@NotNull @Valid ItinerarySupplierDetailsGet itinerary@NotNull StringName of item in English included in booking.When to charge for this item.Get policyHow to calculate the total amount.@NotNull StringBooking code identifying the supplier line item.Tokens earned for this item@NotNull @Valid MoneysSupplierDetailsGet totalCapturePrice@Valid MoneysSupplierDetailsGet totalCapturePriceAfterRefund@NotNull @Valid MoneysSupplierDetailsGet totalDisplayPrice@Valid MoneysSupplierDetailsGet totalDisplayPriceAfterRefund@NotNull @Valid MoneysSupplierDetailsGet totalInternalPrice@Valid MoneysSupplierDetailsGet totalInternalPriceAfterRefund@NotNull @Valid MoneysSupplierDetailsGet totalSourcePrice@Valid MoneysSupplierDetailsGet totalSourcePriceAfterRefund@NotNull @Valid MoneysSupplierDetailsGet totalSupplierPrice@Valid MoneysSupplierDetailsGet totalSupplierPriceAfterRefundgetType()Type of item this is.@NotNull @Valid BookingUserSupplierDetailsgetUser()Get userinthashCode()isCancellableBySupplier(Boolean isCancellableBySupplier) isCancellableByTraveler(Boolean isCancellableByTraveler) itinerary(ItinerarySupplierDetails itinerary) nameInEnglish(String nameInEnglish) voidsetBeneficiaryList(List<BeneficiarySupplierDetails> beneficiaryList) voidsetCancellableBySupplier(Boolean cancellableBySupplier) voidsetCancellableByTraveler(Boolean cancellableByTraveler) voidsetCancellableWithNoCharges(Boolean cancellableWithNoCharges) voidsetCancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges) voidsetCancelled(Boolean cancelled) voidsetDailyRateList(List<DailyRateSupplierDetails> dailyRateList) voidsetDescriptionInEnglish(String descriptionInEnglish) voidsetExternalIdentifier(String externalIdentifier) voidsetIsCancellableBySupplier(Boolean isCancellableBySupplier) voidsetIsCancellableByTraveler(Boolean isCancellableByTraveler) voidsetItinerary(ItinerarySupplierDetails itinerary) voidsetNameInEnglish(String nameInEnglish) voidvoidvoidvoidsetSupplierItemBookingCode(String supplierItemBookingCode) voidsetTokensEarned(Long tokensEarned) voidsetTotalCapturePrice(MoneysSupplierDetails totalCapturePrice) voidsetTotalCapturePriceAfterRefund(MoneysSupplierDetails totalCapturePriceAfterRefund) voidsetTotalDisplayPrice(MoneysSupplierDetails totalDisplayPrice) voidsetTotalDisplayPriceAfterRefund(MoneysSupplierDetails totalDisplayPriceAfterRefund) voidsetTotalInternalPrice(MoneysSupplierDetails totalInternalPrice) voidsetTotalInternalPriceAfterRefund(MoneysSupplierDetails totalInternalPriceAfterRefund) voidsetTotalSourcePrice(MoneysSupplierDetails totalSourcePrice) voidsetTotalSourcePriceAfterRefund(MoneysSupplierDetails totalSourcePriceAfterRefund) voidsetTotalSupplierPrice(MoneysSupplierDetails totalSupplierPrice) voidsetTotalSupplierPriceAfterRefund(MoneysSupplierDetails totalSupplierPriceAfterRefund) voidvoidsupplierItemBookingCode(String supplierItemBookingCode) tokensEarned(Long tokensEarned) toString()totalCapturePrice(MoneysSupplierDetails totalCapturePrice) totalCapturePriceAfterRefund(MoneysSupplierDetails totalCapturePriceAfterRefund) totalDisplayPrice(MoneysSupplierDetails totalDisplayPrice) totalDisplayPriceAfterRefund(MoneysSupplierDetails totalDisplayPriceAfterRefund) totalInternalPrice(MoneysSupplierDetails totalInternalPrice) totalInternalPriceAfterRefund(MoneysSupplierDetails totalInternalPriceAfterRefund) totalSourcePrice(MoneysSupplierDetails totalSourcePrice) totalSourcePriceAfterRefund(MoneysSupplierDetails totalSourcePriceAfterRefund) totalSupplierPrice(MoneysSupplierDetails totalSupplierPrice) totalSupplierPriceAfterRefund(MoneysSupplierDetails totalSupplierPriceAfterRefund)
-
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_REFUND
- See Also:
-
JSON_PROPERTY_TOTAL_DISPLAY_PRICE_AFTER_REFUND
- See Also:
-
JSON_PROPERTY_TOTAL_SUPPLIER_PRICE_AFTER_REFUND
- See Also:
-
JSON_PROPERTY_TOTAL_INTERNAL_PRICE_AFTER_REFUND
- See Also:
-
JSON_PROPERTY_TOTAL_CAPTURE_PRICE_AFTER_REFUND
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_NO_CHARGES
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_SUPPLIER
- See Also:
-
JSON_PROPERTY_IS_CANCELLABLE_BY_SUPPLIER
- See Also:
-
JSON_PROPERTY_IS_CANCELLABLE_BY_TRAVELER
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_TRAVELER
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_POTENTIAL_CHARGES
- See Also:
-
-
Constructor Details
-
BookingContractItemSupplierDetails
public BookingContractItemSupplierDetails()
-
-
Method Details
-
supplierItemBookingCode
-
getSupplierItemBookingCode
Booking code identifying the supplier line item.- Returns:
- supplierItemBookingCode
-
setSupplierItemBookingCode
-
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
-
totalSourcePrice
-
getTotalSourcePrice
Get totalSourcePrice- Returns:
- totalSourcePrice
-
setTotalSourcePrice
-
totalDisplayPrice
public BookingContractItemSupplierDetails totalDisplayPrice(MoneysSupplierDetails totalDisplayPrice) -
getTotalDisplayPrice
Get totalDisplayPrice- Returns:
- totalDisplayPrice
-
setTotalDisplayPrice
-
totalSupplierPrice
public BookingContractItemSupplierDetails totalSupplierPrice(MoneysSupplierDetails totalSupplierPrice) -
getTotalSupplierPrice
Get totalSupplierPrice- Returns:
- totalSupplierPrice
-
setTotalSupplierPrice
-
totalInternalPrice
public BookingContractItemSupplierDetails totalInternalPrice(MoneysSupplierDetails totalInternalPrice) -
getTotalInternalPrice
Get totalInternalPrice- Returns:
- totalInternalPrice
-
setTotalInternalPrice
-
totalCapturePrice
public BookingContractItemSupplierDetails totalCapturePrice(MoneysSupplierDetails totalCapturePrice) -
getTotalCapturePrice
Get totalCapturePrice- Returns:
- totalCapturePrice
-
setTotalCapturePrice
-
itinerary
-
getItinerary
Get itinerary- Returns:
- itinerary
-
setItinerary
-
pricingType
public BookingContractItemSupplierDetails pricingType(BookingContractItemSupplierDetails.PricingTypeEnum pricingType) -
getPricingType
@Nonnull @NotNull public @NotNull BookingContractItemSupplierDetails.PricingTypeEnum getPricingType()How to calculate the total amount.- Returns:
- pricingType
-
setPricingType
-
type
-
getType
Type of item this is.- Returns:
- type
-
setType
-
beneficiaryList
public BookingContractItemSupplierDetails beneficiaryList(List<BeneficiarySupplierDetails> beneficiaryList) -
addBeneficiaryListItem
public BookingContractItemSupplierDetails addBeneficiaryListItem(BeneficiarySupplierDetails beneficiaryListItem) -
getBeneficiaryList
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<BeneficiarySupplierDetails> getBeneficiaryList()Get beneficiaryList- Returns:
- beneficiaryList
-
setBeneficiaryList
-
payable
public BookingContractItemSupplierDetails payable(BookingContractItemSupplierDetails.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
-
tokensEarned
-
getTokensEarned
Tokens earned for this item- Returns:
- tokensEarned
-
setTokensEarned
-
dailyRateList
public BookingContractItemSupplierDetails dailyRateList(List<DailyRateSupplierDetails> dailyRateList) -
addDailyRateListItem
public BookingContractItemSupplierDetails addDailyRateListItem(DailyRateSupplierDetails dailyRateListItem) -
getDailyRateList
Get dailyRateList- Returns:
- dailyRateList
-
setDailyRateList
-
cancelled
-
getCancelled
Optional geoname externalIdentifier to remote inventory.- Returns:
- cancelled
-
setCancelled
-
totalSourcePriceAfterRefund
public BookingContractItemSupplierDetails totalSourcePriceAfterRefund(MoneysSupplierDetails totalSourcePriceAfterRefund) -
getTotalSourcePriceAfterRefund
Get totalSourcePriceAfterRefund- Returns:
- totalSourcePriceAfterRefund
-
setTotalSourcePriceAfterRefund
-
totalDisplayPriceAfterRefund
public BookingContractItemSupplierDetails totalDisplayPriceAfterRefund(MoneysSupplierDetails totalDisplayPriceAfterRefund) -
getTotalDisplayPriceAfterRefund
Get totalDisplayPriceAfterRefund- Returns:
- totalDisplayPriceAfterRefund
-
setTotalDisplayPriceAfterRefund
-
totalSupplierPriceAfterRefund
public BookingContractItemSupplierDetails totalSupplierPriceAfterRefund(MoneysSupplierDetails totalSupplierPriceAfterRefund) -
getTotalSupplierPriceAfterRefund
Get totalSupplierPriceAfterRefund- Returns:
- totalSupplierPriceAfterRefund
-
setTotalSupplierPriceAfterRefund
-
totalInternalPriceAfterRefund
public BookingContractItemSupplierDetails totalInternalPriceAfterRefund(MoneysSupplierDetails totalInternalPriceAfterRefund) -
getTotalInternalPriceAfterRefund
Get totalInternalPriceAfterRefund- Returns:
- totalInternalPriceAfterRefund
-
setTotalInternalPriceAfterRefund
-
totalCapturePriceAfterRefund
public BookingContractItemSupplierDetails totalCapturePriceAfterRefund(MoneysSupplierDetails totalCapturePriceAfterRefund) -
getTotalCapturePriceAfterRefund
Get totalCapturePriceAfterRefund- Returns:
- totalCapturePriceAfterRefund
-
setTotalCapturePriceAfterRefund
-
cancellableWithNoCharges
public BookingContractItemSupplierDetails cancellableWithNoCharges(Boolean cancellableWithNoCharges) -
getCancellableWithNoCharges
Whether the booking can still be cancelled and whether cancellation charges might still occur.- Returns:
- cancellableWithNoCharges
-
setCancellableWithNoCharges
-
cancellableBySupplier
-
getCancellableBySupplier
Whether the booking can still be cancelled by the supplier. A supplier cancellation overrides the refundable- Returns:
- cancellableBySupplier
-
setCancellableBySupplier
-
isCancellableBySupplier
-
getIsCancellableBySupplier
Get isCancellableBySupplier- Returns:
- isCancellableBySupplier
-
setIsCancellableBySupplier
-
isCancellableByTraveler
-
getIsCancellableByTraveler
Get isCancellableByTraveler- Returns:
- isCancellableByTraveler
-
setIsCancellableByTraveler
-
cancellableByTraveler
-
getCancellableByTraveler
Whether the booking can still be cancelled by the traveller.- Returns:
- cancellableByTraveler
-
setCancellableByTraveler
-
cancellableWithPotentialCharges
public BookingContractItemSupplierDetails cancellableWithPotentialCharges(Boolean 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
-