Name | Type | Description | Notes |
---|---|---|---|
CancelAble | Pointer to bool | The boolean value to indicate whether an order can be cancelled. | [optional] |
NonCancellationReason | Pointer to string | The reason for the order to be non-cancelable. | [optional] |
LimitType | Pointer to CancelOrderLimitType | [optional] | |
LimitTimes | Pointer to int64 | The remaining cancellation quota for the merchant. A value is only returned when the nearest remaining cancellation limit is approaching, else it returns 0. | [optional] |
CancelReasons | Pointer to []CancelReason | An array of cancel order reasons JSON objects. | [optional] |
func NewCheckOrderCancelableResponse() *CheckOrderCancelableResponse
NewCheckOrderCancelableResponse instantiates a new CheckOrderCancelableResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCheckOrderCancelableResponseWithDefaults() *CheckOrderCancelableResponse
NewCheckOrderCancelableResponseWithDefaults instantiates a new CheckOrderCancelableResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *CheckOrderCancelableResponse) GetCancelAble() bool
GetCancelAble returns the CancelAble field if non-nil, zero value otherwise.
func (o *CheckOrderCancelableResponse) GetCancelAbleOk() (*bool, bool)
GetCancelAbleOk returns a tuple with the CancelAble field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckOrderCancelableResponse) SetCancelAble(v bool)
SetCancelAble sets CancelAble field to given value.
func (o *CheckOrderCancelableResponse) HasCancelAble() bool
HasCancelAble returns a boolean if a field has been set.
func (o *CheckOrderCancelableResponse) GetNonCancellationReason() string
GetNonCancellationReason returns the NonCancellationReason field if non-nil, zero value otherwise.
func (o *CheckOrderCancelableResponse) GetNonCancellationReasonOk() (*string, bool)
GetNonCancellationReasonOk returns a tuple with the NonCancellationReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckOrderCancelableResponse) SetNonCancellationReason(v string)
SetNonCancellationReason sets NonCancellationReason field to given value.
func (o *CheckOrderCancelableResponse) HasNonCancellationReason() bool
HasNonCancellationReason returns a boolean if a field has been set.
func (o *CheckOrderCancelableResponse) GetLimitType() CancelOrderLimitType
GetLimitType returns the LimitType field if non-nil, zero value otherwise.
func (o *CheckOrderCancelableResponse) GetLimitTypeOk() (*CancelOrderLimitType, bool)
GetLimitTypeOk returns a tuple with the LimitType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckOrderCancelableResponse) SetLimitType(v CancelOrderLimitType)
SetLimitType sets LimitType field to given value.
func (o *CheckOrderCancelableResponse) HasLimitType() bool
HasLimitType returns a boolean if a field has been set.
func (o *CheckOrderCancelableResponse) GetLimitTimes() int64
GetLimitTimes returns the LimitTimes field if non-nil, zero value otherwise.
func (o *CheckOrderCancelableResponse) GetLimitTimesOk() (*int64, bool)
GetLimitTimesOk returns a tuple with the LimitTimes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckOrderCancelableResponse) SetLimitTimes(v int64)
SetLimitTimes sets LimitTimes field to given value.
func (o *CheckOrderCancelableResponse) HasLimitTimes() bool
HasLimitTimes returns a boolean if a field has been set.
func (o *CheckOrderCancelableResponse) GetCancelReasons() []CancelReason
GetCancelReasons returns the CancelReasons field if non-nil, zero value otherwise.
func (o *CheckOrderCancelableResponse) GetCancelReasonsOk() (*[]CancelReason, bool)
GetCancelReasonsOk returns a tuple with the CancelReasons field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckOrderCancelableResponse) SetCancelReasons(v []CancelReason)
SetCancelReasons sets CancelReasons field to given value.
func (o *CheckOrderCancelableResponse) HasCancelReasons() bool
HasCancelReasons returns a boolean if a field has been set.