Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 4.26 KB

UpdateSpecialHourResponse.md

File metadata and controls

129 lines (70 loc) · 4.26 KB

UpdateSpecialHourResponse

Properties

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.

Methods

NewUpdateSpecialHourResponse

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

NewUpdateSpecialHourResponseWithDefaults

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

GetErrorReasons

func (o *UpdateSpecialHourResponse) GetErrorReasons() []string

GetErrorReasons returns the ErrorReasons field if non-nil, zero value otherwise.

GetErrorReasonsOk

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.

SetErrorReasons

func (o *UpdateSpecialHourResponse) SetErrorReasons(v []string)

SetErrorReasons sets ErrorReasons field to given value.

HasErrorReasons

func (o *UpdateSpecialHourResponse) HasErrorReasons() bool

HasErrorReasons returns a boolean if a field has been set.

SetErrorReasonsNil

func (o *UpdateSpecialHourResponse) SetErrorReasonsNil(b bool)

SetErrorReasonsNil sets the value for ErrorReasons to be an explicit nil

UnsetErrorReasons

func (o *UpdateSpecialHourResponse) UnsetErrorReasons()

UnsetErrorReasons ensures that no value is present for ErrorReasons, not even an explicit nil

GetOrderCount

func (o *UpdateSpecialHourResponse) GetOrderCount() int64

GetOrderCount returns the OrderCount field if non-nil, zero value otherwise.

GetOrderCountOk

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.

SetOrderCount

func (o *UpdateSpecialHourResponse) SetOrderCount(v int64)

SetOrderCount sets OrderCount field to given value.

GetScheduledOrderCount

func (o *UpdateSpecialHourResponse) GetScheduledOrderCount() int64

GetScheduledOrderCount returns the ScheduledOrderCount field if non-nil, zero value otherwise.

GetScheduledOrderCountOk

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.

SetScheduledOrderCount

func (o *UpdateSpecialHourResponse) SetScheduledOrderCount(v int64)

SetScheduledOrderCount sets ScheduledOrderCount field to given value.

GetCloseImmediately

func (o *UpdateSpecialHourResponse) GetCloseImmediately() bool

GetCloseImmediately returns the CloseImmediately field if non-nil, zero value otherwise.

GetCloseImmediatelyOk

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.

SetCloseImmediately

func (o *UpdateSpecialHourResponse) SetCloseImmediately(v bool)

SetCloseImmediately sets CloseImmediately field to given value.

[Back to Model list] [Back to API list] [Back to README]