Package travel.wink.sdk.payment.model
Class CancelBookingContractRequest
java.lang.Object
travel.wink.sdk.payment.model.CancelBookingContractRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-16T12:47:55.024323+07:00[Asia/Bangkok]")
public class CancelBookingContractRequest
extends Object
CancelBookingContractRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWho is doing the cancellationstatic enumType of cancellation -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCancelBookingContractRequest(CancelBookingContractRequest.CancellerTypeEnum cancellerType, CancelBookingContractRequest.TypeEnum type, String reason) -
Method Summary
-
Field Details
-
JSON_PROPERTY_CANCELLER_TYPE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
-
Constructor Details
-
CancelBookingContractRequest
public CancelBookingContractRequest() -
CancelBookingContractRequest
public CancelBookingContractRequest(CancelBookingContractRequest.CancellerTypeEnum cancellerType, CancelBookingContractRequest.TypeEnum type, String reason)
-
-
Method Details
-
getCancellerType
Who is doing the cancellation- Returns:
- cancellerType
-
getType
Type of cancellation- Returns:
- type
-
getReason
Reason for cancellation- Returns:
- reason
-
equals
-
hashCode
public int hashCode() -
toString
-