Class CancelBookingContractRequest
java.lang.Object
io.trippay.sdk.payment.model.CancelBookingContractRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-03-04T20:44:38.105926479+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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancellerType(CancelBookingContractRequest.CancellerTypeEnum cancellerType) booleanWho is doing the cancellation@NotNull StringReason for cancellationgetType()Type of cancellationinthashCode()voidsetCancellerType(CancelBookingContractRequest.CancellerTypeEnum cancellerType) voidvoidtoString()
-
Field Details
-
JSON_PROPERTY_CANCELLER_TYPE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
-
Constructor Details
-
CancelBookingContractRequest
public CancelBookingContractRequest()
-
-
Method Details
-
cancellerType
public CancelBookingContractRequest cancellerType(CancelBookingContractRequest.CancellerTypeEnum cancellerType) -
getCancellerType
Who is doing the cancellation- Returns:
- cancellerType
-
setCancellerType
-
type
-
getType
Type of cancellation- Returns:
- type
-
setType
-
reason
-
getReason
-
setReason
-
equals
-
hashCode
-
toString
-