Package io.trippay.sdk.payment.model
Class CancelBookingContractRequest
java.lang.Object
io.trippay.sdk.payment.model.CancelBookingContractRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-24T07:24:28.877872362+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
Reason for cancellation- Returns:
- reason
-
setReason
-
equals
-
hashCode
public int hashCode() -
toString
-