Name | Type | Description | Notes |
---|---|---|---|
Id | string | The category's ID that is on the partner system. This ID should be unique with a min length of 1 and max of 64. | |
Name | string | The name of the category. | |
NameTranslation | Pointer to map[string]string | Translation of the category name. Only support up to 1 translated language. Refer Menu Translation. | [optional] |
AvailableStatus | string | The status for the category. Refer to FAQs for more details about availableStatus. | |
SellingTimeID | string | The selling time's ID for the category. All items within the category will apply the same selling time unless there is another selling time specified for the item. | |
Items | []MenuItem | An array of item JSON objects. Max 300 allowed per category. Refer to Items for more information. |
func NewMenuCategory(id string, name string, availableStatus string, sellingTimeID string, items []MenuItem, ) *MenuCategory
NewMenuCategory instantiates a new MenuCategory 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 NewMenuCategoryWithDefaults() *MenuCategory
NewMenuCategoryWithDefaults instantiates a new MenuCategory 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 *MenuCategory) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *MenuCategory) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuCategory) SetId(v string)
SetId sets Id field to given value.
func (o *MenuCategory) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *MenuCategory) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuCategory) SetName(v string)
SetName sets Name field to given value.
func (o *MenuCategory) GetNameTranslation() map[string]string
GetNameTranslation returns the NameTranslation field if non-nil, zero value otherwise.
func (o *MenuCategory) GetNameTranslationOk() (*map[string]string, bool)
GetNameTranslationOk returns a tuple with the NameTranslation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuCategory) SetNameTranslation(v map[string]string)
SetNameTranslation sets NameTranslation field to given value.
func (o *MenuCategory) HasNameTranslation() bool
HasNameTranslation returns a boolean if a field has been set.
func (o *MenuCategory) GetAvailableStatus() string
GetAvailableStatus returns the AvailableStatus field if non-nil, zero value otherwise.
func (o *MenuCategory) GetAvailableStatusOk() (*string, bool)
GetAvailableStatusOk returns a tuple with the AvailableStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuCategory) SetAvailableStatus(v string)
SetAvailableStatus sets AvailableStatus field to given value.
func (o *MenuCategory) GetSellingTimeID() string
GetSellingTimeID returns the SellingTimeID field if non-nil, zero value otherwise.
func (o *MenuCategory) GetSellingTimeIDOk() (*string, bool)
GetSellingTimeIDOk returns a tuple with the SellingTimeID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuCategory) SetSellingTimeID(v string)
SetSellingTimeID sets SellingTimeID field to given value.
func (o *MenuCategory) GetItems() []MenuItem
GetItems returns the Items field if non-nil, zero value otherwise.
func (o *MenuCategory) GetItemsOk() (*[]MenuItem, bool)
GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuCategory) SetItems(v []MenuItem)
SetItems sets Items field to given value.