Package io.trippay.sdk.payment.model
Class BookingContractItemCancellableResponse
java.lang.Object
io.trippay.sdk.payment.model.BookingContractItemCancellableResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-15T11:49:21.247312276+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 Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancellableBySupplier(Boolean cancellableBySupplier) cancellableByTraveler(Boolean cancellableByTraveler) cancellableWithCharges(Boolean cancellableWithCharges) capturePrice(CustomMonetaryAmount capturePrice) capturePriceAfterRefund(CustomMonetaryAmount capturePriceAfterRefund) displayPrice(CustomMonetaryAmount displayPrice) displayPriceAfterRefund(CustomMonetaryAmount displayPriceAfterRefund) 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 CustomMonetaryAmountGet capturePrice@Valid CustomMonetaryAmountGet capturePriceAfterRefund@Valid CustomMonetaryAmountGet displayPrice@Valid CustomMonetaryAmountGet displayPriceAfterRefund@Valid CustomMonetaryAmountGet internalPrice@Valid CustomMonetaryAmountGet internalPriceAfterRefundName of item in English included in booking.@Valid SupplierContractItemPolicyGet policy@Valid CustomMonetaryAmountGet sourcePrice@Valid CustomMonetaryAmountGet sourcePriceAfterRefundBooking code identifying the supplier line item.@Valid CustomMonetaryAmountGet supplierPrice@Valid CustomMonetaryAmountGet supplierPriceAfterRefundgetType()Type of item this is.inthashCode()internalPrice(CustomMonetaryAmount internalPrice) internalPriceAfterRefund(CustomMonetaryAmount internalPriceAfterRefund) nameInEnglish(String nameInEnglish) policy(SupplierContractItemPolicy policy) voidsetCancellableBySupplier(Boolean cancellableBySupplier) voidsetCancellableByTraveler(Boolean cancellableByTraveler) voidsetCancellableWithCharges(Boolean cancellableWithCharges) voidsetCapturePrice(CustomMonetaryAmount capturePrice) voidsetCapturePriceAfterRefund(CustomMonetaryAmount capturePriceAfterRefund) voidsetDisplayPrice(CustomMonetaryAmount displayPrice) voidsetDisplayPriceAfterRefund(CustomMonetaryAmount displayPriceAfterRefund) voidsetInternalPrice(CustomMonetaryAmount internalPrice) voidsetInternalPriceAfterRefund(CustomMonetaryAmount internalPriceAfterRefund) voidsetNameInEnglish(String nameInEnglish) voidsetPolicy(SupplierContractItemPolicy policy) voidsetSourcePrice(CustomMonetaryAmount sourcePrice) voidsetSourcePriceAfterRefund(CustomMonetaryAmount sourcePriceAfterRefund) voidsetSupplierItemBookingCode(String supplierItemBookingCode) voidsetSupplierPrice(CustomMonetaryAmount supplierPrice) voidsetSupplierPriceAfterRefund(CustomMonetaryAmount supplierPriceAfterRefund) voidsourcePrice(CustomMonetaryAmount sourcePrice) sourcePriceAfterRefund(CustomMonetaryAmount sourcePriceAfterRefund) supplierItemBookingCode(String supplierItemBookingCode) supplierPrice(CustomMonetaryAmount supplierPrice) supplierPriceAfterRefund(CustomMonetaryAmount supplierPriceAfterRefund) 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_REFUND
- See Also:
-
JSON_PROPERTY_SUPPLIER_PRICE_AFTER_REFUND
- See Also:
-
JSON_PROPERTY_DISPLAY_PRICE_AFTER_REFUND
- See Also:
-
JSON_PROPERTY_INTERNAL_PRICE_AFTER_REFUND
- See Also:
-
JSON_PROPERTY_CAPTURE_PRICE_AFTER_REFUND
- 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
-
sourcePriceAfterRefund
public BookingContractItemCancellableResponse sourcePriceAfterRefund(CustomMonetaryAmount sourcePriceAfterRefund) -
getSourcePriceAfterRefund
Get sourcePriceAfterRefund- Returns:
- sourcePriceAfterRefund
-
setSourcePriceAfterRefund
-
supplierPriceAfterRefund
public BookingContractItemCancellableResponse supplierPriceAfterRefund(CustomMonetaryAmount supplierPriceAfterRefund) -
getSupplierPriceAfterRefund
Get supplierPriceAfterRefund- Returns:
- supplierPriceAfterRefund
-
setSupplierPriceAfterRefund
-
displayPriceAfterRefund
public BookingContractItemCancellableResponse displayPriceAfterRefund(CustomMonetaryAmount displayPriceAfterRefund) -
getDisplayPriceAfterRefund
Get displayPriceAfterRefund- Returns:
- displayPriceAfterRefund
-
setDisplayPriceAfterRefund
-
internalPriceAfterRefund
public BookingContractItemCancellableResponse internalPriceAfterRefund(CustomMonetaryAmount internalPriceAfterRefund) -
getInternalPriceAfterRefund
Get internalPriceAfterRefund- Returns:
- internalPriceAfterRefund
-
setInternalPriceAfterRefund
-
capturePriceAfterRefund
public BookingContractItemCancellableResponse capturePriceAfterRefund(CustomMonetaryAmount capturePriceAfterRefund) -
getCapturePriceAfterRefund
Get capturePriceAfterRefund- Returns:
- capturePriceAfterRefund
-
setCapturePriceAfterRefund
-
equals
-
hashCode
public int hashCode() -
toString
-