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="2023-03-06T15:20:29.359634909+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) displayPriceAfterRefund(Moneys 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 MoneysGet capturePrice@Valid MoneysGet displayPrice@Valid MoneysGet displayPriceAfterRefund@Valid MoneysGet internalPrice@Valid MoneysGet internalPriceAfterRefundName of item in English included in booking.@Valid SupplierContractItemPolicyGet policy@Valid MoneysGet sourcePrice@Valid MoneysGet sourcePriceAfterRefundBooking code identifying the supplier line item.@Valid MoneysGet supplierPrice@Valid MoneysGet supplierPriceAfterRefundgetType()Type of item this is.inthashCode()internalPrice(Moneys internalPrice) internalPriceAfterRefund(Moneys internalPriceAfterRefund) nameInEnglish(String nameInEnglish) policy(SupplierContractItemPolicy policy) voidsetCancellableBySupplier(Boolean cancellableBySupplier) voidsetCancellableByTraveler(Boolean cancellableByTraveler) voidsetCancellableWithCharges(Boolean cancellableWithCharges) voidsetCapturePrice(Moneys capturePrice) voidsetDisplayPrice(Moneys displayPrice) voidsetDisplayPriceAfterRefund(Moneys displayPriceAfterRefund) voidsetInternalPrice(Moneys internalPrice) voidsetInternalPriceAfterRefund(Moneys internalPriceAfterRefund) voidsetNameInEnglish(String nameInEnglish) voidsetPolicy(SupplierContractItemPolicy policy) voidsetSourcePrice(Moneys sourcePrice) voidsetSourcePriceAfterRefund(Moneys sourcePriceAfterRefund) voidsetSupplierItemBookingCode(String supplierItemBookingCode) voidsetSupplierPrice(Moneys supplierPrice) voidsetSupplierPriceAfterRefund(Moneys supplierPriceAfterRefund) voidsourcePrice(Moneys sourcePrice) sourcePriceAfterRefund(Moneys sourcePriceAfterRefund) supplierItemBookingCode(String supplierItemBookingCode) supplierPrice(Moneys supplierPrice) supplierPriceAfterRefund(Moneys 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:
-
-
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
-
getSourcePriceAfterRefund
Get sourcePriceAfterRefund- Returns:
- sourcePriceAfterRefund
-
setSourcePriceAfterRefund
-
supplierPriceAfterRefund
public BookingContractItemCancellableResponse supplierPriceAfterRefund(Moneys supplierPriceAfterRefund) -
getSupplierPriceAfterRefund
Get supplierPriceAfterRefund- Returns:
- supplierPriceAfterRefund
-
setSupplierPriceAfterRefund
-
displayPriceAfterRefund
public BookingContractItemCancellableResponse displayPriceAfterRefund(Moneys displayPriceAfterRefund) -
getDisplayPriceAfterRefund
Get displayPriceAfterRefund- Returns:
- displayPriceAfterRefund
-
setDisplayPriceAfterRefund
-
internalPriceAfterRefund
public BookingContractItemCancellableResponse internalPriceAfterRefund(Moneys internalPriceAfterRefund) -
getInternalPriceAfterRefund
Get internalPriceAfterRefund- Returns:
- internalPriceAfterRefund
-
setInternalPriceAfterRefund
-
equals
-
hashCode
public int hashCode() -
toString
-