Package travel.wink.sdk.extranet.model
Class BookingContractItemSupplier
java.lang.Object
travel.wink.sdk.extranet.model.BookingContractItemSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-05-05T11:16:56.266186763+07:00[Asia/Bangkok]")
public class BookingContractItemSupplier
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 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(BeneficiarySupplier beneficiaryListItem) addDailyRateListItem(DailyRateSupplier dailyRateListItem) beneficiaryList(List<BeneficiarySupplier> beneficiaryList) cancellableBySupplier(Boolean cancellableBySupplier) cancellableByTraveler(Boolean cancellableByTraveler) cancellableWithNoCharges(Boolean cancellableWithNoCharges) cancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges) captureAmount(Double captureAmount) captureAmountRefundModifier(Double captureAmountRefundModifier) captureCurrency(String captureCurrency) dailyRateList(List<DailyRateSupplier> dailyRateList) descriptionInEnglish(String descriptionInEnglish) displayAmount(Double displayAmount) displayAmountRefundModifier(Double displayAmountRefundModifier) displayCurrency(String displayCurrency) booleanexternalIdentifier(String externalIdentifier) @NotNull @Valid @Size(min=1,max=2147483647) List<BeneficiarySupplier>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.@NotNull @DecimalMin("0") DoubleThe total capture price.@DecimalMin("0") DoubleThe capture amount still due after a partial refund occurs.@NotNull StringThe capture currency@Valid List<DailyRateSupplier>Get dailyRateList@NotNull StringShort description in English of item included in booking.@NotNull @DecimalMin("0") DoubleThe total display price.@DecimalMin("0") DoubleThe display amount still due after a partial refund occurs.@NotNull StringThe display currencyOptional geoname externalIdentifier to remote inventory.@DecimalMin("0") DoubleGet internalAmount minimum: 0@DecimalMin("0") DoubleThe internal amount still due after a partial refund occurs.@NotNull StringThe internal currencyGet isCancellableBySupplier@NotNull @Valid ItinerarySupplierGet itinerary@NotNull StringName of item in English included in booking.@NotNull @DecimalMin("0") DoubleThe total capture price.@NotNull @DecimalMin("0") DoubleThe total display price.@DecimalMin("0") DoubleGet netInternalAmount minimum: 0@NotNull @DecimalMin("0") DoubleThe total initial price as quoted in the original TripPay contract.@NotNull @DecimalMin("0") DoubleThe total supplier price.When to charge for this item.Get policyHow to calculate the total amount.@NotNull @DecimalMin("0") DoubleThe total initial price as quoted in the original TripPay contract.@DecimalMin("0") DoubleThe source amount still due after a partial refund occurs.@NotNull StringThe source currency@NotNull @DecimalMin("0") DoubleThe total supplier price.@DecimalMin("0") DoubleThe supplier amount still due after a partial refund occurs.@NotNull StringThe supplier currency@NotNull StringBooking code identifying the supplier line item.Tokens earned for this item@NotNull BookingContractItemSupplier.TypeEnumgetType()Type of item this is.@NotNull @Valid BookingUserSuppliergetUser()Get userinthashCode()internalAmount(Double internalAmount) internalAmountRefundModifier(Double internalAmountRefundModifier) internalCurrency(String internalCurrency) isCancellableBySupplier(Boolean isCancellableBySupplier) itinerary(ItinerarySupplier itinerary) nameInEnglish(String nameInEnglish) netCaptureAmount(Double netCaptureAmount) netDisplayAmount(Double netDisplayAmount) netInternalAmount(Double netInternalAmount) netSourceAmount(Double netSourceAmount) netSupplierAmount(Double netSupplierAmount) pricingType(BookingContractItemSupplier.PricingTypeEnum pricingType) voidsetBeneficiaryList(List<BeneficiarySupplier> beneficiaryList) voidsetCancellableBySupplier(Boolean cancellableBySupplier) voidsetCancellableByTraveler(Boolean cancellableByTraveler) voidsetCancellableWithNoCharges(Boolean cancellableWithNoCharges) voidsetCancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges) voidsetCancelled(Boolean cancelled) voidsetCaptureAmount(Double captureAmount) voidsetCaptureAmountRefundModifier(Double captureAmountRefundModifier) voidsetCaptureCurrency(String captureCurrency) voidsetDailyRateList(List<DailyRateSupplier> dailyRateList) voidsetDescriptionInEnglish(String descriptionInEnglish) voidsetDisplayAmount(Double displayAmount) voidsetDisplayAmountRefundModifier(Double displayAmountRefundModifier) voidsetDisplayCurrency(String displayCurrency) voidsetExternalIdentifier(String externalIdentifier) voidsetInternalAmount(Double internalAmount) voidsetInternalAmountRefundModifier(Double internalAmountRefundModifier) voidsetInternalCurrency(String internalCurrency) voidsetIsCancellableBySupplier(Boolean isCancellableBySupplier) voidsetItinerary(ItinerarySupplier itinerary) voidsetNameInEnglish(String nameInEnglish) voidsetNetCaptureAmount(Double netCaptureAmount) voidsetNetDisplayAmount(Double netDisplayAmount) voidsetNetInternalAmount(Double netInternalAmount) voidsetNetSourceAmount(Double netSourceAmount) voidsetNetSupplierAmount(Double netSupplierAmount) voidvoidvoidvoidsetSourceAmount(Double sourceAmount) voidsetSourceAmountRefundModifier(Double sourceAmountRefundModifier) voidsetSourceCurrency(String sourceCurrency) voidsetSupplierAmount(Double supplierAmount) voidsetSupplierAmountRefundModifier(Double supplierAmountRefundModifier) voidsetSupplierCurrency(String supplierCurrency) voidsetSupplierItemBookingCode(String supplierItemBookingCode) voidsetTokensEarned(Long tokensEarned) voidvoidsetUser(BookingUserSupplier user) sourceAmount(Double sourceAmount) sourceAmountRefundModifier(Double sourceAmountRefundModifier) sourceCurrency(String sourceCurrency) supplierAmount(Double supplierAmount) supplierAmountRefundModifier(Double supplierAmountRefundModifier) supplierCurrency(String supplierCurrency) supplierItemBookingCode(String supplierItemBookingCode) tokensEarned(Long tokensEarned) toString()user(BookingUserSupplier 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_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_SOURCE_CURRENCY
- See Also:
-
JSON_PROPERTY_DISPLAY_CURRENCY
- See Also:
-
JSON_PROPERTY_SUPPLIER_CURRENCY
- See Also:
-
JSON_PROPERTY_INTERNAL_CURRENCY
- See Also:
-
JSON_PROPERTY_CAPTURE_CURRENCY
- See Also:
-
JSON_PROPERTY_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_SOURCE_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_DISPLAY_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_INTERNAL_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_CAPTURE_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_NET_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_NO_CHARGES
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_POTENTIAL_CHARGES
- See Also:
-
JSON_PROPERTY_IS_CANCELLABLE_BY_SUPPLIER
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_SUPPLIER
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_TRAVELER
- See Also:
-
-
Constructor Details
-
BookingContractItemSupplier
public BookingContractItemSupplier()
-
-
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
-
itinerary
-
getItinerary
Get itinerary- Returns:
- itinerary
-
setItinerary
-
pricingType
public BookingContractItemSupplier pricingType(BookingContractItemSupplier.PricingTypeEnum pricingType) -
getPricingType
How to calculate the total amount.- Returns:
- pricingType
-
setPricingType
-
type
-
getType
Type of item this is.- Returns:
- type
-
setType
-
beneficiaryList
-
addBeneficiaryListItem
-
getBeneficiaryList
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<BeneficiarySupplier> getBeneficiaryList()Get beneficiaryList- Returns:
- beneficiaryList
-
setBeneficiaryList
-
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
-
addDailyRateListItem
-
getDailyRateList
Get dailyRateList- Returns:
- dailyRateList
-
setDailyRateList
-
cancelled
-
getCancelled
Optional geoname externalIdentifier to remote inventory.- Returns:
- cancelled
-
setCancelled
-
sourceCurrency
-
getSourceCurrency
The source currency- Returns:
- sourceCurrency
-
setSourceCurrency
-
displayCurrency
-
getDisplayCurrency
The display currency- Returns:
- displayCurrency
-
setDisplayCurrency
-
supplierCurrency
-
getSupplierCurrency
The supplier currency- Returns:
- supplierCurrency
-
setSupplierCurrency
-
internalCurrency
-
getInternalCurrency
The internal currency- Returns:
- internalCurrency
-
setInternalCurrency
-
captureCurrency
-
getCaptureCurrency
The capture currency- Returns:
- captureCurrency
-
setCaptureCurrency
-
sourceAmount
-
getSourceAmount
The total initial price as quoted in the original TripPay contract. minimum: 0- Returns:
- sourceAmount
-
setSourceAmount
-
displayAmount
-
getDisplayAmount
The total display price. minimum: 0- Returns:
- displayAmount
-
setDisplayAmount
-
supplierAmount
-
getSupplierAmount
The total supplier price. minimum: 0- Returns:
- supplierAmount
-
setSupplierAmount
-
internalAmount
-
getInternalAmount
Get internalAmount minimum: 0- Returns:
- internalAmount
-
setInternalAmount
-
captureAmount
-
getCaptureAmount
The total capture price. minimum: 0- Returns:
- captureAmount
-
setCaptureAmount
-
sourceAmountRefundModifier
-
getSourceAmountRefundModifier
The source amount still due after a partial refund occurs. minimum: 0- Returns:
- sourceAmountRefundModifier
-
setSourceAmountRefundModifier
-
displayAmountRefundModifier
-
getDisplayAmountRefundModifier
The display amount still due after a partial refund occurs. minimum: 0- Returns:
- displayAmountRefundModifier
-
setDisplayAmountRefundModifier
-
supplierAmountRefundModifier
public BookingContractItemSupplier supplierAmountRefundModifier(Double supplierAmountRefundModifier) -
getSupplierAmountRefundModifier
The supplier amount still due after a partial refund occurs. minimum: 0- Returns:
- supplierAmountRefundModifier
-
setSupplierAmountRefundModifier
-
internalAmountRefundModifier
public BookingContractItemSupplier internalAmountRefundModifier(Double internalAmountRefundModifier) -
getInternalAmountRefundModifier
The internal amount still due after a partial refund occurs. minimum: 0- Returns:
- internalAmountRefundModifier
-
setInternalAmountRefundModifier
-
captureAmountRefundModifier
-
getCaptureAmountRefundModifier
The capture amount still due after a partial refund occurs. minimum: 0- Returns:
- captureAmountRefundModifier
-
setCaptureAmountRefundModifier
-
netSourceAmount
-
getNetSourceAmount
The total initial price as quoted in the original TripPay contract. minimum: 0- Returns:
- netSourceAmount
-
setNetSourceAmount
-
netDisplayAmount
-
getNetDisplayAmount
The total display price. minimum: 0- Returns:
- netDisplayAmount
-
setNetDisplayAmount
-
netSupplierAmount
-
getNetSupplierAmount
The total supplier price. minimum: 0- Returns:
- netSupplierAmount
-
setNetSupplierAmount
-
netInternalAmount
-
getNetInternalAmount
Get netInternalAmount minimum: 0- Returns:
- netInternalAmount
-
setNetInternalAmount
-
netCaptureAmount
-
getNetCaptureAmount
The total capture price. minimum: 0- Returns:
- netCaptureAmount
-
setNetCaptureAmount
-
cancellableWithNoCharges
-
getCancellableWithNoCharges
Whether the booking can still be cancelled and whether cancellation charges might still occur.- Returns:
- cancellableWithNoCharges
-
setCancellableWithNoCharges
-
cancellableWithPotentialCharges
public BookingContractItemSupplier cancellableWithPotentialCharges(Boolean cancellableWithPotentialCharges) -
getCancellableWithPotentialCharges
Whether the booking can still be cancelled and whether cancellation charges might still occur.- Returns:
- cancellableWithPotentialCharges
-
setCancellableWithPotentialCharges
-
isCancellableBySupplier
-
getIsCancellableBySupplier
Get isCancellableBySupplier- Returns:
- isCancellableBySupplier
-
setIsCancellableBySupplier
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-