Name | Type | Description | Notes |
---|---|---|---|
OrderID | string | The order's ID that is returned from GrabFood. Refer to FAQs for more details about orderID and shortOrderNumber. | |
Items | []EditOrderItem | Specify the array of all items in the order, including deleted, added, updated and unchanged items. | |
OnlyRecalculate | Pointer to bool | This parameter specifies whether to recalculate the edited order without submitting it. It is intended for testing purposes only. This parameter is set to false by default, which means the edited order will be recalculated and re-submitted to partners. | [optional] |
func NewEditOrderRequest(orderID string, items []EditOrderItem, ) *EditOrderRequest
NewEditOrderRequest instantiates a new EditOrderRequest 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 NewEditOrderRequestWithDefaults() *EditOrderRequest
NewEditOrderRequestWithDefaults instantiates a new EditOrderRequest 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 *EditOrderRequest) GetOrderID() string
GetOrderID returns the OrderID field if non-nil, zero value otherwise.
func (o *EditOrderRequest) GetOrderIDOk() (*string, bool)
GetOrderIDOk returns a tuple with the OrderID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EditOrderRequest) SetOrderID(v string)
SetOrderID sets OrderID field to given value.
func (o *EditOrderRequest) GetItems() []EditOrderItem
GetItems returns the Items field if non-nil, zero value otherwise.
func (o *EditOrderRequest) GetItemsOk() (*[]EditOrderItem, 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 *EditOrderRequest) SetItems(v []EditOrderItem)
SetItems sets Items field to given value.
func (o *EditOrderRequest) GetOnlyRecalculate() bool
GetOnlyRecalculate returns the OnlyRecalculate field if non-nil, zero value otherwise.
func (o *EditOrderRequest) GetOnlyRecalculateOk() (*bool, bool)
GetOnlyRecalculateOk returns a tuple with the OnlyRecalculate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EditOrderRequest) SetOnlyRecalculate(v bool)
SetOnlyRecalculate sets OnlyRecalculate field to given value.
func (o *EditOrderRequest) HasOnlyRecalculate() bool
HasOnlyRecalculate returns a boolean if a field has been set.