Name | Type | Description | Notes |
---|---|---|---|
MerchantID | Pointer to string | The merchant's ID that is in GrabFood's database. | [optional] |
PartnerMerchantID | Pointer to string | The merchant's ID that is on the partner's database. | [optional] |
Currency | Currency | ||
Sections | []MenuSection | An array of section JSON objects. Max 7 allowed. Refer to Sections for more information. |
func NewGetMenuOldResponse(currency Currency, sections []MenuSection, ) *GetMenuOldResponse
NewGetMenuOldResponse instantiates a new GetMenuOldResponse 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 NewGetMenuOldResponseWithDefaults() *GetMenuOldResponse
NewGetMenuOldResponseWithDefaults instantiates a new GetMenuOldResponse 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 *GetMenuOldResponse) GetMerchantID() string
GetMerchantID returns the MerchantID field if non-nil, zero value otherwise.
func (o *GetMenuOldResponse) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetMenuOldResponse) SetMerchantID(v string)
SetMerchantID sets MerchantID field to given value.
func (o *GetMenuOldResponse) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (o *GetMenuOldResponse) GetPartnerMerchantID() string
GetPartnerMerchantID returns the PartnerMerchantID field if non-nil, zero value otherwise.
func (o *GetMenuOldResponse) GetPartnerMerchantIDOk() (*string, bool)
GetPartnerMerchantIDOk returns a tuple with the PartnerMerchantID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetMenuOldResponse) SetPartnerMerchantID(v string)
SetPartnerMerchantID sets PartnerMerchantID field to given value.
func (o *GetMenuOldResponse) HasPartnerMerchantID() bool
HasPartnerMerchantID returns a boolean if a field has been set.
func (o *GetMenuOldResponse) GetCurrency() Currency
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *GetMenuOldResponse) GetCurrencyOk() (*Currency, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetMenuOldResponse) SetCurrency(v Currency)
SetCurrency sets Currency field to given value.
func (o *GetMenuOldResponse) GetSections() []MenuSection
GetSections returns the Sections field if non-nil, zero value otherwise.
func (o *GetMenuOldResponse) GetSectionsOk() (*[]MenuSection, bool)
GetSectionsOk returns a tuple with the Sections field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetMenuOldResponse) SetSections(v []MenuSection)
SetSections sets Sections field to given value.