Name | Type | Description | Notes |
---|---|---|---|
ErrorReasons | Pointer to []string | Error message when updating store delivery hour. `null` indicates no error. | [optional] |
OrderCount | int64 | Total active order for the day. | |
ScheduledOrderCount | int64 | Total scheduled order during store close period. | |
CloseImmediately | bool | Indicate the store status after updating special hours. |
func NewUpdateSpecialHourResponse(orderCount int64, scheduledOrderCount int64, closeImmediately bool, ) *UpdateSpecialHourResponse
NewUpdateSpecialHourResponse instantiates a new UpdateSpecialHourResponse 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 NewUpdateSpecialHourResponseWithDefaults() *UpdateSpecialHourResponse
NewUpdateSpecialHourResponseWithDefaults instantiates a new UpdateSpecialHourResponse 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 *UpdateSpecialHourResponse) GetErrorReasons() []string
GetErrorReasons returns the ErrorReasons field if non-nil, zero value otherwise.
func (o *UpdateSpecialHourResponse) GetErrorReasonsOk() (*[]string, bool)
GetErrorReasonsOk returns a tuple with the ErrorReasons field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSpecialHourResponse) SetErrorReasons(v []string)
SetErrorReasons sets ErrorReasons field to given value.
func (o *UpdateSpecialHourResponse) HasErrorReasons() bool
HasErrorReasons returns a boolean if a field has been set.
func (o *UpdateSpecialHourResponse) SetErrorReasonsNil(b bool)
SetErrorReasonsNil sets the value for ErrorReasons to be an explicit nil
func (o *UpdateSpecialHourResponse) UnsetErrorReasons()
UnsetErrorReasons ensures that no value is present for ErrorReasons, not even an explicit nil
func (o *UpdateSpecialHourResponse) GetOrderCount() int64
GetOrderCount returns the OrderCount field if non-nil, zero value otherwise.
func (o *UpdateSpecialHourResponse) GetOrderCountOk() (*int64, bool)
GetOrderCountOk returns a tuple with the OrderCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSpecialHourResponse) SetOrderCount(v int64)
SetOrderCount sets OrderCount field to given value.
func (o *UpdateSpecialHourResponse) GetScheduledOrderCount() int64
GetScheduledOrderCount returns the ScheduledOrderCount field if non-nil, zero value otherwise.
func (o *UpdateSpecialHourResponse) GetScheduledOrderCountOk() (*int64, bool)
GetScheduledOrderCountOk returns a tuple with the ScheduledOrderCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSpecialHourResponse) SetScheduledOrderCount(v int64)
SetScheduledOrderCount sets ScheduledOrderCount field to given value.
func (o *UpdateSpecialHourResponse) GetCloseImmediately() bool
GetCloseImmediately returns the CloseImmediately field if non-nil, zero value otherwise.
func (o *UpdateSpecialHourResponse) GetCloseImmediatelyOk() (*bool, bool)
GetCloseImmediatelyOk returns a tuple with the CloseImmediately field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSpecialHourResponse) SetCloseImmediately(v bool)
SetCloseImmediately sets CloseImmediately field to given value.