Package travel.wink.sdk.payment.model
Class BookingContractItemCancellableResponse
java.lang.Object
travel.wink.sdk.payment.model.BookingContractItemCancellableResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-27T09:48:07.068993+07:00[Asia/Bangkok]")
public class BookingContractItemCancellableResponse
extends Object
Contract item cancellable object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancellableBySupplier(Boolean cancellableBySupplier) cancellableByTraveler(Boolean cancellableByTraveler) cancellableWithCharges(Boolean cancellableWithCharges) capturePrice(Moneys capturePrice) displayPrice(Moneys displayPrice) displayPriceAfterCancellation(Moneys displayPriceAfterCancellation) booleanWhether this item can be cancelled by supplier either fully or partially.Whether this item can be cancelled by traveler either fully or partially.Whether this item can be cancelled by supplier either fully or partially.@Valid MoneysGet capturePrice@Valid MoneysGet displayPrice@Valid MoneysGet displayPriceAfterCancellation@Valid MoneysGet internalPrice@Valid MoneysGet internalPriceAfterCancellationName of item in English included in booking.@Valid SupplierContractItemPolicyGet policy@Valid MoneysGet sourcePrice@Valid MoneysGet sourcePriceAfterCancellationBooking code identifying the supplier line item.@Valid MoneysGet supplierPrice@Valid MoneysGet supplierPriceAfterCancellationgetType()Type of item this is.inthashCode()internalPrice(Moneys internalPrice) internalPriceAfterCancellation(Moneys internalPriceAfterCancellation) nameInEnglish(String nameInEnglish) policy(SupplierContractItemPolicy policy) voidsetCancellableBySupplier(Boolean cancellableBySupplier) voidsetCancellableByTraveler(Boolean cancellableByTraveler) voidsetCancellableWithCharges(Boolean cancellableWithCharges) voidsetCapturePrice(Moneys capturePrice) voidsetDisplayPrice(Moneys displayPrice) voidsetDisplayPriceAfterCancellation(Moneys displayPriceAfterCancellation) voidsetInternalPrice(Moneys internalPrice) voidsetInternalPriceAfterCancellation(Moneys internalPriceAfterCancellation) voidsetNameInEnglish(String nameInEnglish) voidsetPolicy(SupplierContractItemPolicy policy) voidsetSourcePrice(Moneys sourcePrice) voidsetSourcePriceAfterCancellation(Moneys sourcePriceAfterCancellation) voidsetSupplierItemBookingCode(String supplierItemBookingCode) voidsetSupplierPrice(Moneys supplierPrice) voidsetSupplierPriceAfterCancellation(Moneys supplierPriceAfterCancellation) voidsourcePrice(Moneys sourcePrice) sourcePriceAfterCancellation(Moneys sourcePriceAfterCancellation) supplierItemBookingCode(String supplierItemBookingCode) supplierPrice(Moneys supplierPrice) supplierPriceAfterCancellation(Moneys supplierPriceAfterCancellation) toString()
-
Field Details
-
JSON_PROPERTY_SUPPLIER_ITEM_BOOKING_CODE
- See Also:
-
JSON_PROPERTY_NAME_IN_ENGLISH
- See Also:
-
JSON_PROPERTY_POLICY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_SOURCE_PRICE
- See Also:
-
JSON_PROPERTY_SUPPLIER_PRICE
- See Also:
-
JSON_PROPERTY_DISPLAY_PRICE
- See Also:
-
JSON_PROPERTY_INTERNAL_PRICE
- See Also:
-
JSON_PROPERTY_CAPTURE_PRICE
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_TRAVELER
- See Also:
-
JSON_PROPERTY_CANCELLABLE_BY_SUPPLIER
- See Also:
-
JSON_PROPERTY_CANCELLABLE_WITH_CHARGES
- See Also:
-
JSON_PROPERTY_SOURCE_PRICE_AFTER_CANCELLATION
- See Also:
-
JSON_PROPERTY_SUPPLIER_PRICE_AFTER_CANCELLATION
- See Also:
-
JSON_PROPERTY_DISPLAY_PRICE_AFTER_CANCELLATION
- See Also:
-
JSON_PROPERTY_INTERNAL_PRICE_AFTER_CANCELLATION
- See Also:
-
-
Constructor Details
-
BookingContractItemCancellableResponse
public BookingContractItemCancellableResponse()
-
-
Method Details
-
supplierItemBookingCode
public BookingContractItemCancellableResponse supplierItemBookingCode(String supplierItemBookingCode) -
getSupplierItemBookingCode
Booking code identifying the supplier line item.- Returns:
- supplierItemBookingCode
-
setSupplierItemBookingCode
-
nameInEnglish
-
getNameInEnglish
Name of item in English included in booking.- Returns:
- nameInEnglish
-
setNameInEnglish
-
policy
-
getPolicy
Get policy- Returns:
- policy
-
setPolicy
-
type
-
getType
Type of item this is.- Returns:
- type
-
setType
-
sourcePrice
-
getSourcePrice
Get sourcePrice- Returns:
- sourcePrice
-
setSourcePrice
-
supplierPrice
-
getSupplierPrice
Get supplierPrice- Returns:
- supplierPrice
-
setSupplierPrice
-
displayPrice
-
getDisplayPrice
Get displayPrice- Returns:
- displayPrice
-
setDisplayPrice
-
internalPrice
-
getInternalPrice
Get internalPrice- Returns:
- internalPrice
-
setInternalPrice
-
capturePrice
-
getCapturePrice
Get capturePrice- Returns:
- capturePrice
-
setCapturePrice
-
cancellableByTraveler
-
getCancellableByTraveler
Whether this item can be cancelled by traveler either fully or partially.- Returns:
- cancellableByTraveler
-
setCancellableByTraveler
-
cancellableBySupplier
-
getCancellableBySupplier
Whether this item can be cancelled by supplier either fully or partially.- Returns:
- cancellableBySupplier
-
setCancellableBySupplier
-
cancellableWithCharges
public BookingContractItemCancellableResponse cancellableWithCharges(Boolean cancellableWithCharges) -
getCancellableWithCharges
Whether this item can be cancelled by supplier either fully or partially.- Returns:
- cancellableWithCharges
-
setCancellableWithCharges
-
sourcePriceAfterCancellation
public BookingContractItemCancellableResponse sourcePriceAfterCancellation(Moneys sourcePriceAfterCancellation) -
getSourcePriceAfterCancellation
Get sourcePriceAfterCancellation- Returns:
- sourcePriceAfterCancellation
-
setSourcePriceAfterCancellation
-
supplierPriceAfterCancellation
public BookingContractItemCancellableResponse supplierPriceAfterCancellation(Moneys supplierPriceAfterCancellation) -
getSupplierPriceAfterCancellation
Get supplierPriceAfterCancellation- Returns:
- supplierPriceAfterCancellation
-
setSupplierPriceAfterCancellation
-
displayPriceAfterCancellation
public BookingContractItemCancellableResponse displayPriceAfterCancellation(Moneys displayPriceAfterCancellation) -
getDisplayPriceAfterCancellation
Get displayPriceAfterCancellation- Returns:
- displayPriceAfterCancellation
-
setDisplayPriceAfterCancellation
-
internalPriceAfterCancellation
public BookingContractItemCancellableResponse internalPriceAfterCancellation(Moneys internalPriceAfterCancellation) -
getInternalPriceAfterCancellation
Get internalPriceAfterCancellation- Returns:
- internalPriceAfterCancellation
-
setInternalPriceAfterCancellation
-
equals
-
hashCode
public int hashCode() -
toString
-