Documentation
¶
Index ¶
- Constants
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AcceptOrderRequest
- func (o *AcceptOrderRequest) GetOrderID() string
- func (o *AcceptOrderRequest) GetOrderIDOk() (*string, bool)
- func (o *AcceptOrderRequest) GetToState() string
- func (o *AcceptOrderRequest) GetToStateOk() (*string, bool)
- func (o AcceptOrderRequest) MarshalJSON() ([]byte, error)
- func (o *AcceptOrderRequest) SetOrderID(v string)
- func (o *AcceptOrderRequest) SetToState(v string)
- func (o AcceptOrderRequest) ToMap() (map[string]interface{}, error)
- func (o *AcceptOrderRequest) UnmarshalJSON(data []byte) (err error)
- type AcceptRejectOrderAPIService
- type Address
- func (o *Address) GetAddress() string
- func (o *Address) GetAddressOk() (*string, bool)
- func (o *Address) GetCoordinates() Coordinates
- func (o *Address) GetCoordinatesOk() (*Coordinates, bool)
- func (o *Address) GetDeliveryInstruction() string
- func (o *Address) GetDeliveryInstructionOk() (*string, bool)
- func (o *Address) GetPoiID() string
- func (o *Address) GetPoiIDOk() (*string, bool)
- func (o *Address) GetPoiSource() string
- func (o *Address) GetPoiSourceOk() (*string, bool)
- func (o *Address) GetPostcode() string
- func (o *Address) GetPostcodeOk() (*string, bool)
- func (o *Address) GetUnitNumber() string
- func (o *Address) GetUnitNumberOk() (*string, bool)
- func (o *Address) HasAddress() bool
- func (o *Address) HasCoordinates() bool
- func (o *Address) HasDeliveryInstruction() bool
- func (o *Address) HasPoiID() bool
- func (o *Address) HasPoiSource() bool
- func (o *Address) HasPostcode() bool
- func (o *Address) HasUnitNumber() bool
- func (o Address) MarshalJSON() ([]byte, error)
- func (o *Address) SetAddress(v string)
- func (o *Address) SetCoordinates(v Coordinates)
- func (o *Address) SetDeliveryInstruction(v string)
- func (o *Address) SetPoiID(v string)
- func (o *Address) SetPoiSource(v string)
- func (o *Address) SetPostcode(v string)
- func (o *Address) SetUnitNumber(v string)
- func (o Address) ToMap() (map[string]interface{}, error)
- func (o *Address) UnmarshalJSON(data []byte) (err error)
- type AdvancedPricing
- func (o *AdvancedPricing) GetDeliveryOnDemandGrabApp() int64
- func (o *AdvancedPricing) GetDeliveryOnDemandGrabAppOk() (*int64, bool)
- func (o *AdvancedPricing) GetDeliveryOnDemandStoreFront() int64
- func (o *AdvancedPricing) GetDeliveryOnDemandStoreFrontOk() (*int64, bool)
- func (o *AdvancedPricing) GetDeliveryScheduledGrabApp() int64
- func (o *AdvancedPricing) GetDeliveryScheduledGrabAppOk() (*int64, bool)
- func (o *AdvancedPricing) GetDeliveryScheduledStoreFront() int64
- func (o *AdvancedPricing) GetDeliveryScheduledStoreFrontOk() (*int64, bool)
- func (o *AdvancedPricing) GetDineInOnDemandGrabApp() int64
- func (o *AdvancedPricing) GetDineInOnDemandGrabAppOk() (*int64, bool)
- func (o *AdvancedPricing) GetSelfPickUpOnDemandGrabApp() int64
- func (o *AdvancedPricing) GetSelfPickUpOnDemandGrabAppOk() (*int64, bool)
- func (o *AdvancedPricing) GetSelfPickUpOnDemandStoreFront() int64
- func (o *AdvancedPricing) GetSelfPickUpOnDemandStoreFrontOk() (*int64, bool)
- func (o *AdvancedPricing) HasDeliveryOnDemandGrabApp() bool
- func (o *AdvancedPricing) HasDeliveryOnDemandStoreFront() bool
- func (o *AdvancedPricing) HasDeliveryScheduledGrabApp() bool
- func (o *AdvancedPricing) HasDeliveryScheduledStoreFront() bool
- func (o *AdvancedPricing) HasDineInOnDemandGrabApp() bool
- func (o *AdvancedPricing) HasSelfPickUpOnDemandGrabApp() bool
- func (o *AdvancedPricing) HasSelfPickUpOnDemandStoreFront() bool
- func (o AdvancedPricing) MarshalJSON() ([]byte, error)
- func (o *AdvancedPricing) SetDeliveryOnDemandGrabApp(v int64)
- func (o *AdvancedPricing) SetDeliveryOnDemandStoreFront(v int64)
- func (o *AdvancedPricing) SetDeliveryScheduledGrabApp(v int64)
- func (o *AdvancedPricing) SetDeliveryScheduledStoreFront(v int64)
- func (o *AdvancedPricing) SetDineInOnDemandGrabApp(v int64)
- func (o *AdvancedPricing) SetSelfPickUpOnDemandGrabApp(v int64)
- func (o *AdvancedPricing) SetSelfPickUpOnDemandStoreFront(v int64)
- func (o AdvancedPricing) ToMap() (map[string]interface{}, error)
- func (o *AdvancedPricing) UnmarshalJSON(data []byte) (err error)
- type ApiAcceptRejectOrderRequest
- func (r ApiAcceptRejectOrderRequest) AcceptOrderRequest(acceptOrderRequest AcceptOrderRequest) ApiAcceptRejectOrderRequest
- func (r ApiAcceptRejectOrderRequest) Authorization(authorization string) ApiAcceptRejectOrderRequest
- func (r ApiAcceptRejectOrderRequest) ContentType(contentType string) ApiAcceptRejectOrderRequest
- func (r ApiAcceptRejectOrderRequest) Execute() (*http.Response, error)
- type ApiBatchUpdateMenuRequest
- func (r ApiBatchUpdateMenuRequest) Authorization(authorization string) ApiBatchUpdateMenuRequest
- func (r ApiBatchUpdateMenuRequest) BatchUpdateMenuItem(batchUpdateMenuItem BatchUpdateMenuItem) ApiBatchUpdateMenuRequest
- func (r ApiBatchUpdateMenuRequest) ContentType(contentType string) ApiBatchUpdateMenuRequest
- func (r ApiBatchUpdateMenuRequest) Execute() (*BatchUpdateMenuResponse, *http.Response, error)
- type ApiCancelOrderRequest
- func (r ApiCancelOrderRequest) Authorization(authorization string) ApiCancelOrderRequest
- func (r ApiCancelOrderRequest) CancelOrderRequest(cancelOrderRequest CancelOrderRequest) ApiCancelOrderRequest
- func (r ApiCancelOrderRequest) ContentType(contentType string) ApiCancelOrderRequest
- func (r ApiCancelOrderRequest) Execute() (*CancelOrderResponse, *http.Response, error)
- type ApiCheckOrderCancelableRequest
- func (r ApiCheckOrderCancelableRequest) Authorization(authorization string) ApiCheckOrderCancelableRequest
- func (r ApiCheckOrderCancelableRequest) Execute() (*CheckOrderCancelableResponse, *http.Response, error)
- func (r ApiCheckOrderCancelableRequest) MerchantID(merchantID string) ApiCheckOrderCancelableRequest
- func (r ApiCheckOrderCancelableRequest) OrderID(orderID string) ApiCheckOrderCancelableRequest
- type ApiCreateCampaignRequest
- func (r ApiCreateCampaignRequest) Authorization(authorization string) ApiCreateCampaignRequest
- func (r ApiCreateCampaignRequest) ContentType(contentType string) ApiCreateCampaignRequest
- func (r ApiCreateCampaignRequest) CreateCampaignRequest(createCampaignRequest CreateCampaignRequest) ApiCreateCampaignRequest
- func (r ApiCreateCampaignRequest) Execute() (*CreateCampaignResponse, *http.Response, error)
- type ApiCreateSelfServeJourneyRequest
- func (r ApiCreateSelfServeJourneyRequest) Authorization(authorization string) ApiCreateSelfServeJourneyRequest
- func (r ApiCreateSelfServeJourneyRequest) ContentType(contentType string) ApiCreateSelfServeJourneyRequest
- func (r ApiCreateSelfServeJourneyRequest) CreateSelfServeJourneyRequest(createSelfServeJourneyRequest CreateSelfServeJourneyRequest) ApiCreateSelfServeJourneyRequest
- func (r ApiCreateSelfServeJourneyRequest) Execute() (*CreateSelfServeJourneyResponse, *http.Response, error)
- type ApiDeleteCampaignRequest
- type ApiEditOrderRequest
- func (r ApiEditOrderRequest) Authorization(authorization string) ApiEditOrderRequest
- func (r ApiEditOrderRequest) ContentType(contentType string) ApiEditOrderRequest
- func (r ApiEditOrderRequest) EditOrderRequest(editOrderRequest EditOrderRequest) ApiEditOrderRequest
- func (r ApiEditOrderRequest) Execute() (*http.Response, error)
- type ApiGetDineinVoucherRequest
- func (r ApiGetDineinVoucherRequest) Authorization(authorization string) ApiGetDineinVoucherRequest
- func (r ApiGetDineinVoucherRequest) CertificateID(certificateID string) ApiGetDineinVoucherRequest
- func (r ApiGetDineinVoucherRequest) Execute() (*GetDineInVoucherResponse, *http.Response, error)
- func (r ApiGetDineinVoucherRequest) MerchantID(merchantID string) ApiGetDineinVoucherRequest
- func (r ApiGetDineinVoucherRequest) VoucherCode(voucherCode string) ApiGetDineinVoucherRequest
- type ApiGetOauthGrabRequest
- type ApiGetStoreHourRequest
- type ApiGetStoreStatusRequest
- type ApiListCampaignRequest
- type ApiListOrdersRequest
- func (r ApiListOrdersRequest) Authorization(authorization string) ApiListOrdersRequest
- func (r ApiListOrdersRequest) Date(date string) ApiListOrdersRequest
- func (r ApiListOrdersRequest) Execute() (*ListOrdersResponse, *http.Response, error)
- func (r ApiListOrdersRequest) MerchantID(merchantID string) ApiListOrdersRequest
- func (r ApiListOrdersRequest) Page(page int32) ApiListOrdersRequest
- type ApiMarkOrderReadyRequest
- func (r ApiMarkOrderReadyRequest) Authorization(authorization string) ApiMarkOrderReadyRequest
- func (r ApiMarkOrderReadyRequest) ContentType(contentType string) ApiMarkOrderReadyRequest
- func (r ApiMarkOrderReadyRequest) Execute() (*http.Response, error)
- func (r ApiMarkOrderReadyRequest) MarkOrderRequest(markOrderRequest MarkOrderRequest) ApiMarkOrderReadyRequest
- type ApiNotifyMembershipWebviewRequest
- func (r ApiNotifyMembershipWebviewRequest) Authorization(authorization string) ApiNotifyMembershipWebviewRequest
- func (r ApiNotifyMembershipWebviewRequest) ContentType(contentType string) ApiNotifyMembershipWebviewRequest
- func (r ApiNotifyMembershipWebviewRequest) Execute() (*http.Response, error)
- func (r ApiNotifyMembershipWebviewRequest) NotifyMembershipWebviewRequest(notifyMembershipWebviewRequest NotifyMembershipWebviewRequest) ApiNotifyMembershipWebviewRequest
- type ApiPauseStoreRequest
- func (r ApiPauseStoreRequest) Authorization(authorization string) ApiPauseStoreRequest
- func (r ApiPauseStoreRequest) ContentType(contentType string) ApiPauseStoreRequest
- func (r ApiPauseStoreRequest) Execute() (*http.Response, error)
- func (r ApiPauseStoreRequest) PauseStoreRequest(pauseStoreRequest PauseStoreRequest) ApiPauseStoreRequest
- type ApiRedeemDineinVoucherRequest
- func (r ApiRedeemDineinVoucherRequest) Authorization(authorization string) ApiRedeemDineinVoucherRequest
- func (r ApiRedeemDineinVoucherRequest) ContentType(contentType string) ApiRedeemDineinVoucherRequest
- func (r ApiRedeemDineinVoucherRequest) Execute() (*RedeemDineInVoucherResponse, *http.Response, error)
- func (r ApiRedeemDineinVoucherRequest) RedeemDineInVoucherRequest(redeemDineInVoucherRequest RedeemDineInVoucherRequest) ApiRedeemDineinVoucherRequest
- type ApiTraceMenuSyncRequest
- type ApiUpdateCampaignRequest
- func (r ApiUpdateCampaignRequest) Authorization(authorization string) ApiUpdateCampaignRequest
- func (r ApiUpdateCampaignRequest) ContentType(contentType string) ApiUpdateCampaignRequest
- func (r ApiUpdateCampaignRequest) Execute() (*http.Response, error)
- func (r ApiUpdateCampaignRequest) UpdateCampaignRequest(updateCampaignRequest UpdateCampaignRequest) ApiUpdateCampaignRequest
- type ApiUpdateDeliveryStateRequest
- func (r ApiUpdateDeliveryStateRequest) Authorization(authorization string) ApiUpdateDeliveryStateRequest
- func (r ApiUpdateDeliveryStateRequest) ContentType(contentType string) ApiUpdateDeliveryStateRequest
- func (r ApiUpdateDeliveryStateRequest) Execute() (*http.Response, error)
- func (r ApiUpdateDeliveryStateRequest) OrderDeliveryRequest(orderDeliveryRequest OrderDeliveryRequest) ApiUpdateDeliveryStateRequest
- type ApiUpdateMenuNotificationRequest
- func (r ApiUpdateMenuNotificationRequest) Authorization(authorization string) ApiUpdateMenuNotificationRequest
- func (r ApiUpdateMenuNotificationRequest) ContentType(contentType string) ApiUpdateMenuNotificationRequest
- func (r ApiUpdateMenuNotificationRequest) Execute() (*http.Response, error)
- func (r ApiUpdateMenuNotificationRequest) UpdateMenuNotifRequest(updateMenuNotifRequest UpdateMenuNotifRequest) ApiUpdateMenuNotificationRequest
- type ApiUpdateMenuRequest
- func (r ApiUpdateMenuRequest) Authorization(authorization string) ApiUpdateMenuRequest
- func (r ApiUpdateMenuRequest) ContentType(contentType string) ApiUpdateMenuRequest
- func (r ApiUpdateMenuRequest) Execute() (*http.Response, error)
- func (r ApiUpdateMenuRequest) UpdateMenuRequest(updateMenuRequest UpdateMenuRequest) ApiUpdateMenuRequest
- type ApiUpdateOrderReadyTimeRequest
- func (r ApiUpdateOrderReadyTimeRequest) Authorization(authorization string) ApiUpdateOrderReadyTimeRequest
- func (r ApiUpdateOrderReadyTimeRequest) ContentType(contentType string) ApiUpdateOrderReadyTimeRequest
- func (r ApiUpdateOrderReadyTimeRequest) Execute() (*http.Response, error)
- func (r ApiUpdateOrderReadyTimeRequest) NewOrderTimeRequest(newOrderTimeRequest NewOrderTimeRequest) ApiUpdateOrderReadyTimeRequest
- type ApiUpdateStoreDeliveryHourRequest
- func (r ApiUpdateStoreDeliveryHourRequest) Authorization(authorization string) ApiUpdateStoreDeliveryHourRequest
- func (r ApiUpdateStoreDeliveryHourRequest) ContentType(contentType string) ApiUpdateStoreDeliveryHourRequest
- func (r ApiUpdateStoreDeliveryHourRequest) Execute() (*UpdateDeliveryHourResponse, *http.Response, error)
- func (r ApiUpdateStoreDeliveryHourRequest) UpdateDeliveryHourRequest(updateDeliveryHourRequest UpdateDeliveryHourRequest) ApiUpdateStoreDeliveryHourRequest
- type ApiUpdateStoreDineInHourRequest
- func (r ApiUpdateStoreDineInHourRequest) Authorization(authorization string) ApiUpdateStoreDineInHourRequest
- func (r ApiUpdateStoreDineInHourRequest) ContentType(contentType string) ApiUpdateStoreDineInHourRequest
- func (r ApiUpdateStoreDineInHourRequest) Execute() (*UpdateDineInHourResponse, *http.Response, error)
- func (r ApiUpdateStoreDineInHourRequest) UpdateDineInHourRequest(updateDineInHourRequest UpdateDineInHourRequest) ApiUpdateStoreDineInHourRequest
- type ApiUpdateStoreSpecialHourRequest
- func (r ApiUpdateStoreSpecialHourRequest) Authorization(authorization string) ApiUpdateStoreSpecialHourRequest
- func (r ApiUpdateStoreSpecialHourRequest) ContentType(contentType string) ApiUpdateStoreSpecialHourRequest
- func (r ApiUpdateStoreSpecialHourRequest) Execute() (*UpdateSpecialHourResponse, *http.Response, error)
- func (r ApiUpdateStoreSpecialHourRequest) UpdateSpecialHourRequest(updateSpecialHourRequest UpdateSpecialHourRequest) ApiUpdateStoreSpecialHourRequest
- type BasicAuth
- type BatchUpdateMenuItem
- func (o *BatchUpdateMenuItem) GetField() string
- func (o *BatchUpdateMenuItem) GetFieldOk() (*string, bool)
- func (o *BatchUpdateMenuItem) GetMenuEntities() []MenuEntity
- func (o *BatchUpdateMenuItem) GetMenuEntitiesOk() ([]MenuEntity, bool)
- func (o *BatchUpdateMenuItem) GetMerchantID() string
- func (o *BatchUpdateMenuItem) GetMerchantIDOk() (*string, bool)
- func (o *BatchUpdateMenuItem) HasMenuEntities() bool
- func (o BatchUpdateMenuItem) MarshalJSON() ([]byte, error)
- func (o *BatchUpdateMenuItem) SetField(v string)
- func (o *BatchUpdateMenuItem) SetMenuEntities(v []MenuEntity)
- func (o *BatchUpdateMenuItem) SetMerchantID(v string)
- func (o BatchUpdateMenuItem) ToMap() (map[string]interface{}, error)
- func (o *BatchUpdateMenuItem) UnmarshalJSON(data []byte) (err error)
- type BatchUpdateMenuResponse
- func (o *BatchUpdateMenuResponse) GetErrors() []MenuEntityError
- func (o *BatchUpdateMenuResponse) GetErrorsOk() ([]MenuEntityError, bool)
- func (o *BatchUpdateMenuResponse) GetMerchantID() string
- func (o *BatchUpdateMenuResponse) GetMerchantIDOk() (*string, bool)
- func (o *BatchUpdateMenuResponse) GetStatus() string
- func (o *BatchUpdateMenuResponse) GetStatusOk() (*string, bool)
- func (o *BatchUpdateMenuResponse) HasErrors() bool
- func (o *BatchUpdateMenuResponse) HasMerchantID() bool
- func (o *BatchUpdateMenuResponse) HasStatus() bool
- func (o BatchUpdateMenuResponse) MarshalJSON() ([]byte, error)
- func (o *BatchUpdateMenuResponse) SetErrors(v []MenuEntityError)
- func (o *BatchUpdateMenuResponse) SetMerchantID(v string)
- func (o *BatchUpdateMenuResponse) SetStatus(v string)
- func (o BatchUpdateMenuResponse) ToMap() (map[string]interface{}, error)
- func (o *BatchUpdateMenuResponse) UnmarshalJSON(data []byte) (err error)
- type BindMembershipNativeRequest
- func (o *BindMembershipNativeRequest) GetGrabID() string
- func (o *BindMembershipNativeRequest) GetGrabIDOk() (*string, bool)
- func (o *BindMembershipNativeRequest) GetPhoneNumber() string
- func (o *BindMembershipNativeRequest) GetPhoneNumberOk() (*string, bool)
- func (o *BindMembershipNativeRequest) HasPhoneNumber() bool
- func (o BindMembershipNativeRequest) MarshalJSON() ([]byte, error)
- func (o *BindMembershipNativeRequest) SetGrabID(v string)
- func (o *BindMembershipNativeRequest) SetPhoneNumber(v string)
- func (o BindMembershipNativeRequest) ToMap() (map[string]interface{}, error)
- func (o *BindMembershipNativeRequest) UnmarshalJSON(data []byte) (err error)
- type BindMembershipNativeResponse
- func (o *BindMembershipNativeResponse) GetMemberID() string
- func (o *BindMembershipNativeResponse) GetMemberIDOk() (*string, bool)
- func (o BindMembershipNativeResponse) MarshalJSON() ([]byte, error)
- func (o *BindMembershipNativeResponse) SetMemberID(v string)
- func (o BindMembershipNativeResponse) ToMap() (map[string]interface{}, error)
- func (o *BindMembershipNativeResponse) UnmarshalJSON(data []byte) (err error)
- type Campaign
- func (o *Campaign) GetConditions() CampaignConditions
- func (o *Campaign) GetConditionsOk() (*CampaignConditions, bool)
- func (o *Campaign) GetCreatedBy() string
- func (o *Campaign) GetCreatedByOk() (*string, bool)
- func (o *Campaign) GetCustomTag() string
- func (o *Campaign) GetCustomTagOk() (*string, bool)
- func (o *Campaign) GetDiscount() CampaignDiscount
- func (o *Campaign) GetDiscountOk() (*CampaignDiscount, bool)
- func (o *Campaign) GetId() string
- func (o *Campaign) GetIdOk() (*string, bool)
- func (o *Campaign) GetMerchantID() string
- func (o *Campaign) GetMerchantIDOk() (*string, bool)
- func (o *Campaign) GetName() string
- func (o *Campaign) GetNameOk() (*string, bool)
- func (o *Campaign) GetQuotas() CampaignQuotas
- func (o *Campaign) GetQuotasOk() (*CampaignQuotas, bool)
- func (o *Campaign) HasConditions() bool
- func (o *Campaign) HasCustomTag() bool
- func (o *Campaign) HasDiscount() bool
- func (o *Campaign) HasQuotas() bool
- func (o Campaign) MarshalJSON() ([]byte, error)
- func (o *Campaign) SetConditions(v CampaignConditions)
- func (o *Campaign) SetCreatedBy(v string)
- func (o *Campaign) SetCustomTag(v string)
- func (o *Campaign) SetDiscount(v CampaignDiscount)
- func (o *Campaign) SetId(v string)
- func (o *Campaign) SetMerchantID(v string)
- func (o *Campaign) SetName(v string)
- func (o *Campaign) SetQuotas(v CampaignQuotas)
- func (o Campaign) ToMap() (map[string]interface{}, error)
- func (o *Campaign) UnmarshalJSON(data []byte) (err error)
- type CampaignConditions
- func (o *CampaignConditions) GetBundleQuantity() int32
- func (o *CampaignConditions) GetBundleQuantityOk() (*int32, bool)
- func (o *CampaignConditions) GetEaterType() string
- func (o *CampaignConditions) GetEaterTypeOk() (*string, bool)
- func (o *CampaignConditions) GetEndTime() time.Time
- func (o *CampaignConditions) GetEndTimeOk() (*time.Time, bool)
- func (o *CampaignConditions) GetMinBasketAmount() float64
- func (o *CampaignConditions) GetMinBasketAmountOk() (*float64, bool)
- func (o *CampaignConditions) GetStartTime() time.Time
- func (o *CampaignConditions) GetStartTimeOk() (*time.Time, bool)
- func (o *CampaignConditions) GetWorkingHour() WorkingHour
- func (o *CampaignConditions) GetWorkingHourOk() (*WorkingHour, bool)
- func (o *CampaignConditions) HasBundleQuantity() bool
- func (o *CampaignConditions) HasMinBasketAmount() bool
- func (o *CampaignConditions) HasWorkingHour() bool
- func (o CampaignConditions) MarshalJSON() ([]byte, error)
- func (o *CampaignConditions) SetBundleQuantity(v int32)
- func (o *CampaignConditions) SetEaterType(v string)
- func (o *CampaignConditions) SetEndTime(v time.Time)
- func (o *CampaignConditions) SetMinBasketAmount(v float64)
- func (o *CampaignConditions) SetStartTime(v time.Time)
- func (o *CampaignConditions) SetWorkingHour(v WorkingHour)
- func (o CampaignConditions) ToMap() (map[string]interface{}, error)
- func (o *CampaignConditions) UnmarshalJSON(data []byte) (err error)
- type CampaignDiscount
- func (o *CampaignDiscount) GetCap() float64
- func (o *CampaignDiscount) GetCapOk() (*float64, bool)
- func (o *CampaignDiscount) GetScope() CampaignScope
- func (o *CampaignDiscount) GetScopeOk() (*CampaignScope, bool)
- func (o *CampaignDiscount) GetType() string
- func (o *CampaignDiscount) GetTypeOk() (*string, bool)
- func (o *CampaignDiscount) GetValue() float64
- func (o *CampaignDiscount) GetValueOk() (*float64, bool)
- func (o *CampaignDiscount) HasCap() bool
- func (o *CampaignDiscount) HasValue() bool
- func (o CampaignDiscount) MarshalJSON() ([]byte, error)
- func (o *CampaignDiscount) SetCap(v float64)
- func (o *CampaignDiscount) SetScope(v CampaignScope)
- func (o *CampaignDiscount) SetType(v string)
- func (o *CampaignDiscount) SetValue(v float64)
- func (o CampaignDiscount) ToMap() (map[string]interface{}, error)
- func (o *CampaignDiscount) UnmarshalJSON(data []byte) (err error)
- type CampaignQuotas
- func (o *CampaignQuotas) GetTotalCount() int64
- func (o *CampaignQuotas) GetTotalCountOk() (*int64, bool)
- func (o *CampaignQuotas) GetTotalCountPerUser() int64
- func (o *CampaignQuotas) GetTotalCountPerUserOk() (*int64, bool)
- func (o *CampaignQuotas) HasTotalCount() bool
- func (o *CampaignQuotas) HasTotalCountPerUser() bool
- func (o CampaignQuotas) MarshalJSON() ([]byte, error)
- func (o *CampaignQuotas) SetTotalCount(v int64)
- func (o *CampaignQuotas) SetTotalCountPerUser(v int64)
- func (o CampaignQuotas) ToMap() (map[string]interface{}, error)
- func (o *CampaignQuotas) UnmarshalJSON(data []byte) (err error)
- type CampaignScope
- func (o *CampaignScope) GetObjectIDs() []string
- func (o *CampaignScope) GetObjectIDsOk() ([]string, bool)
- func (o *CampaignScope) GetType() string
- func (o *CampaignScope) GetTypeOk() (*string, bool)
- func (o *CampaignScope) HasObjectIDs() bool
- func (o CampaignScope) MarshalJSON() ([]byte, error)
- func (o *CampaignScope) SetObjectIDs(v []string)
- func (o *CampaignScope) SetType(v string)
- func (o CampaignScope) ToMap() (map[string]interface{}, error)
- func (o *CampaignScope) UnmarshalJSON(data []byte) (err error)
- type CancelCode
- type CancelOrderAPIService
- type CancelOrderLimitType
- type CancelOrderRequest
- func (o *CancelOrderRequest) GetCancelCode() CancelCode
- func (o *CancelOrderRequest) GetCancelCodeOk() (*CancelCode, bool)
- func (o *CancelOrderRequest) GetMerchantID() string
- func (o *CancelOrderRequest) GetMerchantIDOk() (*string, bool)
- func (o *CancelOrderRequest) GetOrderID() string
- func (o *CancelOrderRequest) GetOrderIDOk() (*string, bool)
- func (o CancelOrderRequest) MarshalJSON() ([]byte, error)
- func (o *CancelOrderRequest) SetCancelCode(v CancelCode)
- func (o *CancelOrderRequest) SetMerchantID(v string)
- func (o *CancelOrderRequest) SetOrderID(v string)
- func (o CancelOrderRequest) ToMap() (map[string]interface{}, error)
- func (o *CancelOrderRequest) UnmarshalJSON(data []byte) (err error)
- type CancelOrderResponse
- func (o *CancelOrderResponse) GetLimitTimes() int64
- func (o *CancelOrderResponse) GetLimitTimesOk() (*int64, bool)
- func (o *CancelOrderResponse) GetLimitType() CancelOrderLimitType
- func (o *CancelOrderResponse) GetLimitTypeOk() (*CancelOrderLimitType, bool)
- func (o *CancelOrderResponse) HasLimitTimes() bool
- func (o *CancelOrderResponse) HasLimitType() bool
- func (o CancelOrderResponse) MarshalJSON() ([]byte, error)
- func (o *CancelOrderResponse) SetLimitTimes(v int64)
- func (o *CancelOrderResponse) SetLimitType(v CancelOrderLimitType)
- func (o CancelOrderResponse) ToMap() (map[string]interface{}, error)
- func (o *CancelOrderResponse) UnmarshalJSON(data []byte) (err error)
- type CancelReason
- func (o *CancelReason) GetCode() CancelCode
- func (o *CancelReason) GetCodeOk() (*CancelCode, bool)
- func (o *CancelReason) GetReason() string
- func (o *CancelReason) GetReasonOk() (*string, bool)
- func (o *CancelReason) HasCode() bool
- func (o *CancelReason) HasReason() bool
- func (o CancelReason) MarshalJSON() ([]byte, error)
- func (o *CancelReason) SetCode(v CancelCode)
- func (o *CancelReason) SetReason(v string)
- func (o CancelReason) ToMap() (map[string]interface{}, error)
- func (o *CancelReason) UnmarshalJSON(data []byte) (err error)
- type CheckOrderCancelableAPIService
- type CheckOrderCancelableResponse
- func (o *CheckOrderCancelableResponse) GetCancelAble() bool
- func (o *CheckOrderCancelableResponse) GetCancelAbleOk() (*bool, bool)
- func (o *CheckOrderCancelableResponse) GetCancelReasons() []CancelReason
- func (o *CheckOrderCancelableResponse) GetCancelReasonsOk() ([]CancelReason, bool)
- func (o *CheckOrderCancelableResponse) GetLimitTimes() int64
- func (o *CheckOrderCancelableResponse) GetLimitTimesOk() (*int64, bool)
- func (o *CheckOrderCancelableResponse) GetLimitType() CancelOrderLimitType
- func (o *CheckOrderCancelableResponse) GetLimitTypeOk() (*CancelOrderLimitType, bool)
- func (o *CheckOrderCancelableResponse) GetNonCancellationReason() string
- func (o *CheckOrderCancelableResponse) GetNonCancellationReasonOk() (*string, bool)
- func (o *CheckOrderCancelableResponse) HasCancelAble() bool
- func (o *CheckOrderCancelableResponse) HasCancelReasons() bool
- func (o *CheckOrderCancelableResponse) HasLimitTimes() bool
- func (o *CheckOrderCancelableResponse) HasLimitType() bool
- func (o *CheckOrderCancelableResponse) HasNonCancellationReason() bool
- func (o CheckOrderCancelableResponse) MarshalJSON() ([]byte, error)
- func (o *CheckOrderCancelableResponse) SetCancelAble(v bool)
- func (o *CheckOrderCancelableResponse) SetCancelReasons(v []CancelReason)
- func (o *CheckOrderCancelableResponse) SetLimitTimes(v int64)
- func (o *CheckOrderCancelableResponse) SetLimitType(v CancelOrderLimitType)
- func (o *CheckOrderCancelableResponse) SetNonCancellationReason(v string)
- func (o CheckOrderCancelableResponse) ToMap() (map[string]interface{}, error)
- func (o *CheckOrderCancelableResponse) UnmarshalJSON(data []byte) (err error)
- type Configuration
- type Coordinates
- func (o *Coordinates) GetLatitude() float64
- func (o *Coordinates) GetLatitudeOk() (*float64, bool)
- func (o *Coordinates) GetLongitude() float64
- func (o *Coordinates) GetLongitudeOk() (*float64, bool)
- func (o *Coordinates) HasLatitude() bool
- func (o *Coordinates) HasLongitude() bool
- func (o Coordinates) MarshalJSON() ([]byte, error)
- func (o *Coordinates) SetLatitude(v float64)
- func (o *Coordinates) SetLongitude(v float64)
- func (o Coordinates) ToMap() (map[string]interface{}, error)
- func (o *Coordinates) UnmarshalJSON(data []byte) (err error)
- type CreateCampaignAPIService
- type CreateCampaignRequest
- func (o *CreateCampaignRequest) GetConditions() CampaignConditions
- func (o *CreateCampaignRequest) GetConditionsOk() (*CampaignConditions, bool)
- func (o *CreateCampaignRequest) GetCustomTag() string
- func (o *CreateCampaignRequest) GetCustomTagOk() (*string, bool)
- func (o *CreateCampaignRequest) GetDiscount() CampaignDiscount
- func (o *CreateCampaignRequest) GetDiscountOk() (*CampaignDiscount, bool)
- func (o *CreateCampaignRequest) GetMerchantID() string
- func (o *CreateCampaignRequest) GetMerchantIDOk() (*string, bool)
- func (o *CreateCampaignRequest) GetName() string
- func (o *CreateCampaignRequest) GetNameOk() (*string, bool)
- func (o *CreateCampaignRequest) GetQuotas() CampaignQuotas
- func (o *CreateCampaignRequest) GetQuotasOk() (*CampaignQuotas, bool)
- func (o *CreateCampaignRequest) HasCustomTag() bool
- func (o *CreateCampaignRequest) HasQuotas() bool
- func (o CreateCampaignRequest) MarshalJSON() ([]byte, error)
- func (o *CreateCampaignRequest) SetConditions(v CampaignConditions)
- func (o *CreateCampaignRequest) SetCustomTag(v string)
- func (o *CreateCampaignRequest) SetDiscount(v CampaignDiscount)
- func (o *CreateCampaignRequest) SetMerchantID(v string)
- func (o *CreateCampaignRequest) SetName(v string)
- func (o *CreateCampaignRequest) SetQuotas(v CampaignQuotas)
- func (o CreateCampaignRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateCampaignRequest) UnmarshalJSON(data []byte) (err error)
- type CreateCampaignResponse
- func (o *CreateCampaignResponse) GetId() string
- func (o *CreateCampaignResponse) GetIdOk() (*string, bool)
- func (o *CreateCampaignResponse) HasId() bool
- func (o CreateCampaignResponse) MarshalJSON() ([]byte, error)
- func (o *CreateCampaignResponse) SetId(v string)
- func (o CreateCampaignResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateCampaignResponse) UnmarshalJSON(data []byte) (err error)
- type CreateSelfServeJourneyAPIService
- type CreateSelfServeJourneyRequest
- func (o *CreateSelfServeJourneyRequest) GetPartner() CreateSelfServeJourneyRequestPartner
- func (o *CreateSelfServeJourneyRequest) GetPartnerOk() (*CreateSelfServeJourneyRequestPartner, bool)
- func (o CreateSelfServeJourneyRequest) MarshalJSON() ([]byte, error)
- func (o *CreateSelfServeJourneyRequest) SetPartner(v CreateSelfServeJourneyRequestPartner)
- func (o CreateSelfServeJourneyRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateSelfServeJourneyRequest) UnmarshalJSON(data []byte) (err error)
- type CreateSelfServeJourneyRequestPartner
- func (o *CreateSelfServeJourneyRequestPartner) GetMerchantID() string
- func (o *CreateSelfServeJourneyRequestPartner) GetMerchantIDOk() (*string, bool)
- func (o CreateSelfServeJourneyRequestPartner) MarshalJSON() ([]byte, error)
- func (o *CreateSelfServeJourneyRequestPartner) SetMerchantID(v string)
- func (o CreateSelfServeJourneyRequestPartner) ToMap() (map[string]interface{}, error)
- func (o *CreateSelfServeJourneyRequestPartner) UnmarshalJSON(data []byte) (err error)
- type CreateSelfServeJourneyResponse
- func (o *CreateSelfServeJourneyResponse) GetActivationUrl() string
- func (o *CreateSelfServeJourneyResponse) GetActivationUrlOk() (*string, bool)
- func (o CreateSelfServeJourneyResponse) MarshalJSON() ([]byte, error)
- func (o *CreateSelfServeJourneyResponse) SetActivationUrl(v string)
- func (o CreateSelfServeJourneyResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateSelfServeJourneyResponse) UnmarshalJSON(data []byte) (err error)
- type Currency
- func (o *Currency) GetCode() string
- func (o *Currency) GetCodeOk() (*string, bool)
- func (o *Currency) GetExponent() int32
- func (o *Currency) GetExponentOk() (*int32, bool)
- func (o *Currency) GetSymbol() string
- func (o *Currency) GetSymbolOk() (*string, bool)
- func (o Currency) MarshalJSON() ([]byte, error)
- func (o *Currency) SetCode(v string)
- func (o *Currency) SetExponent(v int32)
- func (o *Currency) SetSymbol(v string)
- func (o Currency) ToMap() (map[string]interface{}, error)
- func (o *Currency) UnmarshalJSON(data []byte) (err error)
- type DeleteCampaignAPIService
- type DineIn
- func (o *DineIn) GetEaterCount() int64
- func (o *DineIn) GetEaterCountOk() (*int64, bool)
- func (o *DineIn) GetTableID() string
- func (o *DineIn) GetTableIDOk() (*string, bool)
- func (o *DineIn) HasEaterCount() bool
- func (o *DineIn) HasTableID() bool
- func (o DineIn) MarshalJSON() ([]byte, error)
- func (o *DineIn) SetEaterCount(v int64)
- func (o *DineIn) SetTableID(v string)
- func (o DineIn) ToMap() (map[string]interface{}, error)
- func (o *DineIn) UnmarshalJSON(data []byte) (err error)
- type EditOrderAPIService
- type EditOrderItem
- func (o *EditOrderItem) GetIsExternalItemID() bool
- func (o *EditOrderItem) GetIsExternalItemIDOk() (*bool, bool)
- func (o *EditOrderItem) GetItemID() string
- func (o *EditOrderItem) GetItemIDOk() (*string, bool)
- func (o *EditOrderItem) GetQuantity() int64
- func (o *EditOrderItem) GetQuantityOk() (*int64, bool)
- func (o *EditOrderItem) GetStatus() string
- func (o *EditOrderItem) GetStatusOk() (*string, bool)
- func (o *EditOrderItem) HasIsExternalItemID() bool
- func (o *EditOrderItem) HasQuantity() bool
- func (o EditOrderItem) MarshalJSON() ([]byte, error)
- func (o *EditOrderItem) SetIsExternalItemID(v bool)
- func (o *EditOrderItem) SetItemID(v string)
- func (o *EditOrderItem) SetQuantity(v int64)
- func (o *EditOrderItem) SetStatus(v string)
- func (o EditOrderItem) ToMap() (map[string]interface{}, error)
- func (o *EditOrderItem) UnmarshalJSON(data []byte) (err error)
- type EditOrderRequest
- func (o *EditOrderRequest) GetItems() []EditOrderItem
- func (o *EditOrderRequest) GetItemsOk() ([]EditOrderItem, bool)
- func (o *EditOrderRequest) GetOnlyRecalculate() bool
- func (o *EditOrderRequest) GetOnlyRecalculateOk() (*bool, bool)
- func (o *EditOrderRequest) GetOrderID() string
- func (o *EditOrderRequest) GetOrderIDOk() (*string, bool)
- func (o *EditOrderRequest) HasOnlyRecalculate() bool
- func (o EditOrderRequest) MarshalJSON() ([]byte, error)
- func (o *EditOrderRequest) SetItems(v []EditOrderItem)
- func (o *EditOrderRequest) SetOnlyRecalculate(v bool)
- func (o *EditOrderRequest) SetOrderID(v string)
- func (o EditOrderRequest) ToMap() (map[string]interface{}, error)
- func (o *EditOrderRequest) UnmarshalJSON(data []byte) (err error)
- type Error
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetReason() string
- func (o *Error) GetReasonOk() (*string, bool)
- func (o *Error) GetTarget() string
- func (o *Error) GetTargetOk() (*string, bool)
- func (o *Error) HasMessage() bool
- func (o *Error) HasReason() bool
- func (o *Error) HasTarget() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetReason(v string)
- func (o *Error) SetTarget(v string)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type GetDineInVoucherResponse
- func (o *GetDineInVoucherResponse) GetCampaignID() string
- func (o *GetDineInVoucherResponse) GetCampaignIDOk() (*string, bool)
- func (o *GetDineInVoucherResponse) GetCertificateID() string
- func (o *GetDineInVoucherResponse) GetCertificateIDOk() (*string, bool)
- func (o *GetDineInVoucherResponse) GetMerchantID() string
- func (o *GetDineInVoucherResponse) GetMerchantIDOk() (*string, bool)
- func (o *GetDineInVoucherResponse) GetVoucher() Voucher
- func (o *GetDineInVoucherResponse) GetVoucherCode() string
- func (o *GetDineInVoucherResponse) GetVoucherCodeOk() (*string, bool)
- func (o *GetDineInVoucherResponse) GetVoucherOk() (*Voucher, bool)
- func (o *GetDineInVoucherResponse) GetVoucherStatus() string
- func (o *GetDineInVoucherResponse) GetVoucherStatusOk() (*string, bool)
- func (o *GetDineInVoucherResponse) HasCampaignID() bool
- func (o *GetDineInVoucherResponse) HasCertificateID() bool
- func (o *GetDineInVoucherResponse) HasMerchantID() bool
- func (o *GetDineInVoucherResponse) HasVoucher() bool
- func (o *GetDineInVoucherResponse) HasVoucherCode() bool
- func (o *GetDineInVoucherResponse) HasVoucherStatus() bool
- func (o GetDineInVoucherResponse) MarshalJSON() ([]byte, error)
- func (o *GetDineInVoucherResponse) SetCampaignID(v string)
- func (o *GetDineInVoucherResponse) SetCertificateID(v string)
- func (o *GetDineInVoucherResponse) SetMerchantID(v string)
- func (o *GetDineInVoucherResponse) SetVoucher(v Voucher)
- func (o *GetDineInVoucherResponse) SetVoucherCode(v string)
- func (o *GetDineInVoucherResponse) SetVoucherStatus(v string)
- func (o GetDineInVoucherResponse) ToMap() (map[string]interface{}, error)
- func (o *GetDineInVoucherResponse) UnmarshalJSON(data []byte) (err error)
- type GetDineinVoucherAPIService
- type GetMembershipNativeResponse
- func (o *GetMembershipNativeResponse) GetMembershipStatus() string
- func (o *GetMembershipNativeResponse) GetMembershipStatusOk() (*string, bool)
- func (o *GetMembershipNativeResponse) GetPointInfo() GetMembershipNativeResponsePointInfo
- func (o *GetMembershipNativeResponse) GetPointInfoOk() (*GetMembershipNativeResponsePointInfo, bool)
- func (o *GetMembershipNativeResponse) GetPointsExpireDate() string
- func (o *GetMembershipNativeResponse) GetPointsExpireDateOk() (*string, bool)
- func (o *GetMembershipNativeResponse) HasMembershipStatus() bool
- func (o *GetMembershipNativeResponse) HasPointInfo() bool
- func (o *GetMembershipNativeResponse) HasPointsExpireDate() bool
- func (o GetMembershipNativeResponse) MarshalJSON() ([]byte, error)
- func (o *GetMembershipNativeResponse) SetMembershipStatus(v string)
- func (o *GetMembershipNativeResponse) SetPointInfo(v GetMembershipNativeResponsePointInfo)
- func (o *GetMembershipNativeResponse) SetPointsExpireDate(v string)
- func (o GetMembershipNativeResponse) ToMap() (map[string]interface{}, error)
- func (o *GetMembershipNativeResponse) UnmarshalJSON(data []byte) (err error)
- type GetMembershipNativeResponsePointInfo
- func (o *GetMembershipNativeResponsePointInfo) GetCurrentPoints() int64
- func (o *GetMembershipNativeResponsePointInfo) GetCurrentPointsOk() (*int64, bool)
- func (o *GetMembershipNativeResponsePointInfo) GetExpirePoints() int64
- func (o *GetMembershipNativeResponsePointInfo) GetExpirePointsOk() (*int64, bool)
- func (o *GetMembershipNativeResponsePointInfo) GetMaxPoints() int64
- func (o *GetMembershipNativeResponsePointInfo) GetMaxPointsOk() (*int64, bool)
- func (o *GetMembershipNativeResponsePointInfo) HasCurrentPoints() bool
- func (o *GetMembershipNativeResponsePointInfo) HasExpirePoints() bool
- func (o *GetMembershipNativeResponsePointInfo) HasMaxPoints() bool
- func (o GetMembershipNativeResponsePointInfo) MarshalJSON() ([]byte, error)
- func (o *GetMembershipNativeResponsePointInfo) SetCurrentPoints(v int64)
- func (o *GetMembershipNativeResponsePointInfo) SetExpirePoints(v int64)
- func (o *GetMembershipNativeResponsePointInfo) SetMaxPoints(v int64)
- func (o GetMembershipNativeResponsePointInfo) ToMap() (map[string]interface{}, error)
- func (o *GetMembershipNativeResponsePointInfo) UnmarshalJSON(data []byte) (err error)
- type GetMembershipRequest
- func (o *GetMembershipRequest) GetMemberID() string
- func (o *GetMembershipRequest) GetMemberIDOk() (*string, bool)
- func (o GetMembershipRequest) MarshalJSON() ([]byte, error)
- func (o *GetMembershipRequest) SetMemberID(v string)
- func (o GetMembershipRequest) ToMap() (map[string]interface{}, error)
- func (o *GetMembershipRequest) UnmarshalJSON(data []byte) (err error)
- type GetMembershipWebviewResponse
- func (o *GetMembershipWebviewResponse) GetMembershipStatus() string
- func (o *GetMembershipWebviewResponse) GetMembershipStatusOk() (*string, bool)
- func (o *GetMembershipWebviewResponse) HasMembershipStatus() bool
- func (o GetMembershipWebviewResponse) MarshalJSON() ([]byte, error)
- func (o *GetMembershipWebviewResponse) SetMembershipStatus(v string)
- func (o GetMembershipWebviewResponse) ToMap() (map[string]interface{}, error)
- func (o *GetMembershipWebviewResponse) UnmarshalJSON(data []byte) (err error)
- type GetMenuNewResponse
- func (o *GetMenuNewResponse) GetCategories() []MenuCategory
- func (o *GetMenuNewResponse) GetCategoriesOk() ([]MenuCategory, bool)
- func (o *GetMenuNewResponse) GetCurrency() Currency
- func (o *GetMenuNewResponse) GetCurrencyOk() (*Currency, bool)
- func (o *GetMenuNewResponse) GetMerchantID() string
- func (o *GetMenuNewResponse) GetMerchantIDOk() (*string, bool)
- func (o *GetMenuNewResponse) GetPartnerMerchantID() string
- func (o *GetMenuNewResponse) GetPartnerMerchantIDOk() (*string, bool)
- func (o *GetMenuNewResponse) GetSellingTimes() []SellingTime
- func (o *GetMenuNewResponse) GetSellingTimesOk() ([]SellingTime, bool)
- func (o *GetMenuNewResponse) HasMerchantID() bool
- func (o *GetMenuNewResponse) HasPartnerMerchantID() bool
- func (o GetMenuNewResponse) MarshalJSON() ([]byte, error)
- func (o *GetMenuNewResponse) SetCategories(v []MenuCategory)
- func (o *GetMenuNewResponse) SetCurrency(v Currency)
- func (o *GetMenuNewResponse) SetMerchantID(v string)
- func (o *GetMenuNewResponse) SetPartnerMerchantID(v string)
- func (o *GetMenuNewResponse) SetSellingTimes(v []SellingTime)
- func (o GetMenuNewResponse) ToMap() (map[string]interface{}, error)
- func (o *GetMenuNewResponse) UnmarshalJSON(data []byte) (err error)
- type GetMenuOldResponse
- func (o *GetMenuOldResponse) GetCurrency() Currency
- func (o *GetMenuOldResponse) GetCurrencyOk() (*Currency, bool)
- func (o *GetMenuOldResponse) GetMerchantID() string
- func (o *GetMenuOldResponse) GetMerchantIDOk() (*string, bool)
- func (o *GetMenuOldResponse) GetPartnerMerchantID() string
- func (o *GetMenuOldResponse) GetPartnerMerchantIDOk() (*string, bool)
- func (o *GetMenuOldResponse) GetSections() []MenuSection
- func (o *GetMenuOldResponse) GetSectionsOk() ([]MenuSection, bool)
- func (o *GetMenuOldResponse) HasMerchantID() bool
- func (o *GetMenuOldResponse) HasPartnerMerchantID() bool
- func (o GetMenuOldResponse) MarshalJSON() ([]byte, error)
- func (o *GetMenuOldResponse) SetCurrency(v Currency)
- func (o *GetMenuOldResponse) SetMerchantID(v string)
- func (o *GetMenuOldResponse) SetPartnerMerchantID(v string)
- func (o *GetMenuOldResponse) SetSections(v []MenuSection)
- func (o GetMenuOldResponse) ToMap() (map[string]interface{}, error)
- func (o *GetMenuOldResponse) UnmarshalJSON(data []byte) (err error)
- type GetOauthGrabAPIService
- type GetRewardNativeRequest
- func (o *GetRewardNativeRequest) GetItems() []RewardItem
- func (o *GetRewardNativeRequest) GetItemsOk() ([]RewardItem, bool)
- func (o *GetRewardNativeRequest) GetMemberID() string
- func (o *GetRewardNativeRequest) GetMemberIDOk() (*string, bool)
- func (o *GetRewardNativeRequest) GetMerchantID() string
- func (o *GetRewardNativeRequest) GetMerchantIDOk() (*string, bool)
- func (o *GetRewardNativeRequest) GetOrderValue() int64
- func (o *GetRewardNativeRequest) GetOrderValueOk() (*int64, bool)
- func (o *GetRewardNativeRequest) HasItems() bool
- func (o *GetRewardNativeRequest) HasMemberID() bool
- func (o *GetRewardNativeRequest) HasMerchantID() bool
- func (o *GetRewardNativeRequest) HasOrderValue() bool
- func (o GetRewardNativeRequest) MarshalJSON() ([]byte, error)
- func (o *GetRewardNativeRequest) SetItems(v []RewardItem)
- func (o *GetRewardNativeRequest) SetMemberID(v string)
- func (o *GetRewardNativeRequest) SetMerchantID(v string)
- func (o *GetRewardNativeRequest) SetOrderValue(v int64)
- func (o GetRewardNativeRequest) ToMap() (map[string]interface{}, error)
- func (o *GetRewardNativeRequest) UnmarshalJSON(data []byte) (err error)
- type GetRewardNativeResponse
- func (o *GetRewardNativeResponse) GetPoints() int64
- func (o *GetRewardNativeResponse) GetPointsOk() (*int64, bool)
- func (o GetRewardNativeResponse) MarshalJSON() ([]byte, error)
- func (o *GetRewardNativeResponse) SetPoints(v int64)
- func (o GetRewardNativeResponse) ToMap() (map[string]interface{}, error)
- func (o *GetRewardNativeResponse) UnmarshalJSON(data []byte) (err error)
- type GetStoreHourAPIService
- type GetStoreStatusAPIService
- type GrabOauthRequest
- func (o *GrabOauthRequest) GetClientId() string
- func (o *GrabOauthRequest) GetClientIdOk() (*string, bool)
- func (o *GrabOauthRequest) GetClientSecret() string
- func (o *GrabOauthRequest) GetClientSecretOk() (*string, bool)
- func (o *GrabOauthRequest) GetGrantType() string
- func (o *GrabOauthRequest) GetGrantTypeOk() (*string, bool)
- func (o *GrabOauthRequest) GetScope() string
- func (o *GrabOauthRequest) GetScopeOk() (*string, bool)
- func (o GrabOauthRequest) MarshalJSON() ([]byte, error)
- func (o *GrabOauthRequest) SetClientId(v string)
- func (o *GrabOauthRequest) SetClientSecret(v string)
- func (o *GrabOauthRequest) SetGrantType(v string)
- func (o *GrabOauthRequest) SetScope(v string)
- func (o GrabOauthRequest) ToMap() (map[string]interface{}, error)
- func (o *GrabOauthRequest) UnmarshalJSON(data []byte) (err error)
- type GrabOauthResponse
- func (o *GrabOauthResponse) GetAccessToken() string
- func (o *GrabOauthResponse) GetAccessTokenOk() (*string, bool)
- func (o *GrabOauthResponse) GetExpiresIn() int32
- func (o *GrabOauthResponse) GetExpiresInOk() (*int32, bool)
- func (o *GrabOauthResponse) GetTokenType() string
- func (o *GrabOauthResponse) GetTokenTypeOk() (*string, bool)
- func (o *GrabOauthResponse) HasAccessToken() bool
- func (o *GrabOauthResponse) HasExpiresIn() bool
- func (o *GrabOauthResponse) HasTokenType() bool
- func (o GrabOauthResponse) MarshalJSON() ([]byte, error)
- func (o *GrabOauthResponse) SetAccessToken(v string)
- func (o *GrabOauthResponse) SetExpiresIn(v int32)
- func (o *GrabOauthResponse) SetTokenType(v string)
- func (o GrabOauthResponse) ToMap() (map[string]interface{}, error)
- func (o *GrabOauthResponse) UnmarshalJSON(data []byte) (err error)
- type ListCampaignAPIService
- type ListCampaignResponse
- func (o *ListCampaignResponse) GetOngoing() []Campaign
- func (o *ListCampaignResponse) GetOngoingOk() ([]Campaign, bool)
- func (o *ListCampaignResponse) GetUpcoming() []Campaign
- func (o *ListCampaignResponse) GetUpcomingOk() ([]Campaign, bool)
- func (o *ListCampaignResponse) HasOngoing() bool
- func (o *ListCampaignResponse) HasUpcoming() bool
- func (o ListCampaignResponse) MarshalJSON() ([]byte, error)
- func (o *ListCampaignResponse) SetOngoing(v []Campaign)
- func (o *ListCampaignResponse) SetUpcoming(v []Campaign)
- func (o ListCampaignResponse) ToMap() (map[string]interface{}, error)
- func (o *ListCampaignResponse) UnmarshalJSON(data []byte) (err error)
- type ListOrdersAPIService
- type ListOrdersResponse
- func (o *ListOrdersResponse) GetMore() bool
- func (o *ListOrdersResponse) GetMoreOk() (*bool, bool)
- func (o *ListOrdersResponse) GetOrders() []Order
- func (o *ListOrdersResponse) GetOrdersOk() ([]Order, bool)
- func (o *ListOrdersResponse) HasMore() bool
- func (o *ListOrdersResponse) HasOrders() bool
- func (o ListOrdersResponse) MarshalJSON() ([]byte, error)
- func (o *ListOrdersResponse) SetMore(v bool)
- func (o *ListOrdersResponse) SetOrders(v []Order)
- func (o ListOrdersResponse) ToMap() (map[string]interface{}, error)
- func (o *ListOrdersResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type MarkOrderReadyAPIService
- type MarkOrderRequest
- func (o *MarkOrderRequest) GetMarkStatus() int32
- func (o *MarkOrderRequest) GetMarkStatusOk() (*int32, bool)
- func (o *MarkOrderRequest) GetOrderID() string
- func (o *MarkOrderRequest) GetOrderIDOk() (*string, bool)
- func (o MarkOrderRequest) MarshalJSON() ([]byte, error)
- func (o *MarkOrderRequest) SetMarkStatus(v int32)
- func (o *MarkOrderRequest) SetOrderID(v string)
- func (o MarkOrderRequest) ToMap() (map[string]interface{}, error)
- func (o *MarkOrderRequest) UnmarshalJSON(data []byte) (err error)
- type MenuCategory
- func (o *MenuCategory) GetAvailableStatus() string
- func (o *MenuCategory) GetAvailableStatusOk() (*string, bool)
- func (o *MenuCategory) GetId() string
- func (o *MenuCategory) GetIdOk() (*string, bool)
- func (o *MenuCategory) GetItems() []MenuItem
- func (o *MenuCategory) GetItemsOk() ([]MenuItem, bool)
- func (o *MenuCategory) GetName() string
- func (o *MenuCategory) GetNameOk() (*string, bool)
- func (o *MenuCategory) GetNameTranslation() map[string]string
- func (o *MenuCategory) GetNameTranslationOk() (*map[string]string, bool)
- func (o *MenuCategory) GetSellingTimeID() string
- func (o *MenuCategory) GetSellingTimeIDOk() (*string, bool)
- func (o *MenuCategory) GetSequence() int32
- func (o *MenuCategory) GetSequenceOk() (*int32, bool)
- func (o *MenuCategory) HasNameTranslation() bool
- func (o *MenuCategory) HasSequence() bool
- func (o MenuCategory) MarshalJSON() ([]byte, error)
- func (o *MenuCategory) SetAvailableStatus(v string)
- func (o *MenuCategory) SetId(v string)
- func (o *MenuCategory) SetItems(v []MenuItem)
- func (o *MenuCategory) SetName(v string)
- func (o *MenuCategory) SetNameTranslation(v map[string]string)
- func (o *MenuCategory) SetSellingTimeID(v string)
- func (o *MenuCategory) SetSequence(v int32)
- func (o MenuCategory) ToMap() (map[string]interface{}, error)
- func (o *MenuCategory) UnmarshalJSON(data []byte) (err error)
- type MenuEntity
- func (o *MenuEntity) GetAdvancedPricings() []UpdateAdvancedPricing
- func (o *MenuEntity) GetAdvancedPricingsOk() ([]UpdateAdvancedPricing, bool)
- func (o *MenuEntity) GetAvailableStatus() string
- func (o *MenuEntity) GetAvailableStatusOk() (*string, bool)
- func (o *MenuEntity) GetId() string
- func (o *MenuEntity) GetIdOk() (*string, bool)
- func (o *MenuEntity) GetMaxStock() int64
- func (o *MenuEntity) GetMaxStockOk() (*int64, bool)
- func (o *MenuEntity) GetPrice() int64
- func (o *MenuEntity) GetPriceOk() (*int64, bool)
- func (o *MenuEntity) GetPurchasabilities() []UpdatePurchasability
- func (o *MenuEntity) GetPurchasabilitiesOk() ([]UpdatePurchasability, bool)
- func (o *MenuEntity) HasAdvancedPricings() bool
- func (o *MenuEntity) HasAvailableStatus() bool
- func (o *MenuEntity) HasId() bool
- func (o *MenuEntity) HasMaxStock() bool
- func (o *MenuEntity) HasPrice() bool
- func (o *MenuEntity) HasPurchasabilities() bool
- func (o MenuEntity) MarshalJSON() ([]byte, error)
- func (o *MenuEntity) SetAdvancedPricings(v []UpdateAdvancedPricing)
- func (o *MenuEntity) SetAvailableStatus(v string)
- func (o *MenuEntity) SetId(v string)
- func (o *MenuEntity) SetMaxStock(v int64)
- func (o *MenuEntity) SetPrice(v int64)
- func (o *MenuEntity) SetPurchasabilities(v []UpdatePurchasability)
- func (o MenuEntity) ToMap() (map[string]interface{}, error)
- func (o *MenuEntity) UnmarshalJSON(data []byte) (err error)
- type MenuEntityError
- func (o *MenuEntityError) GetEntityID() string
- func (o *MenuEntityError) GetEntityIDOk() (*string, bool)
- func (o *MenuEntityError) GetErrMsg() string
- func (o *MenuEntityError) GetErrMsgOk() (*string, bool)
- func (o *MenuEntityError) HasEntityID() bool
- func (o *MenuEntityError) HasErrMsg() bool
- func (o MenuEntityError) MarshalJSON() ([]byte, error)
- func (o *MenuEntityError) SetEntityID(v string)
- func (o *MenuEntityError) SetErrMsg(v string)
- func (o MenuEntityError) ToMap() (map[string]interface{}, error)
- func (o *MenuEntityError) UnmarshalJSON(data []byte) (err error)
- type MenuItem
- func (o *MenuItem) GetAdvancedPricing() AdvancedPricing
- func (o *MenuItem) GetAdvancedPricingOk() (*AdvancedPricing, bool)
- func (o *MenuItem) GetAvailableStatus() string
- func (o *MenuItem) GetAvailableStatusOk() (*string, bool)
- func (o *MenuItem) GetBarcode() string
- func (o *MenuItem) GetBarcodeOk() (*string, bool)
- func (o *MenuItem) GetDescription() string
- func (o *MenuItem) GetDescriptionOk() (*string, bool)
- func (o *MenuItem) GetDescriptionTranslation() map[string]string
- func (o *MenuItem) GetDescriptionTranslationOk() (*map[string]string, bool)
- func (o *MenuItem) GetId() string
- func (o *MenuItem) GetIdOk() (*string, bool)
- func (o *MenuItem) GetMaxStock() int64
- func (o *MenuItem) GetMaxStockOk() (*int64, bool)
- func (o *MenuItem) GetModifierGroups() []ModifierGroup
- func (o *MenuItem) GetModifierGroupsOk() ([]ModifierGroup, bool)
- func (o *MenuItem) GetName() string
- func (o *MenuItem) GetNameOk() (*string, bool)
- func (o *MenuItem) GetNameTranslation() map[string]string
- func (o *MenuItem) GetNameTranslationOk() (*map[string]string, bool)
- func (o *MenuItem) GetPhotos() []string
- func (o *MenuItem) GetPhotosOk() ([]string, bool)
- func (o *MenuItem) GetPrice() int64
- func (o *MenuItem) GetPriceOk() (*int64, bool)
- func (o *MenuItem) GetPurchasability() Purchasability
- func (o *MenuItem) GetPurchasabilityOk() (*Purchasability, bool)
- func (o *MenuItem) GetSellingTimeID() string
- func (o *MenuItem) GetSellingTimeIDOk() (*string, bool)
- func (o *MenuItem) GetSequence() int32
- func (o *MenuItem) GetSequenceOk() (*int32, bool)
- func (o *MenuItem) GetSpecialType() string
- func (o *MenuItem) GetSpecialTypeOk() (*string, bool)
- func (o *MenuItem) GetTaxable() bool
- func (o *MenuItem) GetTaxableOk() (*bool, bool)
- func (o *MenuItem) HasAdvancedPricing() bool
- func (o *MenuItem) HasBarcode() bool
- func (o *MenuItem) HasDescription() bool
- func (o *MenuItem) HasDescriptionTranslation() bool
- func (o *MenuItem) HasMaxStock() bool
- func (o *MenuItem) HasModifierGroups() bool
- func (o *MenuItem) HasNameTranslation() bool
- func (o *MenuItem) HasPhotos() bool
- func (o *MenuItem) HasPurchasability() bool
- func (o *MenuItem) HasSellingTimeID() bool
- func (o *MenuItem) HasSequence() bool
- func (o *MenuItem) HasSpecialType() bool
- func (o *MenuItem) HasTaxable() bool
- func (o MenuItem) MarshalJSON() ([]byte, error)
- func (o *MenuItem) SetAdvancedPricing(v AdvancedPricing)
- func (o *MenuItem) SetAvailableStatus(v string)
- func (o *MenuItem) SetBarcode(v string)
- func (o *MenuItem) SetDescription(v string)
- func (o *MenuItem) SetDescriptionTranslation(v map[string]string)
- func (o *MenuItem) SetId(v string)
- func (o *MenuItem) SetMaxStock(v int64)
- func (o *MenuItem) SetModifierGroups(v []ModifierGroup)
- func (o *MenuItem) SetName(v string)
- func (o *MenuItem) SetNameTranslation(v map[string]string)
- func (o *MenuItem) SetPhotos(v []string)
- func (o *MenuItem) SetPrice(v int64)
- func (o *MenuItem) SetPurchasability(v Purchasability)
- func (o *MenuItem) SetSellingTimeID(v string)
- func (o *MenuItem) SetSequence(v int32)
- func (o *MenuItem) SetSpecialType(v string)
- func (o *MenuItem) SetTaxable(v bool)
- func (o MenuItem) ToMap() (map[string]interface{}, error)
- func (o *MenuItem) UnmarshalJSON(data []byte) (err error)
- type MenuModifier
- func (o *MenuModifier) GetAdvancedPricing() AdvancedPricing
- func (o *MenuModifier) GetAdvancedPricingOk() (*AdvancedPricing, bool)
- func (o *MenuModifier) GetAvailableStatus() string
- func (o *MenuModifier) GetAvailableStatusOk() (*string, bool)
- func (o *MenuModifier) GetBarcode() string
- func (o *MenuModifier) GetBarcodeOk() (*string, bool)
- func (o *MenuModifier) GetId() string
- func (o *MenuModifier) GetIdOk() (*string, bool)
- func (o *MenuModifier) GetName() string
- func (o *MenuModifier) GetNameOk() (*string, bool)
- func (o *MenuModifier) GetNameTranslation() map[string]string
- func (o *MenuModifier) GetNameTranslationOk() (*map[string]string, bool)
- func (o *MenuModifier) GetPrice() int64
- func (o *MenuModifier) GetPriceOk() (*int64, bool)
- func (o *MenuModifier) GetSequence() int32
- func (o *MenuModifier) GetSequenceOk() (*int32, bool)
- func (o *MenuModifier) HasAdvancedPricing() bool
- func (o *MenuModifier) HasBarcode() bool
- func (o *MenuModifier) HasNameTranslation() bool
- func (o *MenuModifier) HasPrice() bool
- func (o *MenuModifier) HasSequence() bool
- func (o MenuModifier) MarshalJSON() ([]byte, error)
- func (o *MenuModifier) SetAdvancedPricing(v AdvancedPricing)
- func (o *MenuModifier) SetAvailableStatus(v string)
- func (o *MenuModifier) SetBarcode(v string)
- func (o *MenuModifier) SetId(v string)
- func (o *MenuModifier) SetName(v string)
- func (o *MenuModifier) SetNameTranslation(v map[string]string)
- func (o *MenuModifier) SetPrice(v int64)
- func (o *MenuModifier) SetSequence(v int32)
- func (o MenuModifier) ToMap() (map[string]interface{}, error)
- func (o *MenuModifier) UnmarshalJSON(data []byte) (err error)
- type MenuSection
- func (o *MenuSection) GetCategories() []MenuSectionCategory
- func (o *MenuSection) GetCategoriesOk() ([]MenuSectionCategory, bool)
- func (o *MenuSection) GetId() string
- func (o *MenuSection) GetIdOk() (*string, bool)
- func (o *MenuSection) GetName() string
- func (o *MenuSection) GetNameOk() (*string, bool)
- func (o *MenuSection) GetServiceHours() ServiceHours
- func (o *MenuSection) GetServiceHoursOk() (*ServiceHours, bool)
- func (o MenuSection) MarshalJSON() ([]byte, error)
- func (o *MenuSection) SetCategories(v []MenuSectionCategory)
- func (o *MenuSection) SetId(v string)
- func (o *MenuSection) SetName(v string)
- func (o *MenuSection) SetServiceHours(v ServiceHours)
- func (o MenuSection) ToMap() (map[string]interface{}, error)
- func (o *MenuSection) UnmarshalJSON(data []byte) (err error)
- type MenuSectionCategory
- func (o *MenuSectionCategory) GetAvailableStatus() string
- func (o *MenuSectionCategory) GetAvailableStatusOk() (*string, bool)
- func (o *MenuSectionCategory) GetId() string
- func (o *MenuSectionCategory) GetIdOk() (*string, bool)
- func (o *MenuSectionCategory) GetItems() []MenuSectionCategoryItem
- func (o *MenuSectionCategory) GetItemsOk() ([]MenuSectionCategoryItem, bool)
- func (o *MenuSectionCategory) GetName() string
- func (o *MenuSectionCategory) GetNameOk() (*string, bool)
- func (o *MenuSectionCategory) GetNameTranslation() map[string]string
- func (o *MenuSectionCategory) GetNameTranslationOk() (*map[string]string, bool)
- func (o *MenuSectionCategory) HasNameTranslation() bool
- func (o MenuSectionCategory) MarshalJSON() ([]byte, error)
- func (o *MenuSectionCategory) SetAvailableStatus(v string)
- func (o *MenuSectionCategory) SetId(v string)
- func (o *MenuSectionCategory) SetItems(v []MenuSectionCategoryItem)
- func (o *MenuSectionCategory) SetName(v string)
- func (o *MenuSectionCategory) SetNameTranslation(v map[string]string)
- func (o MenuSectionCategory) ToMap() (map[string]interface{}, error)
- func (o *MenuSectionCategory) UnmarshalJSON(data []byte) (err error)
- type MenuSectionCategoryItem
- func (o *MenuSectionCategoryItem) GetAdvancedPricing() AdvancedPricing
- func (o *MenuSectionCategoryItem) GetAdvancedPricingOk() (*AdvancedPricing, bool)
- func (o *MenuSectionCategoryItem) GetAvailableStatus() string
- func (o *MenuSectionCategoryItem) GetAvailableStatusOk() (*string, bool)
- func (o *MenuSectionCategoryItem) GetBarcode() string
- func (o *MenuSectionCategoryItem) GetBarcodeOk() (*string, bool)
- func (o *MenuSectionCategoryItem) GetDescription() string
- func (o *MenuSectionCategoryItem) GetDescriptionOk() (*string, bool)
- func (o *MenuSectionCategoryItem) GetDescriptionTranslation() map[string]string
- func (o *MenuSectionCategoryItem) GetDescriptionTranslationOk() (*map[string]string, bool)
- func (o *MenuSectionCategoryItem) GetId() string
- func (o *MenuSectionCategoryItem) GetIdOk() (*string, bool)
- func (o *MenuSectionCategoryItem) GetMaxStock() int32
- func (o *MenuSectionCategoryItem) GetMaxStockOk() (*int32, bool)
- func (o *MenuSectionCategoryItem) GetModifierGroups() []ModifierGroup
- func (o *MenuSectionCategoryItem) GetModifierGroupsOk() ([]ModifierGroup, bool)
- func (o *MenuSectionCategoryItem) GetName() string
- func (o *MenuSectionCategoryItem) GetNameOk() (*string, bool)
- func (o *MenuSectionCategoryItem) GetNameTranslation() map[string]string
- func (o *MenuSectionCategoryItem) GetNameTranslationOk() (*map[string]string, bool)
- func (o *MenuSectionCategoryItem) GetPhotos() []string
- func (o *MenuSectionCategoryItem) GetPhotosOk() ([]string, bool)
- func (o *MenuSectionCategoryItem) GetPrice() int32
- func (o *MenuSectionCategoryItem) GetPriceOk() (*int32, bool)
- func (o *MenuSectionCategoryItem) GetPurchasability() Purchasability
- func (o *MenuSectionCategoryItem) GetPurchasabilityOk() (*Purchasability, bool)
- func (o *MenuSectionCategoryItem) GetSpecialType() string
- func (o *MenuSectionCategoryItem) GetSpecialTypeOk() (*string, bool)
- func (o *MenuSectionCategoryItem) GetTaxable() bool
- func (o *MenuSectionCategoryItem) GetTaxableOk() (*bool, bool)
- func (o *MenuSectionCategoryItem) HasAdvancedPricing() bool
- func (o *MenuSectionCategoryItem) HasBarcode() bool
- func (o *MenuSectionCategoryItem) HasDescription() bool
- func (o *MenuSectionCategoryItem) HasDescriptionTranslation() bool
- func (o *MenuSectionCategoryItem) HasMaxStock() bool
- func (o *MenuSectionCategoryItem) HasModifierGroups() bool
- func (o *MenuSectionCategoryItem) HasNameTranslation() bool
- func (o *MenuSectionCategoryItem) HasPhotos() bool
- func (o *MenuSectionCategoryItem) HasPurchasability() bool
- func (o *MenuSectionCategoryItem) HasSpecialType() bool
- func (o *MenuSectionCategoryItem) HasTaxable() bool
- func (o MenuSectionCategoryItem) MarshalJSON() ([]byte, error)
- func (o *MenuSectionCategoryItem) SetAdvancedPricing(v AdvancedPricing)
- func (o *MenuSectionCategoryItem) SetAvailableStatus(v string)
- func (o *MenuSectionCategoryItem) SetBarcode(v string)
- func (o *MenuSectionCategoryItem) SetDescription(v string)
- func (o *MenuSectionCategoryItem) SetDescriptionTranslation(v map[string]string)
- func (o *MenuSectionCategoryItem) SetId(v string)
- func (o *MenuSectionCategoryItem) SetMaxStock(v int32)
- func (o *MenuSectionCategoryItem) SetModifierGroups(v []ModifierGroup)
- func (o *MenuSectionCategoryItem) SetName(v string)
- func (o *MenuSectionCategoryItem) SetNameTranslation(v map[string]string)
- func (o *MenuSectionCategoryItem) SetPhotos(v []string)
- func (o *MenuSectionCategoryItem) SetPrice(v int32)
- func (o *MenuSectionCategoryItem) SetPurchasability(v Purchasability)
- func (o *MenuSectionCategoryItem) SetSpecialType(v string)
- func (o *MenuSectionCategoryItem) SetTaxable(v bool)
- func (o MenuSectionCategoryItem) ToMap() (map[string]interface{}, error)
- func (o *MenuSectionCategoryItem) UnmarshalJSON(data []byte) (err error)
- type MenuSyncFail
- func (o *MenuSyncFail) GetCategories() []MenuSyncFailCategory
- func (o *MenuSyncFail) GetCategoriesOk() ([]MenuSyncFailCategory, bool)
- func (o *MenuSyncFail) GetErrors() []string
- func (o *MenuSyncFail) GetErrorsOk() ([]string, bool)
- func (o *MenuSyncFail) GetId() string
- func (o *MenuSyncFail) GetIdOk() (*string, bool)
- func (o *MenuSyncFail) GetServiceHours() MenuSyncFailServiceHours
- func (o *MenuSyncFail) GetServiceHoursOk() (*MenuSyncFailServiceHours, bool)
- func (o *MenuSyncFail) HasCategories() bool
- func (o *MenuSyncFail) HasErrors() bool
- func (o *MenuSyncFail) HasId() bool
- func (o *MenuSyncFail) HasServiceHours() bool
- func (o MenuSyncFail) MarshalJSON() ([]byte, error)
- func (o *MenuSyncFail) SetCategories(v []MenuSyncFailCategory)
- func (o *MenuSyncFail) SetErrors(v []string)
- func (o *MenuSyncFail) SetId(v string)
- func (o *MenuSyncFail) SetServiceHours(v MenuSyncFailServiceHours)
- func (o MenuSyncFail) ToMap() (map[string]interface{}, error)
- func (o *MenuSyncFail) UnmarshalJSON(data []byte) (err error)
- type MenuSyncFailCategory
- func (o *MenuSyncFailCategory) GetErrors() []string
- func (o *MenuSyncFailCategory) GetErrorsOk() ([]string, bool)
- func (o *MenuSyncFailCategory) GetId() string
- func (o *MenuSyncFailCategory) GetIdOk() (*string, bool)
- func (o *MenuSyncFailCategory) GetItems() []MenuSyncFailItem
- func (o *MenuSyncFailCategory) GetItemsOk() ([]MenuSyncFailItem, bool)
- func (o *MenuSyncFailCategory) HasErrors() bool
- func (o *MenuSyncFailCategory) HasId() bool
- func (o *MenuSyncFailCategory) HasItems() bool
- func (o MenuSyncFailCategory) MarshalJSON() ([]byte, error)
- func (o *MenuSyncFailCategory) SetErrors(v []string)
- func (o *MenuSyncFailCategory) SetId(v string)
- func (o *MenuSyncFailCategory) SetItems(v []MenuSyncFailItem)
- func (o MenuSyncFailCategory) ToMap() (map[string]interface{}, error)
- func (o *MenuSyncFailCategory) UnmarshalJSON(data []byte) (err error)
- type MenuSyncFailItem
- func (o *MenuSyncFailItem) GetErrors() []string
- func (o *MenuSyncFailItem) GetErrorsOk() ([]string, bool)
- func (o *MenuSyncFailItem) GetId() string
- func (o *MenuSyncFailItem) GetIdOk() (*string, bool)
- func (o *MenuSyncFailItem) GetModifierGroups() []MenuSyncFailModifierGroup
- func (o *MenuSyncFailItem) GetModifierGroupsOk() ([]MenuSyncFailModifierGroup, bool)
- func (o *MenuSyncFailItem) HasErrors() bool
- func (o *MenuSyncFailItem) HasId() bool
- func (o *MenuSyncFailItem) HasModifierGroups() bool
- func (o MenuSyncFailItem) MarshalJSON() ([]byte, error)
- func (o *MenuSyncFailItem) SetErrors(v []string)
- func (o *MenuSyncFailItem) SetId(v string)
- func (o *MenuSyncFailItem) SetModifierGroups(v []MenuSyncFailModifierGroup)
- func (o MenuSyncFailItem) ToMap() (map[string]interface{}, error)
- func (o *MenuSyncFailItem) UnmarshalJSON(data []byte) (err error)
- type MenuSyncFailModifier
- func (o *MenuSyncFailModifier) GetErrors() []string
- func (o *MenuSyncFailModifier) GetErrorsOk() ([]string, bool)
- func (o *MenuSyncFailModifier) GetId() string
- func (o *MenuSyncFailModifier) GetIdOk() (*string, bool)
- func (o *MenuSyncFailModifier) HasErrors() bool
- func (o *MenuSyncFailModifier) HasId() bool
- func (o MenuSyncFailModifier) MarshalJSON() ([]byte, error)
- func (o *MenuSyncFailModifier) SetErrors(v []string)
- func (o *MenuSyncFailModifier) SetId(v string)
- func (o MenuSyncFailModifier) ToMap() (map[string]interface{}, error)
- func (o *MenuSyncFailModifier) UnmarshalJSON(data []byte) (err error)
- type MenuSyncFailModifierGroup
- func (o *MenuSyncFailModifierGroup) GetErrors() []string
- func (o *MenuSyncFailModifierGroup) GetErrorsOk() ([]string, bool)
- func (o *MenuSyncFailModifierGroup) GetId() string
- func (o *MenuSyncFailModifierGroup) GetIdOk() (*string, bool)
- func (o *MenuSyncFailModifierGroup) GetModifiers() []MenuSyncFailModifier
- func (o *MenuSyncFailModifierGroup) GetModifiersOk() ([]MenuSyncFailModifier, bool)
- func (o *MenuSyncFailModifierGroup) HasErrors() bool
- func (o *MenuSyncFailModifierGroup) HasId() bool
- func (o *MenuSyncFailModifierGroup) HasModifiers() bool
- func (o MenuSyncFailModifierGroup) MarshalJSON() ([]byte, error)
- func (o *MenuSyncFailModifierGroup) SetErrors(v []string)
- func (o *MenuSyncFailModifierGroup) SetId(v string)
- func (o *MenuSyncFailModifierGroup) SetModifiers(v []MenuSyncFailModifier)
- func (o MenuSyncFailModifierGroup) ToMap() (map[string]interface{}, error)
- func (o *MenuSyncFailModifierGroup) UnmarshalJSON(data []byte) (err error)
- type MenuSyncFailServiceHours
- func (o *MenuSyncFailServiceHours) GetErrors() []string
- func (o *MenuSyncFailServiceHours) GetErrorsOk() ([]string, bool)
- func (o *MenuSyncFailServiceHours) HasErrors() bool
- func (o MenuSyncFailServiceHours) MarshalJSON() ([]byte, error)
- func (o *MenuSyncFailServiceHours) SetErrors(v []string)
- func (o MenuSyncFailServiceHours) ToMap() (map[string]interface{}, error)
- func (o *MenuSyncFailServiceHours) UnmarshalJSON(data []byte) (err error)
- type MenuSyncResponse
- func (o *MenuSyncResponse) GetCode() string
- func (o *MenuSyncResponse) GetCodeOk() (*string, bool)
- func (o *MenuSyncResponse) GetCreatedTime() time.Time
- func (o *MenuSyncResponse) GetCreatedTimeOk() (*time.Time, bool)
- func (o *MenuSyncResponse) GetErrors() []string
- func (o *MenuSyncResponse) GetErrorsOk() ([]string, bool)
- func (o *MenuSyncResponse) GetSections() []MenuSyncFail
- func (o *MenuSyncResponse) GetSectionsOk() ([]MenuSyncFail, bool)
- func (o *MenuSyncResponse) GetUpdatedTime() time.Time
- func (o *MenuSyncResponse) GetUpdatedTimeOk() (*time.Time, bool)
- func (o *MenuSyncResponse) HasErrors() bool
- func (o *MenuSyncResponse) HasSections() bool
- func (o MenuSyncResponse) MarshalJSON() ([]byte, error)
- func (o *MenuSyncResponse) SetCode(v string)
- func (o *MenuSyncResponse) SetCreatedTime(v time.Time)
- func (o *MenuSyncResponse) SetErrors(v []string)
- func (o *MenuSyncResponse) SetSections(v []MenuSyncFail)
- func (o *MenuSyncResponse) SetUpdatedTime(v time.Time)
- func (o MenuSyncResponse) ToMap() (map[string]interface{}, error)
- func (o *MenuSyncResponse) UnmarshalJSON(data []byte) (err error)
- type MenuSyncWebhookRequest
- func (o *MenuSyncWebhookRequest) GetErrors() []string
- func (o *MenuSyncWebhookRequest) GetErrorsOk() ([]string, bool)
- func (o *MenuSyncWebhookRequest) GetJobID() string
- func (o *MenuSyncWebhookRequest) GetJobIDOk() (*string, bool)
- func (o *MenuSyncWebhookRequest) GetMerchantID() string
- func (o *MenuSyncWebhookRequest) GetMerchantIDOk() (*string, bool)
- func (o *MenuSyncWebhookRequest) GetPartnerMerchantID() string
- func (o *MenuSyncWebhookRequest) GetPartnerMerchantIDOk() (*string, bool)
- func (o *MenuSyncWebhookRequest) GetRequestID() string
- func (o *MenuSyncWebhookRequest) GetRequestIDOk() (*string, bool)
- func (o *MenuSyncWebhookRequest) GetStatus() string
- func (o *MenuSyncWebhookRequest) GetStatusOk() (*string, bool)
- func (o *MenuSyncWebhookRequest) GetUpdatedAt() string
- func (o *MenuSyncWebhookRequest) GetUpdatedAtOk() (*string, bool)
- func (o *MenuSyncWebhookRequest) HasErrors() bool
- func (o *MenuSyncWebhookRequest) HasJobID() bool
- func (o *MenuSyncWebhookRequest) HasMerchantID() bool
- func (o *MenuSyncWebhookRequest) HasPartnerMerchantID() bool
- func (o *MenuSyncWebhookRequest) HasRequestID() bool
- func (o *MenuSyncWebhookRequest) HasStatus() bool
- func (o *MenuSyncWebhookRequest) HasUpdatedAt() bool
- func (o MenuSyncWebhookRequest) MarshalJSON() ([]byte, error)
- func (o *MenuSyncWebhookRequest) SetErrors(v []string)
- func (o *MenuSyncWebhookRequest) SetJobID(v string)
- func (o *MenuSyncWebhookRequest) SetMerchantID(v string)
- func (o *MenuSyncWebhookRequest) SetPartnerMerchantID(v string)
- func (o *MenuSyncWebhookRequest) SetRequestID(v string)
- func (o *MenuSyncWebhookRequest) SetStatus(v string)
- func (o *MenuSyncWebhookRequest) SetUpdatedAt(v string)
- func (o MenuSyncWebhookRequest) ToMap() (map[string]interface{}, error)
- func (o *MenuSyncWebhookRequest) UnmarshalJSON(data []byte) (err error)
- type ModifierGroup
- func (o *ModifierGroup) GetAvailableStatus() string
- func (o *ModifierGroup) GetAvailableStatusOk() (*string, bool)
- func (o *ModifierGroup) GetId() string
- func (o *ModifierGroup) GetIdOk() (*string, bool)
- func (o *ModifierGroup) GetModifiers() []MenuModifier
- func (o *ModifierGroup) GetModifiersOk() ([]MenuModifier, bool)
- func (o *ModifierGroup) GetName() string
- func (o *ModifierGroup) GetNameOk() (*string, bool)
- func (o *ModifierGroup) GetNameTranslation() map[string]string
- func (o *ModifierGroup) GetNameTranslationOk() (*map[string]string, bool)
- func (o *ModifierGroup) GetSelectionRangeMax() int32
- func (o *ModifierGroup) GetSelectionRangeMaxOk() (*int32, bool)
- func (o *ModifierGroup) GetSelectionRangeMin() int32
- func (o *ModifierGroup) GetSelectionRangeMinOk() (*int32, bool)
- func (o *ModifierGroup) GetSequence() int32
- func (o *ModifierGroup) GetSequenceOk() (*int32, bool)
- func (o *ModifierGroup) HasModifiers() bool
- func (o *ModifierGroup) HasNameTranslation() bool
- func (o *ModifierGroup) HasSelectionRangeMin() bool
- func (o *ModifierGroup) HasSequence() bool
- func (o ModifierGroup) MarshalJSON() ([]byte, error)
- func (o *ModifierGroup) SetAvailableStatus(v string)
- func (o *ModifierGroup) SetId(v string)
- func (o *ModifierGroup) SetModifiers(v []MenuModifier)
- func (o *ModifierGroup) SetName(v string)
- func (o *ModifierGroup) SetNameTranslation(v map[string]string)
- func (o *ModifierGroup) SetSelectionRangeMax(v int32)
- func (o *ModifierGroup) SetSelectionRangeMin(v int32)
- func (o *ModifierGroup) SetSequence(v int32)
- func (o ModifierGroup) ToMap() (map[string]interface{}, error)
- func (o *ModifierGroup) UnmarshalJSON(data []byte) (err error)
- type NewOrderTimeRequest
- func (o *NewOrderTimeRequest) GetNewOrderReadyTime() time.Time
- func (o *NewOrderTimeRequest) GetNewOrderReadyTimeOk() (*time.Time, bool)
- func (o *NewOrderTimeRequest) GetOrderID() string
- func (o *NewOrderTimeRequest) GetOrderIDOk() (*string, bool)
- func (o NewOrderTimeRequest) MarshalJSON() ([]byte, error)
- func (o *NewOrderTimeRequest) SetNewOrderReadyTime(v time.Time)
- func (o *NewOrderTimeRequest) SetOrderID(v string)
- func (o NewOrderTimeRequest) ToMap() (map[string]interface{}, error)
- func (o *NewOrderTimeRequest) UnmarshalJSON(data []byte) (err error)
- type NotifyMembershipWebviewAPIService
- type NotifyMembershipWebviewRequest
- func (o *NotifyMembershipWebviewRequest) GetAction() string
- func (o *NotifyMembershipWebviewRequest) GetActionOk() (*string, bool)
- func (o *NotifyMembershipWebviewRequest) GetGrabID() string
- func (o *NotifyMembershipWebviewRequest) GetGrabIDOk() (*string, bool)
- func (o *NotifyMembershipWebviewRequest) GetMemberID() string
- func (o *NotifyMembershipWebviewRequest) GetMemberIDOk() (*string, bool)
- func (o *NotifyMembershipWebviewRequest) GetMerchantID() string
- func (o *NotifyMembershipWebviewRequest) GetMerchantIDOk() (*string, bool)
- func (o *NotifyMembershipWebviewRequest) HasAction() bool
- func (o *NotifyMembershipWebviewRequest) HasGrabID() bool
- func (o *NotifyMembershipWebviewRequest) HasMemberID() bool
- func (o *NotifyMembershipWebviewRequest) HasMerchantID() bool
- func (o NotifyMembershipWebviewRequest) MarshalJSON() ([]byte, error)
- func (o *NotifyMembershipWebviewRequest) SetAction(v string)
- func (o *NotifyMembershipWebviewRequest) SetGrabID(v string)
- func (o *NotifyMembershipWebviewRequest) SetMemberID(v string)
- func (o *NotifyMembershipWebviewRequest) SetMerchantID(v string)
- func (o NotifyMembershipWebviewRequest) ToMap() (map[string]interface{}, error)
- func (o *NotifyMembershipWebviewRequest) UnmarshalJSON(data []byte) (err error)
- type NullableAcceptOrderRequest
- func (v NullableAcceptOrderRequest) Get() *AcceptOrderRequest
- func (v NullableAcceptOrderRequest) IsSet() bool
- func (v NullableAcceptOrderRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAcceptOrderRequest) Set(val *AcceptOrderRequest)
- func (v *NullableAcceptOrderRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAcceptOrderRequest) Unset()
- type NullableAddress
- type NullableAdvancedPricing
- func (v NullableAdvancedPricing) Get() *AdvancedPricing
- func (v NullableAdvancedPricing) IsSet() bool
- func (v NullableAdvancedPricing) MarshalJSON() ([]byte, error)
- func (v *NullableAdvancedPricing) Set(val *AdvancedPricing)
- func (v *NullableAdvancedPricing) UnmarshalJSON(src []byte) error
- func (v *NullableAdvancedPricing) Unset()
- type NullableBatchUpdateMenuItem
- func (v NullableBatchUpdateMenuItem) Get() *BatchUpdateMenuItem
- func (v NullableBatchUpdateMenuItem) IsSet() bool
- func (v NullableBatchUpdateMenuItem) MarshalJSON() ([]byte, error)
- func (v *NullableBatchUpdateMenuItem) Set(val *BatchUpdateMenuItem)
- func (v *NullableBatchUpdateMenuItem) UnmarshalJSON(src []byte) error
- func (v *NullableBatchUpdateMenuItem) Unset()
- type NullableBatchUpdateMenuResponse
- func (v NullableBatchUpdateMenuResponse) Get() *BatchUpdateMenuResponse
- func (v NullableBatchUpdateMenuResponse) IsSet() bool
- func (v NullableBatchUpdateMenuResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBatchUpdateMenuResponse) Set(val *BatchUpdateMenuResponse)
- func (v *NullableBatchUpdateMenuResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBatchUpdateMenuResponse) Unset()
- type NullableBindMembershipNativeRequest
- func (v NullableBindMembershipNativeRequest) Get() *BindMembershipNativeRequest
- func (v NullableBindMembershipNativeRequest) IsSet() bool
- func (v NullableBindMembershipNativeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBindMembershipNativeRequest) Set(val *BindMembershipNativeRequest)
- func (v *NullableBindMembershipNativeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBindMembershipNativeRequest) Unset()
- type NullableBindMembershipNativeResponse
- func (v NullableBindMembershipNativeResponse) Get() *BindMembershipNativeResponse
- func (v NullableBindMembershipNativeResponse) IsSet() bool
- func (v NullableBindMembershipNativeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBindMembershipNativeResponse) Set(val *BindMembershipNativeResponse)
- func (v *NullableBindMembershipNativeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBindMembershipNativeResponse) Unset()
- type NullableBool
- type NullableCampaign
- type NullableCampaignConditions
- func (v NullableCampaignConditions) Get() *CampaignConditions
- func (v NullableCampaignConditions) IsSet() bool
- func (v NullableCampaignConditions) MarshalJSON() ([]byte, error)
- func (v *NullableCampaignConditions) Set(val *CampaignConditions)
- func (v *NullableCampaignConditions) UnmarshalJSON(src []byte) error
- func (v *NullableCampaignConditions) Unset()
- type NullableCampaignDiscount
- func (v NullableCampaignDiscount) Get() *CampaignDiscount
- func (v NullableCampaignDiscount) IsSet() bool
- func (v NullableCampaignDiscount) MarshalJSON() ([]byte, error)
- func (v *NullableCampaignDiscount) Set(val *CampaignDiscount)
- func (v *NullableCampaignDiscount) UnmarshalJSON(src []byte) error
- func (v *NullableCampaignDiscount) Unset()
- type NullableCampaignQuotas
- func (v NullableCampaignQuotas) Get() *CampaignQuotas
- func (v NullableCampaignQuotas) IsSet() bool
- func (v NullableCampaignQuotas) MarshalJSON() ([]byte, error)
- func (v *NullableCampaignQuotas) Set(val *CampaignQuotas)
- func (v *NullableCampaignQuotas) UnmarshalJSON(src []byte) error
- func (v *NullableCampaignQuotas) Unset()
- type NullableCampaignScope
- func (v NullableCampaignScope) Get() *CampaignScope
- func (v NullableCampaignScope) IsSet() bool
- func (v NullableCampaignScope) MarshalJSON() ([]byte, error)
- func (v *NullableCampaignScope) Set(val *CampaignScope)
- func (v *NullableCampaignScope) UnmarshalJSON(src []byte) error
- func (v *NullableCampaignScope) Unset()
- type NullableCancelCode
- type NullableCancelOrderLimitType
- func (v NullableCancelOrderLimitType) Get() *CancelOrderLimitType
- func (v NullableCancelOrderLimitType) IsSet() bool
- func (v NullableCancelOrderLimitType) MarshalJSON() ([]byte, error)
- func (v *NullableCancelOrderLimitType) Set(val *CancelOrderLimitType)
- func (v *NullableCancelOrderLimitType) UnmarshalJSON(src []byte) error
- func (v *NullableCancelOrderLimitType) Unset()
- type NullableCancelOrderRequest
- func (v NullableCancelOrderRequest) Get() *CancelOrderRequest
- func (v NullableCancelOrderRequest) IsSet() bool
- func (v NullableCancelOrderRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCancelOrderRequest) Set(val *CancelOrderRequest)
- func (v *NullableCancelOrderRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCancelOrderRequest) Unset()
- type NullableCancelOrderResponse
- func (v NullableCancelOrderResponse) Get() *CancelOrderResponse
- func (v NullableCancelOrderResponse) IsSet() bool
- func (v NullableCancelOrderResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCancelOrderResponse) Set(val *CancelOrderResponse)
- func (v *NullableCancelOrderResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCancelOrderResponse) Unset()
- type NullableCancelReason
- func (v NullableCancelReason) Get() *CancelReason
- func (v NullableCancelReason) IsSet() bool
- func (v NullableCancelReason) MarshalJSON() ([]byte, error)
- func (v *NullableCancelReason) Set(val *CancelReason)
- func (v *NullableCancelReason) UnmarshalJSON(src []byte) error
- func (v *NullableCancelReason) Unset()
- type NullableCheckOrderCancelableResponse
- func (v NullableCheckOrderCancelableResponse) Get() *CheckOrderCancelableResponse
- func (v NullableCheckOrderCancelableResponse) IsSet() bool
- func (v NullableCheckOrderCancelableResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCheckOrderCancelableResponse) Set(val *CheckOrderCancelableResponse)
- func (v *NullableCheckOrderCancelableResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCheckOrderCancelableResponse) Unset()
- type NullableCoordinates
- func (v NullableCoordinates) Get() *Coordinates
- func (v NullableCoordinates) IsSet() bool
- func (v NullableCoordinates) MarshalJSON() ([]byte, error)
- func (v *NullableCoordinates) Set(val *Coordinates)
- func (v *NullableCoordinates) UnmarshalJSON(src []byte) error
- func (v *NullableCoordinates) Unset()
- type NullableCreateCampaignRequest
- func (v NullableCreateCampaignRequest) Get() *CreateCampaignRequest
- func (v NullableCreateCampaignRequest) IsSet() bool
- func (v NullableCreateCampaignRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCampaignRequest) Set(val *CreateCampaignRequest)
- func (v *NullableCreateCampaignRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCampaignRequest) Unset()
- type NullableCreateCampaignResponse
- func (v NullableCreateCampaignResponse) Get() *CreateCampaignResponse
- func (v NullableCreateCampaignResponse) IsSet() bool
- func (v NullableCreateCampaignResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCampaignResponse) Set(val *CreateCampaignResponse)
- func (v *NullableCreateCampaignResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCampaignResponse) Unset()
- type NullableCreateSelfServeJourneyRequest
- func (v NullableCreateSelfServeJourneyRequest) Get() *CreateSelfServeJourneyRequest
- func (v NullableCreateSelfServeJourneyRequest) IsSet() bool
- func (v NullableCreateSelfServeJourneyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSelfServeJourneyRequest) Set(val *CreateSelfServeJourneyRequest)
- func (v *NullableCreateSelfServeJourneyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSelfServeJourneyRequest) Unset()
- type NullableCreateSelfServeJourneyRequestPartner
- func (v NullableCreateSelfServeJourneyRequestPartner) Get() *CreateSelfServeJourneyRequestPartner
- func (v NullableCreateSelfServeJourneyRequestPartner) IsSet() bool
- func (v NullableCreateSelfServeJourneyRequestPartner) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSelfServeJourneyRequestPartner) Set(val *CreateSelfServeJourneyRequestPartner)
- func (v *NullableCreateSelfServeJourneyRequestPartner) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSelfServeJourneyRequestPartner) Unset()
- type NullableCreateSelfServeJourneyResponse
- func (v NullableCreateSelfServeJourneyResponse) Get() *CreateSelfServeJourneyResponse
- func (v NullableCreateSelfServeJourneyResponse) IsSet() bool
- func (v NullableCreateSelfServeJourneyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSelfServeJourneyResponse) Set(val *CreateSelfServeJourneyResponse)
- func (v *NullableCreateSelfServeJourneyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSelfServeJourneyResponse) Unset()
- type NullableCurrency
- type NullableDineIn
- type NullableEditOrderItem
- func (v NullableEditOrderItem) Get() *EditOrderItem
- func (v NullableEditOrderItem) IsSet() bool
- func (v NullableEditOrderItem) MarshalJSON() ([]byte, error)
- func (v *NullableEditOrderItem) Set(val *EditOrderItem)
- func (v *NullableEditOrderItem) UnmarshalJSON(src []byte) error
- func (v *NullableEditOrderItem) Unset()
- type NullableEditOrderRequest
- func (v NullableEditOrderRequest) Get() *EditOrderRequest
- func (v NullableEditOrderRequest) IsSet() bool
- func (v NullableEditOrderRequest) MarshalJSON() ([]byte, error)
- func (v *NullableEditOrderRequest) Set(val *EditOrderRequest)
- func (v *NullableEditOrderRequest) UnmarshalJSON(src []byte) error
- func (v *NullableEditOrderRequest) Unset()
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableGetDineInVoucherResponse
- func (v NullableGetDineInVoucherResponse) Get() *GetDineInVoucherResponse
- func (v NullableGetDineInVoucherResponse) IsSet() bool
- func (v NullableGetDineInVoucherResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetDineInVoucherResponse) Set(val *GetDineInVoucherResponse)
- func (v *NullableGetDineInVoucherResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetDineInVoucherResponse) Unset()
- type NullableGetMembershipNativeResponse
- func (v NullableGetMembershipNativeResponse) Get() *GetMembershipNativeResponse
- func (v NullableGetMembershipNativeResponse) IsSet() bool
- func (v NullableGetMembershipNativeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetMembershipNativeResponse) Set(val *GetMembershipNativeResponse)
- func (v *NullableGetMembershipNativeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetMembershipNativeResponse) Unset()
- type NullableGetMembershipNativeResponsePointInfo
- func (v NullableGetMembershipNativeResponsePointInfo) Get() *GetMembershipNativeResponsePointInfo
- func (v NullableGetMembershipNativeResponsePointInfo) IsSet() bool
- func (v NullableGetMembershipNativeResponsePointInfo) MarshalJSON() ([]byte, error)
- func (v *NullableGetMembershipNativeResponsePointInfo) Set(val *GetMembershipNativeResponsePointInfo)
- func (v *NullableGetMembershipNativeResponsePointInfo) UnmarshalJSON(src []byte) error
- func (v *NullableGetMembershipNativeResponsePointInfo) Unset()
- type NullableGetMembershipRequest
- func (v NullableGetMembershipRequest) Get() *GetMembershipRequest
- func (v NullableGetMembershipRequest) IsSet() bool
- func (v NullableGetMembershipRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGetMembershipRequest) Set(val *GetMembershipRequest)
- func (v *NullableGetMembershipRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGetMembershipRequest) Unset()
- type NullableGetMembershipWebviewResponse
- func (v NullableGetMembershipWebviewResponse) Get() *GetMembershipWebviewResponse
- func (v NullableGetMembershipWebviewResponse) IsSet() bool
- func (v NullableGetMembershipWebviewResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetMembershipWebviewResponse) Set(val *GetMembershipWebviewResponse)
- func (v *NullableGetMembershipWebviewResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetMembershipWebviewResponse) Unset()
- type NullableGetMenuNewResponse
- func (v NullableGetMenuNewResponse) Get() *GetMenuNewResponse
- func (v NullableGetMenuNewResponse) IsSet() bool
- func (v NullableGetMenuNewResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetMenuNewResponse) Set(val *GetMenuNewResponse)
- func (v *NullableGetMenuNewResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetMenuNewResponse) Unset()
- type NullableGetMenuOldResponse
- func (v NullableGetMenuOldResponse) Get() *GetMenuOldResponse
- func (v NullableGetMenuOldResponse) IsSet() bool
- func (v NullableGetMenuOldResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetMenuOldResponse) Set(val *GetMenuOldResponse)
- func (v *NullableGetMenuOldResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetMenuOldResponse) Unset()
- type NullableGetRewardNativeRequest
- func (v NullableGetRewardNativeRequest) Get() *GetRewardNativeRequest
- func (v NullableGetRewardNativeRequest) IsSet() bool
- func (v NullableGetRewardNativeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGetRewardNativeRequest) Set(val *GetRewardNativeRequest)
- func (v *NullableGetRewardNativeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGetRewardNativeRequest) Unset()
- type NullableGetRewardNativeResponse
- func (v NullableGetRewardNativeResponse) Get() *GetRewardNativeResponse
- func (v NullableGetRewardNativeResponse) IsSet() bool
- func (v NullableGetRewardNativeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetRewardNativeResponse) Set(val *GetRewardNativeResponse)
- func (v *NullableGetRewardNativeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetRewardNativeResponse) Unset()
- type NullableGrabOauthRequest
- func (v NullableGrabOauthRequest) Get() *GrabOauthRequest
- func (v NullableGrabOauthRequest) IsSet() bool
- func (v NullableGrabOauthRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGrabOauthRequest) Set(val *GrabOauthRequest)
- func (v *NullableGrabOauthRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGrabOauthRequest) Unset()
- type NullableGrabOauthResponse
- func (v NullableGrabOauthResponse) Get() *GrabOauthResponse
- func (v NullableGrabOauthResponse) IsSet() bool
- func (v NullableGrabOauthResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGrabOauthResponse) Set(val *GrabOauthResponse)
- func (v *NullableGrabOauthResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGrabOauthResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListCampaignResponse
- func (v NullableListCampaignResponse) Get() *ListCampaignResponse
- func (v NullableListCampaignResponse) IsSet() bool
- func (v NullableListCampaignResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListCampaignResponse) Set(val *ListCampaignResponse)
- func (v *NullableListCampaignResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListCampaignResponse) Unset()
- type NullableListOrdersResponse
- func (v NullableListOrdersResponse) Get() *ListOrdersResponse
- func (v NullableListOrdersResponse) IsSet() bool
- func (v NullableListOrdersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListOrdersResponse) Set(val *ListOrdersResponse)
- func (v *NullableListOrdersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListOrdersResponse) Unset()
- type NullableMarkOrderRequest
- func (v NullableMarkOrderRequest) Get() *MarkOrderRequest
- func (v NullableMarkOrderRequest) IsSet() bool
- func (v NullableMarkOrderRequest) MarshalJSON() ([]byte, error)
- func (v *NullableMarkOrderRequest) Set(val *MarkOrderRequest)
- func (v *NullableMarkOrderRequest) UnmarshalJSON(src []byte) error
- func (v *NullableMarkOrderRequest) Unset()
- type NullableMenuCategory
- func (v NullableMenuCategory) Get() *MenuCategory
- func (v NullableMenuCategory) IsSet() bool
- func (v NullableMenuCategory) MarshalJSON() ([]byte, error)
- func (v *NullableMenuCategory) Set(val *MenuCategory)
- func (v *NullableMenuCategory) UnmarshalJSON(src []byte) error
- func (v *NullableMenuCategory) Unset()
- type NullableMenuEntity
- type NullableMenuEntityError
- func (v NullableMenuEntityError) Get() *MenuEntityError
- func (v NullableMenuEntityError) IsSet() bool
- func (v NullableMenuEntityError) MarshalJSON() ([]byte, error)
- func (v *NullableMenuEntityError) Set(val *MenuEntityError)
- func (v *NullableMenuEntityError) UnmarshalJSON(src []byte) error
- func (v *NullableMenuEntityError) Unset()
- type NullableMenuItem
- type NullableMenuModifier
- func (v NullableMenuModifier) Get() *MenuModifier
- func (v NullableMenuModifier) IsSet() bool
- func (v NullableMenuModifier) MarshalJSON() ([]byte, error)
- func (v *NullableMenuModifier) Set(val *MenuModifier)
- func (v *NullableMenuModifier) UnmarshalJSON(src []byte) error
- func (v *NullableMenuModifier) Unset()
- type NullableMenuSection
- func (v NullableMenuSection) Get() *MenuSection
- func (v NullableMenuSection) IsSet() bool
- func (v NullableMenuSection) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSection) Set(val *MenuSection)
- func (v *NullableMenuSection) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSection) Unset()
- type NullableMenuSectionCategory
- func (v NullableMenuSectionCategory) Get() *MenuSectionCategory
- func (v NullableMenuSectionCategory) IsSet() bool
- func (v NullableMenuSectionCategory) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSectionCategory) Set(val *MenuSectionCategory)
- func (v *NullableMenuSectionCategory) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSectionCategory) Unset()
- type NullableMenuSectionCategoryItem
- func (v NullableMenuSectionCategoryItem) Get() *MenuSectionCategoryItem
- func (v NullableMenuSectionCategoryItem) IsSet() bool
- func (v NullableMenuSectionCategoryItem) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSectionCategoryItem) Set(val *MenuSectionCategoryItem)
- func (v *NullableMenuSectionCategoryItem) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSectionCategoryItem) Unset()
- type NullableMenuSyncFail
- func (v NullableMenuSyncFail) Get() *MenuSyncFail
- func (v NullableMenuSyncFail) IsSet() bool
- func (v NullableMenuSyncFail) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSyncFail) Set(val *MenuSyncFail)
- func (v *NullableMenuSyncFail) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSyncFail) Unset()
- type NullableMenuSyncFailCategory
- func (v NullableMenuSyncFailCategory) Get() *MenuSyncFailCategory
- func (v NullableMenuSyncFailCategory) IsSet() bool
- func (v NullableMenuSyncFailCategory) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSyncFailCategory) Set(val *MenuSyncFailCategory)
- func (v *NullableMenuSyncFailCategory) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSyncFailCategory) Unset()
- type NullableMenuSyncFailItem
- func (v NullableMenuSyncFailItem) Get() *MenuSyncFailItem
- func (v NullableMenuSyncFailItem) IsSet() bool
- func (v NullableMenuSyncFailItem) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSyncFailItem) Set(val *MenuSyncFailItem)
- func (v *NullableMenuSyncFailItem) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSyncFailItem) Unset()
- type NullableMenuSyncFailModifier
- func (v NullableMenuSyncFailModifier) Get() *MenuSyncFailModifier
- func (v NullableMenuSyncFailModifier) IsSet() bool
- func (v NullableMenuSyncFailModifier) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSyncFailModifier) Set(val *MenuSyncFailModifier)
- func (v *NullableMenuSyncFailModifier) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSyncFailModifier) Unset()
- type NullableMenuSyncFailModifierGroup
- func (v NullableMenuSyncFailModifierGroup) Get() *MenuSyncFailModifierGroup
- func (v NullableMenuSyncFailModifierGroup) IsSet() bool
- func (v NullableMenuSyncFailModifierGroup) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSyncFailModifierGroup) Set(val *MenuSyncFailModifierGroup)
- func (v *NullableMenuSyncFailModifierGroup) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSyncFailModifierGroup) Unset()
- type NullableMenuSyncFailServiceHours
- func (v NullableMenuSyncFailServiceHours) Get() *MenuSyncFailServiceHours
- func (v NullableMenuSyncFailServiceHours) IsSet() bool
- func (v NullableMenuSyncFailServiceHours) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSyncFailServiceHours) Set(val *MenuSyncFailServiceHours)
- func (v *NullableMenuSyncFailServiceHours) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSyncFailServiceHours) Unset()
- type NullableMenuSyncResponse
- func (v NullableMenuSyncResponse) Get() *MenuSyncResponse
- func (v NullableMenuSyncResponse) IsSet() bool
- func (v NullableMenuSyncResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSyncResponse) Set(val *MenuSyncResponse)
- func (v *NullableMenuSyncResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSyncResponse) Unset()
- type NullableMenuSyncWebhookRequest
- func (v NullableMenuSyncWebhookRequest) Get() *MenuSyncWebhookRequest
- func (v NullableMenuSyncWebhookRequest) IsSet() bool
- func (v NullableMenuSyncWebhookRequest) MarshalJSON() ([]byte, error)
- func (v *NullableMenuSyncWebhookRequest) Set(val *MenuSyncWebhookRequest)
- func (v *NullableMenuSyncWebhookRequest) UnmarshalJSON(src []byte) error
- func (v *NullableMenuSyncWebhookRequest) Unset()
- type NullableModifierGroup
- func (v NullableModifierGroup) Get() *ModifierGroup
- func (v NullableModifierGroup) IsSet() bool
- func (v NullableModifierGroup) MarshalJSON() ([]byte, error)
- func (v *NullableModifierGroup) Set(val *ModifierGroup)
- func (v *NullableModifierGroup) UnmarshalJSON(src []byte) error
- func (v *NullableModifierGroup) Unset()
- type NullableNewOrderTimeRequest
- func (v NullableNewOrderTimeRequest) Get() *NewOrderTimeRequest
- func (v NullableNewOrderTimeRequest) IsSet() bool
- func (v NullableNewOrderTimeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableNewOrderTimeRequest) Set(val *NewOrderTimeRequest)
- func (v *NullableNewOrderTimeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableNewOrderTimeRequest) Unset()
- type NullableNotifyMembershipWebviewRequest
- func (v NullableNotifyMembershipWebviewRequest) Get() *NotifyMembershipWebviewRequest
- func (v NullableNotifyMembershipWebviewRequest) IsSet() bool
- func (v NullableNotifyMembershipWebviewRequest) MarshalJSON() ([]byte, error)
- func (v *NullableNotifyMembershipWebviewRequest) Set(val *NotifyMembershipWebviewRequest)
- func (v *NullableNotifyMembershipWebviewRequest) UnmarshalJSON(src []byte) error
- func (v *NullableNotifyMembershipWebviewRequest) Unset()
- type NullableOpenPeriod
- type NullableOrder
- type NullableOrderCampaign
- func (v NullableOrderCampaign) Get() *OrderCampaign
- func (v NullableOrderCampaign) IsSet() bool
- func (v NullableOrderCampaign) MarshalJSON() ([]byte, error)
- func (v *NullableOrderCampaign) Set(val *OrderCampaign)
- func (v *NullableOrderCampaign) UnmarshalJSON(src []byte) error
- func (v *NullableOrderCampaign) Unset()
- type NullableOrderDeliveryRequest
- func (v NullableOrderDeliveryRequest) Get() *OrderDeliveryRequest
- func (v NullableOrderDeliveryRequest) IsSet() bool
- func (v NullableOrderDeliveryRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderDeliveryRequest) Set(val *OrderDeliveryRequest)
- func (v *NullableOrderDeliveryRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderDeliveryRequest) Unset()
- type NullableOrderFeatureFlags
- func (v NullableOrderFeatureFlags) Get() *OrderFeatureFlags
- func (v NullableOrderFeatureFlags) IsSet() bool
- func (v NullableOrderFeatureFlags) MarshalJSON() ([]byte, error)
- func (v *NullableOrderFeatureFlags) Set(val *OrderFeatureFlags)
- func (v *NullableOrderFeatureFlags) UnmarshalJSON(src []byte) error
- func (v *NullableOrderFeatureFlags) Unset()
- type NullableOrderFreeItem
- func (v NullableOrderFreeItem) Get() *OrderFreeItem
- func (v NullableOrderFreeItem) IsSet() bool
- func (v NullableOrderFreeItem) MarshalJSON() ([]byte, error)
- func (v *NullableOrderFreeItem) Set(val *OrderFreeItem)
- func (v *NullableOrderFreeItem) UnmarshalJSON(src []byte) error
- func (v *NullableOrderFreeItem) Unset()
- type NullableOrderItem
- type NullableOrderItemModifier
- func (v NullableOrderItemModifier) Get() *OrderItemModifier
- func (v NullableOrderItemModifier) IsSet() bool
- func (v NullableOrderItemModifier) MarshalJSON() ([]byte, error)
- func (v *NullableOrderItemModifier) Set(val *OrderItemModifier)
- func (v *NullableOrderItemModifier) UnmarshalJSON(src []byte) error
- func (v *NullableOrderItemModifier) Unset()
- type NullableOrderPrice
- type NullableOrderPromo
- type NullableOrderReadyEstimation
- func (v NullableOrderReadyEstimation) Get() *OrderReadyEstimation
- func (v NullableOrderReadyEstimation) IsSet() bool
- func (v NullableOrderReadyEstimation) MarshalJSON() ([]byte, error)
- func (v *NullableOrderReadyEstimation) Set(val *OrderReadyEstimation)
- func (v *NullableOrderReadyEstimation) UnmarshalJSON(src []byte) error
- func (v *NullableOrderReadyEstimation) Unset()
- type NullableOrderStateRequest
- func (v NullableOrderStateRequest) Get() *OrderStateRequest
- func (v NullableOrderStateRequest) IsSet() bool
- func (v NullableOrderStateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderStateRequest) Set(val *OrderStateRequest)
- func (v *NullableOrderStateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderStateRequest) Unset()
- type NullableOutOfStockInstruction
- func (v NullableOutOfStockInstruction) Get() *OutOfStockInstruction
- func (v NullableOutOfStockInstruction) IsSet() bool
- func (v NullableOutOfStockInstruction) MarshalJSON() ([]byte, error)
- func (v *NullableOutOfStockInstruction) Set(val *OutOfStockInstruction)
- func (v *NullableOutOfStockInstruction) UnmarshalJSON(src []byte) error
- func (v *NullableOutOfStockInstruction) Unset()
- type NullablePartnerOauthRequest
- func (v NullablePartnerOauthRequest) Get() *PartnerOauthRequest
- func (v NullablePartnerOauthRequest) IsSet() bool
- func (v NullablePartnerOauthRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePartnerOauthRequest) Set(val *PartnerOauthRequest)
- func (v *NullablePartnerOauthRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePartnerOauthRequest) Unset()
- type NullablePartnerOauthResponse
- func (v NullablePartnerOauthResponse) Get() *PartnerOauthResponse
- func (v NullablePartnerOauthResponse) IsSet() bool
- func (v NullablePartnerOauthResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePartnerOauthResponse) Set(val *PartnerOauthResponse)
- func (v *NullablePartnerOauthResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePartnerOauthResponse) Unset()
- type NullablePauseStoreRequest
- func (v NullablePauseStoreRequest) Get() *PauseStoreRequest
- func (v NullablePauseStoreRequest) IsSet() bool
- func (v NullablePauseStoreRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePauseStoreRequest) Set(val *PauseStoreRequest)
- func (v *NullablePauseStoreRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePauseStoreRequest) Unset()
- type NullablePurchasability
- func (v NullablePurchasability) Get() *Purchasability
- func (v NullablePurchasability) IsSet() bool
- func (v NullablePurchasability) MarshalJSON() ([]byte, error)
- func (v *NullablePurchasability) Set(val *Purchasability)
- func (v *NullablePurchasability) UnmarshalJSON(src []byte) error
- func (v *NullablePurchasability) Unset()
- type NullablePushIntegrationStatusWebhookRequest
- func (v NullablePushIntegrationStatusWebhookRequest) Get() *PushIntegrationStatusWebhookRequest
- func (v NullablePushIntegrationStatusWebhookRequest) IsSet() bool
- func (v NullablePushIntegrationStatusWebhookRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePushIntegrationStatusWebhookRequest) Set(val *PushIntegrationStatusWebhookRequest)
- func (v *NullablePushIntegrationStatusWebhookRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePushIntegrationStatusWebhookRequest) Unset()
- type NullableReceiver
- type NullableRedeemDineInVoucherRequest
- func (v NullableRedeemDineInVoucherRequest) Get() *RedeemDineInVoucherRequest
- func (v NullableRedeemDineInVoucherRequest) IsSet() bool
- func (v NullableRedeemDineInVoucherRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRedeemDineInVoucherRequest) Set(val *RedeemDineInVoucherRequest)
- func (v *NullableRedeemDineInVoucherRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRedeemDineInVoucherRequest) Unset()
- type NullableRedeemDineInVoucherResponse
- func (v NullableRedeemDineInVoucherResponse) Get() *RedeemDineInVoucherResponse
- func (v NullableRedeemDineInVoucherResponse) IsSet() bool
- func (v NullableRedeemDineInVoucherResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRedeemDineInVoucherResponse) Set(val *RedeemDineInVoucherResponse)
- func (v *NullableRedeemDineInVoucherResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRedeemDineInVoucherResponse) Unset()
- type NullableRedeemResult
- func (v NullableRedeemResult) Get() *RedeemResult
- func (v NullableRedeemResult) IsSet() bool
- func (v NullableRedeemResult) MarshalJSON() ([]byte, error)
- func (v *NullableRedeemResult) Set(val *RedeemResult)
- func (v *NullableRedeemResult) UnmarshalJSON(src []byte) error
- func (v *NullableRedeemResult) Unset()
- type NullableRegisterMembershipNativeRequest
- func (v NullableRegisterMembershipNativeRequest) Get() *RegisterMembershipNativeRequest
- func (v NullableRegisterMembershipNativeRequest) IsSet() bool
- func (v NullableRegisterMembershipNativeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRegisterMembershipNativeRequest) Set(val *RegisterMembershipNativeRequest)
- func (v *NullableRegisterMembershipNativeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRegisterMembershipNativeRequest) Unset()
- type NullableRegisterMembershipNativeResponse
- func (v NullableRegisterMembershipNativeResponse) Get() *RegisterMembershipNativeResponse
- func (v NullableRegisterMembershipNativeResponse) IsSet() bool
- func (v NullableRegisterMembershipNativeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRegisterMembershipNativeResponse) Set(val *RegisterMembershipNativeResponse)
- func (v *NullableRegisterMembershipNativeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRegisterMembershipNativeResponse) Unset()
- type NullableRewardItem
- type NullableSellingTime
- func (v NullableSellingTime) Get() *SellingTime
- func (v NullableSellingTime) IsSet() bool
- func (v NullableSellingTime) MarshalJSON() ([]byte, error)
- func (v *NullableSellingTime) Set(val *SellingTime)
- func (v *NullableSellingTime) UnmarshalJSON(src []byte) error
- func (v *NullableSellingTime) Unset()
- type NullableServiceHour
- func (v NullableServiceHour) Get() *ServiceHour
- func (v NullableServiceHour) IsSet() bool
- func (v NullableServiceHour) MarshalJSON() ([]byte, error)
- func (v *NullableServiceHour) Set(val *ServiceHour)
- func (v *NullableServiceHour) UnmarshalJSON(src []byte) error
- func (v *NullableServiceHour) Unset()
- type NullableServiceHours
- func (v NullableServiceHours) Get() *ServiceHours
- func (v NullableServiceHours) IsSet() bool
- func (v NullableServiceHours) MarshalJSON() ([]byte, error)
- func (v *NullableServiceHours) Set(val *ServiceHours)
- func (v *NullableServiceHours) UnmarshalJSON(src []byte) error
- func (v *NullableServiceHours) Unset()
- type NullableSpecialOpeningHour
- func (v NullableSpecialOpeningHour) Get() *SpecialOpeningHour
- func (v NullableSpecialOpeningHour) IsSet() bool
- func (v NullableSpecialOpeningHour) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialOpeningHour) Set(val *SpecialOpeningHour)
- func (v *NullableSpecialOpeningHour) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialOpeningHour) Unset()
- type NullableSpecialOpeningHourMetadata
- func (v NullableSpecialOpeningHourMetadata) Get() *SpecialOpeningHourMetadata
- func (v NullableSpecialOpeningHourMetadata) IsSet() bool
- func (v NullableSpecialOpeningHourMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialOpeningHourMetadata) Set(val *SpecialOpeningHourMetadata)
- func (v *NullableSpecialOpeningHourMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialOpeningHourMetadata) Unset()
- type NullableSpecialOpeningHourOpeningHours
- func (v NullableSpecialOpeningHourOpeningHours) Get() *SpecialOpeningHourOpeningHours
- func (v NullableSpecialOpeningHourOpeningHours) IsSet() bool
- func (v NullableSpecialOpeningHourOpeningHours) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialOpeningHourOpeningHours) Set(val *SpecialOpeningHourOpeningHours)
- func (v *NullableSpecialOpeningHourOpeningHours) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialOpeningHourOpeningHours) Unset()
- type NullableStoreHour
- type NullableStoreHourResponse
- func (v NullableStoreHourResponse) Get() *StoreHourResponse
- func (v NullableStoreHourResponse) IsSet() bool
- func (v NullableStoreHourResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStoreHourResponse) Set(val *StoreHourResponse)
- func (v *NullableStoreHourResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStoreHourResponse) Unset()
- type NullableStoreStatusResponse
- func (v NullableStoreStatusResponse) Get() *StoreStatusResponse
- func (v NullableStoreStatusResponse) IsSet() bool
- func (v NullableStoreStatusResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStoreStatusResponse) Set(val *StoreStatusResponse)
- func (v *NullableStoreStatusResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStoreStatusResponse) Unset()
- type NullableString
- type NullableSubmitOrderRequest
- func (v NullableSubmitOrderRequest) Get() *SubmitOrderRequest
- func (v NullableSubmitOrderRequest) IsSet() bool
- func (v NullableSubmitOrderRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSubmitOrderRequest) Set(val *SubmitOrderRequest)
- func (v *NullableSubmitOrderRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSubmitOrderRequest) Unset()
- type NullableTime
- type NullableUnbindMembershipNativeRequest
- func (v NullableUnbindMembershipNativeRequest) Get() *UnbindMembershipNativeRequest
- func (v NullableUnbindMembershipNativeRequest) IsSet() bool
- func (v NullableUnbindMembershipNativeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUnbindMembershipNativeRequest) Set(val *UnbindMembershipNativeRequest)
- func (v *NullableUnbindMembershipNativeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUnbindMembershipNativeRequest) Unset()
- type NullableUnlinkMembershipWebviewRequest
- func (v NullableUnlinkMembershipWebviewRequest) Get() *UnlinkMembershipWebviewRequest
- func (v NullableUnlinkMembershipWebviewRequest) IsSet() bool
- func (v NullableUnlinkMembershipWebviewRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUnlinkMembershipWebviewRequest) Set(val *UnlinkMembershipWebviewRequest)
- func (v *NullableUnlinkMembershipWebviewRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUnlinkMembershipWebviewRequest) Unset()
- type NullableUpdateAdvancedPricing
- func (v NullableUpdateAdvancedPricing) Get() *UpdateAdvancedPricing
- func (v NullableUpdateAdvancedPricing) IsSet() bool
- func (v NullableUpdateAdvancedPricing) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateAdvancedPricing) Set(val *UpdateAdvancedPricing)
- func (v *NullableUpdateAdvancedPricing) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateAdvancedPricing) Unset()
- type NullableUpdateCampaignRequest
- func (v NullableUpdateCampaignRequest) Get() *UpdateCampaignRequest
- func (v NullableUpdateCampaignRequest) IsSet() bool
- func (v NullableUpdateCampaignRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCampaignRequest) Set(val *UpdateCampaignRequest)
- func (v *NullableUpdateCampaignRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCampaignRequest) Unset()
- type NullableUpdateDeliveryHourRequest
- func (v NullableUpdateDeliveryHourRequest) Get() *UpdateDeliveryHourRequest
- func (v NullableUpdateDeliveryHourRequest) IsSet() bool
- func (v NullableUpdateDeliveryHourRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDeliveryHourRequest) Set(val *UpdateDeliveryHourRequest)
- func (v *NullableUpdateDeliveryHourRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDeliveryHourRequest) Unset()
- type NullableUpdateDeliveryHourResponse
- func (v NullableUpdateDeliveryHourResponse) Get() *UpdateDeliveryHourResponse
- func (v NullableUpdateDeliveryHourResponse) IsSet() bool
- func (v NullableUpdateDeliveryHourResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDeliveryHourResponse) Set(val *UpdateDeliveryHourResponse)
- func (v *NullableUpdateDeliveryHourResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDeliveryHourResponse) Unset()
- type NullableUpdateDineInHourRequest
- func (v NullableUpdateDineInHourRequest) Get() *UpdateDineInHourRequest
- func (v NullableUpdateDineInHourRequest) IsSet() bool
- func (v NullableUpdateDineInHourRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDineInHourRequest) Set(val *UpdateDineInHourRequest)
- func (v *NullableUpdateDineInHourRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDineInHourRequest) Unset()
- type NullableUpdateDineInHourResponse
- func (v NullableUpdateDineInHourResponse) Get() *UpdateDineInHourResponse
- func (v NullableUpdateDineInHourResponse) IsSet() bool
- func (v NullableUpdateDineInHourResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDineInHourResponse) Set(val *UpdateDineInHourResponse)
- func (v *NullableUpdateDineInHourResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDineInHourResponse) Unset()
- type NullableUpdateMenuItem
- func (v NullableUpdateMenuItem) Get() *UpdateMenuItem
- func (v NullableUpdateMenuItem) IsSet() bool
- func (v NullableUpdateMenuItem) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateMenuItem) Set(val *UpdateMenuItem)
- func (v *NullableUpdateMenuItem) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateMenuItem) Unset()
- type NullableUpdateMenuModifier
- func (v NullableUpdateMenuModifier) Get() *UpdateMenuModifier
- func (v NullableUpdateMenuModifier) IsSet() bool
- func (v NullableUpdateMenuModifier) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateMenuModifier) Set(val *UpdateMenuModifier)
- func (v *NullableUpdateMenuModifier) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateMenuModifier) Unset()
- type NullableUpdateMenuNotifRequest
- func (v NullableUpdateMenuNotifRequest) Get() *UpdateMenuNotifRequest
- func (v NullableUpdateMenuNotifRequest) IsSet() bool
- func (v NullableUpdateMenuNotifRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateMenuNotifRequest) Set(val *UpdateMenuNotifRequest)
- func (v *NullableUpdateMenuNotifRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateMenuNotifRequest) Unset()
- type NullableUpdateMenuRequest
- func (v NullableUpdateMenuRequest) Get() *UpdateMenuRequest
- func (v NullableUpdateMenuRequest) IsSet() bool
- func (v NullableUpdateMenuRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateMenuRequest) Set(val *UpdateMenuRequest)
- func (v *NullableUpdateMenuRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateMenuRequest) Unset()
- type NullableUpdatePurchasability
- func (v NullableUpdatePurchasability) Get() *UpdatePurchasability
- func (v NullableUpdatePurchasability) IsSet() bool
- func (v NullableUpdatePurchasability) MarshalJSON() ([]byte, error)
- func (v *NullableUpdatePurchasability) Set(val *UpdatePurchasability)
- func (v *NullableUpdatePurchasability) UnmarshalJSON(src []byte) error
- func (v *NullableUpdatePurchasability) Unset()
- type NullableUpdateSpecialHourRequest
- func (v NullableUpdateSpecialHourRequest) Get() *UpdateSpecialHourRequest
- func (v NullableUpdateSpecialHourRequest) IsSet() bool
- func (v NullableUpdateSpecialHourRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSpecialHourRequest) Set(val *UpdateSpecialHourRequest)
- func (v *NullableUpdateSpecialHourRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSpecialHourRequest) Unset()
- type NullableUpdateSpecialHourResponse
- func (v NullableUpdateSpecialHourResponse) Get() *UpdateSpecialHourResponse
- func (v NullableUpdateSpecialHourResponse) IsSet() bool
- func (v NullableUpdateSpecialHourResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSpecialHourResponse) Set(val *UpdateSpecialHourResponse)
- func (v *NullableUpdateSpecialHourResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSpecialHourResponse) Unset()
- type NullableVoucher
- type NullableVoucherDescriptionInfo
- func (v NullableVoucherDescriptionInfo) Get() *VoucherDescriptionInfo
- func (v NullableVoucherDescriptionInfo) IsSet() bool
- func (v NullableVoucherDescriptionInfo) MarshalJSON() ([]byte, error)
- func (v *NullableVoucherDescriptionInfo) Set(val *VoucherDescriptionInfo)
- func (v *NullableVoucherDescriptionInfo) UnmarshalJSON(src []byte) error
- func (v *NullableVoucherDescriptionInfo) Unset()
- type NullableWorkingHour
- func (v NullableWorkingHour) Get() *WorkingHour
- func (v NullableWorkingHour) IsSet() bool
- func (v NullableWorkingHour) MarshalJSON() ([]byte, error)
- func (v *NullableWorkingHour) Set(val *WorkingHour)
- func (v *NullableWorkingHour) UnmarshalJSON(src []byte) error
- func (v *NullableWorkingHour) Unset()
- type NullableWorkingHourDay
- func (v NullableWorkingHourDay) Get() *WorkingHourDay
- func (v NullableWorkingHourDay) IsSet() bool
- func (v NullableWorkingHourDay) MarshalJSON() ([]byte, error)
- func (v *NullableWorkingHourDay) Set(val *WorkingHourDay)
- func (v *NullableWorkingHourDay) UnmarshalJSON(src []byte) error
- func (v *NullableWorkingHourDay) Unset()
- type OpenPeriod
- func (o *OpenPeriod) GetEndTime() string
- func (o *OpenPeriod) GetEndTimeOk() (*string, bool)
- func (o *OpenPeriod) GetStartTime() string
- func (o *OpenPeriod) GetStartTimeOk() (*string, bool)
- func (o OpenPeriod) MarshalJSON() ([]byte, error)
- func (o *OpenPeriod) SetEndTime(v string)
- func (o *OpenPeriod) SetStartTime(v string)
- func (o OpenPeriod) ToMap() (map[string]interface{}, error)
- func (o *OpenPeriod) UnmarshalJSON(data []byte) (err error)
- type Order
- func (o *Order) GetCampaigns() []OrderCampaign
- func (o *Order) GetCampaignsOk() ([]OrderCampaign, bool)
- func (o *Order) GetCompleteTime() time.Time
- func (o *Order) GetCompleteTimeOk() (*time.Time, bool)
- func (o *Order) GetCurrency() Currency
- func (o *Order) GetCurrencyOk() (*Currency, bool)
- func (o *Order) GetCutlery() bool
- func (o *Order) GetCutleryOk() (*bool, bool)
- func (o *Order) GetDineIn() DineIn
- func (o *Order) GetDineInOk() (*DineIn, bool)
- func (o *Order) GetFeatureFlags() OrderFeatureFlags
- func (o *Order) GetFeatureFlagsOk() (*OrderFeatureFlags, bool)
- func (o *Order) GetItems() []OrderItem
- func (o *Order) GetItemsOk() ([]OrderItem, bool)
- func (o *Order) GetMembershipID() string
- func (o *Order) GetMembershipIDOk() (*string, bool)
- func (o *Order) GetMerchantID() string
- func (o *Order) GetMerchantIDOk() (*string, bool)
- func (o *Order) GetOrderID() string
- func (o *Order) GetOrderIDOk() (*string, bool)
- func (o *Order) GetOrderReadyEstimation() OrderReadyEstimation
- func (o *Order) GetOrderReadyEstimationOk() (*OrderReadyEstimation, bool)
- func (o *Order) GetOrderState() string
- func (o *Order) GetOrderStateOk() (*string, bool)
- func (o *Order) GetOrderTime() string
- func (o *Order) GetOrderTimeOk() (*string, bool)
- func (o *Order) GetPartnerMerchantID() string
- func (o *Order) GetPartnerMerchantIDOk() (*string, bool)
- func (o *Order) GetPaymentType() string
- func (o *Order) GetPaymentTypeOk() (*string, bool)
- func (o *Order) GetPrice() OrderPrice
- func (o *Order) GetPriceOk() (*OrderPrice, bool)
- func (o *Order) GetPromos() []OrderPromo
- func (o *Order) GetPromosOk() ([]OrderPromo, bool)
- func (o *Order) GetReceiver() Receiver
- func (o *Order) GetReceiverOk() (*Receiver, bool)
- func (o *Order) GetScheduledTime() string
- func (o *Order) GetScheduledTimeOk() (*string, bool)
- func (o *Order) GetShortOrderNumber() string
- func (o *Order) GetShortOrderNumberOk() (*string, bool)
- func (o *Order) GetSubmitTime() time.Time
- func (o *Order) GetSubmitTimeOk() (*time.Time, bool)
- func (o *Order) HasCampaigns() bool
- func (o *Order) HasCompleteTime() bool
- func (o *Order) HasDineIn() bool
- func (o *Order) HasMembershipID() bool
- func (o *Order) HasOrderReadyEstimation() bool
- func (o *Order) HasOrderState() bool
- func (o *Order) HasPartnerMerchantID() bool
- func (o *Order) HasPromos() bool
- func (o *Order) HasReceiver() bool
- func (o *Order) HasScheduledTime() bool
- func (o *Order) HasSubmitTime() bool
- func (o Order) MarshalJSON() ([]byte, error)
- func (o *Order) SetCampaigns(v []OrderCampaign)
- func (o *Order) SetCompleteTime(v time.Time)
- func (o *Order) SetCurrency(v Currency)
- func (o *Order) SetCutlery(v bool)
- func (o *Order) SetDineIn(v DineIn)
- func (o *Order) SetDineInNil()
- func (o *Order) SetFeatureFlags(v OrderFeatureFlags)
- func (o *Order) SetItems(v []OrderItem)
- func (o *Order) SetMembershipID(v string)
- func (o *Order) SetMerchantID(v string)
- func (o *Order) SetOrderID(v string)
- func (o *Order) SetOrderReadyEstimation(v OrderReadyEstimation)
- func (o *Order) SetOrderState(v string)
- func (o *Order) SetOrderTime(v string)
- func (o *Order) SetPartnerMerchantID(v string)
- func (o *Order) SetPaymentType(v string)
- func (o *Order) SetPrice(v OrderPrice)
- func (o *Order) SetPromos(v []OrderPromo)
- func (o *Order) SetReceiver(v Receiver)
- func (o *Order) SetReceiverNil()
- func (o *Order) SetScheduledTime(v string)
- func (o *Order) SetShortOrderNumber(v string)
- func (o *Order) SetSubmitTime(v time.Time)
- func (o Order) ToMap() (map[string]interface{}, error)
- func (o *Order) UnmarshalJSON(data []byte) (err error)
- func (o *Order) UnsetDineIn()
- func (o *Order) UnsetReceiver()
- type OrderCampaign
- func (o *OrderCampaign) GetAppliedItemIDs() []string
- func (o *OrderCampaign) GetAppliedItemIDsOk() ([]string, bool)
- func (o *OrderCampaign) GetCampaignNameForMex() string
- func (o *OrderCampaign) GetCampaignNameForMexOk() (*string, bool)
- func (o *OrderCampaign) GetDeductedAmount() int64
- func (o *OrderCampaign) GetDeductedAmountOk() (*int64, bool)
- func (o *OrderCampaign) GetDeductedPart() string
- func (o *OrderCampaign) GetDeductedPartOk() (*string, bool)
- func (o *OrderCampaign) GetFreeItem() OrderFreeItem
- func (o *OrderCampaign) GetFreeItemOk() (*OrderFreeItem, bool)
- func (o *OrderCampaign) GetId() string
- func (o *OrderCampaign) GetIdOk() (*string, bool)
- func (o *OrderCampaign) GetLevel() string
- func (o *OrderCampaign) GetLevelOk() (*string, bool)
- func (o *OrderCampaign) GetMexFundedRatio() int32
- func (o *OrderCampaign) GetMexFundedRatioOk() (*int32, bool)
- func (o *OrderCampaign) GetName() string
- func (o *OrderCampaign) GetNameOk() (*string, bool)
- func (o *OrderCampaign) GetType() string
- func (o *OrderCampaign) GetTypeOk() (*string, bool)
- func (o *OrderCampaign) GetUsageCount() int64
- func (o *OrderCampaign) GetUsageCountOk() (*int64, bool)
- func (o *OrderCampaign) HasAppliedItemIDs() bool
- func (o *OrderCampaign) HasCampaignNameForMex() bool
- func (o *OrderCampaign) HasDeductedAmount() bool
- func (o *OrderCampaign) HasDeductedPart() bool
- func (o *OrderCampaign) HasFreeItem() bool
- func (o *OrderCampaign) HasId() bool
- func (o *OrderCampaign) HasLevel() bool
- func (o *OrderCampaign) HasMexFundedRatio() bool
- func (o *OrderCampaign) HasName() bool
- func (o *OrderCampaign) HasType() bool
- func (o *OrderCampaign) HasUsageCount() bool
- func (o OrderCampaign) MarshalJSON() ([]byte, error)
- func (o *OrderCampaign) SetAppliedItemIDs(v []string)
- func (o *OrderCampaign) SetCampaignNameForMex(v string)
- func (o *OrderCampaign) SetDeductedAmount(v int64)
- func (o *OrderCampaign) SetDeductedPart(v string)
- func (o *OrderCampaign) SetFreeItem(v OrderFreeItem)
- func (o *OrderCampaign) SetId(v string)
- func (o *OrderCampaign) SetLevel(v string)
- func (o *OrderCampaign) SetMexFundedRatio(v int32)
- func (o *OrderCampaign) SetName(v string)
- func (o *OrderCampaign) SetType(v string)
- func (o *OrderCampaign) SetUsageCount(v int64)
- func (o OrderCampaign) ToMap() (map[string]interface{}, error)
- func (o *OrderCampaign) UnmarshalJSON(data []byte) (err error)
- type OrderDeliveryRequest
- func (o *OrderDeliveryRequest) GetFromState() string
- func (o *OrderDeliveryRequest) GetFromStateOk() (*string, bool)
- func (o *OrderDeliveryRequest) GetOrderID() string
- func (o *OrderDeliveryRequest) GetOrderIDOk() (*string, bool)
- func (o *OrderDeliveryRequest) GetToState() string
- func (o *OrderDeliveryRequest) GetToStateOk() (*string, bool)
- func (o OrderDeliveryRequest) MarshalJSON() ([]byte, error)
- func (o *OrderDeliveryRequest) SetFromState(v string)
- func (o *OrderDeliveryRequest) SetOrderID(v string)
- func (o *OrderDeliveryRequest) SetToState(v string)
- func (o OrderDeliveryRequest) ToMap() (map[string]interface{}, error)
- func (o *OrderDeliveryRequest) UnmarshalJSON(data []byte) (err error)
- type OrderFeatureFlags
- func (o *OrderFeatureFlags) GetIsMexEditOrder() bool
- func (o *OrderFeatureFlags) GetIsMexEditOrderOk() (*bool, bool)
- func (o *OrderFeatureFlags) GetOrderAcceptedType() string
- func (o *OrderFeatureFlags) GetOrderAcceptedTypeOk() (*string, bool)
- func (o *OrderFeatureFlags) GetOrderType() string
- func (o *OrderFeatureFlags) GetOrderTypeOk() (*string, bool)
- func (o *OrderFeatureFlags) HasIsMexEditOrder() bool
- func (o OrderFeatureFlags) MarshalJSON() ([]byte, error)
- func (o *OrderFeatureFlags) SetIsMexEditOrder(v bool)
- func (o *OrderFeatureFlags) SetOrderAcceptedType(v string)
- func (o *OrderFeatureFlags) SetOrderType(v string)
- func (o OrderFeatureFlags) ToMap() (map[string]interface{}, error)
- func (o *OrderFeatureFlags) UnmarshalJSON(data []byte) (err error)
- type OrderFreeItem
- func (o *OrderFreeItem) GetId() string
- func (o *OrderFreeItem) GetIdOk() (*string, bool)
- func (o *OrderFreeItem) GetName() string
- func (o *OrderFreeItem) GetNameOk() (*string, bool)
- func (o *OrderFreeItem) GetPrice() int64
- func (o *OrderFreeItem) GetPriceOk() (*int64, bool)
- func (o *OrderFreeItem) GetQuantity() int32
- func (o *OrderFreeItem) GetQuantityOk() (*int32, bool)
- func (o *OrderFreeItem) HasId() bool
- func (o *OrderFreeItem) HasName() bool
- func (o *OrderFreeItem) HasPrice() bool
- func (o *OrderFreeItem) HasQuantity() bool
- func (o OrderFreeItem) MarshalJSON() ([]byte, error)
- func (o *OrderFreeItem) SetId(v string)
- func (o *OrderFreeItem) SetName(v string)
- func (o *OrderFreeItem) SetPrice(v int64)
- func (o *OrderFreeItem) SetQuantity(v int32)
- func (o OrderFreeItem) ToMap() (map[string]interface{}, error)
- func (o *OrderFreeItem) UnmarshalJSON(data []byte) (err error)
- type OrderItem
- func (o *OrderItem) GetGrabItemID() string
- func (o *OrderItem) GetGrabItemIDOk() (*string, bool)
- func (o *OrderItem) GetId() string
- func (o *OrderItem) GetIdOk() (*string, bool)
- func (o *OrderItem) GetModifiers() []OrderItemModifier
- func (o *OrderItem) GetModifiersOk() ([]OrderItemModifier, bool)
- func (o *OrderItem) GetOutOfStockInstruction() OutOfStockInstruction
- func (o *OrderItem) GetOutOfStockInstructionOk() (*OutOfStockInstruction, bool)
- func (o *OrderItem) GetPrice() int64
- func (o *OrderItem) GetPriceOk() (*int64, bool)
- func (o *OrderItem) GetQuantity() int32
- func (o *OrderItem) GetQuantityOk() (*int32, bool)
- func (o *OrderItem) GetSpecifications() string
- func (o *OrderItem) GetSpecificationsOk() (*string, bool)
- func (o *OrderItem) GetTax() int64
- func (o *OrderItem) GetTaxOk() (*int64, bool)
- func (o *OrderItem) HasModifiers() bool
- func (o *OrderItem) HasOutOfStockInstruction() bool
- func (o *OrderItem) HasSpecifications() bool
- func (o *OrderItem) HasTax() bool
- func (o OrderItem) MarshalJSON() ([]byte, error)
- func (o *OrderItem) SetGrabItemID(v string)
- func (o *OrderItem) SetId(v string)
- func (o *OrderItem) SetModifiers(v []OrderItemModifier)
- func (o *OrderItem) SetOutOfStockInstruction(v OutOfStockInstruction)
- func (o *OrderItem) SetOutOfStockInstructionNil()
- func (o *OrderItem) SetPrice(v int64)
- func (o *OrderItem) SetQuantity(v int32)
- func (o *OrderItem) SetSpecifications(v string)
- func (o *OrderItem) SetTax(v int64)
- func (o OrderItem) ToMap() (map[string]interface{}, error)
- func (o *OrderItem) UnmarshalJSON(data []byte) (err error)
- func (o *OrderItem) UnsetOutOfStockInstruction()
- type OrderItemModifier
- func (o *OrderItemModifier) GetId() string
- func (o *OrderItemModifier) GetIdOk() (*string, bool)
- func (o *OrderItemModifier) GetPrice() int64
- func (o *OrderItemModifier) GetPriceOk() (*int64, bool)
- func (o *OrderItemModifier) GetQuantity() int32
- func (o *OrderItemModifier) GetQuantityOk() (*int32, bool)
- func (o *OrderItemModifier) GetTax() int64
- func (o *OrderItemModifier) GetTaxOk() (*int64, bool)
- func (o *OrderItemModifier) HasId() bool
- func (o *OrderItemModifier) HasPrice() bool
- func (o *OrderItemModifier) HasQuantity() bool
- func (o *OrderItemModifier) HasTax() bool
- func (o OrderItemModifier) MarshalJSON() ([]byte, error)
- func (o *OrderItemModifier) SetId(v string)
- func (o *OrderItemModifier) SetPrice(v int64)
- func (o *OrderItemModifier) SetQuantity(v int32)
- func (o *OrderItemModifier) SetTax(v int64)
- func (o OrderItemModifier) ToMap() (map[string]interface{}, error)
- func (o *OrderItemModifier) UnmarshalJSON(data []byte) (err error)
- type OrderPrice
- func (o *OrderPrice) GetBasketPromo() int64
- func (o *OrderPrice) GetBasketPromoOk() (*int64, bool)
- func (o *OrderPrice) GetDeliveryFee() int64
- func (o *OrderPrice) GetDeliveryFeeOk() (*int64, bool)
- func (o *OrderPrice) GetEaterPayment() int64
- func (o *OrderPrice) GetEaterPaymentOk() (*int64, bool)
- func (o *OrderPrice) GetGrabFundPromo() int64
- func (o *OrderPrice) GetGrabFundPromoOk() (*int64, bool)
- func (o *OrderPrice) GetMerchantChargeFee() int64
- func (o *OrderPrice) GetMerchantChargeFeeOk() (*int64, bool)
- func (o *OrderPrice) GetMerchantFundPromo() int64
- func (o *OrderPrice) GetMerchantFundPromoOk() (*int64, bool)
- func (o *OrderPrice) GetSmallOrderFee() int64
- func (o *OrderPrice) GetSmallOrderFeeOk() (*int64, bool)
- func (o *OrderPrice) GetSubtotal() int64
- func (o *OrderPrice) GetSubtotalOk() (*int64, bool)
- func (o *OrderPrice) GetTax() int64
- func (o *OrderPrice) GetTaxOk() (*int64, bool)
- func (o *OrderPrice) HasBasketPromo() bool
- func (o *OrderPrice) HasDeliveryFee() bool
- func (o *OrderPrice) HasEaterPayment() bool
- func (o *OrderPrice) HasGrabFundPromo() bool
- func (o *OrderPrice) HasMerchantChargeFee() bool
- func (o *OrderPrice) HasMerchantFundPromo() bool
- func (o *OrderPrice) HasSmallOrderFee() bool
- func (o *OrderPrice) HasTax() bool
- func (o OrderPrice) MarshalJSON() ([]byte, error)
- func (o *OrderPrice) SetBasketPromo(v int64)
- func (o *OrderPrice) SetDeliveryFee(v int64)
- func (o *OrderPrice) SetEaterPayment(v int64)
- func (o *OrderPrice) SetGrabFundPromo(v int64)
- func (o *OrderPrice) SetMerchantChargeFee(v int64)
- func (o *OrderPrice) SetMerchantFundPromo(v int64)
- func (o *OrderPrice) SetSmallOrderFee(v int64)
- func (o *OrderPrice) SetSubtotal(v int64)
- func (o *OrderPrice) SetTax(v int64)
- func (o OrderPrice) ToMap() (map[string]interface{}, error)
- func (o *OrderPrice) UnmarshalJSON(data []byte) (err error)
- type OrderPromo
- func (o *OrderPromo) GetCode() string
- func (o *OrderPromo) GetCodeOk() (*string, bool)
- func (o *OrderPromo) GetDescription() string
- func (o *OrderPromo) GetDescriptionOk() (*string, bool)
- func (o *OrderPromo) GetMexFundedAmount() int64
- func (o *OrderPromo) GetMexFundedAmountOk() (*int64, bool)
- func (o *OrderPromo) GetMexFundedRatio() int32
- func (o *OrderPromo) GetMexFundedRatioOk() (*int32, bool)
- func (o *OrderPromo) GetName() string
- func (o *OrderPromo) GetNameOk() (*string, bool)
- func (o *OrderPromo) GetPromoAmount() int64
- func (o *OrderPromo) GetPromoAmountInMin() int64
- func (o *OrderPromo) GetPromoAmountInMinOk() (*int64, bool)
- func (o *OrderPromo) GetPromoAmountOk() (*int64, bool)
- func (o *OrderPromo) GetTargetedPrice() int64
- func (o *OrderPromo) GetTargetedPriceOk() (*int64, bool)
- func (o *OrderPromo) HasCode() bool
- func (o *OrderPromo) HasDescription() bool
- func (o *OrderPromo) HasMexFundedAmount() bool
- func (o *OrderPromo) HasMexFundedRatio() bool
- func (o *OrderPromo) HasName() bool
- func (o *OrderPromo) HasPromoAmount() bool
- func (o *OrderPromo) HasPromoAmountInMin() bool
- func (o *OrderPromo) HasTargetedPrice() bool
- func (o OrderPromo) MarshalJSON() ([]byte, error)
- func (o *OrderPromo) SetCode(v string)
- func (o *OrderPromo) SetDescription(v string)
- func (o *OrderPromo) SetMexFundedAmount(v int64)
- func (o *OrderPromo) SetMexFundedRatio(v int32)
- func (o *OrderPromo) SetName(v string)
- func (o *OrderPromo) SetPromoAmount(v int64)
- func (o *OrderPromo) SetPromoAmountInMin(v int64)
- func (o *OrderPromo) SetTargetedPrice(v int64)
- func (o OrderPromo) ToMap() (map[string]interface{}, error)
- func (o *OrderPromo) UnmarshalJSON(data []byte) (err error)
- type OrderReadyEstimation
- func (o *OrderReadyEstimation) GetAllowChange() bool
- func (o *OrderReadyEstimation) GetAllowChangeOk() (*bool, bool)
- func (o *OrderReadyEstimation) GetEstimatedOrderReadyTime() time.Time
- func (o *OrderReadyEstimation) GetEstimatedOrderReadyTimeOk() (*time.Time, bool)
- func (o *OrderReadyEstimation) GetMaxOrderReadyTime() time.Time
- func (o *OrderReadyEstimation) GetMaxOrderReadyTimeOk() (*time.Time, bool)
- func (o *OrderReadyEstimation) GetNewOrderReadyTime() time.Time
- func (o *OrderReadyEstimation) GetNewOrderReadyTimeOk() (*time.Time, bool)
- func (o *OrderReadyEstimation) HasNewOrderReadyTime() bool
- func (o OrderReadyEstimation) MarshalJSON() ([]byte, error)
- func (o *OrderReadyEstimation) SetAllowChange(v bool)
- func (o *OrderReadyEstimation) SetEstimatedOrderReadyTime(v time.Time)
- func (o *OrderReadyEstimation) SetMaxOrderReadyTime(v time.Time)
- func (o *OrderReadyEstimation) SetNewOrderReadyTime(v time.Time)
- func (o *OrderReadyEstimation) SetNewOrderReadyTimeNil()
- func (o OrderReadyEstimation) ToMap() (map[string]interface{}, error)
- func (o *OrderReadyEstimation) UnmarshalJSON(data []byte) (err error)
- func (o *OrderReadyEstimation) UnsetNewOrderReadyTime()
- type OrderStateRequest
- func (o *OrderStateRequest) GetCode() string
- func (o *OrderStateRequest) GetCodeOk() (*string, bool)
- func (o *OrderStateRequest) GetDriverETA() int32
- func (o *OrderStateRequest) GetDriverETAOk() (*int32, bool)
- func (o *OrderStateRequest) GetMerchantID() string
- func (o *OrderStateRequest) GetMerchantIDOk() (*string, bool)
- func (o *OrderStateRequest) GetMessage() string
- func (o *OrderStateRequest) GetMessageOk() (*string, bool)
- func (o *OrderStateRequest) GetOrderID() string
- func (o *OrderStateRequest) GetOrderIDOk() (*string, bool)
- func (o *OrderStateRequest) GetPartnerMerchantID() string
- func (o *OrderStateRequest) GetPartnerMerchantIDOk() (*string, bool)
- func (o *OrderStateRequest) GetState() string
- func (o *OrderStateRequest) GetStateOk() (*string, bool)
- func (o *OrderStateRequest) HasCode() bool
- func (o *OrderStateRequest) HasDriverETA() bool
- func (o *OrderStateRequest) HasMessage() bool
- func (o *OrderStateRequest) HasPartnerMerchantID() bool
- func (o OrderStateRequest) MarshalJSON() ([]byte, error)
- func (o *OrderStateRequest) SetCode(v string)
- func (o *OrderStateRequest) SetDriverETA(v int32)
- func (o *OrderStateRequest) SetDriverETANil()
- func (o *OrderStateRequest) SetMerchantID(v string)
- func (o *OrderStateRequest) SetMessage(v string)
- func (o *OrderStateRequest) SetOrderID(v string)
- func (o *OrderStateRequest) SetPartnerMerchantID(v string)
- func (o *OrderStateRequest) SetState(v string)
- func (o OrderStateRequest) ToMap() (map[string]interface{}, error)
- func (o *OrderStateRequest) UnmarshalJSON(data []byte) (err error)
- func (o *OrderStateRequest) UnsetDriverETA()
- type OutOfStockInstruction
- func (o *OutOfStockInstruction) GetInstructionType() string
- func (o *OutOfStockInstruction) GetInstructionTypeOk() (*string, bool)
- func (o *OutOfStockInstruction) GetReplacementGrabItemID() string
- func (o *OutOfStockInstruction) GetReplacementGrabItemIDOk() (*string, bool)
- func (o *OutOfStockInstruction) GetReplacementItemID() string
- func (o *OutOfStockInstruction) GetReplacementItemIDOk() (*string, bool)
- func (o *OutOfStockInstruction) GetTitle() string
- func (o *OutOfStockInstruction) GetTitleOk() (*string, bool)
- func (o *OutOfStockInstruction) HasInstructionType() bool
- func (o *OutOfStockInstruction) HasReplacementGrabItemID() bool
- func (o *OutOfStockInstruction) HasReplacementItemID() bool
- func (o *OutOfStockInstruction) HasTitle() bool
- func (o OutOfStockInstruction) MarshalJSON() ([]byte, error)
- func (o *OutOfStockInstruction) SetInstructionType(v string)
- func (o *OutOfStockInstruction) SetReplacementGrabItemID(v string)
- func (o *OutOfStockInstruction) SetReplacementItemID(v string)
- func (o *OutOfStockInstruction) SetTitle(v string)
- func (o OutOfStockInstruction) ToMap() (map[string]interface{}, error)
- func (o *OutOfStockInstruction) UnmarshalJSON(data []byte) (err error)
- type PartnerOauthRequest
- func (o *PartnerOauthRequest) GetClientId() string
- func (o *PartnerOauthRequest) GetClientIdOk() (*string, bool)
- func (o *PartnerOauthRequest) GetClientSecret() string
- func (o *PartnerOauthRequest) GetClientSecretOk() (*string, bool)
- func (o *PartnerOauthRequest) GetGrantType() string
- func (o *PartnerOauthRequest) GetGrantTypeOk() (*string, bool)
- func (o *PartnerOauthRequest) GetScope() string
- func (o *PartnerOauthRequest) GetScopeOk() (*string, bool)
- func (o *PartnerOauthRequest) HasScope() bool
- func (o PartnerOauthRequest) MarshalJSON() ([]byte, error)
- func (o *PartnerOauthRequest) SetClientId(v string)
- func (o *PartnerOauthRequest) SetClientSecret(v string)
- func (o *PartnerOauthRequest) SetGrantType(v string)
- func (o *PartnerOauthRequest) SetScope(v string)
- func (o PartnerOauthRequest) ToMap() (map[string]interface{}, error)
- func (o *PartnerOauthRequest) UnmarshalJSON(data []byte) (err error)
- type PartnerOauthResponse
- func (o *PartnerOauthResponse) GetAccessToken() string
- func (o *PartnerOauthResponse) GetAccessTokenOk() (*string, bool)
- func (o *PartnerOauthResponse) GetExpiresIn() int32
- func (o *PartnerOauthResponse) GetExpiresInOk() (*int32, bool)
- func (o *PartnerOauthResponse) GetTokenType() string
- func (o *PartnerOauthResponse) GetTokenTypeOk() (*string, bool)
- func (o *PartnerOauthResponse) HasAccessToken() bool
- func (o *PartnerOauthResponse) HasExpiresIn() bool
- func (o *PartnerOauthResponse) HasTokenType() bool
- func (o PartnerOauthResponse) MarshalJSON() ([]byte, error)
- func (o *PartnerOauthResponse) SetAccessToken(v string)
- func (o *PartnerOauthResponse) SetExpiresIn(v int32)
- func (o *PartnerOauthResponse) SetTokenType(v string)
- func (o PartnerOauthResponse) ToMap() (map[string]interface{}, error)
- func (o *PartnerOauthResponse) UnmarshalJSON(data []byte) (err error)
- type PauseStoreAPIService
- type PauseStoreRequest
- func (o *PauseStoreRequest) GetDuration() string
- func (o *PauseStoreRequest) GetDurationOk() (*string, bool)
- func (o *PauseStoreRequest) GetIsPause() bool
- func (o *PauseStoreRequest) GetIsPauseOk() (*bool, bool)
- func (o *PauseStoreRequest) GetMerchantID() string
- func (o *PauseStoreRequest) GetMerchantIDOk() (*string, bool)
- func (o *PauseStoreRequest) HasDuration() bool
- func (o PauseStoreRequest) MarshalJSON() ([]byte, error)
- func (o *PauseStoreRequest) SetDuration(v string)
- func (o *PauseStoreRequest) SetIsPause(v bool)
- func (o *PauseStoreRequest) SetMerchantID(v string)
- func (o PauseStoreRequest) ToMap() (map[string]interface{}, error)
- func (o *PauseStoreRequest) UnmarshalJSON(data []byte) (err error)
- type Purchasability
- func (o *Purchasability) GetDeliveryOnDemandGrabApp() bool
- func (o *Purchasability) GetDeliveryOnDemandGrabAppOk() (*bool, bool)
- func (o *Purchasability) GetDeliveryOnDemandStoreFront() bool
- func (o *Purchasability) GetDeliveryOnDemandStoreFrontOk() (*bool, bool)
- func (o *Purchasability) GetDeliveryScheduledGrabApp() bool
- func (o *Purchasability) GetDeliveryScheduledGrabAppOk() (*bool, bool)
- func (o *Purchasability) GetDeliveryScheduledStoreFront() bool
- func (o *Purchasability) GetDeliveryScheduledStoreFrontOk() (*bool, bool)
- func (o *Purchasability) GetDineInOnDemandGrabApp() bool
- func (o *Purchasability) GetDineInOnDemandGrabAppOk() (*bool, bool)
- func (o *Purchasability) GetSelfPickUpOnDemandGrabApp() bool
- func (o *Purchasability) GetSelfPickUpOnDemandGrabAppOk() (*bool, bool)
- func (o *Purchasability) GetSelfPickUpOnDemandStoreFront() bool
- func (o *Purchasability) GetSelfPickUpOnDemandStoreFrontOk() (*bool, bool)
- func (o *Purchasability) HasDeliveryOnDemandGrabApp() bool
- func (o *Purchasability) HasDeliveryOnDemandStoreFront() bool
- func (o *Purchasability) HasDeliveryScheduledGrabApp() bool
- func (o *Purchasability) HasDeliveryScheduledStoreFront() bool
- func (o *Purchasability) HasDineInOnDemandGrabApp() bool
- func (o *Purchasability) HasSelfPickUpOnDemandGrabApp() bool
- func (o *Purchasability) HasSelfPickUpOnDemandStoreFront() bool
- func (o Purchasability) MarshalJSON() ([]byte, error)
- func (o *Purchasability) SetDeliveryOnDemandGrabApp(v bool)
- func (o *Purchasability) SetDeliveryOnDemandStoreFront(v bool)
- func (o *Purchasability) SetDeliveryScheduledGrabApp(v bool)
- func (o *Purchasability) SetDeliveryScheduledStoreFront(v bool)
- func (o *Purchasability) SetDineInOnDemandGrabApp(v bool)
- func (o *Purchasability) SetSelfPickUpOnDemandGrabApp(v bool)
- func (o *Purchasability) SetSelfPickUpOnDemandStoreFront(v bool)
- func (o Purchasability) ToMap() (map[string]interface{}, error)
- func (o *Purchasability) UnmarshalJSON(data []byte) (err error)
- type PushIntegrationStatusWebhookRequest
- func (o *PushIntegrationStatusWebhookRequest) GetGrabMerchantID() string
- func (o *PushIntegrationStatusWebhookRequest) GetGrabMerchantIDOk() (*string, bool)
- func (o *PushIntegrationStatusWebhookRequest) GetIntegrationStatus() string
- func (o *PushIntegrationStatusWebhookRequest) GetIntegrationStatusOk() (*string, bool)
- func (o *PushIntegrationStatusWebhookRequest) GetPartnerMerchantID() string
- func (o *PushIntegrationStatusWebhookRequest) GetPartnerMerchantIDOk() (*string, bool)
- func (o PushIntegrationStatusWebhookRequest) MarshalJSON() ([]byte, error)
- func (o *PushIntegrationStatusWebhookRequest) SetGrabMerchantID(v string)
- func (o *PushIntegrationStatusWebhookRequest) SetIntegrationStatus(v string)
- func (o *PushIntegrationStatusWebhookRequest) SetPartnerMerchantID(v string)
- func (o PushIntegrationStatusWebhookRequest) ToMap() (map[string]interface{}, error)
- func (o *PushIntegrationStatusWebhookRequest) UnmarshalJSON(data []byte) (err error)
- type Receiver
- func (o *Receiver) GetAddress() Address
- func (o *Receiver) GetAddressOk() (*Address, bool)
- func (o *Receiver) GetName() string
- func (o *Receiver) GetNameOk() (*string, bool)
- func (o *Receiver) GetPhones() string
- func (o *Receiver) GetPhonesOk() (*string, bool)
- func (o *Receiver) HasAddress() bool
- func (o *Receiver) HasName() bool
- func (o *Receiver) HasPhones() bool
- func (o Receiver) MarshalJSON() ([]byte, error)
- func (o *Receiver) SetAddress(v Address)
- func (o *Receiver) SetName(v string)
- func (o *Receiver) SetPhones(v string)
- func (o Receiver) ToMap() (map[string]interface{}, error)
- func (o *Receiver) UnmarshalJSON(data []byte) (err error)
- type RedeemDineInVoucherRequest
- func (o *RedeemDineInVoucherRequest) GetCertificateID() string
- func (o *RedeemDineInVoucherRequest) GetCertificateIDOk() (*string, bool)
- func (o *RedeemDineInVoucherRequest) GetMerchantID() string
- func (o *RedeemDineInVoucherRequest) GetMerchantIDOk() (*string, bool)
- func (o RedeemDineInVoucherRequest) MarshalJSON() ([]byte, error)
- func (o *RedeemDineInVoucherRequest) SetCertificateID(v string)
- func (o *RedeemDineInVoucherRequest) SetMerchantID(v string)
- func (o RedeemDineInVoucherRequest) ToMap() (map[string]interface{}, error)
- func (o *RedeemDineInVoucherRequest) UnmarshalJSON(data []byte) (err error)
- type RedeemDineInVoucherResponse
- func (o *RedeemDineInVoucherResponse) GetCampaignID() string
- func (o *RedeemDineInVoucherResponse) GetCampaignIDOk() (*string, bool)
- func (o *RedeemDineInVoucherResponse) GetCertificateID() string
- func (o *RedeemDineInVoucherResponse) GetCertificateIDOk() (*string, bool)
- func (o *RedeemDineInVoucherResponse) GetMerchantID() string
- func (o *RedeemDineInVoucherResponse) GetMerchantIDOk() (*string, bool)
- func (o *RedeemDineInVoucherResponse) GetRedeemResult() RedeemResult
- func (o *RedeemDineInVoucherResponse) GetRedeemResultOk() (*RedeemResult, bool)
- func (o *RedeemDineInVoucherResponse) GetVoucher() Voucher
- func (o *RedeemDineInVoucherResponse) GetVoucherCode() string
- func (o *RedeemDineInVoucherResponse) GetVoucherCodeOk() (*string, bool)
- func (o *RedeemDineInVoucherResponse) GetVoucherOk() (*Voucher, bool)
- func (o *RedeemDineInVoucherResponse) HasCampaignID() bool
- func (o *RedeemDineInVoucherResponse) HasCertificateID() bool
- func (o *RedeemDineInVoucherResponse) HasMerchantID() bool
- func (o *RedeemDineInVoucherResponse) HasRedeemResult() bool
- func (o *RedeemDineInVoucherResponse) HasVoucher() bool
- func (o *RedeemDineInVoucherResponse) HasVoucherCode() bool
- func (o RedeemDineInVoucherResponse) MarshalJSON() ([]byte, error)
- func (o *RedeemDineInVoucherResponse) SetCampaignID(v string)
- func (o *RedeemDineInVoucherResponse) SetCertificateID(v string)
- func (o *RedeemDineInVoucherResponse) SetMerchantID(v string)
- func (o *RedeemDineInVoucherResponse) SetRedeemResult(v RedeemResult)
- func (o *RedeemDineInVoucherResponse) SetVoucher(v Voucher)
- func (o *RedeemDineInVoucherResponse) SetVoucherCode(v string)
- func (o RedeemDineInVoucherResponse) ToMap() (map[string]interface{}, error)
- func (o *RedeemDineInVoucherResponse) UnmarshalJSON(data []byte) (err error)
- type RedeemDineinVoucherAPIService
- type RedeemResult
- func (o *RedeemResult) GetCode() string
- func (o *RedeemResult) GetCodeOk() (*string, bool)
- func (o *RedeemResult) GetSuccess() bool
- func (o *RedeemResult) GetSuccessOk() (*bool, bool)
- func (o *RedeemResult) HasCode() bool
- func (o *RedeemResult) HasSuccess() bool
- func (o RedeemResult) MarshalJSON() ([]byte, error)
- func (o *RedeemResult) SetCode(v string)
- func (o *RedeemResult) SetSuccess(v bool)
- func (o RedeemResult) ToMap() (map[string]interface{}, error)
- func (o *RedeemResult) UnmarshalJSON(data []byte) (err error)
- type RegisterMembershipNativeRequest
- func (o *RegisterMembershipNativeRequest) GetEmail() string
- func (o *RegisterMembershipNativeRequest) GetEmailOk() (*string, bool)
- func (o *RegisterMembershipNativeRequest) GetGrabID() string
- func (o *RegisterMembershipNativeRequest) GetGrabIDOk() (*string, bool)
- func (o *RegisterMembershipNativeRequest) GetName() string
- func (o *RegisterMembershipNativeRequest) GetNameOk() (*string, bool)
- func (o *RegisterMembershipNativeRequest) GetPhoneNumber() string
- func (o *RegisterMembershipNativeRequest) GetPhoneNumberOk() (*string, bool)
- func (o *RegisterMembershipNativeRequest) HasEmail() bool
- func (o *RegisterMembershipNativeRequest) HasName() bool
- func (o *RegisterMembershipNativeRequest) HasPhoneNumber() bool
- func (o RegisterMembershipNativeRequest) MarshalJSON() ([]byte, error)
- func (o *RegisterMembershipNativeRequest) SetEmail(v string)
- func (o *RegisterMembershipNativeRequest) SetGrabID(v string)
- func (o *RegisterMembershipNativeRequest) SetName(v string)
- func (o *RegisterMembershipNativeRequest) SetPhoneNumber(v string)
- func (o RegisterMembershipNativeRequest) ToMap() (map[string]interface{}, error)
- func (o *RegisterMembershipNativeRequest) UnmarshalJSON(data []byte) (err error)
- type RegisterMembershipNativeResponse
- func (o *RegisterMembershipNativeResponse) GetMemberID() string
- func (o *RegisterMembershipNativeResponse) GetMemberIDOk() (*string, bool)
- func (o RegisterMembershipNativeResponse) MarshalJSON() ([]byte, error)
- func (o *RegisterMembershipNativeResponse) SetMemberID(v string)
- func (o RegisterMembershipNativeResponse) ToMap() (map[string]interface{}, error)
- func (o *RegisterMembershipNativeResponse) UnmarshalJSON(data []byte) (err error)
- type RewardItem
- func (o *RewardItem) GetItemID() string
- func (o *RewardItem) GetItemIDOk() (*string, bool)
- func (o *RewardItem) GetQuantity() int32
- func (o *RewardItem) GetQuantityOk() (*int32, bool)
- func (o *RewardItem) HasItemID() bool
- func (o *RewardItem) HasQuantity() bool
- func (o RewardItem) MarshalJSON() ([]byte, error)
- func (o *RewardItem) SetItemID(v string)
- func (o *RewardItem) SetQuantity(v int32)
- func (o RewardItem) ToMap() (map[string]interface{}, error)
- func (o *RewardItem) UnmarshalJSON(data []byte) (err error)
- type SellingTime
- func (o *SellingTime) GetEndTime() string
- func (o *SellingTime) GetEndTimeOk() (*string, bool)
- func (o *SellingTime) GetId() string
- func (o *SellingTime) GetIdOk() (*string, bool)
- func (o *SellingTime) GetName() string
- func (o *SellingTime) GetNameOk() (*string, bool)
- func (o *SellingTime) GetServiceHours() ServiceHours
- func (o *SellingTime) GetServiceHoursOk() (*ServiceHours, bool)
- func (o *SellingTime) GetStartTime() string
- func (o *SellingTime) GetStartTimeOk() (*string, bool)
- func (o *SellingTime) HasEndTime() bool
- func (o *SellingTime) HasId() bool
- func (o *SellingTime) HasName() bool
- func (o *SellingTime) HasServiceHours() bool
- func (o *SellingTime) HasStartTime() bool
- func (o SellingTime) MarshalJSON() ([]byte, error)
- func (o *SellingTime) SetEndTime(v string)
- func (o *SellingTime) SetId(v string)
- func (o *SellingTime) SetName(v string)
- func (o *SellingTime) SetServiceHours(v ServiceHours)
- func (o *SellingTime) SetStartTime(v string)
- func (o SellingTime) ToMap() (map[string]interface{}, error)
- func (o *SellingTime) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ServiceHour
- func (o *ServiceHour) GetOpenPeriodType() string
- func (o *ServiceHour) GetOpenPeriodTypeOk() (*string, bool)
- func (o *ServiceHour) GetPeriods() []OpenPeriod
- func (o *ServiceHour) GetPeriodsOk() ([]OpenPeriod, bool)
- func (o *ServiceHour) HasPeriods() bool
- func (o ServiceHour) MarshalJSON() ([]byte, error)
- func (o *ServiceHour) SetOpenPeriodType(v string)
- func (o *ServiceHour) SetPeriods(v []OpenPeriod)
- func (o ServiceHour) ToMap() (map[string]interface{}, error)
- func (o *ServiceHour) UnmarshalJSON(data []byte) (err error)
- type ServiceHours
- func (o *ServiceHours) GetFri() ServiceHour
- func (o *ServiceHours) GetFriOk() (*ServiceHour, bool)
- func (o *ServiceHours) GetMon() ServiceHour
- func (o *ServiceHours) GetMonOk() (*ServiceHour, bool)
- func (o *ServiceHours) GetSat() ServiceHour
- func (o *ServiceHours) GetSatOk() (*ServiceHour, bool)
- func (o *ServiceHours) GetSun() ServiceHour
- func (o *ServiceHours) GetSunOk() (*ServiceHour, bool)
- func (o *ServiceHours) GetThu() ServiceHour
- func (o *ServiceHours) GetThuOk() (*ServiceHour, bool)
- func (o *ServiceHours) GetTue() ServiceHour
- func (o *ServiceHours) GetTueOk() (*ServiceHour, bool)
- func (o *ServiceHours) GetWed() ServiceHour
- func (o *ServiceHours) GetWedOk() (*ServiceHour, bool)
- func (o ServiceHours) MarshalJSON() ([]byte, error)
- func (o *ServiceHours) SetFri(v ServiceHour)
- func (o *ServiceHours) SetMon(v ServiceHour)
- func (o *ServiceHours) SetSat(v ServiceHour)
- func (o *ServiceHours) SetSun(v ServiceHour)
- func (o *ServiceHours) SetThu(v ServiceHour)
- func (o *ServiceHours) SetTue(v ServiceHour)
- func (o *ServiceHours) SetWed(v ServiceHour)
- func (o ServiceHours) ToMap() (map[string]interface{}, error)
- func (o *ServiceHours) UnmarshalJSON(data []byte) (err error)
- type SpecialOpeningHour
- func (o *SpecialOpeningHour) GetEndDate() string
- func (o *SpecialOpeningHour) GetEndDateOk() (*string, bool)
- func (o *SpecialOpeningHour) GetMetadata() SpecialOpeningHourMetadata
- func (o *SpecialOpeningHour) GetMetadataOk() (*SpecialOpeningHourMetadata, bool)
- func (o *SpecialOpeningHour) GetOpeningHours() SpecialOpeningHourOpeningHours
- func (o *SpecialOpeningHour) GetOpeningHoursOk() (*SpecialOpeningHourOpeningHours, bool)
- func (o *SpecialOpeningHour) GetStartDate() string
- func (o *SpecialOpeningHour) GetStartDateOk() (*string, bool)
- func (o *SpecialOpeningHour) HasEndDate() bool
- func (o *SpecialOpeningHour) HasMetadata() bool
- func (o *SpecialOpeningHour) HasOpeningHours() bool
- func (o *SpecialOpeningHour) HasStartDate() bool
- func (o SpecialOpeningHour) MarshalJSON() ([]byte, error)
- func (o *SpecialOpeningHour) SetEndDate(v string)
- func (o *SpecialOpeningHour) SetMetadata(v SpecialOpeningHourMetadata)
- func (o *SpecialOpeningHour) SetOpeningHours(v SpecialOpeningHourOpeningHours)
- func (o *SpecialOpeningHour) SetStartDate(v string)
- func (o SpecialOpeningHour) ToMap() (map[string]interface{}, error)
- func (o *SpecialOpeningHour) UnmarshalJSON(data []byte) (err error)
- type SpecialOpeningHourMetadata
- func (o *SpecialOpeningHourMetadata) GetDescription() string
- func (o *SpecialOpeningHourMetadata) GetDescriptionOk() (*string, bool)
- func (o *SpecialOpeningHourMetadata) HasDescription() bool
- func (o SpecialOpeningHourMetadata) MarshalJSON() ([]byte, error)
- func (o *SpecialOpeningHourMetadata) SetDescription(v string)
- func (o SpecialOpeningHourMetadata) ToMap() (map[string]interface{}, error)
- func (o *SpecialOpeningHourMetadata) UnmarshalJSON(data []byte) (err error)
- type SpecialOpeningHourOpeningHours
- func (o *SpecialOpeningHourOpeningHours) GetOpenPeriodType() string
- func (o *SpecialOpeningHourOpeningHours) GetOpenPeriodTypeOk() (*string, bool)
- func (o *SpecialOpeningHourOpeningHours) GetPeriods() []OpenPeriod
- func (o *SpecialOpeningHourOpeningHours) GetPeriodsOk() ([]OpenPeriod, bool)
- func (o *SpecialOpeningHourOpeningHours) HasOpenPeriodType() bool
- func (o *SpecialOpeningHourOpeningHours) HasPeriods() bool
- func (o SpecialOpeningHourOpeningHours) MarshalJSON() ([]byte, error)
- func (o *SpecialOpeningHourOpeningHours) SetOpenPeriodType(v string)
- func (o *SpecialOpeningHourOpeningHours) SetPeriods(v []OpenPeriod)
- func (o SpecialOpeningHourOpeningHours) ToMap() (map[string]interface{}, error)
- func (o *SpecialOpeningHourOpeningHours) UnmarshalJSON(data []byte) (err error)
- type StoreHour
- func (o *StoreHour) GetFri() []OpenPeriod
- func (o *StoreHour) GetFriOk() ([]OpenPeriod, bool)
- func (o *StoreHour) GetMon() []OpenPeriod
- func (o *StoreHour) GetMonOk() ([]OpenPeriod, bool)
- func (o *StoreHour) GetSat() []OpenPeriod
- func (o *StoreHour) GetSatOk() ([]OpenPeriod, bool)
- func (o *StoreHour) GetSun() []OpenPeriod
- func (o *StoreHour) GetSunOk() ([]OpenPeriod, bool)
- func (o *StoreHour) GetThu() []OpenPeriod
- func (o *StoreHour) GetThuOk() ([]OpenPeriod, bool)
- func (o *StoreHour) GetTue() []OpenPeriod
- func (o *StoreHour) GetTueOk() ([]OpenPeriod, bool)
- func (o *StoreHour) GetWed() []OpenPeriod
- func (o *StoreHour) GetWedOk() ([]OpenPeriod, bool)
- func (o StoreHour) MarshalJSON() ([]byte, error)
- func (o *StoreHour) SetFri(v []OpenPeriod)
- func (o *StoreHour) SetMon(v []OpenPeriod)
- func (o *StoreHour) SetSat(v []OpenPeriod)
- func (o *StoreHour) SetSun(v []OpenPeriod)
- func (o *StoreHour) SetThu(v []OpenPeriod)
- func (o *StoreHour) SetTue(v []OpenPeriod)
- func (o *StoreHour) SetWed(v []OpenPeriod)
- func (o StoreHour) ToMap() (map[string]interface{}, error)
- func (o *StoreHour) UnmarshalJSON(data []byte) (err error)
- type StoreHourResponse
- func (o *StoreHourResponse) GetDineInHour() StoreHour
- func (o *StoreHourResponse) GetDineInHourOk() (*StoreHour, bool)
- func (o *StoreHourResponse) GetOpeningHour() StoreHour
- func (o *StoreHourResponse) GetOpeningHourOk() (*StoreHour, bool)
- func (o *StoreHourResponse) GetSpecialOpeningHours() []SpecialOpeningHour
- func (o *StoreHourResponse) GetSpecialOpeningHoursOk() ([]SpecialOpeningHour, bool)
- func (o *StoreHourResponse) HasDineInHour() bool
- func (o *StoreHourResponse) HasOpeningHour() bool
- func (o *StoreHourResponse) HasSpecialOpeningHours() bool
- func (o StoreHourResponse) MarshalJSON() ([]byte, error)
- func (o *StoreHourResponse) SetDineInHour(v StoreHour)
- func (o *StoreHourResponse) SetOpeningHour(v StoreHour)
- func (o *StoreHourResponse) SetSpecialOpeningHours(v []SpecialOpeningHour)
- func (o StoreHourResponse) ToMap() (map[string]interface{}, error)
- func (o *StoreHourResponse) UnmarshalJSON(data []byte) (err error)
- type StoreStatusResponse
- func (o *StoreStatusResponse) GetCloseReason() string
- func (o *StoreStatusResponse) GetCloseReasonOk() (*string, bool)
- func (o *StoreStatusResponse) GetIsInSpecialOpeningHourRange() bool
- func (o *StoreStatusResponse) GetIsInSpecialOpeningHourRangeOk() (*bool, bool)
- func (o *StoreStatusResponse) GetIsOpen() bool
- func (o *StoreStatusResponse) GetIsOpenOk() (*bool, bool)
- func (o StoreStatusResponse) MarshalJSON() ([]byte, error)
- func (o *StoreStatusResponse) SetCloseReason(v string)
- func (o *StoreStatusResponse) SetIsInSpecialOpeningHourRange(v bool)
- func (o *StoreStatusResponse) SetIsOpen(v bool)
- func (o StoreStatusResponse) ToMap() (map[string]interface{}, error)
- func (o *StoreStatusResponse) UnmarshalJSON(data []byte) (err error)
- type SubmitOrderRequest
- func (o *SubmitOrderRequest) GetCampaigns() []OrderCampaign
- func (o *SubmitOrderRequest) GetCampaignsOk() ([]OrderCampaign, bool)
- func (o *SubmitOrderRequest) GetCompleteTime() time.Time
- func (o *SubmitOrderRequest) GetCompleteTimeOk() (*time.Time, bool)
- func (o *SubmitOrderRequest) GetCurrency() Currency
- func (o *SubmitOrderRequest) GetCurrencyOk() (*Currency, bool)
- func (o *SubmitOrderRequest) GetCutlery() bool
- func (o *SubmitOrderRequest) GetCutleryOk() (*bool, bool)
- func (o *SubmitOrderRequest) GetDineIn() DineIn
- func (o *SubmitOrderRequest) GetDineInOk() (*DineIn, bool)
- func (o *SubmitOrderRequest) GetFeatureFlags() OrderFeatureFlags
- func (o *SubmitOrderRequest) GetFeatureFlagsOk() (*OrderFeatureFlags, bool)
- func (o *SubmitOrderRequest) GetItems() []OrderItem
- func (o *SubmitOrderRequest) GetItemsOk() ([]OrderItem, bool)
- func (o *SubmitOrderRequest) GetMembershipID() string
- func (o *SubmitOrderRequest) GetMembershipIDOk() (*string, bool)
- func (o *SubmitOrderRequest) GetMerchantID() string
- func (o *SubmitOrderRequest) GetMerchantIDOk() (*string, bool)
- func (o *SubmitOrderRequest) GetOrderID() string
- func (o *SubmitOrderRequest) GetOrderIDOk() (*string, bool)
- func (o *SubmitOrderRequest) GetOrderReadyEstimation() OrderReadyEstimation
- func (o *SubmitOrderRequest) GetOrderReadyEstimationOk() (*OrderReadyEstimation, bool)
- func (o *SubmitOrderRequest) GetOrderState() string
- func (o *SubmitOrderRequest) GetOrderStateOk() (*string, bool)
- func (o *SubmitOrderRequest) GetOrderTime() string
- func (o *SubmitOrderRequest) GetOrderTimeOk() (*string, bool)
- func (o *SubmitOrderRequest) GetPartnerMerchantID() string
- func (o *SubmitOrderRequest) GetPartnerMerchantIDOk() (*string, bool)
- func (o *SubmitOrderRequest) GetPaymentType() string
- func (o *SubmitOrderRequest) GetPaymentTypeOk() (*string, bool)
- func (o *SubmitOrderRequest) GetPrice() OrderPrice
- func (o *SubmitOrderRequest) GetPriceOk() (*OrderPrice, bool)
- func (o *SubmitOrderRequest) GetPromos() []OrderPromo
- func (o *SubmitOrderRequest) GetPromosOk() ([]OrderPromo, bool)
- func (o *SubmitOrderRequest) GetReceiver() Receiver
- func (o *SubmitOrderRequest) GetReceiverOk() (*Receiver, bool)
- func (o *SubmitOrderRequest) GetScheduledTime() string
- func (o *SubmitOrderRequest) GetScheduledTimeOk() (*string, bool)
- func (o *SubmitOrderRequest) GetShortOrderNumber() string
- func (o *SubmitOrderRequest) GetShortOrderNumberOk() (*string, bool)
- func (o *SubmitOrderRequest) GetSubmitTime() time.Time
- func (o *SubmitOrderRequest) GetSubmitTimeOk() (*time.Time, bool)
- func (o *SubmitOrderRequest) HasCampaigns() bool
- func (o *SubmitOrderRequest) HasCompleteTime() bool
- func (o *SubmitOrderRequest) HasDineIn() bool
- func (o *SubmitOrderRequest) HasMembershipID() bool
- func (o *SubmitOrderRequest) HasOrderReadyEstimation() bool
- func (o *SubmitOrderRequest) HasOrderState() bool
- func (o *SubmitOrderRequest) HasPartnerMerchantID() bool
- func (o *SubmitOrderRequest) HasPromos() bool
- func (o *SubmitOrderRequest) HasReceiver() bool
- func (o *SubmitOrderRequest) HasScheduledTime() bool
- func (o *SubmitOrderRequest) HasSubmitTime() bool
- func (o SubmitOrderRequest) MarshalJSON() ([]byte, error)
- func (o *SubmitOrderRequest) SetCampaigns(v []OrderCampaign)
- func (o *SubmitOrderRequest) SetCompleteTime(v time.Time)
- func (o *SubmitOrderRequest) SetCurrency(v Currency)
- func (o *SubmitOrderRequest) SetCutlery(v bool)
- func (o *SubmitOrderRequest) SetDineIn(v DineIn)
- func (o *SubmitOrderRequest) SetDineInNil()
- func (o *SubmitOrderRequest) SetFeatureFlags(v OrderFeatureFlags)
- func (o *SubmitOrderRequest) SetItems(v []OrderItem)
- func (o *SubmitOrderRequest) SetMembershipID(v string)
- func (o *SubmitOrderRequest) SetMerchantID(v string)
- func (o *SubmitOrderRequest) SetOrderID(v string)
- func (o *SubmitOrderRequest) SetOrderReadyEstimation(v OrderReadyEstimation)
- func (o *SubmitOrderRequest) SetOrderState(v string)
- func (o *SubmitOrderRequest) SetOrderTime(v string)
- func (o *SubmitOrderRequest) SetPartnerMerchantID(v string)
- func (o *SubmitOrderRequest) SetPaymentType(v string)
- func (o *SubmitOrderRequest) SetPrice(v OrderPrice)
- func (o *SubmitOrderRequest) SetPromos(v []OrderPromo)
- func (o *SubmitOrderRequest) SetReceiver(v Receiver)
- func (o *SubmitOrderRequest) SetReceiverNil()
- func (o *SubmitOrderRequest) SetScheduledTime(v string)
- func (o *SubmitOrderRequest) SetShortOrderNumber(v string)
- func (o *SubmitOrderRequest) SetSubmitTime(v time.Time)
- func (o SubmitOrderRequest) ToMap() (map[string]interface{}, error)
- func (o *SubmitOrderRequest) UnmarshalJSON(data []byte) (err error)
- func (o *SubmitOrderRequest) UnsetDineIn()
- func (o *SubmitOrderRequest) UnsetReceiver()
- type TraceMenuSyncAPIService
- type UnbindMembershipNativeRequest
- func (o *UnbindMembershipNativeRequest) GetMemberID() string
- func (o *UnbindMembershipNativeRequest) GetMemberIDOk() (*string, bool)
- func (o UnbindMembershipNativeRequest) MarshalJSON() ([]byte, error)
- func (o *UnbindMembershipNativeRequest) SetMemberID(v string)
- func (o UnbindMembershipNativeRequest) ToMap() (map[string]interface{}, error)
- func (o *UnbindMembershipNativeRequest) UnmarshalJSON(data []byte) (err error)
- type UnlinkMembershipWebviewRequest
- func (o *UnlinkMembershipWebviewRequest) GetMemberID() string
- func (o *UnlinkMembershipWebviewRequest) GetMemberIDOk() (*string, bool)
- func (o UnlinkMembershipWebviewRequest) MarshalJSON() ([]byte, error)
- func (o *UnlinkMembershipWebviewRequest) SetMemberID(v string)
- func (o UnlinkMembershipWebviewRequest) ToMap() (map[string]interface{}, error)
- func (o *UnlinkMembershipWebviewRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateAdvancedPricing
- func (o *UpdateAdvancedPricing) GetKey() string
- func (o *UpdateAdvancedPricing) GetKeyOk() (*string, bool)
- func (o *UpdateAdvancedPricing) GetPrice() int64
- func (o *UpdateAdvancedPricing) GetPriceOk() (*int64, bool)
- func (o *UpdateAdvancedPricing) HasKey() bool
- func (o *UpdateAdvancedPricing) HasPrice() bool
- func (o UpdateAdvancedPricing) MarshalJSON() ([]byte, error)
- func (o *UpdateAdvancedPricing) SetKey(v string)
- func (o *UpdateAdvancedPricing) SetPrice(v int64)
- func (o UpdateAdvancedPricing) ToMap() (map[string]interface{}, error)
- func (o *UpdateAdvancedPricing) UnmarshalJSON(data []byte) (err error)
- type UpdateCampaignAPIService
- type UpdateCampaignRequest
- func (o *UpdateCampaignRequest) GetConditions() CampaignConditions
- func (o *UpdateCampaignRequest) GetConditionsOk() (*CampaignConditions, bool)
- func (o *UpdateCampaignRequest) GetCustomTag() string
- func (o *UpdateCampaignRequest) GetCustomTagOk() (*string, bool)
- func (o *UpdateCampaignRequest) GetDiscount() CampaignDiscount
- func (o *UpdateCampaignRequest) GetDiscountOk() (*CampaignDiscount, bool)
- func (o *UpdateCampaignRequest) GetMerchantID() string
- func (o *UpdateCampaignRequest) GetMerchantIDOk() (*string, bool)
- func (o *UpdateCampaignRequest) GetName() string
- func (o *UpdateCampaignRequest) GetNameOk() (*string, bool)
- func (o *UpdateCampaignRequest) GetQuotas() CampaignQuotas
- func (o *UpdateCampaignRequest) GetQuotasOk() (*CampaignQuotas, bool)
- func (o *UpdateCampaignRequest) HasConditions() bool
- func (o *UpdateCampaignRequest) HasCustomTag() bool
- func (o *UpdateCampaignRequest) HasDiscount() bool
- func (o *UpdateCampaignRequest) HasMerchantID() bool
- func (o *UpdateCampaignRequest) HasName() bool
- func (o *UpdateCampaignRequest) HasQuotas() bool
- func (o UpdateCampaignRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateCampaignRequest) SetConditions(v CampaignConditions)
- func (o *UpdateCampaignRequest) SetCustomTag(v string)
- func (o *UpdateCampaignRequest) SetDiscount(v CampaignDiscount)
- func (o *UpdateCampaignRequest) SetMerchantID(v string)
- func (o *UpdateCampaignRequest) SetName(v string)
- func (o *UpdateCampaignRequest) SetQuotas(v CampaignQuotas)
- func (o UpdateCampaignRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateCampaignRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateDeliveryHourRequest
- func (o *UpdateDeliveryHourRequest) GetForce() bool
- func (o *UpdateDeliveryHourRequest) GetForceOk() (*bool, bool)
- func (o *UpdateDeliveryHourRequest) GetOpeningHour() StoreHour
- func (o *UpdateDeliveryHourRequest) GetOpeningHourOk() (*StoreHour, bool)
- func (o UpdateDeliveryHourRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateDeliveryHourRequest) SetForce(v bool)
- func (o *UpdateDeliveryHourRequest) SetOpeningHour(v StoreHour)
- func (o UpdateDeliveryHourRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateDeliveryHourRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateDeliveryHourResponse
- func (o *UpdateDeliveryHourResponse) GetCloseImmediately() bool
- func (o *UpdateDeliveryHourResponse) GetCloseImmediatelyOk() (*bool, bool)
- func (o *UpdateDeliveryHourResponse) GetErrorReasons() []string
- func (o *UpdateDeliveryHourResponse) GetErrorReasonsOk() ([]string, bool)
- func (o *UpdateDeliveryHourResponse) GetOrderCount() int64
- func (o *UpdateDeliveryHourResponse) GetOrderCountOk() (*int64, bool)
- func (o *UpdateDeliveryHourResponse) GetScheduledOrderCount() int64
- func (o *UpdateDeliveryHourResponse) GetScheduledOrderCountOk() (*int64, bool)
- func (o *UpdateDeliveryHourResponse) HasErrorReasons() bool
- func (o UpdateDeliveryHourResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateDeliveryHourResponse) SetCloseImmediately(v bool)
- func (o *UpdateDeliveryHourResponse) SetErrorReasons(v []string)
- func (o *UpdateDeliveryHourResponse) SetOrderCount(v int64)
- func (o *UpdateDeliveryHourResponse) SetScheduledOrderCount(v int64)
- func (o UpdateDeliveryHourResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateDeliveryHourResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateDeliveryStateAPIService
- type UpdateDineInHourRequest
- func (o *UpdateDineInHourRequest) GetDineInHour() StoreHour
- func (o *UpdateDineInHourRequest) GetDineInHourOk() (*StoreHour, bool)
- func (o UpdateDineInHourRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateDineInHourRequest) SetDineInHour(v StoreHour)
- func (o UpdateDineInHourRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateDineInHourRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateDineInHourResponse
- func (o *UpdateDineInHourResponse) GetErrorReasons() []string
- func (o *UpdateDineInHourResponse) GetErrorReasonsOk() ([]string, bool)
- func (o *UpdateDineInHourResponse) HasErrorReasons() bool
- func (o UpdateDineInHourResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateDineInHourResponse) SetErrorReasons(v []string)
- func (o UpdateDineInHourResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateDineInHourResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateMenuItem
- func (o *UpdateMenuItem) GetAdvancedPricings() []UpdateAdvancedPricing
- func (o *UpdateMenuItem) GetAdvancedPricingsOk() ([]UpdateAdvancedPricing, bool)
- func (o *UpdateMenuItem) GetAvailableStatus() string
- func (o *UpdateMenuItem) GetAvailableStatusOk() (*string, bool)
- func (o *UpdateMenuItem) GetField() string
- func (o *UpdateMenuItem) GetFieldOk() (*string, bool)
- func (o *UpdateMenuItem) GetId() string
- func (o *UpdateMenuItem) GetIdOk() (*string, bool)
- func (o *UpdateMenuItem) GetMaxStock() int64
- func (o *UpdateMenuItem) GetMaxStockOk() (*int64, bool)
- func (o *UpdateMenuItem) GetMerchantID() string
- func (o *UpdateMenuItem) GetMerchantIDOk() (*string, bool)
- func (o *UpdateMenuItem) GetPrice() int64
- func (o *UpdateMenuItem) GetPriceOk() (*int64, bool)
- func (o *UpdateMenuItem) GetPurchasabilities() []UpdatePurchasability
- func (o *UpdateMenuItem) GetPurchasabilitiesOk() ([]UpdatePurchasability, bool)
- func (o *UpdateMenuItem) HasAdvancedPricings() bool
- func (o *UpdateMenuItem) HasAvailableStatus() bool
- func (o *UpdateMenuItem) HasMaxStock() bool
- func (o *UpdateMenuItem) HasPrice() bool
- func (o *UpdateMenuItem) HasPurchasabilities() bool
- func (o UpdateMenuItem) MarshalJSON() ([]byte, error)
- func (o *UpdateMenuItem) SetAdvancedPricings(v []UpdateAdvancedPricing)
- func (o *UpdateMenuItem) SetAvailableStatus(v string)
- func (o *UpdateMenuItem) SetField(v string)
- func (o *UpdateMenuItem) SetId(v string)
- func (o *UpdateMenuItem) SetMaxStock(v int64)
- func (o *UpdateMenuItem) SetMerchantID(v string)
- func (o *UpdateMenuItem) SetPrice(v int64)
- func (o *UpdateMenuItem) SetPurchasabilities(v []UpdatePurchasability)
- func (o UpdateMenuItem) ToMap() (map[string]interface{}, error)
- func (o *UpdateMenuItem) UnmarshalJSON(data []byte) (err error)
- type UpdateMenuModifier
- func (o *UpdateMenuModifier) GetAdvancedPricings() []UpdateAdvancedPricing
- func (o *UpdateMenuModifier) GetAdvancedPricingsOk() ([]UpdateAdvancedPricing, bool)
- func (o *UpdateMenuModifier) GetAvailableStatus() string
- func (o *UpdateMenuModifier) GetAvailableStatusOk() (*string, bool)
- func (o *UpdateMenuModifier) GetField() string
- func (o *UpdateMenuModifier) GetFieldOk() (*string, bool)
- func (o *UpdateMenuModifier) GetId() string
- func (o *UpdateMenuModifier) GetIdOk() (*string, bool)
- func (o *UpdateMenuModifier) GetIsFree() bool
- func (o *UpdateMenuModifier) GetIsFreeOk() (*bool, bool)
- func (o *UpdateMenuModifier) GetMerchantID() string
- func (o *UpdateMenuModifier) GetMerchantIDOk() (*string, bool)
- func (o *UpdateMenuModifier) GetName() string
- func (o *UpdateMenuModifier) GetNameOk() (*string, bool)
- func (o *UpdateMenuModifier) GetPrice() int64
- func (o *UpdateMenuModifier) GetPriceOk() (*int64, bool)
- func (o *UpdateMenuModifier) HasAdvancedPricings() bool
- func (o *UpdateMenuModifier) HasAvailableStatus() bool
- func (o *UpdateMenuModifier) HasIsFree() bool
- func (o *UpdateMenuModifier) HasPrice() bool
- func (o UpdateMenuModifier) MarshalJSON() ([]byte, error)
- func (o *UpdateMenuModifier) SetAdvancedPricings(v []UpdateAdvancedPricing)
- func (o *UpdateMenuModifier) SetAvailableStatus(v string)
- func (o *UpdateMenuModifier) SetField(v string)
- func (o *UpdateMenuModifier) SetId(v string)
- func (o *UpdateMenuModifier) SetIsFree(v bool)
- func (o *UpdateMenuModifier) SetMerchantID(v string)
- func (o *UpdateMenuModifier) SetName(v string)
- func (o *UpdateMenuModifier) SetPrice(v int64)
- func (o UpdateMenuModifier) ToMap() (map[string]interface{}, error)
- func (o *UpdateMenuModifier) UnmarshalJSON(data []byte) (err error)
- type UpdateMenuNotifRequest
- func (o *UpdateMenuNotifRequest) GetMerchantID() string
- func (o *UpdateMenuNotifRequest) GetMerchantIDOk() (*string, bool)
- func (o UpdateMenuNotifRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateMenuNotifRequest) SetMerchantID(v string)
- func (o UpdateMenuNotifRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateMenuNotifRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateMenuNotificationAPIService
- type UpdateMenuRecordAPIService
- func (a *UpdateMenuRecordAPIService) BatchUpdateMenu(ctx context.Context) ApiBatchUpdateMenuRequest
- func (a *UpdateMenuRecordAPIService) BatchUpdateMenuExecute(r ApiBatchUpdateMenuRequest) (*BatchUpdateMenuResponse, *http.Response, error)
- func (a *UpdateMenuRecordAPIService) UpdateMenu(ctx context.Context) ApiUpdateMenuRequest
- func (a *UpdateMenuRecordAPIService) UpdateMenuExecute(r ApiUpdateMenuRequest) (*http.Response, error)
- type UpdateMenuRequest
- type UpdateOrderReadyTimeAPIService
- type UpdatePurchasability
- func (o *UpdatePurchasability) GetKey() string
- func (o *UpdatePurchasability) GetKeyOk() (*string, bool)
- func (o *UpdatePurchasability) GetPurchasable() bool
- func (o *UpdatePurchasability) GetPurchasableOk() (*bool, bool)
- func (o *UpdatePurchasability) HasKey() bool
- func (o *UpdatePurchasability) HasPurchasable() bool
- func (o UpdatePurchasability) MarshalJSON() ([]byte, error)
- func (o *UpdatePurchasability) SetKey(v string)
- func (o *UpdatePurchasability) SetPurchasable(v bool)
- func (o UpdatePurchasability) ToMap() (map[string]interface{}, error)
- func (o *UpdatePurchasability) UnmarshalJSON(data []byte) (err error)
- type UpdateSpecialHourRequest
- func (o *UpdateSpecialHourRequest) GetSpecialOpeningHours() []SpecialOpeningHour
- func (o *UpdateSpecialHourRequest) GetSpecialOpeningHoursOk() ([]SpecialOpeningHour, bool)
- func (o UpdateSpecialHourRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateSpecialHourRequest) SetSpecialOpeningHours(v []SpecialOpeningHour)
- func (o UpdateSpecialHourRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateSpecialHourRequest) UnmarshalJSON(data []byte) (err error)
- type UpdateSpecialHourResponse
- func (o *UpdateSpecialHourResponse) GetCloseImmediately() bool
- func (o *UpdateSpecialHourResponse) GetCloseImmediatelyOk() (*bool, bool)
- func (o *UpdateSpecialHourResponse) GetErrorReasons() []string
- func (o *UpdateSpecialHourResponse) GetErrorReasonsOk() ([]string, bool)
- func (o *UpdateSpecialHourResponse) GetOrderCount() int64
- func (o *UpdateSpecialHourResponse) GetOrderCountOk() (*int64, bool)
- func (o *UpdateSpecialHourResponse) GetScheduledOrderCount() int64
- func (o *UpdateSpecialHourResponse) GetScheduledOrderCountOk() (*int64, bool)
- func (o *UpdateSpecialHourResponse) HasErrorReasons() bool
- func (o UpdateSpecialHourResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateSpecialHourResponse) SetCloseImmediately(v bool)
- func (o *UpdateSpecialHourResponse) SetErrorReasons(v []string)
- func (o *UpdateSpecialHourResponse) SetOrderCount(v int64)
- func (o *UpdateSpecialHourResponse) SetScheduledOrderCount(v int64)
- func (o UpdateSpecialHourResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateSpecialHourResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateStoreDeliveryHourAPIService
- func (a *UpdateStoreDeliveryHourAPIService) UpdateStoreDeliveryHour(ctx context.Context, merchantID string) ApiUpdateStoreDeliveryHourRequest
- func (a *UpdateStoreDeliveryHourAPIService) UpdateStoreDeliveryHourExecute(r ApiUpdateStoreDeliveryHourRequest) (*UpdateDeliveryHourResponse, *http.Response, error)
- type UpdateStoreDineInHourAPIService
- type UpdateStoreSpecialHourAPIService
- type Voucher
- func (o *Voucher) GetDescriptionInfo() VoucherDescriptionInfo
- func (o *Voucher) GetDescriptionInfoOk() (*VoucherDescriptionInfo, bool)
- func (o *Voucher) GetDiscountedPrice() string
- func (o *Voucher) GetDiscountedPriceOk() (*string, bool)
- func (o *Voucher) GetOriginalPrice() string
- func (o *Voucher) GetOriginalPriceOk() (*string, bool)
- func (o *Voucher) GetTitle() string
- func (o *Voucher) GetTitleOk() (*string, bool)
- func (o *Voucher) GetVoucherType() string
- func (o *Voucher) GetVoucherTypeOk() (*string, bool)
- func (o *Voucher) HasDescriptionInfo() bool
- func (o *Voucher) HasDiscountedPrice() bool
- func (o *Voucher) HasOriginalPrice() bool
- func (o *Voucher) HasTitle() bool
- func (o *Voucher) HasVoucherType() bool
- func (o Voucher) MarshalJSON() ([]byte, error)
- func (o *Voucher) SetDescriptionInfo(v VoucherDescriptionInfo)
- func (o *Voucher) SetDiscountedPrice(v string)
- func (o *Voucher) SetOriginalPrice(v string)
- func (o *Voucher) SetTitle(v string)
- func (o *Voucher) SetVoucherType(v string)
- func (o Voucher) ToMap() (map[string]interface{}, error)
- func (o *Voucher) UnmarshalJSON(data []byte) (err error)
- type VoucherDescriptionInfo
- func (o *VoucherDescriptionInfo) GetText() string
- func (o *VoucherDescriptionInfo) GetTextOk() (*string, bool)
- func (o *VoucherDescriptionInfo) HasText() bool
- func (o VoucherDescriptionInfo) MarshalJSON() ([]byte, error)
- func (o *VoucherDescriptionInfo) SetText(v string)
- func (o VoucherDescriptionInfo) ToMap() (map[string]interface{}, error)
- func (o *VoucherDescriptionInfo) UnmarshalJSON(data []byte) (err error)
- type WorkingHour
- func (o *WorkingHour) GetFri() WorkingHourDay
- func (o *WorkingHour) GetFriOk() (*WorkingHourDay, bool)
- func (o *WorkingHour) GetMon() WorkingHourDay
- func (o *WorkingHour) GetMonOk() (*WorkingHourDay, bool)
- func (o *WorkingHour) GetSat() WorkingHourDay
- func (o *WorkingHour) GetSatOk() (*WorkingHourDay, bool)
- func (o *WorkingHour) GetSun() WorkingHourDay
- func (o *WorkingHour) GetSunOk() (*WorkingHourDay, bool)
- func (o *WorkingHour) GetThu() WorkingHourDay
- func (o *WorkingHour) GetThuOk() (*WorkingHourDay, bool)
- func (o *WorkingHour) GetTue() WorkingHourDay
- func (o *WorkingHour) GetTueOk() (*WorkingHourDay, bool)
- func (o *WorkingHour) GetWed() WorkingHourDay
- func (o *WorkingHour) GetWedOk() (*WorkingHourDay, bool)
- func (o *WorkingHour) HasFri() bool
- func (o *WorkingHour) HasMon() bool
- func (o *WorkingHour) HasSat() bool
- func (o *WorkingHour) HasSun() bool
- func (o *WorkingHour) HasThu() bool
- func (o *WorkingHour) HasTue() bool
- func (o *WorkingHour) HasWed() bool
- func (o WorkingHour) MarshalJSON() ([]byte, error)
- func (o *WorkingHour) SetFri(v WorkingHourDay)
- func (o *WorkingHour) SetMon(v WorkingHourDay)
- func (o *WorkingHour) SetSat(v WorkingHourDay)
- func (o *WorkingHour) SetSun(v WorkingHourDay)
- func (o *WorkingHour) SetThu(v WorkingHourDay)
- func (o *WorkingHour) SetTue(v WorkingHourDay)
- func (o *WorkingHour) SetWed(v WorkingHourDay)
- func (o WorkingHour) ToMap() (map[string]interface{}, error)
- func (o *WorkingHour) UnmarshalJSON(data []byte) (err error)
- type WorkingHourDay
- func (o *WorkingHourDay) GetPeriods() []OpenPeriod
- func (o *WorkingHourDay) GetPeriodsOk() ([]OpenPeriod, bool)
- func (o *WorkingHourDay) HasPeriods() bool
- func (o WorkingHourDay) MarshalJSON() ([]byte, error)
- func (o *WorkingHourDay) SetPeriods(v []OpenPeriod)
- func (o WorkingHourDay) ToMap() (map[string]interface{}, error)
- func (o *WorkingHourDay) UnmarshalJSON(data []byte) (err error)
Constants ¶
const ( StgEnv int = 0 // staging environment for self serve onboarding partner PrdEnv int = 1 // production environment )
custom const
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedCancelCodeEnumValues = []CancelCode{
1001,
1002,
1003,
1004,
}
All allowed values of CancelCode enum
var AllowedCancelOrderLimitTypeEnumValues = []CancelOrderLimitType{
"not approaching limit",
"approaching the daily limit",
"approaching the weekly limit",
"approaching the monthly limit",
"",
}
All allowed values of CancelOrderLimitType enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AcceptRejectOrderAPI *AcceptRejectOrderAPIService CancelOrderAPI *CancelOrderAPIService CheckOrderCancelableAPI *CheckOrderCancelableAPIService CreateCampaignAPI *CreateCampaignAPIService CreateSelfServeJourneyAPI *CreateSelfServeJourneyAPIService DeleteCampaignAPI *DeleteCampaignAPIService EditOrderAPI *EditOrderAPIService GetDineinVoucherAPI *GetDineinVoucherAPIService GetOauthGrabAPI *GetOauthGrabAPIService GetStoreHourAPI *GetStoreHourAPIService GetStoreStatusAPI *GetStoreStatusAPIService ListCampaignAPI *ListCampaignAPIService ListOrdersAPI *ListOrdersAPIService MarkOrderReadyAPI *MarkOrderReadyAPIService NotifyMembershipWebviewAPI *NotifyMembershipWebviewAPIService PauseStoreAPI *PauseStoreAPIService RedeemDineinVoucherAPI *RedeemDineinVoucherAPIService TraceMenuSyncAPI *TraceMenuSyncAPIService UpdateCampaignAPI *UpdateCampaignAPIService UpdateDeliveryStateAPI *UpdateDeliveryStateAPIService UpdateMenuNotificationAPI *UpdateMenuNotificationAPIService UpdateMenuRecordAPI *UpdateMenuRecordAPIService UpdateOrderReadyTimeAPI *UpdateOrderReadyTimeAPIService UpdateStoreDeliveryHourAPI *UpdateStoreDeliveryHourAPIService UpdateStoreDineInHourAPI *UpdateStoreDineInHourAPIService UpdateStoreSpecialHourAPI *UpdateStoreSpecialHourAPIService // contains filtered or unexported fields }
APIClient manages communication with the GrabFood API v1.1.3 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AcceptOrderRequest ¶
type AcceptOrderRequest struct { // The order's ID that is returned from GrabFood. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). OrderID string `json:"orderID"` // The order's updated state. ToState string `json:"toState"` AdditionalProperties map[string]interface{} }
AcceptOrderRequest The manual acceptance or rejection of an order on GrabFood.
func NewAcceptOrderRequest ¶
func NewAcceptOrderRequest(orderID string, toState string) *AcceptOrderRequest
NewAcceptOrderRequest instantiates a new AcceptOrderRequest 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 NewAcceptOrderRequestWithDefaults ¶
func NewAcceptOrderRequestWithDefaults() *AcceptOrderRequest
NewAcceptOrderRequestWithDefaults instantiates a new AcceptOrderRequest 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 (*AcceptOrderRequest) GetOrderID ¶
func (o *AcceptOrderRequest) GetOrderID() string
GetOrderID returns the OrderID field value
func (*AcceptOrderRequest) GetOrderIDOk ¶
func (o *AcceptOrderRequest) GetOrderIDOk() (*string, bool)
GetOrderIDOk returns a tuple with the OrderID field value and a boolean to check if the value has been set.
func (*AcceptOrderRequest) GetToState ¶
func (o *AcceptOrderRequest) GetToState() string
GetToState returns the ToState field value
func (*AcceptOrderRequest) GetToStateOk ¶
func (o *AcceptOrderRequest) GetToStateOk() (*string, bool)
GetToStateOk returns a tuple with the ToState field value and a boolean to check if the value has been set.
func (AcceptOrderRequest) MarshalJSON ¶
func (o AcceptOrderRequest) MarshalJSON() ([]byte, error)
func (*AcceptOrderRequest) SetOrderID ¶
func (o *AcceptOrderRequest) SetOrderID(v string)
SetOrderID sets field value
func (*AcceptOrderRequest) SetToState ¶
func (o *AcceptOrderRequest) SetToState(v string)
SetToState sets field value
func (AcceptOrderRequest) ToMap ¶
func (o AcceptOrderRequest) ToMap() (map[string]interface{}, error)
func (*AcceptOrderRequest) UnmarshalJSON ¶
func (o *AcceptOrderRequest) UnmarshalJSON(data []byte) (err error)
type AcceptRejectOrderAPIService ¶
type AcceptRejectOrderAPIService service
AcceptRejectOrderAPIService AcceptRejectOrderAPI service
func (*AcceptRejectOrderAPIService) AcceptRejectOrder ¶
func (a *AcceptRejectOrderAPIService) AcceptRejectOrder(ctx context.Context) ApiAcceptRejectOrderRequest
AcceptRejectOrder Manually accept/reject orders
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAcceptRejectOrderRequest
func (*AcceptRejectOrderAPIService) AcceptRejectOrderExecute ¶
func (a *AcceptRejectOrderAPIService) AcceptRejectOrderExecute(r ApiAcceptRejectOrderRequest) (*http.Response, error)
Execute executes the request
type Address ¶
type Address struct { // The delivery address' unit number. UnitNumber *string `json:"unitNumber,omitempty"` // Instructions for the delivery. DeliveryInstruction *string `json:"deliveryInstruction,omitempty"` // POI source PoiSource *string `json:"poiSource,omitempty"` // POI ID, empty when poiSource is GRAB. PoiID *string `json:"poiID,omitempty"` // The delivery address containing street name, city, postal code, and country. Has value only when poiSource is `GRAB`. Address *string `json:"address,omitempty"` // The postcode of the delivery address. Has value only when poiSource is `GRAB`. Postcode *string `json:"postcode,omitempty"` Coordinates *Coordinates `json:"coordinates,omitempty"` AdditionalProperties map[string]interface{} }
Address A JSON object containing the receiver’s location information.
func NewAddress ¶
func NewAddress() *Address
NewAddress instantiates a new Address 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 NewAddressWithDefaults ¶
func NewAddressWithDefaults() *Address
NewAddressWithDefaults instantiates a new Address 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 (*Address) GetAddress ¶
GetAddress returns the Address field value if set, zero value otherwise.
func (*Address) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetCoordinates ¶
func (o *Address) GetCoordinates() Coordinates
GetCoordinates returns the Coordinates field value if set, zero value otherwise.
func (*Address) GetCoordinatesOk ¶
func (o *Address) GetCoordinatesOk() (*Coordinates, bool)
GetCoordinatesOk returns a tuple with the Coordinates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetDeliveryInstruction ¶
GetDeliveryInstruction returns the DeliveryInstruction field value if set, zero value otherwise.
func (*Address) GetDeliveryInstructionOk ¶
GetDeliveryInstructionOk returns a tuple with the DeliveryInstruction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetPoiIDOk ¶
GetPoiIDOk returns a tuple with the PoiID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetPoiSource ¶
GetPoiSource returns the PoiSource field value if set, zero value otherwise.
func (*Address) GetPoiSourceOk ¶
GetPoiSourceOk returns a tuple with the PoiSource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetPostcode ¶
GetPostcode returns the Postcode field value if set, zero value otherwise.
func (*Address) GetPostcodeOk ¶
GetPostcodeOk returns a tuple with the Postcode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetUnitNumber ¶
GetUnitNumber returns the UnitNumber field value if set, zero value otherwise.
func (*Address) GetUnitNumberOk ¶
GetUnitNumberOk returns a tuple with the UnitNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) HasAddress ¶
HasAddress returns a boolean if a field has been set.
func (*Address) HasCoordinates ¶
HasCoordinates returns a boolean if a field has been set.
func (*Address) HasDeliveryInstruction ¶
HasDeliveryInstruction returns a boolean if a field has been set.
func (*Address) HasPoiSource ¶
HasPoiSource returns a boolean if a field has been set.
func (*Address) HasPostcode ¶
HasPostcode returns a boolean if a field has been set.
func (*Address) HasUnitNumber ¶
HasUnitNumber returns a boolean if a field has been set.
func (Address) MarshalJSON ¶
func (*Address) SetAddress ¶
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*Address) SetCoordinates ¶
func (o *Address) SetCoordinates(v Coordinates)
SetCoordinates gets a reference to the given Coordinates and assigns it to the Coordinates field.
func (*Address) SetDeliveryInstruction ¶
SetDeliveryInstruction gets a reference to the given string and assigns it to the DeliveryInstruction field.
func (*Address) SetPoiID ¶
SetPoiID gets a reference to the given string and assigns it to the PoiID field.
func (*Address) SetPoiSource ¶
SetPoiSource gets a reference to the given string and assigns it to the PoiSource field.
func (*Address) SetPostcode ¶
SetPostcode gets a reference to the given string and assigns it to the Postcode field.
func (*Address) SetUnitNumber ¶
SetUnitNumber gets a reference to the given string and assigns it to the UnitNumber field.
func (*Address) UnmarshalJSON ¶
type AdvancedPricing ¶
type AdvancedPricing struct { // Service type: `Delivery`, Order type: `Instant`, Channel: `Grab App` DeliveryOnDemandGrabApp *int64 `json:"Delivery_OnDemand_GrabApp,omitempty"` // Service type: `Delivery`, Order type: `Scheduled`, Channel: `Grab App` DeliveryScheduledGrabApp *int64 `json:"Delivery_Scheduled_GrabApp,omitempty"` // Service type: `Self Pick Up`, Order type: `Instant`, Channel: `Grab App` SelfPickUpOnDemandGrabApp *int64 `json:"SelfPickUp_OnDemand_GrabApp,omitempty"` // Service type: `Dine In`, Order type: `Instant`, Channel: `Grab App` DineInOnDemandGrabApp *int64 `json:"DineIn_OnDemand_GrabApp,omitempty"` // Service type: `Delivery`, Order type: `Instant`, Channel: `Store Front` DeliveryOnDemandStoreFront *int64 `json:"Delivery_OnDemand_StoreFront,omitempty"` // Service type: `Delivery`, Order type: `Scheduled`, Channel: `Store Front` DeliveryScheduledStoreFront *int64 `json:"Delivery_Scheduled_StoreFront,omitempty"` // Service type: `Self Pick Up`, Order type: `Instant`, Channel: `Store Front` SelfPickUpOnDemandStoreFront *int64 `json:"SelfPickUp_OnDemand_StoreFront,omitempty"` AdditionalProperties map[string]interface{} }
AdvancedPricing Price configuration (in minor unit) for different service, order type and channel combination. If a service type does not have a specified price, it will utilize the default price of the item. Refer [Service Based Menu](#section/Service-Based-Menu).
func NewAdvancedPricing ¶
func NewAdvancedPricing() *AdvancedPricing
NewAdvancedPricing instantiates a new AdvancedPricing 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 NewAdvancedPricingWithDefaults ¶
func NewAdvancedPricingWithDefaults() *AdvancedPricing
NewAdvancedPricingWithDefaults instantiates a new AdvancedPricing 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 (*AdvancedPricing) GetDeliveryOnDemandGrabApp ¶
func (o *AdvancedPricing) GetDeliveryOnDemandGrabApp() int64
GetDeliveryOnDemandGrabApp returns the DeliveryOnDemandGrabApp field value if set, zero value otherwise.
func (*AdvancedPricing) GetDeliveryOnDemandGrabAppOk ¶
func (o *AdvancedPricing) GetDeliveryOnDemandGrabAppOk() (*int64, bool)
GetDeliveryOnDemandGrabAppOk returns a tuple with the DeliveryOnDemandGrabApp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdvancedPricing) GetDeliveryOnDemandStoreFront ¶
func (o *AdvancedPricing) GetDeliveryOnDemandStoreFront() int64
GetDeliveryOnDemandStoreFront returns the DeliveryOnDemandStoreFront field value if set, zero value otherwise.
func (*AdvancedPricing) GetDeliveryOnDemandStoreFrontOk ¶
func (o *AdvancedPricing) GetDeliveryOnDemandStoreFrontOk() (*int64, bool)
GetDeliveryOnDemandStoreFrontOk returns a tuple with the DeliveryOnDemandStoreFront field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdvancedPricing) GetDeliveryScheduledGrabApp ¶
func (o *AdvancedPricing) GetDeliveryScheduledGrabApp() int64
GetDeliveryScheduledGrabApp returns the DeliveryScheduledGrabApp field value if set, zero value otherwise.
func (*AdvancedPricing) GetDeliveryScheduledGrabAppOk ¶
func (o *AdvancedPricing) GetDeliveryScheduledGrabAppOk() (*int64, bool)
GetDeliveryScheduledGrabAppOk returns a tuple with the DeliveryScheduledGrabApp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdvancedPricing) GetDeliveryScheduledStoreFront ¶
func (o *AdvancedPricing) GetDeliveryScheduledStoreFront() int64
GetDeliveryScheduledStoreFront returns the DeliveryScheduledStoreFront field value if set, zero value otherwise.
func (*AdvancedPricing) GetDeliveryScheduledStoreFrontOk ¶
func (o *AdvancedPricing) GetDeliveryScheduledStoreFrontOk() (*int64, bool)
GetDeliveryScheduledStoreFrontOk returns a tuple with the DeliveryScheduledStoreFront field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdvancedPricing) GetDineInOnDemandGrabApp ¶
func (o *AdvancedPricing) GetDineInOnDemandGrabApp() int64
GetDineInOnDemandGrabApp returns the DineInOnDemandGrabApp field value if set, zero value otherwise.
func (*AdvancedPricing) GetDineInOnDemandGrabAppOk ¶
func (o *AdvancedPricing) GetDineInOnDemandGrabAppOk() (*int64, bool)
GetDineInOnDemandGrabAppOk returns a tuple with the DineInOnDemandGrabApp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdvancedPricing) GetSelfPickUpOnDemandGrabApp ¶
func (o *AdvancedPricing) GetSelfPickUpOnDemandGrabApp() int64
GetSelfPickUpOnDemandGrabApp returns the SelfPickUpOnDemandGrabApp field value if set, zero value otherwise.
func (*AdvancedPricing) GetSelfPickUpOnDemandGrabAppOk ¶
func (o *AdvancedPricing) GetSelfPickUpOnDemandGrabAppOk() (*int64, bool)
GetSelfPickUpOnDemandGrabAppOk returns a tuple with the SelfPickUpOnDemandGrabApp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdvancedPricing) GetSelfPickUpOnDemandStoreFront ¶
func (o *AdvancedPricing) GetSelfPickUpOnDemandStoreFront() int64
GetSelfPickUpOnDemandStoreFront returns the SelfPickUpOnDemandStoreFront field value if set, zero value otherwise.
func (*AdvancedPricing) GetSelfPickUpOnDemandStoreFrontOk ¶
func (o *AdvancedPricing) GetSelfPickUpOnDemandStoreFrontOk() (*int64, bool)
GetSelfPickUpOnDemandStoreFrontOk returns a tuple with the SelfPickUpOnDemandStoreFront field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdvancedPricing) HasDeliveryOnDemandGrabApp ¶
func (o *AdvancedPricing) HasDeliveryOnDemandGrabApp() bool
HasDeliveryOnDemandGrabApp returns a boolean if a field has been set.
func (*AdvancedPricing) HasDeliveryOnDemandStoreFront ¶
func (o *AdvancedPricing) HasDeliveryOnDemandStoreFront() bool
HasDeliveryOnDemandStoreFront returns a boolean if a field has been set.
func (*AdvancedPricing) HasDeliveryScheduledGrabApp ¶
func (o *AdvancedPricing) HasDeliveryScheduledGrabApp() bool
HasDeliveryScheduledGrabApp returns a boolean if a field has been set.
func (*AdvancedPricing) HasDeliveryScheduledStoreFront ¶
func (o *AdvancedPricing) HasDeliveryScheduledStoreFront() bool
HasDeliveryScheduledStoreFront returns a boolean if a field has been set.
func (*AdvancedPricing) HasDineInOnDemandGrabApp ¶
func (o *AdvancedPricing) HasDineInOnDemandGrabApp() bool
HasDineInOnDemandGrabApp returns a boolean if a field has been set.
func (*AdvancedPricing) HasSelfPickUpOnDemandGrabApp ¶
func (o *AdvancedPricing) HasSelfPickUpOnDemandGrabApp() bool
HasSelfPickUpOnDemandGrabApp returns a boolean if a field has been set.
func (*AdvancedPricing) HasSelfPickUpOnDemandStoreFront ¶
func (o *AdvancedPricing) HasSelfPickUpOnDemandStoreFront() bool
HasSelfPickUpOnDemandStoreFront returns a boolean if a field has been set.
func (AdvancedPricing) MarshalJSON ¶
func (o AdvancedPricing) MarshalJSON() ([]byte, error)
func (*AdvancedPricing) SetDeliveryOnDemandGrabApp ¶
func (o *AdvancedPricing) SetDeliveryOnDemandGrabApp(v int64)
SetDeliveryOnDemandGrabApp gets a reference to the given int64 and assigns it to the DeliveryOnDemandGrabApp field.
func (*AdvancedPricing) SetDeliveryOnDemandStoreFront ¶
func (o *AdvancedPricing) SetDeliveryOnDemandStoreFront(v int64)
SetDeliveryOnDemandStoreFront gets a reference to the given int64 and assigns it to the DeliveryOnDemandStoreFront field.
func (*AdvancedPricing) SetDeliveryScheduledGrabApp ¶
func (o *AdvancedPricing) SetDeliveryScheduledGrabApp(v int64)
SetDeliveryScheduledGrabApp gets a reference to the given int64 and assigns it to the DeliveryScheduledGrabApp field.
func (*AdvancedPricing) SetDeliveryScheduledStoreFront ¶
func (o *AdvancedPricing) SetDeliveryScheduledStoreFront(v int64)
SetDeliveryScheduledStoreFront gets a reference to the given int64 and assigns it to the DeliveryScheduledStoreFront field.
func (*AdvancedPricing) SetDineInOnDemandGrabApp ¶
func (o *AdvancedPricing) SetDineInOnDemandGrabApp(v int64)
SetDineInOnDemandGrabApp gets a reference to the given int64 and assigns it to the DineInOnDemandGrabApp field.
func (*AdvancedPricing) SetSelfPickUpOnDemandGrabApp ¶
func (o *AdvancedPricing) SetSelfPickUpOnDemandGrabApp(v int64)
SetSelfPickUpOnDemandGrabApp gets a reference to the given int64 and assigns it to the SelfPickUpOnDemandGrabApp field.
func (*AdvancedPricing) SetSelfPickUpOnDemandStoreFront ¶
func (o *AdvancedPricing) SetSelfPickUpOnDemandStoreFront(v int64)
SetSelfPickUpOnDemandStoreFront gets a reference to the given int64 and assigns it to the SelfPickUpOnDemandStoreFront field.
func (AdvancedPricing) ToMap ¶
func (o AdvancedPricing) ToMap() (map[string]interface{}, error)
func (*AdvancedPricing) UnmarshalJSON ¶
func (o *AdvancedPricing) UnmarshalJSON(data []byte) (err error)
type ApiAcceptRejectOrderRequest ¶
type ApiAcceptRejectOrderRequest struct { ApiService *AcceptRejectOrderAPIService // contains filtered or unexported fields }
func (ApiAcceptRejectOrderRequest) AcceptOrderRequest ¶
func (r ApiAcceptRejectOrderRequest) AcceptOrderRequest(acceptOrderRequest AcceptOrderRequest) ApiAcceptRejectOrderRequest
func (ApiAcceptRejectOrderRequest) Authorization ¶
func (r ApiAcceptRejectOrderRequest) Authorization(authorization string) ApiAcceptRejectOrderRequest
Specify the generated authorization token of the bearer type.
func (ApiAcceptRejectOrderRequest) ContentType ¶
func (r ApiAcceptRejectOrderRequest) ContentType(contentType string) ApiAcceptRejectOrderRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
type ApiBatchUpdateMenuRequest ¶
type ApiBatchUpdateMenuRequest struct { ApiService *UpdateMenuRecordAPIService // contains filtered or unexported fields }
func (ApiBatchUpdateMenuRequest) Authorization ¶
func (r ApiBatchUpdateMenuRequest) Authorization(authorization string) ApiBatchUpdateMenuRequest
Specify the generated authorization token of the bearer type.
func (ApiBatchUpdateMenuRequest) BatchUpdateMenuItem ¶
func (r ApiBatchUpdateMenuRequest) BatchUpdateMenuItem(batchUpdateMenuItem BatchUpdateMenuItem) ApiBatchUpdateMenuRequest
func (ApiBatchUpdateMenuRequest) ContentType ¶
func (r ApiBatchUpdateMenuRequest) ContentType(contentType string) ApiBatchUpdateMenuRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiBatchUpdateMenuRequest) Execute ¶
func (r ApiBatchUpdateMenuRequest) Execute() (*BatchUpdateMenuResponse, *http.Response, error)
type ApiCancelOrderRequest ¶
type ApiCancelOrderRequest struct { ApiService *CancelOrderAPIService // contains filtered or unexported fields }
func (ApiCancelOrderRequest) Authorization ¶
func (r ApiCancelOrderRequest) Authorization(authorization string) ApiCancelOrderRequest
Specify the generated authorization token of the bearer type.
func (ApiCancelOrderRequest) CancelOrderRequest ¶
func (r ApiCancelOrderRequest) CancelOrderRequest(cancelOrderRequest CancelOrderRequest) ApiCancelOrderRequest
func (ApiCancelOrderRequest) ContentType ¶
func (r ApiCancelOrderRequest) ContentType(contentType string) ApiCancelOrderRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiCancelOrderRequest) Execute ¶
func (r ApiCancelOrderRequest) Execute() (*CancelOrderResponse, *http.Response, error)
type ApiCheckOrderCancelableRequest ¶
type ApiCheckOrderCancelableRequest struct { ApiService *CheckOrderCancelableAPIService // contains filtered or unexported fields }
func (ApiCheckOrderCancelableRequest) Authorization ¶
func (r ApiCheckOrderCancelableRequest) Authorization(authorization string) ApiCheckOrderCancelableRequest
Specify the generated authorization token of the bearer type.
func (ApiCheckOrderCancelableRequest) Execute ¶
func (r ApiCheckOrderCancelableRequest) Execute() (*CheckOrderCancelableResponse, *http.Response, error)
func (ApiCheckOrderCancelableRequest) MerchantID ¶
func (r ApiCheckOrderCancelableRequest) MerchantID(merchantID string) ApiCheckOrderCancelableRequest
The merchant's ID that is in GrabFood's database.
func (ApiCheckOrderCancelableRequest) OrderID ¶
func (r ApiCheckOrderCancelableRequest) OrderID(orderID string) ApiCheckOrderCancelableRequest
type ApiCreateCampaignRequest ¶
type ApiCreateCampaignRequest struct { ApiService *CreateCampaignAPIService // contains filtered or unexported fields }
func (ApiCreateCampaignRequest) Authorization ¶
func (r ApiCreateCampaignRequest) Authorization(authorization string) ApiCreateCampaignRequest
Specify the generated authorization token of the bearer type.
func (ApiCreateCampaignRequest) ContentType ¶
func (r ApiCreateCampaignRequest) ContentType(contentType string) ApiCreateCampaignRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiCreateCampaignRequest) CreateCampaignRequest ¶
func (r ApiCreateCampaignRequest) CreateCampaignRequest(createCampaignRequest CreateCampaignRequest) ApiCreateCampaignRequest
func (ApiCreateCampaignRequest) Execute ¶
func (r ApiCreateCampaignRequest) Execute() (*CreateCampaignResponse, *http.Response, error)
type ApiCreateSelfServeJourneyRequest ¶ added in v1.0.1
type ApiCreateSelfServeJourneyRequest struct { ApiService *CreateSelfServeJourneyAPIService // contains filtered or unexported fields }
func (ApiCreateSelfServeJourneyRequest) Authorization ¶ added in v1.0.1
func (r ApiCreateSelfServeJourneyRequest) Authorization(authorization string) ApiCreateSelfServeJourneyRequest
Specify the generated authorization token of the bearer type.
func (ApiCreateSelfServeJourneyRequest) ContentType ¶ added in v1.0.1
func (r ApiCreateSelfServeJourneyRequest) ContentType(contentType string) ApiCreateSelfServeJourneyRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiCreateSelfServeJourneyRequest) CreateSelfServeJourneyRequest ¶ added in v1.0.1
func (r ApiCreateSelfServeJourneyRequest) CreateSelfServeJourneyRequest(createSelfServeJourneyRequest CreateSelfServeJourneyRequest) ApiCreateSelfServeJourneyRequest
func (ApiCreateSelfServeJourneyRequest) Execute ¶ added in v1.0.1
func (r ApiCreateSelfServeJourneyRequest) Execute() (*CreateSelfServeJourneyResponse, *http.Response, error)
type ApiDeleteCampaignRequest ¶
type ApiDeleteCampaignRequest struct { ApiService *DeleteCampaignAPIService // contains filtered or unexported fields }
func (ApiDeleteCampaignRequest) Authorization ¶
func (r ApiDeleteCampaignRequest) Authorization(authorization string) ApiDeleteCampaignRequest
Specify the generated authorization token of the bearer type.
type ApiEditOrderRequest ¶
type ApiEditOrderRequest struct { ApiService *EditOrderAPIService // contains filtered or unexported fields }
func (ApiEditOrderRequest) Authorization ¶
func (r ApiEditOrderRequest) Authorization(authorization string) ApiEditOrderRequest
Specify the generated authorization token of the bearer type.
func (ApiEditOrderRequest) ContentType ¶
func (r ApiEditOrderRequest) ContentType(contentType string) ApiEditOrderRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiEditOrderRequest) EditOrderRequest ¶
func (r ApiEditOrderRequest) EditOrderRequest(editOrderRequest EditOrderRequest) ApiEditOrderRequest
type ApiGetDineinVoucherRequest ¶
type ApiGetDineinVoucherRequest struct { ApiService *GetDineinVoucherAPIService // contains filtered or unexported fields }
func (ApiGetDineinVoucherRequest) Authorization ¶
func (r ApiGetDineinVoucherRequest) Authorization(authorization string) ApiGetDineinVoucherRequest
Specify the generated authorization token of the bearer type.
func (ApiGetDineinVoucherRequest) CertificateID ¶
func (r ApiGetDineinVoucherRequest) CertificateID(certificateID string) ApiGetDineinVoucherRequest
This certificateID is decoded from scanning the QR code, and 1:1 mapping with voucherCode. Required if `voucherCode` is not specified.
func (ApiGetDineinVoucherRequest) Execute ¶
func (r ApiGetDineinVoucherRequest) Execute() (*GetDineInVoucherResponse, *http.Response, error)
func (ApiGetDineinVoucherRequest) MerchantID ¶
func (r ApiGetDineinVoucherRequest) MerchantID(merchantID string) ApiGetDineinVoucherRequest
func (ApiGetDineinVoucherRequest) VoucherCode ¶
func (r ApiGetDineinVoucherRequest) VoucherCode(voucherCode string) ApiGetDineinVoucherRequest
A short code for the dine-in voucher purchased by the user. Required if `certificateID` is not specified.
type ApiGetOauthGrabRequest ¶
type ApiGetOauthGrabRequest struct { ApiService *GetOauthGrabAPIService // contains filtered or unexported fields }
func (ApiGetOauthGrabRequest) ContentType ¶
func (r ApiGetOauthGrabRequest) ContentType(contentType string) ApiGetOauthGrabRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiGetOauthGrabRequest) Execute ¶
func (r ApiGetOauthGrabRequest) Execute() (*GrabOauthResponse, *http.Response, error)
func (ApiGetOauthGrabRequest) GrabOauthRequest ¶
func (r ApiGetOauthGrabRequest) GrabOauthRequest(grabOauthRequest GrabOauthRequest) ApiGetOauthGrabRequest
type ApiGetStoreHourRequest ¶
type ApiGetStoreHourRequest struct { ApiService *GetStoreHourAPIService // contains filtered or unexported fields }
func (ApiGetStoreHourRequest) Authorization ¶
func (r ApiGetStoreHourRequest) Authorization(authorization string) ApiGetStoreHourRequest
Specify the generated authorization token of the bearer type.
func (ApiGetStoreHourRequest) Execute ¶
func (r ApiGetStoreHourRequest) Execute() (*StoreHourResponse, *http.Response, error)
type ApiGetStoreStatusRequest ¶
type ApiGetStoreStatusRequest struct { ApiService *GetStoreStatusAPIService // contains filtered or unexported fields }
func (ApiGetStoreStatusRequest) Authorization ¶
func (r ApiGetStoreStatusRequest) Authorization(authorization string) ApiGetStoreStatusRequest
Specify the generated authorization token of the bearer type.
func (ApiGetStoreStatusRequest) Execute ¶
func (r ApiGetStoreStatusRequest) Execute() (*StoreStatusResponse, *http.Response, error)
type ApiListCampaignRequest ¶
type ApiListCampaignRequest struct { ApiService *ListCampaignAPIService // contains filtered or unexported fields }
func (ApiListCampaignRequest) Authorization ¶
func (r ApiListCampaignRequest) Authorization(authorization string) ApiListCampaignRequest
Specify the generated authorization token of the bearer type.
func (ApiListCampaignRequest) Execute ¶
func (r ApiListCampaignRequest) Execute() (*ListCampaignResponse, *http.Response, error)
func (ApiListCampaignRequest) MerchantID ¶
func (r ApiListCampaignRequest) MerchantID(merchantID string) ApiListCampaignRequest
The merchant's ID that is in GrabFood's database.
type ApiListOrdersRequest ¶
type ApiListOrdersRequest struct { ApiService *ListOrdersAPIService // contains filtered or unexported fields }
func (ApiListOrdersRequest) Authorization ¶
func (r ApiListOrdersRequest) Authorization(authorization string) ApiListOrdersRequest
Specify the generated authorization token of the bearer type.
func (ApiListOrdersRequest) Date ¶
func (r ApiListOrdersRequest) Date(date string) ApiListOrdersRequest
func (ApiListOrdersRequest) Execute ¶
func (r ApiListOrdersRequest) Execute() (*ListOrdersResponse, *http.Response, error)
func (ApiListOrdersRequest) MerchantID ¶
func (r ApiListOrdersRequest) MerchantID(merchantID string) ApiListOrdersRequest
The merchant's ID that is in GrabFood's database.
func (ApiListOrdersRequest) Page ¶
func (r ApiListOrdersRequest) Page(page int32) ApiListOrdersRequest
Specify the page number for the report.
type ApiMarkOrderReadyRequest ¶
type ApiMarkOrderReadyRequest struct { ApiService *MarkOrderReadyAPIService // contains filtered or unexported fields }
func (ApiMarkOrderReadyRequest) Authorization ¶
func (r ApiMarkOrderReadyRequest) Authorization(authorization string) ApiMarkOrderReadyRequest
Specify the generated authorization token of the bearer type.
func (ApiMarkOrderReadyRequest) ContentType ¶
func (r ApiMarkOrderReadyRequest) ContentType(contentType string) ApiMarkOrderReadyRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiMarkOrderReadyRequest) Execute ¶
func (r ApiMarkOrderReadyRequest) Execute() (*http.Response, error)
func (ApiMarkOrderReadyRequest) MarkOrderRequest ¶
func (r ApiMarkOrderReadyRequest) MarkOrderRequest(markOrderRequest MarkOrderRequest) ApiMarkOrderReadyRequest
type ApiNotifyMembershipWebviewRequest ¶
type ApiNotifyMembershipWebviewRequest struct { ApiService *NotifyMembershipWebviewAPIService // contains filtered or unexported fields }
func (ApiNotifyMembershipWebviewRequest) Authorization ¶
func (r ApiNotifyMembershipWebviewRequest) Authorization(authorization string) ApiNotifyMembershipWebviewRequest
Specify the generated authorization token of the bearer type.
func (ApiNotifyMembershipWebviewRequest) ContentType ¶
func (r ApiNotifyMembershipWebviewRequest) ContentType(contentType string) ApiNotifyMembershipWebviewRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiNotifyMembershipWebviewRequest) Execute ¶
func (r ApiNotifyMembershipWebviewRequest) Execute() (*http.Response, error)
func (ApiNotifyMembershipWebviewRequest) NotifyMembershipWebviewRequest ¶
func (r ApiNotifyMembershipWebviewRequest) NotifyMembershipWebviewRequest(notifyMembershipWebviewRequest NotifyMembershipWebviewRequest) ApiNotifyMembershipWebviewRequest
type ApiPauseStoreRequest ¶
type ApiPauseStoreRequest struct { ApiService *PauseStoreAPIService // contains filtered or unexported fields }
func (ApiPauseStoreRequest) Authorization ¶
func (r ApiPauseStoreRequest) Authorization(authorization string) ApiPauseStoreRequest
Specify the generated authorization token of the bearer type.
func (ApiPauseStoreRequest) ContentType ¶
func (r ApiPauseStoreRequest) ContentType(contentType string) ApiPauseStoreRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiPauseStoreRequest) Execute ¶
func (r ApiPauseStoreRequest) Execute() (*http.Response, error)
func (ApiPauseStoreRequest) PauseStoreRequest ¶
func (r ApiPauseStoreRequest) PauseStoreRequest(pauseStoreRequest PauseStoreRequest) ApiPauseStoreRequest
type ApiRedeemDineinVoucherRequest ¶
type ApiRedeemDineinVoucherRequest struct { ApiService *RedeemDineinVoucherAPIService // contains filtered or unexported fields }
func (ApiRedeemDineinVoucherRequest) Authorization ¶
func (r ApiRedeemDineinVoucherRequest) Authorization(authorization string) ApiRedeemDineinVoucherRequest
Specify the generated authorization token of the bearer type.
func (ApiRedeemDineinVoucherRequest) ContentType ¶
func (r ApiRedeemDineinVoucherRequest) ContentType(contentType string) ApiRedeemDineinVoucherRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiRedeemDineinVoucherRequest) Execute ¶
func (r ApiRedeemDineinVoucherRequest) Execute() (*RedeemDineInVoucherResponse, *http.Response, error)
func (ApiRedeemDineinVoucherRequest) RedeemDineInVoucherRequest ¶
func (r ApiRedeemDineinVoucherRequest) RedeemDineInVoucherRequest(redeemDineInVoucherRequest RedeemDineInVoucherRequest) ApiRedeemDineinVoucherRequest
type ApiTraceMenuSyncRequest ¶
type ApiTraceMenuSyncRequest struct { ApiService *TraceMenuSyncAPIService // contains filtered or unexported fields }
func (ApiTraceMenuSyncRequest) Authorization ¶
func (r ApiTraceMenuSyncRequest) Authorization(authorization string) ApiTraceMenuSyncRequest
Specify the generated authorization token of the bearer type.
func (ApiTraceMenuSyncRequest) Execute ¶
func (r ApiTraceMenuSyncRequest) Execute() (*MenuSyncResponse, *http.Response, error)
func (ApiTraceMenuSyncRequest) MerchantID ¶
func (r ApiTraceMenuSyncRequest) MerchantID(merchantID string) ApiTraceMenuSyncRequest
The merchant's ID that is in GrabFood's database.
type ApiUpdateCampaignRequest ¶
type ApiUpdateCampaignRequest struct { ApiService *UpdateCampaignAPIService // contains filtered or unexported fields }
func (ApiUpdateCampaignRequest) Authorization ¶
func (r ApiUpdateCampaignRequest) Authorization(authorization string) ApiUpdateCampaignRequest
Specify the generated authorization token of the bearer type.
func (ApiUpdateCampaignRequest) ContentType ¶
func (r ApiUpdateCampaignRequest) ContentType(contentType string) ApiUpdateCampaignRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiUpdateCampaignRequest) Execute ¶
func (r ApiUpdateCampaignRequest) Execute() (*http.Response, error)
func (ApiUpdateCampaignRequest) UpdateCampaignRequest ¶
func (r ApiUpdateCampaignRequest) UpdateCampaignRequest(updateCampaignRequest UpdateCampaignRequest) ApiUpdateCampaignRequest
type ApiUpdateDeliveryStateRequest ¶
type ApiUpdateDeliveryStateRequest struct { ApiService *UpdateDeliveryStateAPIService // contains filtered or unexported fields }
func (ApiUpdateDeliveryStateRequest) Authorization ¶
func (r ApiUpdateDeliveryStateRequest) Authorization(authorization string) ApiUpdateDeliveryStateRequest
Specify the generated authorization token of the bearer type.
func (ApiUpdateDeliveryStateRequest) ContentType ¶
func (r ApiUpdateDeliveryStateRequest) ContentType(contentType string) ApiUpdateDeliveryStateRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiUpdateDeliveryStateRequest) Execute ¶
func (r ApiUpdateDeliveryStateRequest) Execute() (*http.Response, error)
func (ApiUpdateDeliveryStateRequest) OrderDeliveryRequest ¶
func (r ApiUpdateDeliveryStateRequest) OrderDeliveryRequest(orderDeliveryRequest OrderDeliveryRequest) ApiUpdateDeliveryStateRequest
type ApiUpdateMenuNotificationRequest ¶
type ApiUpdateMenuNotificationRequest struct { ApiService *UpdateMenuNotificationAPIService // contains filtered or unexported fields }
func (ApiUpdateMenuNotificationRequest) Authorization ¶
func (r ApiUpdateMenuNotificationRequest) Authorization(authorization string) ApiUpdateMenuNotificationRequest
Specify the generated authorization token of the bearer type.
func (ApiUpdateMenuNotificationRequest) ContentType ¶
func (r ApiUpdateMenuNotificationRequest) ContentType(contentType string) ApiUpdateMenuNotificationRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiUpdateMenuNotificationRequest) Execute ¶
func (r ApiUpdateMenuNotificationRequest) Execute() (*http.Response, error)
func (ApiUpdateMenuNotificationRequest) UpdateMenuNotifRequest ¶
func (r ApiUpdateMenuNotificationRequest) UpdateMenuNotifRequest(updateMenuNotifRequest UpdateMenuNotifRequest) ApiUpdateMenuNotificationRequest
type ApiUpdateMenuRequest ¶
type ApiUpdateMenuRequest struct { ApiService *UpdateMenuRecordAPIService // contains filtered or unexported fields }
func (ApiUpdateMenuRequest) Authorization ¶
func (r ApiUpdateMenuRequest) Authorization(authorization string) ApiUpdateMenuRequest
Specify the generated authorization token of the bearer type.
func (ApiUpdateMenuRequest) ContentType ¶
func (r ApiUpdateMenuRequest) ContentType(contentType string) ApiUpdateMenuRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiUpdateMenuRequest) Execute ¶
func (r ApiUpdateMenuRequest) Execute() (*http.Response, error)
func (ApiUpdateMenuRequest) UpdateMenuRequest ¶
func (r ApiUpdateMenuRequest) UpdateMenuRequest(updateMenuRequest UpdateMenuRequest) ApiUpdateMenuRequest
type ApiUpdateOrderReadyTimeRequest ¶
type ApiUpdateOrderReadyTimeRequest struct { ApiService *UpdateOrderReadyTimeAPIService // contains filtered or unexported fields }
func (ApiUpdateOrderReadyTimeRequest) Authorization ¶
func (r ApiUpdateOrderReadyTimeRequest) Authorization(authorization string) ApiUpdateOrderReadyTimeRequest
Specify the generated authorization token of the bearer type.
func (ApiUpdateOrderReadyTimeRequest) ContentType ¶
func (r ApiUpdateOrderReadyTimeRequest) ContentType(contentType string) ApiUpdateOrderReadyTimeRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiUpdateOrderReadyTimeRequest) Execute ¶
func (r ApiUpdateOrderReadyTimeRequest) Execute() (*http.Response, error)
func (ApiUpdateOrderReadyTimeRequest) NewOrderTimeRequest ¶
func (r ApiUpdateOrderReadyTimeRequest) NewOrderTimeRequest(newOrderTimeRequest NewOrderTimeRequest) ApiUpdateOrderReadyTimeRequest
type ApiUpdateStoreDeliveryHourRequest ¶
type ApiUpdateStoreDeliveryHourRequest struct { ApiService *UpdateStoreDeliveryHourAPIService // contains filtered or unexported fields }
func (ApiUpdateStoreDeliveryHourRequest) Authorization ¶
func (r ApiUpdateStoreDeliveryHourRequest) Authorization(authorization string) ApiUpdateStoreDeliveryHourRequest
Specify the generated authorization token of the bearer type.
func (ApiUpdateStoreDeliveryHourRequest) ContentType ¶
func (r ApiUpdateStoreDeliveryHourRequest) ContentType(contentType string) ApiUpdateStoreDeliveryHourRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiUpdateStoreDeliveryHourRequest) Execute ¶
func (r ApiUpdateStoreDeliveryHourRequest) Execute() (*UpdateDeliveryHourResponse, *http.Response, error)
func (ApiUpdateStoreDeliveryHourRequest) UpdateDeliveryHourRequest ¶
func (r ApiUpdateStoreDeliveryHourRequest) UpdateDeliveryHourRequest(updateDeliveryHourRequest UpdateDeliveryHourRequest) ApiUpdateStoreDeliveryHourRequest
type ApiUpdateStoreDineInHourRequest ¶
type ApiUpdateStoreDineInHourRequest struct { ApiService *UpdateStoreDineInHourAPIService // contains filtered or unexported fields }
func (ApiUpdateStoreDineInHourRequest) Authorization ¶
func (r ApiUpdateStoreDineInHourRequest) Authorization(authorization string) ApiUpdateStoreDineInHourRequest
Specify the generated authorization token of the bearer type.
func (ApiUpdateStoreDineInHourRequest) ContentType ¶
func (r ApiUpdateStoreDineInHourRequest) ContentType(contentType string) ApiUpdateStoreDineInHourRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiUpdateStoreDineInHourRequest) Execute ¶
func (r ApiUpdateStoreDineInHourRequest) Execute() (*UpdateDineInHourResponse, *http.Response, error)
func (ApiUpdateStoreDineInHourRequest) UpdateDineInHourRequest ¶
func (r ApiUpdateStoreDineInHourRequest) UpdateDineInHourRequest(updateDineInHourRequest UpdateDineInHourRequest) ApiUpdateStoreDineInHourRequest
type ApiUpdateStoreSpecialHourRequest ¶
type ApiUpdateStoreSpecialHourRequest struct { ApiService *UpdateStoreSpecialHourAPIService // contains filtered or unexported fields }
func (ApiUpdateStoreSpecialHourRequest) Authorization ¶
func (r ApiUpdateStoreSpecialHourRequest) Authorization(authorization string) ApiUpdateStoreSpecialHourRequest
Specify the generated authorization token of the bearer type.
func (ApiUpdateStoreSpecialHourRequest) ContentType ¶
func (r ApiUpdateStoreSpecialHourRequest) ContentType(contentType string) ApiUpdateStoreSpecialHourRequest
The content type of the request body. You must use `application/json` for this header as GrabFood API currently does not support other formats.
func (ApiUpdateStoreSpecialHourRequest) Execute ¶
func (r ApiUpdateStoreSpecialHourRequest) Execute() (*UpdateSpecialHourResponse, *http.Response, error)
func (ApiUpdateStoreSpecialHourRequest) UpdateSpecialHourRequest ¶
func (r ApiUpdateStoreSpecialHourRequest) UpdateSpecialHourRequest(updateSpecialHourRequest UpdateSpecialHourRequest) ApiUpdateStoreSpecialHourRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BatchUpdateMenuItem ¶
type BatchUpdateMenuItem struct { // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` // The record type that you want to update. Field string `json:"field"` // The items in an array of JSON Object. MenuEntities []MenuEntity `json:"menuEntities,omitempty"` AdditionalProperties map[string]interface{} }
BatchUpdateMenuItem Information about the GrabFood client updating their food menu.
func NewBatchUpdateMenuItem ¶
func NewBatchUpdateMenuItem(merchantID string, field string) *BatchUpdateMenuItem
NewBatchUpdateMenuItem instantiates a new BatchUpdateMenuItem 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 NewBatchUpdateMenuItemWithDefaults ¶
func NewBatchUpdateMenuItemWithDefaults() *BatchUpdateMenuItem
NewBatchUpdateMenuItemWithDefaults instantiates a new BatchUpdateMenuItem 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 (*BatchUpdateMenuItem) GetField ¶
func (o *BatchUpdateMenuItem) GetField() string
GetField returns the Field field value
func (*BatchUpdateMenuItem) GetFieldOk ¶
func (o *BatchUpdateMenuItem) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*BatchUpdateMenuItem) GetMenuEntities ¶
func (o *BatchUpdateMenuItem) GetMenuEntities() []MenuEntity
GetMenuEntities returns the MenuEntities field value if set, zero value otherwise.
func (*BatchUpdateMenuItem) GetMenuEntitiesOk ¶
func (o *BatchUpdateMenuItem) GetMenuEntitiesOk() ([]MenuEntity, bool)
GetMenuEntitiesOk returns a tuple with the MenuEntities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchUpdateMenuItem) GetMerchantID ¶
func (o *BatchUpdateMenuItem) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*BatchUpdateMenuItem) GetMerchantIDOk ¶
func (o *BatchUpdateMenuItem) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*BatchUpdateMenuItem) HasMenuEntities ¶
func (o *BatchUpdateMenuItem) HasMenuEntities() bool
HasMenuEntities returns a boolean if a field has been set.
func (BatchUpdateMenuItem) MarshalJSON ¶
func (o BatchUpdateMenuItem) MarshalJSON() ([]byte, error)
func (*BatchUpdateMenuItem) SetField ¶
func (o *BatchUpdateMenuItem) SetField(v string)
SetField sets field value
func (*BatchUpdateMenuItem) SetMenuEntities ¶
func (o *BatchUpdateMenuItem) SetMenuEntities(v []MenuEntity)
SetMenuEntities gets a reference to the given []MenuEntity and assigns it to the MenuEntities field.
func (*BatchUpdateMenuItem) SetMerchantID ¶
func (o *BatchUpdateMenuItem) SetMerchantID(v string)
SetMerchantID sets field value
func (BatchUpdateMenuItem) ToMap ¶
func (o BatchUpdateMenuItem) ToMap() (map[string]interface{}, error)
func (*BatchUpdateMenuItem) UnmarshalJSON ¶
func (o *BatchUpdateMenuItem) UnmarshalJSON(data []byte) (err error)
type BatchUpdateMenuResponse ¶
type BatchUpdateMenuResponse struct { // The merchant's ID that is in GrabFood's database. MerchantID *string `json:"merchantID,omitempty"` // The status of this request. Status *string `json:"status,omitempty"` // The error messages when batch update menu record was partial success/fail. `null` when the request was success. Errors []MenuEntityError `json:"errors,omitempty"` AdditionalProperties map[string]interface{} }
BatchUpdateMenuResponse struct for BatchUpdateMenuResponse
func NewBatchUpdateMenuResponse ¶
func NewBatchUpdateMenuResponse() *BatchUpdateMenuResponse
NewBatchUpdateMenuResponse instantiates a new BatchUpdateMenuResponse 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 NewBatchUpdateMenuResponseWithDefaults ¶
func NewBatchUpdateMenuResponseWithDefaults() *BatchUpdateMenuResponse
NewBatchUpdateMenuResponseWithDefaults instantiates a new BatchUpdateMenuResponse 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 (*BatchUpdateMenuResponse) GetErrors ¶
func (o *BatchUpdateMenuResponse) GetErrors() []MenuEntityError
GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchUpdateMenuResponse) GetErrorsOk ¶
func (o *BatchUpdateMenuResponse) GetErrorsOk() ([]MenuEntityError, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BatchUpdateMenuResponse) GetMerchantID ¶
func (o *BatchUpdateMenuResponse) GetMerchantID() string
GetMerchantID returns the MerchantID field value if set, zero value otherwise.
func (*BatchUpdateMenuResponse) GetMerchantIDOk ¶
func (o *BatchUpdateMenuResponse) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchUpdateMenuResponse) GetStatus ¶
func (o *BatchUpdateMenuResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*BatchUpdateMenuResponse) GetStatusOk ¶
func (o *BatchUpdateMenuResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchUpdateMenuResponse) HasErrors ¶
func (o *BatchUpdateMenuResponse) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*BatchUpdateMenuResponse) HasMerchantID ¶
func (o *BatchUpdateMenuResponse) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (*BatchUpdateMenuResponse) HasStatus ¶
func (o *BatchUpdateMenuResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (BatchUpdateMenuResponse) MarshalJSON ¶
func (o BatchUpdateMenuResponse) MarshalJSON() ([]byte, error)
func (*BatchUpdateMenuResponse) SetErrors ¶
func (o *BatchUpdateMenuResponse) SetErrors(v []MenuEntityError)
SetErrors gets a reference to the given []MenuEntityError and assigns it to the Errors field.
func (*BatchUpdateMenuResponse) SetMerchantID ¶
func (o *BatchUpdateMenuResponse) SetMerchantID(v string)
SetMerchantID gets a reference to the given string and assigns it to the MerchantID field.
func (*BatchUpdateMenuResponse) SetStatus ¶
func (o *BatchUpdateMenuResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (BatchUpdateMenuResponse) ToMap ¶
func (o BatchUpdateMenuResponse) ToMap() (map[string]interface{}, error)
func (*BatchUpdateMenuResponse) UnmarshalJSON ¶
func (o *BatchUpdateMenuResponse) UnmarshalJSON(data []byte) (err error)
type BindMembershipNativeRequest ¶
type BindMembershipNativeRequest struct { // The id used to identify an unique grab user. GrabID string `json:"grabID"` // Grab user phone number used to login. PhoneNumber *string `json:"phoneNumber,omitempty"` AdditionalProperties map[string]interface{} }
BindMembershipNativeRequest This request submits membership binding request to partner.
func NewBindMembershipNativeRequest ¶
func NewBindMembershipNativeRequest(grabID string) *BindMembershipNativeRequest
NewBindMembershipNativeRequest instantiates a new BindMembershipNativeRequest 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 NewBindMembershipNativeRequestWithDefaults ¶
func NewBindMembershipNativeRequestWithDefaults() *BindMembershipNativeRequest
NewBindMembershipNativeRequestWithDefaults instantiates a new BindMembershipNativeRequest 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 (*BindMembershipNativeRequest) GetGrabID ¶
func (o *BindMembershipNativeRequest) GetGrabID() string
GetGrabID returns the GrabID field value
func (*BindMembershipNativeRequest) GetGrabIDOk ¶
func (o *BindMembershipNativeRequest) GetGrabIDOk() (*string, bool)
GetGrabIDOk returns a tuple with the GrabID field value and a boolean to check if the value has been set.
func (*BindMembershipNativeRequest) GetPhoneNumber ¶
func (o *BindMembershipNativeRequest) GetPhoneNumber() string
GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.
func (*BindMembershipNativeRequest) GetPhoneNumberOk ¶
func (o *BindMembershipNativeRequest) GetPhoneNumberOk() (*string, bool)
GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BindMembershipNativeRequest) HasPhoneNumber ¶
func (o *BindMembershipNativeRequest) HasPhoneNumber() bool
HasPhoneNumber returns a boolean if a field has been set.
func (BindMembershipNativeRequest) MarshalJSON ¶
func (o BindMembershipNativeRequest) MarshalJSON() ([]byte, error)
func (*BindMembershipNativeRequest) SetGrabID ¶
func (o *BindMembershipNativeRequest) SetGrabID(v string)
SetGrabID sets field value
func (*BindMembershipNativeRequest) SetPhoneNumber ¶
func (o *BindMembershipNativeRequest) SetPhoneNumber(v string)
SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.
func (BindMembershipNativeRequest) ToMap ¶
func (o BindMembershipNativeRequest) ToMap() (map[string]interface{}, error)
func (*BindMembershipNativeRequest) UnmarshalJSON ¶
func (o *BindMembershipNativeRequest) UnmarshalJSON(data []byte) (err error)
type BindMembershipNativeResponse ¶
type BindMembershipNativeResponse struct { // The unique member ID on the partner's database. MemberID string `json:"memberID"` AdditionalProperties map[string]interface{} }
BindMembershipNativeResponse This response returns membershipID after membership binding is successful.
func NewBindMembershipNativeResponse ¶
func NewBindMembershipNativeResponse(memberID string) *BindMembershipNativeResponse
NewBindMembershipNativeResponse instantiates a new BindMembershipNativeResponse 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 NewBindMembershipNativeResponseWithDefaults ¶
func NewBindMembershipNativeResponseWithDefaults() *BindMembershipNativeResponse
NewBindMembershipNativeResponseWithDefaults instantiates a new BindMembershipNativeResponse 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 (*BindMembershipNativeResponse) GetMemberID ¶
func (o *BindMembershipNativeResponse) GetMemberID() string
GetMemberID returns the MemberID field value
func (*BindMembershipNativeResponse) GetMemberIDOk ¶
func (o *BindMembershipNativeResponse) GetMemberIDOk() (*string, bool)
GetMemberIDOk returns a tuple with the MemberID field value and a boolean to check if the value has been set.
func (BindMembershipNativeResponse) MarshalJSON ¶
func (o BindMembershipNativeResponse) MarshalJSON() ([]byte, error)
func (*BindMembershipNativeResponse) SetMemberID ¶
func (o *BindMembershipNativeResponse) SetMemberID(v string)
SetMemberID sets field value
func (BindMembershipNativeResponse) ToMap ¶
func (o BindMembershipNativeResponse) ToMap() (map[string]interface{}, error)
func (*BindMembershipNativeResponse) UnmarshalJSON ¶
func (o *BindMembershipNativeResponse) UnmarshalJSON(data []byte) (err error)
type Campaign ¶
type Campaign struct { // The campaign's ID. Id string `json:"id"` // The party who created the campaign. Can be created by partners via API, merchants via the merchant app or Grab. CreatedBy string `json:"createdBy"` // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` // The campaign's name. Name string `json:"name"` Quotas *CampaignQuotas `json:"quotas,omitempty"` Conditions *CampaignConditions `json:"conditions,omitempty"` Discount *CampaignDiscount `json:"discount,omitempty"` // Specify the tag for custom bundle offer campaign. Only whitelisted partner is supported as of now. CustomTag *string `json:"customTag,omitempty"` AdditionalProperties map[string]interface{} }
Campaign A JSON object containing the campaign details for a merchant. Only campaigns that are funded by merchants will be sent.
func NewCampaign ¶
NewCampaign instantiates a new Campaign 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 NewCampaignWithDefaults ¶
func NewCampaignWithDefaults() *Campaign
NewCampaignWithDefaults instantiates a new Campaign 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 (*Campaign) GetConditions ¶
func (o *Campaign) GetConditions() CampaignConditions
GetConditions returns the Conditions field value if set, zero value otherwise.
func (*Campaign) GetConditionsOk ¶
func (o *Campaign) GetConditionsOk() (*CampaignConditions, bool)
GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Campaign) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value
func (*Campaign) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*Campaign) GetCustomTag ¶
GetCustomTag returns the CustomTag field value if set, zero value otherwise.
func (*Campaign) GetCustomTagOk ¶
GetCustomTagOk returns a tuple with the CustomTag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Campaign) GetDiscount ¶
func (o *Campaign) GetDiscount() CampaignDiscount
GetDiscount returns the Discount field value if set, zero value otherwise.
func (*Campaign) GetDiscountOk ¶
func (o *Campaign) GetDiscountOk() (*CampaignDiscount, bool)
GetDiscountOk returns a tuple with the Discount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Campaign) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Campaign) GetMerchantID ¶
GetMerchantID returns the MerchantID field value
func (*Campaign) GetMerchantIDOk ¶
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*Campaign) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Campaign) GetQuotas ¶
func (o *Campaign) GetQuotas() CampaignQuotas
GetQuotas returns the Quotas field value if set, zero value otherwise.
func (*Campaign) GetQuotasOk ¶
func (o *Campaign) GetQuotasOk() (*CampaignQuotas, bool)
GetQuotasOk returns a tuple with the Quotas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Campaign) HasConditions ¶
HasConditions returns a boolean if a field has been set.
func (*Campaign) HasCustomTag ¶
HasCustomTag returns a boolean if a field has been set.
func (*Campaign) HasDiscount ¶
HasDiscount returns a boolean if a field has been set.
func (Campaign) MarshalJSON ¶
func (*Campaign) SetConditions ¶
func (o *Campaign) SetConditions(v CampaignConditions)
SetConditions gets a reference to the given CampaignConditions and assigns it to the Conditions field.
func (*Campaign) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Campaign) SetCustomTag ¶
SetCustomTag gets a reference to the given string and assigns it to the CustomTag field.
func (*Campaign) SetDiscount ¶
func (o *Campaign) SetDiscount(v CampaignDiscount)
SetDiscount gets a reference to the given CampaignDiscount and assigns it to the Discount field.
func (*Campaign) SetMerchantID ¶
SetMerchantID sets field value
func (*Campaign) SetQuotas ¶
func (o *Campaign) SetQuotas(v CampaignQuotas)
SetQuotas gets a reference to the given CampaignQuotas and assigns it to the Quotas field.
func (*Campaign) UnmarshalJSON ¶
type CampaignConditions ¶
type CampaignConditions struct { // The campaign's start time in UTC format. For example, 2021-09-23T03:30:00Z means 2021-09-23 11:30:00 (UTC +08:00). StartTime time.Time `json:"startTime"` // The campaign's end time in UTC format. EndTime time.Time `json:"endTime"` // The type of eater eligible for the campaign. * `all` - campaign will be applied to everyone. No limitation on campaign type. * `new` - campaign will be applied to consumers who have not ordered from this store in the last three months. Only applicable to **order-level** campaign. EaterType string `json:"eaterType"` // The minimum basket amount to be eligible for the campaign. Only applicable to **order-level** campaign but not to item-level discount campaign. MinBasketAmount *float64 `json:"minBasketAmount,omitempty"` // Specify the bundle quantity for bundle offer campaign. BundleQuantity *int32 `json:"bundleQuantity,omitempty"` WorkingHour *WorkingHour `json:"workingHour,omitempty"` AdditionalProperties map[string]interface{} }
CampaignConditions The conditions to apply to a campaign.
func NewCampaignConditions ¶
func NewCampaignConditions(startTime time.Time, endTime time.Time, eaterType string) *CampaignConditions
NewCampaignConditions instantiates a new CampaignConditions 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 NewCampaignConditionsWithDefaults ¶
func NewCampaignConditionsWithDefaults() *CampaignConditions
NewCampaignConditionsWithDefaults instantiates a new CampaignConditions 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 (*CampaignConditions) GetBundleQuantity ¶
func (o *CampaignConditions) GetBundleQuantity() int32
GetBundleQuantity returns the BundleQuantity field value if set, zero value otherwise.
func (*CampaignConditions) GetBundleQuantityOk ¶
func (o *CampaignConditions) GetBundleQuantityOk() (*int32, bool)
GetBundleQuantityOk returns a tuple with the BundleQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignConditions) GetEaterType ¶
func (o *CampaignConditions) GetEaterType() string
GetEaterType returns the EaterType field value
func (*CampaignConditions) GetEaterTypeOk ¶
func (o *CampaignConditions) GetEaterTypeOk() (*string, bool)
GetEaterTypeOk returns a tuple with the EaterType field value and a boolean to check if the value has been set.
func (*CampaignConditions) GetEndTime ¶
func (o *CampaignConditions) GetEndTime() time.Time
GetEndTime returns the EndTime field value
func (*CampaignConditions) GetEndTimeOk ¶
func (o *CampaignConditions) GetEndTimeOk() (*time.Time, bool)
GetEndTimeOk returns a tuple with the EndTime field value and a boolean to check if the value has been set.
func (*CampaignConditions) GetMinBasketAmount ¶
func (o *CampaignConditions) GetMinBasketAmount() float64
GetMinBasketAmount returns the MinBasketAmount field value if set, zero value otherwise.
func (*CampaignConditions) GetMinBasketAmountOk ¶
func (o *CampaignConditions) GetMinBasketAmountOk() (*float64, bool)
GetMinBasketAmountOk returns a tuple with the MinBasketAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignConditions) GetStartTime ¶
func (o *CampaignConditions) GetStartTime() time.Time
GetStartTime returns the StartTime field value
func (*CampaignConditions) GetStartTimeOk ¶
func (o *CampaignConditions) GetStartTimeOk() (*time.Time, bool)
GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set.
func (*CampaignConditions) GetWorkingHour ¶
func (o *CampaignConditions) GetWorkingHour() WorkingHour
GetWorkingHour returns the WorkingHour field value if set, zero value otherwise.
func (*CampaignConditions) GetWorkingHourOk ¶
func (o *CampaignConditions) GetWorkingHourOk() (*WorkingHour, bool)
GetWorkingHourOk returns a tuple with the WorkingHour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignConditions) HasBundleQuantity ¶
func (o *CampaignConditions) HasBundleQuantity() bool
HasBundleQuantity returns a boolean if a field has been set.
func (*CampaignConditions) HasMinBasketAmount ¶
func (o *CampaignConditions) HasMinBasketAmount() bool
HasMinBasketAmount returns a boolean if a field has been set.
func (*CampaignConditions) HasWorkingHour ¶
func (o *CampaignConditions) HasWorkingHour() bool
HasWorkingHour returns a boolean if a field has been set.
func (CampaignConditions) MarshalJSON ¶
func (o CampaignConditions) MarshalJSON() ([]byte, error)
func (*CampaignConditions) SetBundleQuantity ¶
func (o *CampaignConditions) SetBundleQuantity(v int32)
SetBundleQuantity gets a reference to the given int32 and assigns it to the BundleQuantity field.
func (*CampaignConditions) SetEaterType ¶
func (o *CampaignConditions) SetEaterType(v string)
SetEaterType sets field value
func (*CampaignConditions) SetEndTime ¶
func (o *CampaignConditions) SetEndTime(v time.Time)
SetEndTime sets field value
func (*CampaignConditions) SetMinBasketAmount ¶
func (o *CampaignConditions) SetMinBasketAmount(v float64)
SetMinBasketAmount gets a reference to the given float64 and assigns it to the MinBasketAmount field.
func (*CampaignConditions) SetStartTime ¶
func (o *CampaignConditions) SetStartTime(v time.Time)
SetStartTime sets field value
func (*CampaignConditions) SetWorkingHour ¶
func (o *CampaignConditions) SetWorkingHour(v WorkingHour)
SetWorkingHour gets a reference to the given WorkingHour and assigns it to the WorkingHour field.
func (CampaignConditions) ToMap ¶
func (o CampaignConditions) ToMap() (map[string]interface{}, error)
func (*CampaignConditions) UnmarshalJSON ¶
func (o *CampaignConditions) UnmarshalJSON(data []byte) (err error)
type CampaignDiscount ¶
type CampaignDiscount struct { // The type of discount Type string `json:"type"` // The maximum discount dollar amount. It is **not required** and will be ignored when the `discount.type` is: - `net` - `delivery` - `freeItem` - `bundleSameNet` - `bundleSamePercentage` - `bundleSameFixPrice` - `bundleDiffNet` - `bundleDiffPercentage` - `bundleDiffFixPrice` Cap *float64 `json:"cap,omitempty"` // Specify the discount amount. Decimal number is not supported For VN, ID and TH. For example, `10.5` is not allowed and it should be `10.0`. * Dollar amount value when `discount.type` is `net`, `delivery`, `bundleSameNet`, `bundleSameFixPrice`, `bundleDiffNet`, `bundleDiffFixPrice`. * Percentage value (0-100) when `discount.type` is `percentage`, `bundleSamePercentage`, `bundleDiffPercentage`. * **Not required** when `discount.type` is `freeItem`. Value *float64 `json:"value,omitempty"` Scope CampaignScope `json:"scope"` AdditionalProperties map[string]interface{} }
CampaignDiscount The discount detail for a particular campaign when conditions are satisfied.
func NewCampaignDiscount ¶
func NewCampaignDiscount(type_ string, scope CampaignScope) *CampaignDiscount
NewCampaignDiscount instantiates a new CampaignDiscount 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 NewCampaignDiscountWithDefaults ¶
func NewCampaignDiscountWithDefaults() *CampaignDiscount
NewCampaignDiscountWithDefaults instantiates a new CampaignDiscount 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 (*CampaignDiscount) GetCap ¶
func (o *CampaignDiscount) GetCap() float64
GetCap returns the Cap field value if set, zero value otherwise.
func (*CampaignDiscount) GetCapOk ¶
func (o *CampaignDiscount) GetCapOk() (*float64, bool)
GetCapOk returns a tuple with the Cap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignDiscount) GetScope ¶
func (o *CampaignDiscount) GetScope() CampaignScope
GetScope returns the Scope field value
func (*CampaignDiscount) GetScopeOk ¶
func (o *CampaignDiscount) GetScopeOk() (*CampaignScope, bool)
GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.
func (*CampaignDiscount) GetType ¶
func (o *CampaignDiscount) GetType() string
GetType returns the Type field value
func (*CampaignDiscount) GetTypeOk ¶
func (o *CampaignDiscount) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*CampaignDiscount) GetValue ¶
func (o *CampaignDiscount) GetValue() float64
GetValue returns the Value field value if set, zero value otherwise.
func (*CampaignDiscount) GetValueOk ¶
func (o *CampaignDiscount) GetValueOk() (*float64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignDiscount) HasCap ¶
func (o *CampaignDiscount) HasCap() bool
HasCap returns a boolean if a field has been set.
func (*CampaignDiscount) HasValue ¶
func (o *CampaignDiscount) HasValue() bool
HasValue returns a boolean if a field has been set.
func (CampaignDiscount) MarshalJSON ¶
func (o CampaignDiscount) MarshalJSON() ([]byte, error)
func (*CampaignDiscount) SetCap ¶
func (o *CampaignDiscount) SetCap(v float64)
SetCap gets a reference to the given float64 and assigns it to the Cap field.
func (*CampaignDiscount) SetScope ¶
func (o *CampaignDiscount) SetScope(v CampaignScope)
SetScope sets field value
func (*CampaignDiscount) SetType ¶
func (o *CampaignDiscount) SetType(v string)
SetType sets field value
func (*CampaignDiscount) SetValue ¶
func (o *CampaignDiscount) SetValue(v float64)
SetValue gets a reference to the given float64 and assigns it to the Value field.
func (CampaignDiscount) ToMap ¶
func (o CampaignDiscount) ToMap() (map[string]interface{}, error)
func (*CampaignDiscount) UnmarshalJSON ¶
func (o *CampaignDiscount) UnmarshalJSON(data []byte) (err error)
type CampaignQuotas ¶
type CampaignQuotas struct { // The maximum number of redemptions. Default is unlimited if unspecified. TotalCount *int64 `json:"totalCount,omitempty"` // The maximum number of redemptions per user. Default is unlimited if unspecified. TotalCountPerUser *int64 `json:"totalCountPerUser,omitempty"` AdditionalProperties map[string]interface{} }
CampaignQuotas The quotas/limits for a particular campaign.
func NewCampaignQuotas ¶
func NewCampaignQuotas() *CampaignQuotas
NewCampaignQuotas instantiates a new CampaignQuotas 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 NewCampaignQuotasWithDefaults ¶
func NewCampaignQuotasWithDefaults() *CampaignQuotas
NewCampaignQuotasWithDefaults instantiates a new CampaignQuotas 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 (*CampaignQuotas) GetTotalCount ¶
func (o *CampaignQuotas) GetTotalCount() int64
GetTotalCount returns the TotalCount field value if set, zero value otherwise.
func (*CampaignQuotas) GetTotalCountOk ¶
func (o *CampaignQuotas) GetTotalCountOk() (*int64, bool)
GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignQuotas) GetTotalCountPerUser ¶
func (o *CampaignQuotas) GetTotalCountPerUser() int64
GetTotalCountPerUser returns the TotalCountPerUser field value if set, zero value otherwise.
func (*CampaignQuotas) GetTotalCountPerUserOk ¶
func (o *CampaignQuotas) GetTotalCountPerUserOk() (*int64, bool)
GetTotalCountPerUserOk returns a tuple with the TotalCountPerUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignQuotas) HasTotalCount ¶
func (o *CampaignQuotas) HasTotalCount() bool
HasTotalCount returns a boolean if a field has been set.
func (*CampaignQuotas) HasTotalCountPerUser ¶
func (o *CampaignQuotas) HasTotalCountPerUser() bool
HasTotalCountPerUser returns a boolean if a field has been set.
func (CampaignQuotas) MarshalJSON ¶
func (o CampaignQuotas) MarshalJSON() ([]byte, error)
func (*CampaignQuotas) SetTotalCount ¶
func (o *CampaignQuotas) SetTotalCount(v int64)
SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.
func (*CampaignQuotas) SetTotalCountPerUser ¶
func (o *CampaignQuotas) SetTotalCountPerUser(v int64)
SetTotalCountPerUser gets a reference to the given int64 and assigns it to the TotalCountPerUser field.
func (CampaignQuotas) ToMap ¶
func (o CampaignQuotas) ToMap() (map[string]interface{}, error)
func (*CampaignQuotas) UnmarshalJSON ¶
func (o *CampaignQuotas) UnmarshalJSON(data []byte) (err error)
type CampaignScope ¶
type CampaignScope struct { // The scope type for this campaign. * `order` - order level campaign. * `items` - item level campaign or bundle offer. * `category` - category level campaign where all items within applies the same discount. Type string `json:"type"` // The list of item IDs in the partner's database applicable for discount when `discount.scope.type` is `items` (or category IDs for `category`). One and only 1 item supported when `discount.type` is: - `freeItem` - `bundleSameNet` - `bundleSamePercentage` - `bundleSameFixPrice` Minimum 2 - Maximum 20 items supported when `discount.type` is: - `bundleDiffNet` - `bundleDiffPercentage` - `bundleDiffFixPrice` ObjectIDs []string `json:"objectIDs,omitempty"` AdditionalProperties map[string]interface{} }
CampaignScope The scope level for a particular campaign.
func NewCampaignScope ¶
func NewCampaignScope(type_ string) *CampaignScope
NewCampaignScope instantiates a new CampaignScope 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 NewCampaignScopeWithDefaults ¶
func NewCampaignScopeWithDefaults() *CampaignScope
NewCampaignScopeWithDefaults instantiates a new CampaignScope 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 (*CampaignScope) GetObjectIDs ¶
func (o *CampaignScope) GetObjectIDs() []string
GetObjectIDs returns the ObjectIDs field value if set, zero value otherwise.
func (*CampaignScope) GetObjectIDsOk ¶
func (o *CampaignScope) GetObjectIDsOk() ([]string, bool)
GetObjectIDsOk returns a tuple with the ObjectIDs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CampaignScope) GetType ¶
func (o *CampaignScope) GetType() string
GetType returns the Type field value
func (*CampaignScope) GetTypeOk ¶
func (o *CampaignScope) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*CampaignScope) HasObjectIDs ¶
func (o *CampaignScope) HasObjectIDs() bool
HasObjectIDs returns a boolean if a field has been set.
func (CampaignScope) MarshalJSON ¶
func (o CampaignScope) MarshalJSON() ([]byte, error)
func (*CampaignScope) SetObjectIDs ¶
func (o *CampaignScope) SetObjectIDs(v []string)
SetObjectIDs gets a reference to the given []string and assigns it to the ObjectIDs field.
func (CampaignScope) ToMap ¶
func (o CampaignScope) ToMap() (map[string]interface{}, error)
func (*CampaignScope) UnmarshalJSON ¶
func (o *CampaignScope) UnmarshalJSON(data []byte) (err error)
type CancelCode ¶
type CancelCode int32
CancelCode The cancel code for a specific cancel reason.
func NewCancelCodeFromValue ¶
func NewCancelCodeFromValue(v int32) (*CancelCode, error)
NewCancelCodeFromValue returns a pointer to a valid CancelCode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CancelCode) IsValid ¶
func (v CancelCode) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CancelCode) Ptr ¶
func (v CancelCode) Ptr() *CancelCode
Ptr returns reference to cancelCode value
func (*CancelCode) UnmarshalJSON ¶
func (v *CancelCode) UnmarshalJSON(src []byte) error
type CancelOrderAPIService ¶
type CancelOrderAPIService service
CancelOrderAPIService CancelOrderAPI service
func (*CancelOrderAPIService) CancelOrder ¶
func (a *CancelOrderAPIService) CancelOrder(ctx context.Context) ApiCancelOrderRequest
CancelOrder Cancel an order
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCancelOrderRequest
func (*CancelOrderAPIService) CancelOrderExecute ¶
func (a *CancelOrderAPIService) CancelOrderExecute(r ApiCancelOrderRequest) (*CancelOrderResponse, *http.Response, error)
Execute executes the request
@return CancelOrderResponse
type CancelOrderLimitType ¶
type CancelOrderLimitType string
CancelOrderLimitType The type of the order cancellation limit.
const ( NOT_APPROACHING_LIMIT CancelOrderLimitType = "not approaching limit" APPROACHING_THE_DAILY_LIMIT CancelOrderLimitType = "approaching the daily limit" APPROACHING_THE_WEEKLY_LIMIT CancelOrderLimitType = "approaching the weekly limit" APPROACHING_THE_MONTHLY_LIMIT CancelOrderLimitType = "approaching the monthly limit" EMPTY CancelOrderLimitType = "" )
List of cancelOrderLimitType
func NewCancelOrderLimitTypeFromValue ¶
func NewCancelOrderLimitTypeFromValue(v string) (*CancelOrderLimitType, error)
NewCancelOrderLimitTypeFromValue returns a pointer to a valid CancelOrderLimitType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CancelOrderLimitType) IsValid ¶
func (v CancelOrderLimitType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CancelOrderLimitType) Ptr ¶
func (v CancelOrderLimitType) Ptr() *CancelOrderLimitType
Ptr returns reference to cancelOrderLimitType value
func (*CancelOrderLimitType) UnmarshalJSON ¶
func (v *CancelOrderLimitType) UnmarshalJSON(src []byte) error
type CancelOrderRequest ¶
type CancelOrderRequest struct { // The order's ID that is returned from GrabFood. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). OrderID string `json:"orderID"` // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` CancelCode CancelCode `json:"cancelCode"` AdditionalProperties map[string]interface{} }
CancelOrderRequest This request cancels an order on GrabFood.
func NewCancelOrderRequest ¶
func NewCancelOrderRequest(orderID string, merchantID string, cancelCode CancelCode) *CancelOrderRequest
NewCancelOrderRequest instantiates a new CancelOrderRequest 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 NewCancelOrderRequestWithDefaults ¶
func NewCancelOrderRequestWithDefaults() *CancelOrderRequest
NewCancelOrderRequestWithDefaults instantiates a new CancelOrderRequest 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 (*CancelOrderRequest) GetCancelCode ¶
func (o *CancelOrderRequest) GetCancelCode() CancelCode
GetCancelCode returns the CancelCode field value
func (*CancelOrderRequest) GetCancelCodeOk ¶
func (o *CancelOrderRequest) GetCancelCodeOk() (*CancelCode, bool)
GetCancelCodeOk returns a tuple with the CancelCode field value and a boolean to check if the value has been set.
func (*CancelOrderRequest) GetMerchantID ¶
func (o *CancelOrderRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*CancelOrderRequest) GetMerchantIDOk ¶
func (o *CancelOrderRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*CancelOrderRequest) GetOrderID ¶
func (o *CancelOrderRequest) GetOrderID() string
GetOrderID returns the OrderID field value
func (*CancelOrderRequest) GetOrderIDOk ¶
func (o *CancelOrderRequest) GetOrderIDOk() (*string, bool)
GetOrderIDOk returns a tuple with the OrderID field value and a boolean to check if the value has been set.
func (CancelOrderRequest) MarshalJSON ¶
func (o CancelOrderRequest) MarshalJSON() ([]byte, error)
func (*CancelOrderRequest) SetCancelCode ¶
func (o *CancelOrderRequest) SetCancelCode(v CancelCode)
SetCancelCode sets field value
func (*CancelOrderRequest) SetMerchantID ¶
func (o *CancelOrderRequest) SetMerchantID(v string)
SetMerchantID sets field value
func (*CancelOrderRequest) SetOrderID ¶
func (o *CancelOrderRequest) SetOrderID(v string)
SetOrderID sets field value
func (CancelOrderRequest) ToMap ¶
func (o CancelOrderRequest) ToMap() (map[string]interface{}, error)
func (*CancelOrderRequest) UnmarshalJSON ¶
func (o *CancelOrderRequest) UnmarshalJSON(data []byte) (err error)
type CancelOrderResponse ¶
type CancelOrderResponse struct { LimitType *CancelOrderLimitType `json:"limitType,omitempty"` // The remaining cancellation quota for the merchant. A value is only returned when the nearest remaining cancellation limit is approaching, else it returns 0. LimitTimes *int64 `json:"limitTimes,omitempty"` AdditionalProperties map[string]interface{} }
CancelOrderResponse
func NewCancelOrderResponse ¶
func NewCancelOrderResponse() *CancelOrderResponse
NewCancelOrderResponse instantiates a new CancelOrderResponse 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 NewCancelOrderResponseWithDefaults ¶
func NewCancelOrderResponseWithDefaults() *CancelOrderResponse
NewCancelOrderResponseWithDefaults instantiates a new CancelOrderResponse 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 (*CancelOrderResponse) GetLimitTimes ¶
func (o *CancelOrderResponse) GetLimitTimes() int64
GetLimitTimes returns the LimitTimes field value if set, zero value otherwise.
func (*CancelOrderResponse) GetLimitTimesOk ¶
func (o *CancelOrderResponse) GetLimitTimesOk() (*int64, bool)
GetLimitTimesOk returns a tuple with the LimitTimes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancelOrderResponse) GetLimitType ¶
func (o *CancelOrderResponse) GetLimitType() CancelOrderLimitType
GetLimitType returns the LimitType field value if set, zero value otherwise.
func (*CancelOrderResponse) GetLimitTypeOk ¶
func (o *CancelOrderResponse) GetLimitTypeOk() (*CancelOrderLimitType, bool)
GetLimitTypeOk returns a tuple with the LimitType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancelOrderResponse) HasLimitTimes ¶
func (o *CancelOrderResponse) HasLimitTimes() bool
HasLimitTimes returns a boolean if a field has been set.
func (*CancelOrderResponse) HasLimitType ¶
func (o *CancelOrderResponse) HasLimitType() bool
HasLimitType returns a boolean if a field has been set.
func (CancelOrderResponse) MarshalJSON ¶
func (o CancelOrderResponse) MarshalJSON() ([]byte, error)
func (*CancelOrderResponse) SetLimitTimes ¶
func (o *CancelOrderResponse) SetLimitTimes(v int64)
SetLimitTimes gets a reference to the given int64 and assigns it to the LimitTimes field.
func (*CancelOrderResponse) SetLimitType ¶
func (o *CancelOrderResponse) SetLimitType(v CancelOrderLimitType)
SetLimitType gets a reference to the given CancelOrderLimitType and assigns it to the LimitType field.
func (CancelOrderResponse) ToMap ¶
func (o CancelOrderResponse) ToMap() (map[string]interface{}, error)
func (*CancelOrderResponse) UnmarshalJSON ¶
func (o *CancelOrderResponse) UnmarshalJSON(data []byte) (err error)
type CancelReason ¶
type CancelReason struct { Code *CancelCode `json:"code,omitempty"` // The detailed cancel reason for the specific cancel code. - Items are unavailable <code 1001> - I have too many orders now <code 1002> - My shop is closed <code 1003> - My shop is closing soon <code 1004> Reason *string `json:"reason,omitempty"` AdditionalProperties map[string]interface{} }
CancelReason struct for CancelReason
func NewCancelReason ¶
func NewCancelReason() *CancelReason
NewCancelReason instantiates a new CancelReason 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 NewCancelReasonWithDefaults ¶
func NewCancelReasonWithDefaults() *CancelReason
NewCancelReasonWithDefaults instantiates a new CancelReason 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 (*CancelReason) GetCode ¶
func (o *CancelReason) GetCode() CancelCode
GetCode returns the Code field value if set, zero value otherwise.
func (*CancelReason) GetCodeOk ¶
func (o *CancelReason) GetCodeOk() (*CancelCode, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancelReason) GetReason ¶
func (o *CancelReason) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*CancelReason) GetReasonOk ¶
func (o *CancelReason) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CancelReason) HasCode ¶
func (o *CancelReason) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*CancelReason) HasReason ¶
func (o *CancelReason) HasReason() bool
HasReason returns a boolean if a field has been set.
func (CancelReason) MarshalJSON ¶
func (o CancelReason) MarshalJSON() ([]byte, error)
func (*CancelReason) SetCode ¶
func (o *CancelReason) SetCode(v CancelCode)
SetCode gets a reference to the given CancelCode and assigns it to the Code field.
func (*CancelReason) SetReason ¶
func (o *CancelReason) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (CancelReason) ToMap ¶
func (o CancelReason) ToMap() (map[string]interface{}, error)
func (*CancelReason) UnmarshalJSON ¶
func (o *CancelReason) UnmarshalJSON(data []byte) (err error)
type CheckOrderCancelableAPIService ¶
type CheckOrderCancelableAPIService service
CheckOrderCancelableAPIService CheckOrderCancelableAPI service
func (*CheckOrderCancelableAPIService) CheckOrderCancelable ¶
func (a *CheckOrderCancelableAPIService) CheckOrderCancelable(ctx context.Context) ApiCheckOrderCancelableRequest
CheckOrderCancelable Check order cancelable
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCheckOrderCancelableRequest
func (*CheckOrderCancelableAPIService) CheckOrderCancelableExecute ¶
func (a *CheckOrderCancelableAPIService) CheckOrderCancelableExecute(r ApiCheckOrderCancelableRequest) (*CheckOrderCancelableResponse, *http.Response, error)
Execute executes the request
@return CheckOrderCancelableResponse
type CheckOrderCancelableResponse ¶
type CheckOrderCancelableResponse struct { // The boolean value to indicate whether an order can be cancelled. CancelAble *bool `json:"cancelAble,omitempty"` // The reason for the order to be non-cancelable. NonCancellationReason *string `json:"nonCancellationReason,omitempty"` LimitType *CancelOrderLimitType `json:"limitType,omitempty"` // The remaining cancellation quota for the merchant. A value is only returned when the nearest remaining cancellation limit is approaching, else it returns 0. LimitTimes *int64 `json:"limitTimes,omitempty"` // An array of cancel order reasons JSON objects. CancelReasons []CancelReason `json:"cancelReasons,omitempty"` AdditionalProperties map[string]interface{} }
CheckOrderCancelableResponse
func NewCheckOrderCancelableResponse ¶
func NewCheckOrderCancelableResponse() *CheckOrderCancelableResponse
NewCheckOrderCancelableResponse instantiates a new CheckOrderCancelableResponse 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 NewCheckOrderCancelableResponseWithDefaults ¶
func NewCheckOrderCancelableResponseWithDefaults() *CheckOrderCancelableResponse
NewCheckOrderCancelableResponseWithDefaults instantiates a new CheckOrderCancelableResponse 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 (*CheckOrderCancelableResponse) GetCancelAble ¶
func (o *CheckOrderCancelableResponse) GetCancelAble() bool
GetCancelAble returns the CancelAble field value if set, zero value otherwise.
func (*CheckOrderCancelableResponse) GetCancelAbleOk ¶
func (o *CheckOrderCancelableResponse) GetCancelAbleOk() (*bool, bool)
GetCancelAbleOk returns a tuple with the CancelAble field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckOrderCancelableResponse) GetCancelReasons ¶
func (o *CheckOrderCancelableResponse) GetCancelReasons() []CancelReason
GetCancelReasons returns the CancelReasons field value if set, zero value otherwise.
func (*CheckOrderCancelableResponse) GetCancelReasonsOk ¶
func (o *CheckOrderCancelableResponse) GetCancelReasonsOk() ([]CancelReason, bool)
GetCancelReasonsOk returns a tuple with the CancelReasons field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckOrderCancelableResponse) GetLimitTimes ¶
func (o *CheckOrderCancelableResponse) GetLimitTimes() int64
GetLimitTimes returns the LimitTimes field value if set, zero value otherwise.
func (*CheckOrderCancelableResponse) GetLimitTimesOk ¶
func (o *CheckOrderCancelableResponse) GetLimitTimesOk() (*int64, bool)
GetLimitTimesOk returns a tuple with the LimitTimes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckOrderCancelableResponse) GetLimitType ¶
func (o *CheckOrderCancelableResponse) GetLimitType() CancelOrderLimitType
GetLimitType returns the LimitType field value if set, zero value otherwise.
func (*CheckOrderCancelableResponse) GetLimitTypeOk ¶
func (o *CheckOrderCancelableResponse) GetLimitTypeOk() (*CancelOrderLimitType, bool)
GetLimitTypeOk returns a tuple with the LimitType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckOrderCancelableResponse) GetNonCancellationReason ¶
func (o *CheckOrderCancelableResponse) GetNonCancellationReason() string
GetNonCancellationReason returns the NonCancellationReason field value if set, zero value otherwise.
func (*CheckOrderCancelableResponse) GetNonCancellationReasonOk ¶
func (o *CheckOrderCancelableResponse) GetNonCancellationReasonOk() (*string, bool)
GetNonCancellationReasonOk returns a tuple with the NonCancellationReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckOrderCancelableResponse) HasCancelAble ¶
func (o *CheckOrderCancelableResponse) HasCancelAble() bool
HasCancelAble returns a boolean if a field has been set.
func (*CheckOrderCancelableResponse) HasCancelReasons ¶
func (o *CheckOrderCancelableResponse) HasCancelReasons() bool
HasCancelReasons returns a boolean if a field has been set.
func (*CheckOrderCancelableResponse) HasLimitTimes ¶
func (o *CheckOrderCancelableResponse) HasLimitTimes() bool
HasLimitTimes returns a boolean if a field has been set.
func (*CheckOrderCancelableResponse) HasLimitType ¶
func (o *CheckOrderCancelableResponse) HasLimitType() bool
HasLimitType returns a boolean if a field has been set.
func (*CheckOrderCancelableResponse) HasNonCancellationReason ¶
func (o *CheckOrderCancelableResponse) HasNonCancellationReason() bool
HasNonCancellationReason returns a boolean if a field has been set.
func (CheckOrderCancelableResponse) MarshalJSON ¶
func (o CheckOrderCancelableResponse) MarshalJSON() ([]byte, error)
func (*CheckOrderCancelableResponse) SetCancelAble ¶
func (o *CheckOrderCancelableResponse) SetCancelAble(v bool)
SetCancelAble gets a reference to the given bool and assigns it to the CancelAble field.
func (*CheckOrderCancelableResponse) SetCancelReasons ¶
func (o *CheckOrderCancelableResponse) SetCancelReasons(v []CancelReason)
SetCancelReasons gets a reference to the given []CancelReason and assigns it to the CancelReasons field.
func (*CheckOrderCancelableResponse) SetLimitTimes ¶
func (o *CheckOrderCancelableResponse) SetLimitTimes(v int64)
SetLimitTimes gets a reference to the given int64 and assigns it to the LimitTimes field.
func (*CheckOrderCancelableResponse) SetLimitType ¶
func (o *CheckOrderCancelableResponse) SetLimitType(v CancelOrderLimitType)
SetLimitType gets a reference to the given CancelOrderLimitType and assigns it to the LimitType field.
func (*CheckOrderCancelableResponse) SetNonCancellationReason ¶
func (o *CheckOrderCancelableResponse) SetNonCancellationReason(v string)
SetNonCancellationReason gets a reference to the given string and assigns it to the NonCancellationReason field.
func (CheckOrderCancelableResponse) ToMap ¶
func (o CheckOrderCancelableResponse) ToMap() (map[string]interface{}, error)
func (*CheckOrderCancelableResponse) UnmarshalJSON ¶
func (o *CheckOrderCancelableResponse) UnmarshalJSON(data []byte) (err error)
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Coordinates ¶
type Coordinates struct { // The latitude coordinates of the delivery address. Latitude *float64 `json:"latitude,omitempty"` // The longitude coordinates of the delivery address. Longitude *float64 `json:"longitude,omitempty"` AdditionalProperties map[string]interface{} }
Coordinates A JSON object containing the coordinates of the delivery address. Only has value when poiSource is `GRAB`.
func NewCoordinates ¶
func NewCoordinates() *Coordinates
NewCoordinates instantiates a new Coordinates 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 NewCoordinatesWithDefaults ¶
func NewCoordinatesWithDefaults() *Coordinates
NewCoordinatesWithDefaults instantiates a new Coordinates 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 (*Coordinates) GetLatitude ¶
func (o *Coordinates) GetLatitude() float64
GetLatitude returns the Latitude field value if set, zero value otherwise.
func (*Coordinates) GetLatitudeOk ¶
func (o *Coordinates) GetLatitudeOk() (*float64, bool)
GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Coordinates) GetLongitude ¶
func (o *Coordinates) GetLongitude() float64
GetLongitude returns the Longitude field value if set, zero value otherwise.
func (*Coordinates) GetLongitudeOk ¶
func (o *Coordinates) GetLongitudeOk() (*float64, bool)
GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Coordinates) HasLatitude ¶
func (o *Coordinates) HasLatitude() bool
HasLatitude returns a boolean if a field has been set.
func (*Coordinates) HasLongitude ¶
func (o *Coordinates) HasLongitude() bool
HasLongitude returns a boolean if a field has been set.
func (Coordinates) MarshalJSON ¶
func (o Coordinates) MarshalJSON() ([]byte, error)
func (*Coordinates) SetLatitude ¶
func (o *Coordinates) SetLatitude(v float64)
SetLatitude gets a reference to the given float64 and assigns it to the Latitude field.
func (*Coordinates) SetLongitude ¶
func (o *Coordinates) SetLongitude(v float64)
SetLongitude gets a reference to the given float64 and assigns it to the Longitude field.
func (Coordinates) ToMap ¶
func (o Coordinates) ToMap() (map[string]interface{}, error)
func (*Coordinates) UnmarshalJSON ¶
func (o *Coordinates) UnmarshalJSON(data []byte) (err error)
type CreateCampaignAPIService ¶
type CreateCampaignAPIService service
CreateCampaignAPIService CreateCampaignAPI service
func (*CreateCampaignAPIService) CreateCampaign ¶
func (a *CreateCampaignAPIService) CreateCampaign(ctx context.Context) ApiCreateCampaignRequest
CreateCampaign Create campaign
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCampaignRequest
func (*CreateCampaignAPIService) CreateCampaignExecute ¶
func (a *CreateCampaignAPIService) CreateCampaignExecute(r ApiCreateCampaignRequest) (*CreateCampaignResponse, *http.Response, error)
Execute executes the request
@return CreateCampaignResponse
type CreateCampaignRequest ¶
type CreateCampaignRequest struct { // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` // The campaign's name. Name string `json:"name"` Quotas *CampaignQuotas `json:"quotas,omitempty"` Conditions CampaignConditions `json:"conditions"` Discount CampaignDiscount `json:"discount"` // Specify the tag for custom bundle offer campaign. Only whitelisted partner is supported as of now. CustomTag *string `json:"customTag,omitempty"` AdditionalProperties map[string]interface{} }
CreateCampaignRequest This request creates a campaign for your GrabFood store.
func NewCreateCampaignRequest ¶
func NewCreateCampaignRequest(merchantID string, name string, conditions CampaignConditions, discount CampaignDiscount) *CreateCampaignRequest
NewCreateCampaignRequest instantiates a new CreateCampaignRequest 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 NewCreateCampaignRequestWithDefaults ¶
func NewCreateCampaignRequestWithDefaults() *CreateCampaignRequest
NewCreateCampaignRequestWithDefaults instantiates a new CreateCampaignRequest 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 (*CreateCampaignRequest) GetConditions ¶
func (o *CreateCampaignRequest) GetConditions() CampaignConditions
GetConditions returns the Conditions field value
func (*CreateCampaignRequest) GetConditionsOk ¶
func (o *CreateCampaignRequest) GetConditionsOk() (*CampaignConditions, bool)
GetConditionsOk returns a tuple with the Conditions field value and a boolean to check if the value has been set.
func (*CreateCampaignRequest) GetCustomTag ¶
func (o *CreateCampaignRequest) GetCustomTag() string
GetCustomTag returns the CustomTag field value if set, zero value otherwise.
func (*CreateCampaignRequest) GetCustomTagOk ¶
func (o *CreateCampaignRequest) GetCustomTagOk() (*string, bool)
GetCustomTagOk returns a tuple with the CustomTag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCampaignRequest) GetDiscount ¶
func (o *CreateCampaignRequest) GetDiscount() CampaignDiscount
GetDiscount returns the Discount field value
func (*CreateCampaignRequest) GetDiscountOk ¶
func (o *CreateCampaignRequest) GetDiscountOk() (*CampaignDiscount, bool)
GetDiscountOk returns a tuple with the Discount field value and a boolean to check if the value has been set.
func (*CreateCampaignRequest) GetMerchantID ¶
func (o *CreateCampaignRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*CreateCampaignRequest) GetMerchantIDOk ¶
func (o *CreateCampaignRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*CreateCampaignRequest) GetName ¶
func (o *CreateCampaignRequest) GetName() string
GetName returns the Name field value
func (*CreateCampaignRequest) GetNameOk ¶
func (o *CreateCampaignRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateCampaignRequest) GetQuotas ¶
func (o *CreateCampaignRequest) GetQuotas() CampaignQuotas
GetQuotas returns the Quotas field value if set, zero value otherwise.
func (*CreateCampaignRequest) GetQuotasOk ¶
func (o *CreateCampaignRequest) GetQuotasOk() (*CampaignQuotas, bool)
GetQuotasOk returns a tuple with the Quotas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCampaignRequest) HasCustomTag ¶
func (o *CreateCampaignRequest) HasCustomTag() bool
HasCustomTag returns a boolean if a field has been set.
func (*CreateCampaignRequest) HasQuotas ¶
func (o *CreateCampaignRequest) HasQuotas() bool
HasQuotas returns a boolean if a field has been set.
func (CreateCampaignRequest) MarshalJSON ¶
func (o CreateCampaignRequest) MarshalJSON() ([]byte, error)
func (*CreateCampaignRequest) SetConditions ¶
func (o *CreateCampaignRequest) SetConditions(v CampaignConditions)
SetConditions sets field value
func (*CreateCampaignRequest) SetCustomTag ¶
func (o *CreateCampaignRequest) SetCustomTag(v string)
SetCustomTag gets a reference to the given string and assigns it to the CustomTag field.
func (*CreateCampaignRequest) SetDiscount ¶
func (o *CreateCampaignRequest) SetDiscount(v CampaignDiscount)
SetDiscount sets field value
func (*CreateCampaignRequest) SetMerchantID ¶
func (o *CreateCampaignRequest) SetMerchantID(v string)
SetMerchantID sets field value
func (*CreateCampaignRequest) SetName ¶
func (o *CreateCampaignRequest) SetName(v string)
SetName sets field value
func (*CreateCampaignRequest) SetQuotas ¶
func (o *CreateCampaignRequest) SetQuotas(v CampaignQuotas)
SetQuotas gets a reference to the given CampaignQuotas and assigns it to the Quotas field.
func (CreateCampaignRequest) ToMap ¶
func (o CreateCampaignRequest) ToMap() (map[string]interface{}, error)
func (*CreateCampaignRequest) UnmarshalJSON ¶
func (o *CreateCampaignRequest) UnmarshalJSON(data []byte) (err error)
type CreateCampaignResponse ¶
type CreateCampaignResponse struct { // The campaign's ID. Id *string `json:"id,omitempty"` AdditionalProperties map[string]interface{} }
CreateCampaignResponse
func NewCreateCampaignResponse ¶
func NewCreateCampaignResponse() *CreateCampaignResponse
NewCreateCampaignResponse instantiates a new CreateCampaignResponse 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 NewCreateCampaignResponseWithDefaults ¶
func NewCreateCampaignResponseWithDefaults() *CreateCampaignResponse
NewCreateCampaignResponseWithDefaults instantiates a new CreateCampaignResponse 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 (*CreateCampaignResponse) GetId ¶
func (o *CreateCampaignResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateCampaignResponse) GetIdOk ¶
func (o *CreateCampaignResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCampaignResponse) HasId ¶
func (o *CreateCampaignResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (CreateCampaignResponse) MarshalJSON ¶
func (o CreateCampaignResponse) MarshalJSON() ([]byte, error)
func (*CreateCampaignResponse) SetId ¶
func (o *CreateCampaignResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (CreateCampaignResponse) ToMap ¶
func (o CreateCampaignResponse) ToMap() (map[string]interface{}, error)
func (*CreateCampaignResponse) UnmarshalJSON ¶
func (o *CreateCampaignResponse) UnmarshalJSON(data []byte) (err error)
type CreateSelfServeJourneyAPIService ¶ added in v1.0.1
type CreateSelfServeJourneyAPIService service
CreateSelfServeJourneyAPIService CreateSelfServeJourneyAPI service
func (*CreateSelfServeJourneyAPIService) CreateSelfServeJourney ¶ added in v1.0.1
func (a *CreateSelfServeJourneyAPIService) CreateSelfServeJourney(ctx context.Context) ApiCreateSelfServeJourneyRequest
CreateSelfServeJourney Create self serve journey
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateSelfServeJourneyRequest
func (*CreateSelfServeJourneyAPIService) CreateSelfServeJourneyExecute ¶ added in v1.0.1
func (a *CreateSelfServeJourneyAPIService) CreateSelfServeJourneyExecute(r ApiCreateSelfServeJourneyRequest) (*CreateSelfServeJourneyResponse, *http.Response, error)
Execute executes the request
@return CreateSelfServeJourneyResponse
type CreateSelfServeJourneyRequest ¶ added in v1.0.1
type CreateSelfServeJourneyRequest struct { Partner CreateSelfServeJourneyRequestPartner `json:"partner"` AdditionalProperties map[string]interface{} }
CreateSelfServeJourneyRequest
func NewCreateSelfServeJourneyRequest ¶ added in v1.0.1
func NewCreateSelfServeJourneyRequest(partner CreateSelfServeJourneyRequestPartner) *CreateSelfServeJourneyRequest
NewCreateSelfServeJourneyRequest instantiates a new CreateSelfServeJourneyRequest 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 NewCreateSelfServeJourneyRequestWithDefaults ¶ added in v1.0.1
func NewCreateSelfServeJourneyRequestWithDefaults() *CreateSelfServeJourneyRequest
NewCreateSelfServeJourneyRequestWithDefaults instantiates a new CreateSelfServeJourneyRequest 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 (*CreateSelfServeJourneyRequest) GetPartner ¶ added in v1.0.1
func (o *CreateSelfServeJourneyRequest) GetPartner() CreateSelfServeJourneyRequestPartner
GetPartner returns the Partner field value
func (*CreateSelfServeJourneyRequest) GetPartnerOk ¶ added in v1.0.1
func (o *CreateSelfServeJourneyRequest) GetPartnerOk() (*CreateSelfServeJourneyRequestPartner, bool)
GetPartnerOk returns a tuple with the Partner field value and a boolean to check if the value has been set.
func (CreateSelfServeJourneyRequest) MarshalJSON ¶ added in v1.0.1
func (o CreateSelfServeJourneyRequest) MarshalJSON() ([]byte, error)
func (*CreateSelfServeJourneyRequest) SetPartner ¶ added in v1.0.1
func (o *CreateSelfServeJourneyRequest) SetPartner(v CreateSelfServeJourneyRequestPartner)
SetPartner sets field value
func (CreateSelfServeJourneyRequest) ToMap ¶ added in v1.0.1
func (o CreateSelfServeJourneyRequest) ToMap() (map[string]interface{}, error)
func (*CreateSelfServeJourneyRequest) UnmarshalJSON ¶ added in v1.0.1
func (o *CreateSelfServeJourneyRequest) UnmarshalJSON(data []byte) (err error)
type CreateSelfServeJourneyRequestPartner ¶ added in v1.0.1
type CreateSelfServeJourneyRequestPartner struct { // The merchant's ID that is on the partner's database. MerchantID string `json:"merchantID"` AdditionalProperties map[string]interface{} }
CreateSelfServeJourneyRequestPartner A JSON object containing store information
func NewCreateSelfServeJourneyRequestPartner ¶ added in v1.0.1
func NewCreateSelfServeJourneyRequestPartner(merchantID string) *CreateSelfServeJourneyRequestPartner
NewCreateSelfServeJourneyRequestPartner instantiates a new CreateSelfServeJourneyRequestPartner 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 NewCreateSelfServeJourneyRequestPartnerWithDefaults ¶ added in v1.0.1
func NewCreateSelfServeJourneyRequestPartnerWithDefaults() *CreateSelfServeJourneyRequestPartner
NewCreateSelfServeJourneyRequestPartnerWithDefaults instantiates a new CreateSelfServeJourneyRequestPartner 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 (*CreateSelfServeJourneyRequestPartner) GetMerchantID ¶ added in v1.0.1
func (o *CreateSelfServeJourneyRequestPartner) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*CreateSelfServeJourneyRequestPartner) GetMerchantIDOk ¶ added in v1.0.1
func (o *CreateSelfServeJourneyRequestPartner) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (CreateSelfServeJourneyRequestPartner) MarshalJSON ¶ added in v1.0.1
func (o CreateSelfServeJourneyRequestPartner) MarshalJSON() ([]byte, error)
func (*CreateSelfServeJourneyRequestPartner) SetMerchantID ¶ added in v1.0.1
func (o *CreateSelfServeJourneyRequestPartner) SetMerchantID(v string)
SetMerchantID sets field value
func (CreateSelfServeJourneyRequestPartner) ToMap ¶ added in v1.0.1
func (o CreateSelfServeJourneyRequestPartner) ToMap() (map[string]interface{}, error)
func (*CreateSelfServeJourneyRequestPartner) UnmarshalJSON ¶ added in v1.0.1
func (o *CreateSelfServeJourneyRequestPartner) UnmarshalJSON(data []byte) (err error)
type CreateSelfServeJourneyResponse ¶ added in v1.0.1
type CreateSelfServeJourneyResponse struct { // A JSON object containing store information ActivationUrl string `json:"activationUrl"` AdditionalProperties map[string]interface{} }
CreateSelfServeJourneyResponse
func NewCreateSelfServeJourneyResponse ¶ added in v1.0.1
func NewCreateSelfServeJourneyResponse(activationUrl string) *CreateSelfServeJourneyResponse
NewCreateSelfServeJourneyResponse instantiates a new CreateSelfServeJourneyResponse 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 NewCreateSelfServeJourneyResponseWithDefaults ¶ added in v1.0.1
func NewCreateSelfServeJourneyResponseWithDefaults() *CreateSelfServeJourneyResponse
NewCreateSelfServeJourneyResponseWithDefaults instantiates a new CreateSelfServeJourneyResponse 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 (*CreateSelfServeJourneyResponse) GetActivationUrl ¶ added in v1.0.1
func (o *CreateSelfServeJourneyResponse) GetActivationUrl() string
GetActivationUrl returns the ActivationUrl field value
func (*CreateSelfServeJourneyResponse) GetActivationUrlOk ¶ added in v1.0.1
func (o *CreateSelfServeJourneyResponse) GetActivationUrlOk() (*string, bool)
GetActivationUrlOk returns a tuple with the ActivationUrl field value and a boolean to check if the value has been set.
func (CreateSelfServeJourneyResponse) MarshalJSON ¶ added in v1.0.1
func (o CreateSelfServeJourneyResponse) MarshalJSON() ([]byte, error)
func (*CreateSelfServeJourneyResponse) SetActivationUrl ¶ added in v1.0.1
func (o *CreateSelfServeJourneyResponse) SetActivationUrl(v string)
SetActivationUrl sets field value
func (CreateSelfServeJourneyResponse) ToMap ¶ added in v1.0.1
func (o CreateSelfServeJourneyResponse) ToMap() (map[string]interface{}, error)
func (*CreateSelfServeJourneyResponse) UnmarshalJSON ¶ added in v1.0.1
func (o *CreateSelfServeJourneyResponse) UnmarshalJSON(data []byte) (err error)
type Currency ¶
type Currency struct { // The three-letter ISO currency code. This is the currency that is associated with the payment amount. Code string `json:"code"` // The currency symbol. Symbol string `json:"symbol"` // The log base 10 of the number of times we have to multiply the major unit to get the minor unit. Should be 0 for VN and 2 for other countries (SG/MY/ID/TH/PH/KH). Exponent int32 `json:"exponent"` AdditionalProperties map[string]interface{} }
Currency A JSON object containing code, symbol, and exponent for a given currency. Refer to [Country and Currency](#section/Getting-started/Country-and-currency).
func NewCurrency ¶
NewCurrency instantiates a new Currency 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 NewCurrencyWithDefaults ¶
func NewCurrencyWithDefaults() *Currency
NewCurrencyWithDefaults instantiates a new Currency 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 (*Currency) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*Currency) GetExponent ¶
GetExponent returns the Exponent field value
func (*Currency) GetExponentOk ¶
GetExponentOk returns a tuple with the Exponent field value and a boolean to check if the value has been set.
func (*Currency) GetSymbolOk ¶
GetSymbolOk returns a tuple with the Symbol field value and a boolean to check if the value has been set.
func (Currency) MarshalJSON ¶
func (*Currency) UnmarshalJSON ¶
type DeleteCampaignAPIService ¶
type DeleteCampaignAPIService service
DeleteCampaignAPIService DeleteCampaignAPI service
func (*DeleteCampaignAPIService) DeleteCampaign ¶
func (a *DeleteCampaignAPIService) DeleteCampaign(ctx context.Context, campaignId string) ApiDeleteCampaignRequest
DeleteCampaign Delete campaigns
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaignId @return ApiDeleteCampaignRequest
func (*DeleteCampaignAPIService) DeleteCampaignExecute ¶
func (a *DeleteCampaignAPIService) DeleteCampaignExecute(r ApiDeleteCampaignRequest) (*http.Response, error)
Execute executes the request
type DineIn ¶
type DineIn struct { // Table number. TableID *string `json:"tableID,omitempty"` // The number of eaters. EaterCount *int64 `json:"eaterCount,omitempty"` AdditionalProperties map[string]interface{} }
DineIn A JSON object containing order at table information. Only applicable for dine-in order. `null` if not applicable. Not present in [ListOrder](#tag/list-order/operation/list-orders) response.
func NewDineIn ¶
func NewDineIn() *DineIn
NewDineIn instantiates a new DineIn 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 NewDineInWithDefaults ¶
func NewDineInWithDefaults() *DineIn
NewDineInWithDefaults instantiates a new DineIn 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 (*DineIn) GetEaterCount ¶
GetEaterCount returns the EaterCount field value if set, zero value otherwise.
func (*DineIn) GetEaterCountOk ¶
GetEaterCountOk returns a tuple with the EaterCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DineIn) GetTableID ¶
GetTableID returns the TableID field value if set, zero value otherwise.
func (*DineIn) GetTableIDOk ¶
GetTableIDOk returns a tuple with the TableID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DineIn) HasEaterCount ¶
HasEaterCount returns a boolean if a field has been set.
func (*DineIn) HasTableID ¶
HasTableID returns a boolean if a field has been set.
func (DineIn) MarshalJSON ¶
func (*DineIn) SetEaterCount ¶
SetEaterCount gets a reference to the given int64 and assigns it to the EaterCount field.
func (*DineIn) SetTableID ¶
SetTableID gets a reference to the given string and assigns it to the TableID field.
func (*DineIn) UnmarshalJSON ¶
type EditOrderAPIService ¶
type EditOrderAPIService service
EditOrderAPIService EditOrderAPI service
func (*EditOrderAPIService) EditOrder ¶
func (a *EditOrderAPIService) EditOrder(ctx context.Context, orderID string) ApiEditOrderRequest
EditOrder Edit Order
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param orderID @return ApiEditOrderRequest
func (*EditOrderAPIService) EditOrderExecute ¶
func (a *EditOrderAPIService) EditOrderExecute(r ApiEditOrderRequest) (*http.Response, error)
Execute executes the request
type EditOrderItem ¶
type EditOrderItem struct { // The item's ID in Grab system that can be obtained from the [Submit Order Webhook](#tag/submit-order-webhook/operation/submit-order-webhook) request payload parameters under `items[].grabItemID`, or `items[].outOfStockInstruction.replacementGrabItemID` for item replacement. External item ID from Partner system is only supported when `ADDED` status and `isExternalItemID: true`. ItemID string `json:"itemID"` // The item's edited status. Leave empty string if there is no change to the item. Status string `json:"status"` // The item's quantity. If the item is not being updated or deleted, use the original quantity. Quantity *int64 `json:"quantity,omitempty"` // Only applicable for `ADDED`status. Indicate if the `itemID` is an external item ID. Grab checks for the items that are mapped to the provided item ID, considering their availability. If multiple Grab items are found to be mapped to the provided external item ID, the last updated item will be chosen. If no suitable record is found, an 400 error will be returned to the partner, indicating that the submitted external item ID cannot be edited. IsExternalItemID *bool `json:"isExternalItemID,omitempty"` AdditionalProperties map[string]interface{} }
EditOrderItem struct for EditOrderItem
func NewEditOrderItem ¶
func NewEditOrderItem(itemID string, status string) *EditOrderItem
NewEditOrderItem instantiates a new EditOrderItem 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 NewEditOrderItemWithDefaults ¶
func NewEditOrderItemWithDefaults() *EditOrderItem
NewEditOrderItemWithDefaults instantiates a new EditOrderItem 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 (*EditOrderItem) GetIsExternalItemID ¶
func (o *EditOrderItem) GetIsExternalItemID() bool
GetIsExternalItemID returns the IsExternalItemID field value if set, zero value otherwise.
func (*EditOrderItem) GetIsExternalItemIDOk ¶
func (o *EditOrderItem) GetIsExternalItemIDOk() (*bool, bool)
GetIsExternalItemIDOk returns a tuple with the IsExternalItemID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EditOrderItem) GetItemID ¶
func (o *EditOrderItem) GetItemID() string
GetItemID returns the ItemID field value
func (*EditOrderItem) GetItemIDOk ¶
func (o *EditOrderItem) GetItemIDOk() (*string, bool)
GetItemIDOk returns a tuple with the ItemID field value and a boolean to check if the value has been set.
func (*EditOrderItem) GetQuantity ¶
func (o *EditOrderItem) GetQuantity() int64
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*EditOrderItem) GetQuantityOk ¶
func (o *EditOrderItem) GetQuantityOk() (*int64, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EditOrderItem) GetStatus ¶
func (o *EditOrderItem) GetStatus() string
GetStatus returns the Status field value
func (*EditOrderItem) GetStatusOk ¶
func (o *EditOrderItem) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*EditOrderItem) HasIsExternalItemID ¶
func (o *EditOrderItem) HasIsExternalItemID() bool
HasIsExternalItemID returns a boolean if a field has been set.
func (*EditOrderItem) HasQuantity ¶
func (o *EditOrderItem) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (EditOrderItem) MarshalJSON ¶
func (o EditOrderItem) MarshalJSON() ([]byte, error)
func (*EditOrderItem) SetIsExternalItemID ¶
func (o *EditOrderItem) SetIsExternalItemID(v bool)
SetIsExternalItemID gets a reference to the given bool and assigns it to the IsExternalItemID field.
func (*EditOrderItem) SetItemID ¶
func (o *EditOrderItem) SetItemID(v string)
SetItemID sets field value
func (*EditOrderItem) SetQuantity ¶
func (o *EditOrderItem) SetQuantity(v int64)
SetQuantity gets a reference to the given int64 and assigns it to the Quantity field.
func (*EditOrderItem) SetStatus ¶
func (o *EditOrderItem) SetStatus(v string)
SetStatus sets field value
func (EditOrderItem) ToMap ¶
func (o EditOrderItem) ToMap() (map[string]interface{}, error)
func (*EditOrderItem) UnmarshalJSON ¶
func (o *EditOrderItem) UnmarshalJSON(data []byte) (err error)
type EditOrderRequest ¶
type EditOrderRequest struct { // The order's ID that is returned from GrabFood. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). OrderID string `json:"orderID"` // Specify the array of all items in the order, including deleted, added, updated and unchanged items. Items []EditOrderItem `json:"items"` // 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. OnlyRecalculate *bool `json:"onlyRecalculate,omitempty"` AdditionalProperties map[string]interface{} }
EditOrderRequest Information about editing an existing order on GrabFood.
func NewEditOrderRequest ¶
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 ¶
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 (*EditOrderRequest) GetItems ¶
func (o *EditOrderRequest) GetItems() []EditOrderItem
GetItems returns the Items field value
func (*EditOrderRequest) GetItemsOk ¶
func (o *EditOrderRequest) GetItemsOk() ([]EditOrderItem, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*EditOrderRequest) GetOnlyRecalculate ¶
func (o *EditOrderRequest) GetOnlyRecalculate() bool
GetOnlyRecalculate returns the OnlyRecalculate field value if set, zero value otherwise.
func (*EditOrderRequest) GetOnlyRecalculateOk ¶
func (o *EditOrderRequest) GetOnlyRecalculateOk() (*bool, bool)
GetOnlyRecalculateOk returns a tuple with the OnlyRecalculate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EditOrderRequest) GetOrderID ¶
func (o *EditOrderRequest) GetOrderID() string
GetOrderID returns the OrderID field value
func (*EditOrderRequest) GetOrderIDOk ¶
func (o *EditOrderRequest) GetOrderIDOk() (*string, bool)
GetOrderIDOk returns a tuple with the OrderID field value and a boolean to check if the value has been set.
func (*EditOrderRequest) HasOnlyRecalculate ¶
func (o *EditOrderRequest) HasOnlyRecalculate() bool
HasOnlyRecalculate returns a boolean if a field has been set.
func (EditOrderRequest) MarshalJSON ¶
func (o EditOrderRequest) MarshalJSON() ([]byte, error)
func (*EditOrderRequest) SetItems ¶
func (o *EditOrderRequest) SetItems(v []EditOrderItem)
SetItems sets field value
func (*EditOrderRequest) SetOnlyRecalculate ¶
func (o *EditOrderRequest) SetOnlyRecalculate(v bool)
SetOnlyRecalculate gets a reference to the given bool and assigns it to the OnlyRecalculate field.
func (*EditOrderRequest) SetOrderID ¶
func (o *EditOrderRequest) SetOrderID(v string)
SetOrderID sets field value
func (EditOrderRequest) ToMap ¶
func (o EditOrderRequest) ToMap() (map[string]interface{}, error)
func (*EditOrderRequest) UnmarshalJSON ¶
func (o *EditOrderRequest) UnmarshalJSON(data []byte) (err error)
type Error ¶
type Error struct { // Target of error Target *string `json:"target,omitempty"` // The type of error. Reason *string `json:"reason,omitempty"` // The details of the error. Message *string `json:"message,omitempty"` AdditionalProperties map[string]interface{} }
Error struct for Error
func NewError ¶
func NewError() *Error
NewError instantiates a new Error 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 NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error 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 (*Error) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetReasonOk ¶
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetTargetOk ¶
GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*Error) SetReason ¶
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*Error) SetTarget ¶
SetTarget gets a reference to the given string and assigns it to the Target field.
func (*Error) UnmarshalJSON ¶
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetDineInVoucherResponse ¶
type GetDineInVoucherResponse struct { // This certificateID is decoded from scanning the QR code, and 1:1 mapping with `voucherCode`. CertificateID *string `json:"certificateID,omitempty"` // A short code for the dine-in voucher purchased by the user. VoucherCode *string `json:"voucherCode,omitempty"` Voucher *Voucher `json:"voucher,omitempty"` // The status of the dine-in voucher purchased. Only active voucher is eligible for redemption. VoucherStatus *string `json:"voucherStatus,omitempty"` // The merchant's ID that is in GrabFood's database. MerchantID *string `json:"merchantID,omitempty"` // The dine-in voucher campaign's ID in GrabFood's database. CampaignID *string `json:"campaignID,omitempty"` AdditionalProperties map[string]interface{} }
GetDineInVoucherResponse
func NewGetDineInVoucherResponse ¶
func NewGetDineInVoucherResponse() *GetDineInVoucherResponse
NewGetDineInVoucherResponse instantiates a new GetDineInVoucherResponse 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 NewGetDineInVoucherResponseWithDefaults ¶
func NewGetDineInVoucherResponseWithDefaults() *GetDineInVoucherResponse
NewGetDineInVoucherResponseWithDefaults instantiates a new GetDineInVoucherResponse 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 (*GetDineInVoucherResponse) GetCampaignID ¶
func (o *GetDineInVoucherResponse) GetCampaignID() string
GetCampaignID returns the CampaignID field value if set, zero value otherwise.
func (*GetDineInVoucherResponse) GetCampaignIDOk ¶
func (o *GetDineInVoucherResponse) GetCampaignIDOk() (*string, bool)
GetCampaignIDOk returns a tuple with the CampaignID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDineInVoucherResponse) GetCertificateID ¶
func (o *GetDineInVoucherResponse) GetCertificateID() string
GetCertificateID returns the CertificateID field value if set, zero value otherwise.
func (*GetDineInVoucherResponse) GetCertificateIDOk ¶
func (o *GetDineInVoucherResponse) GetCertificateIDOk() (*string, bool)
GetCertificateIDOk returns a tuple with the CertificateID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDineInVoucherResponse) GetMerchantID ¶
func (o *GetDineInVoucherResponse) GetMerchantID() string
GetMerchantID returns the MerchantID field value if set, zero value otherwise.
func (*GetDineInVoucherResponse) GetMerchantIDOk ¶
func (o *GetDineInVoucherResponse) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDineInVoucherResponse) GetVoucher ¶
func (o *GetDineInVoucherResponse) GetVoucher() Voucher
GetVoucher returns the Voucher field value if set, zero value otherwise.
func (*GetDineInVoucherResponse) GetVoucherCode ¶
func (o *GetDineInVoucherResponse) GetVoucherCode() string
GetVoucherCode returns the VoucherCode field value if set, zero value otherwise.
func (*GetDineInVoucherResponse) GetVoucherCodeOk ¶
func (o *GetDineInVoucherResponse) GetVoucherCodeOk() (*string, bool)
GetVoucherCodeOk returns a tuple with the VoucherCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDineInVoucherResponse) GetVoucherOk ¶
func (o *GetDineInVoucherResponse) GetVoucherOk() (*Voucher, bool)
GetVoucherOk returns a tuple with the Voucher field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDineInVoucherResponse) GetVoucherStatus ¶
func (o *GetDineInVoucherResponse) GetVoucherStatus() string
GetVoucherStatus returns the VoucherStatus field value if set, zero value otherwise.
func (*GetDineInVoucherResponse) GetVoucherStatusOk ¶
func (o *GetDineInVoucherResponse) GetVoucherStatusOk() (*string, bool)
GetVoucherStatusOk returns a tuple with the VoucherStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetDineInVoucherResponse) HasCampaignID ¶
func (o *GetDineInVoucherResponse) HasCampaignID() bool
HasCampaignID returns a boolean if a field has been set.
func (*GetDineInVoucherResponse) HasCertificateID ¶
func (o *GetDineInVoucherResponse) HasCertificateID() bool
HasCertificateID returns a boolean if a field has been set.
func (*GetDineInVoucherResponse) HasMerchantID ¶
func (o *GetDineInVoucherResponse) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (*GetDineInVoucherResponse) HasVoucher ¶
func (o *GetDineInVoucherResponse) HasVoucher() bool
HasVoucher returns a boolean if a field has been set.
func (*GetDineInVoucherResponse) HasVoucherCode ¶
func (o *GetDineInVoucherResponse) HasVoucherCode() bool
HasVoucherCode returns a boolean if a field has been set.
func (*GetDineInVoucherResponse) HasVoucherStatus ¶
func (o *GetDineInVoucherResponse) HasVoucherStatus() bool
HasVoucherStatus returns a boolean if a field has been set.
func (GetDineInVoucherResponse) MarshalJSON ¶
func (o GetDineInVoucherResponse) MarshalJSON() ([]byte, error)
func (*GetDineInVoucherResponse) SetCampaignID ¶
func (o *GetDineInVoucherResponse) SetCampaignID(v string)
SetCampaignID gets a reference to the given string and assigns it to the CampaignID field.
func (*GetDineInVoucherResponse) SetCertificateID ¶
func (o *GetDineInVoucherResponse) SetCertificateID(v string)
SetCertificateID gets a reference to the given string and assigns it to the CertificateID field.
func (*GetDineInVoucherResponse) SetMerchantID ¶
func (o *GetDineInVoucherResponse) SetMerchantID(v string)
SetMerchantID gets a reference to the given string and assigns it to the MerchantID field.
func (*GetDineInVoucherResponse) SetVoucher ¶
func (o *GetDineInVoucherResponse) SetVoucher(v Voucher)
SetVoucher gets a reference to the given Voucher and assigns it to the Voucher field.
func (*GetDineInVoucherResponse) SetVoucherCode ¶
func (o *GetDineInVoucherResponse) SetVoucherCode(v string)
SetVoucherCode gets a reference to the given string and assigns it to the VoucherCode field.
func (*GetDineInVoucherResponse) SetVoucherStatus ¶
func (o *GetDineInVoucherResponse) SetVoucherStatus(v string)
SetVoucherStatus gets a reference to the given string and assigns it to the VoucherStatus field.
func (GetDineInVoucherResponse) ToMap ¶
func (o GetDineInVoucherResponse) ToMap() (map[string]interface{}, error)
func (*GetDineInVoucherResponse) UnmarshalJSON ¶
func (o *GetDineInVoucherResponse) UnmarshalJSON(data []byte) (err error)
type GetDineinVoucherAPIService ¶
type GetDineinVoucherAPIService service
GetDineinVoucherAPIService GetDineinVoucherAPI service
func (*GetDineinVoucherAPIService) GetDineinVoucher ¶
func (a *GetDineinVoucherAPIService) GetDineinVoucher(ctx context.Context) ApiGetDineinVoucherRequest
GetDineinVoucher Get Dine In Voucher
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDineinVoucherRequest
func (*GetDineinVoucherAPIService) GetDineinVoucherExecute ¶
func (a *GetDineinVoucherAPIService) GetDineinVoucherExecute(r ApiGetDineinVoucherRequest) (*GetDineInVoucherResponse, *http.Response, error)
Execute executes the request
@return GetDineInVoucherResponse
type GetMembershipNativeResponse ¶
type GetMembershipNativeResponse struct { // Status of the memberID. MembershipStatus *string `json:"membershipStatus,omitempty"` PointInfo *GetMembershipNativeResponsePointInfo `json:"pointInfo,omitempty"` // Earliest points expiry date. In `yyyy-mm-dd` format PointsExpireDate *string `json:"pointsExpireDate,omitempty"` AdditionalProperties map[string]interface{} }
GetMembershipNativeResponse This response returns membership detail.
func NewGetMembershipNativeResponse ¶
func NewGetMembershipNativeResponse() *GetMembershipNativeResponse
NewGetMembershipNativeResponse instantiates a new GetMembershipNativeResponse 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 NewGetMembershipNativeResponseWithDefaults ¶
func NewGetMembershipNativeResponseWithDefaults() *GetMembershipNativeResponse
NewGetMembershipNativeResponseWithDefaults instantiates a new GetMembershipNativeResponse 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 (*GetMembershipNativeResponse) GetMembershipStatus ¶
func (o *GetMembershipNativeResponse) GetMembershipStatus() string
GetMembershipStatus returns the MembershipStatus field value if set, zero value otherwise.
func (*GetMembershipNativeResponse) GetMembershipStatusOk ¶
func (o *GetMembershipNativeResponse) GetMembershipStatusOk() (*string, bool)
GetMembershipStatusOk returns a tuple with the MembershipStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMembershipNativeResponse) GetPointInfo ¶
func (o *GetMembershipNativeResponse) GetPointInfo() GetMembershipNativeResponsePointInfo
GetPointInfo returns the PointInfo field value if set, zero value otherwise.
func (*GetMembershipNativeResponse) GetPointInfoOk ¶
func (o *GetMembershipNativeResponse) GetPointInfoOk() (*GetMembershipNativeResponsePointInfo, bool)
GetPointInfoOk returns a tuple with the PointInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMembershipNativeResponse) GetPointsExpireDate ¶
func (o *GetMembershipNativeResponse) GetPointsExpireDate() string
GetPointsExpireDate returns the PointsExpireDate field value if set, zero value otherwise.
func (*GetMembershipNativeResponse) GetPointsExpireDateOk ¶
func (o *GetMembershipNativeResponse) GetPointsExpireDateOk() (*string, bool)
GetPointsExpireDateOk returns a tuple with the PointsExpireDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMembershipNativeResponse) HasMembershipStatus ¶
func (o *GetMembershipNativeResponse) HasMembershipStatus() bool
HasMembershipStatus returns a boolean if a field has been set.
func (*GetMembershipNativeResponse) HasPointInfo ¶
func (o *GetMembershipNativeResponse) HasPointInfo() bool
HasPointInfo returns a boolean if a field has been set.
func (*GetMembershipNativeResponse) HasPointsExpireDate ¶
func (o *GetMembershipNativeResponse) HasPointsExpireDate() bool
HasPointsExpireDate returns a boolean if a field has been set.
func (GetMembershipNativeResponse) MarshalJSON ¶
func (o GetMembershipNativeResponse) MarshalJSON() ([]byte, error)
func (*GetMembershipNativeResponse) SetMembershipStatus ¶
func (o *GetMembershipNativeResponse) SetMembershipStatus(v string)
SetMembershipStatus gets a reference to the given string and assigns it to the MembershipStatus field.
func (*GetMembershipNativeResponse) SetPointInfo ¶
func (o *GetMembershipNativeResponse) SetPointInfo(v GetMembershipNativeResponsePointInfo)
SetPointInfo gets a reference to the given GetMembershipNativeResponsePointInfo and assigns it to the PointInfo field.
func (*GetMembershipNativeResponse) SetPointsExpireDate ¶
func (o *GetMembershipNativeResponse) SetPointsExpireDate(v string)
SetPointsExpireDate gets a reference to the given string and assigns it to the PointsExpireDate field.
func (GetMembershipNativeResponse) ToMap ¶
func (o GetMembershipNativeResponse) ToMap() (map[string]interface{}, error)
func (*GetMembershipNativeResponse) UnmarshalJSON ¶
func (o *GetMembershipNativeResponse) UnmarshalJSON(data []byte) (err error)
type GetMembershipNativeResponsePointInfo ¶
type GetMembershipNativeResponsePointInfo struct { // Point that user currently obtained. CurrentPoints *int64 `json:"currentPoints,omitempty"` // Maximum point that user can obtain. MaxPoints *int64 `json:"maxPoints,omitempty"` // Points that would get expired in future. ExpirePoints *int64 `json:"expirePoints,omitempty"` AdditionalProperties map[string]interface{} }
GetMembershipNativeResponsePointInfo Obtain contains user's point details.
func NewGetMembershipNativeResponsePointInfo ¶
func NewGetMembershipNativeResponsePointInfo() *GetMembershipNativeResponsePointInfo
NewGetMembershipNativeResponsePointInfo instantiates a new GetMembershipNativeResponsePointInfo 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 NewGetMembershipNativeResponsePointInfoWithDefaults ¶
func NewGetMembershipNativeResponsePointInfoWithDefaults() *GetMembershipNativeResponsePointInfo
NewGetMembershipNativeResponsePointInfoWithDefaults instantiates a new GetMembershipNativeResponsePointInfo 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 (*GetMembershipNativeResponsePointInfo) GetCurrentPoints ¶
func (o *GetMembershipNativeResponsePointInfo) GetCurrentPoints() int64
GetCurrentPoints returns the CurrentPoints field value if set, zero value otherwise.
func (*GetMembershipNativeResponsePointInfo) GetCurrentPointsOk ¶
func (o *GetMembershipNativeResponsePointInfo) GetCurrentPointsOk() (*int64, bool)
GetCurrentPointsOk returns a tuple with the CurrentPoints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMembershipNativeResponsePointInfo) GetExpirePoints ¶
func (o *GetMembershipNativeResponsePointInfo) GetExpirePoints() int64
GetExpirePoints returns the ExpirePoints field value if set, zero value otherwise.
func (*GetMembershipNativeResponsePointInfo) GetExpirePointsOk ¶
func (o *GetMembershipNativeResponsePointInfo) GetExpirePointsOk() (*int64, bool)
GetExpirePointsOk returns a tuple with the ExpirePoints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMembershipNativeResponsePointInfo) GetMaxPoints ¶
func (o *GetMembershipNativeResponsePointInfo) GetMaxPoints() int64
GetMaxPoints returns the MaxPoints field value if set, zero value otherwise.
func (*GetMembershipNativeResponsePointInfo) GetMaxPointsOk ¶
func (o *GetMembershipNativeResponsePointInfo) GetMaxPointsOk() (*int64, bool)
GetMaxPointsOk returns a tuple with the MaxPoints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMembershipNativeResponsePointInfo) HasCurrentPoints ¶
func (o *GetMembershipNativeResponsePointInfo) HasCurrentPoints() bool
HasCurrentPoints returns a boolean if a field has been set.
func (*GetMembershipNativeResponsePointInfo) HasExpirePoints ¶
func (o *GetMembershipNativeResponsePointInfo) HasExpirePoints() bool
HasExpirePoints returns a boolean if a field has been set.
func (*GetMembershipNativeResponsePointInfo) HasMaxPoints ¶
func (o *GetMembershipNativeResponsePointInfo) HasMaxPoints() bool
HasMaxPoints returns a boolean if a field has been set.
func (GetMembershipNativeResponsePointInfo) MarshalJSON ¶
func (o GetMembershipNativeResponsePointInfo) MarshalJSON() ([]byte, error)
func (*GetMembershipNativeResponsePointInfo) SetCurrentPoints ¶
func (o *GetMembershipNativeResponsePointInfo) SetCurrentPoints(v int64)
SetCurrentPoints gets a reference to the given int64 and assigns it to the CurrentPoints field.
func (*GetMembershipNativeResponsePointInfo) SetExpirePoints ¶
func (o *GetMembershipNativeResponsePointInfo) SetExpirePoints(v int64)
SetExpirePoints gets a reference to the given int64 and assigns it to the ExpirePoints field.
func (*GetMembershipNativeResponsePointInfo) SetMaxPoints ¶
func (o *GetMembershipNativeResponsePointInfo) SetMaxPoints(v int64)
SetMaxPoints gets a reference to the given int64 and assigns it to the MaxPoints field.
func (GetMembershipNativeResponsePointInfo) ToMap ¶
func (o GetMembershipNativeResponsePointInfo) ToMap() (map[string]interface{}, error)
func (*GetMembershipNativeResponsePointInfo) UnmarshalJSON ¶
func (o *GetMembershipNativeResponsePointInfo) UnmarshalJSON(data []byte) (err error)
type GetMembershipRequest ¶
type GetMembershipRequest struct { // The unique member ID on the partner's database. MemberID string `json:"memberID"` AdditionalProperties map[string]interface{} }
GetMembershipRequest This request submits membership unbind request to partner.
func NewGetMembershipRequest ¶
func NewGetMembershipRequest(memberID string) *GetMembershipRequest
NewGetMembershipRequest instantiates a new GetMembershipRequest 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 NewGetMembershipRequestWithDefaults ¶
func NewGetMembershipRequestWithDefaults() *GetMembershipRequest
NewGetMembershipRequestWithDefaults instantiates a new GetMembershipRequest 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 (*GetMembershipRequest) GetMemberID ¶
func (o *GetMembershipRequest) GetMemberID() string
GetMemberID returns the MemberID field value
func (*GetMembershipRequest) GetMemberIDOk ¶
func (o *GetMembershipRequest) GetMemberIDOk() (*string, bool)
GetMemberIDOk returns a tuple with the MemberID field value and a boolean to check if the value has been set.
func (GetMembershipRequest) MarshalJSON ¶
func (o GetMembershipRequest) MarshalJSON() ([]byte, error)
func (*GetMembershipRequest) SetMemberID ¶
func (o *GetMembershipRequest) SetMemberID(v string)
SetMemberID sets field value
func (GetMembershipRequest) ToMap ¶
func (o GetMembershipRequest) ToMap() (map[string]interface{}, error)
func (*GetMembershipRequest) UnmarshalJSON ¶
func (o *GetMembershipRequest) UnmarshalJSON(data []byte) (err error)
type GetMembershipWebviewResponse ¶
type GetMembershipWebviewResponse struct { // Status of the memberID. MembershipStatus *string `json:"membershipStatus,omitempty"` AdditionalProperties map[string]interface{} }
GetMembershipWebviewResponse This response returns membership detail.
func NewGetMembershipWebviewResponse ¶
func NewGetMembershipWebviewResponse() *GetMembershipWebviewResponse
NewGetMembershipWebviewResponse instantiates a new GetMembershipWebviewResponse 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 NewGetMembershipWebviewResponseWithDefaults ¶
func NewGetMembershipWebviewResponseWithDefaults() *GetMembershipWebviewResponse
NewGetMembershipWebviewResponseWithDefaults instantiates a new GetMembershipWebviewResponse 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 (*GetMembershipWebviewResponse) GetMembershipStatus ¶
func (o *GetMembershipWebviewResponse) GetMembershipStatus() string
GetMembershipStatus returns the MembershipStatus field value if set, zero value otherwise.
func (*GetMembershipWebviewResponse) GetMembershipStatusOk ¶
func (o *GetMembershipWebviewResponse) GetMembershipStatusOk() (*string, bool)
GetMembershipStatusOk returns a tuple with the MembershipStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMembershipWebviewResponse) HasMembershipStatus ¶
func (o *GetMembershipWebviewResponse) HasMembershipStatus() bool
HasMembershipStatus returns a boolean if a field has been set.
func (GetMembershipWebviewResponse) MarshalJSON ¶
func (o GetMembershipWebviewResponse) MarshalJSON() ([]byte, error)
func (*GetMembershipWebviewResponse) SetMembershipStatus ¶
func (o *GetMembershipWebviewResponse) SetMembershipStatus(v string)
SetMembershipStatus gets a reference to the given string and assigns it to the MembershipStatus field.
func (GetMembershipWebviewResponse) ToMap ¶
func (o GetMembershipWebviewResponse) ToMap() (map[string]interface{}, error)
func (*GetMembershipWebviewResponse) UnmarshalJSON ¶
func (o *GetMembershipWebviewResponse) UnmarshalJSON(data []byte) (err error)
type GetMenuNewResponse ¶
type GetMenuNewResponse struct { // The merchant's ID that is in GrabFood's database. MerchantID *string `json:"merchantID,omitempty"` // The merchant's ID that is on the partner's database. PartnerMerchantID *string `json:"partnerMerchantID,omitempty"` Currency Currency `json:"currency"` // An array of sellingTimes JSON objects. Max 20 allowed. Refer to [Selling Times](#selling-times) for more information. SellingTimes []SellingTime `json:"sellingTimes"` // An array of category JSON objects. Max 100 allowed. Refer to [Categories](#categories) for more information. Categories []MenuCategory `json:"categories"` AdditionalProperties map[string]interface{} }
GetMenuNewResponse
func NewGetMenuNewResponse ¶
func NewGetMenuNewResponse(currency Currency, sellingTimes []SellingTime, categories []MenuCategory) *GetMenuNewResponse
NewGetMenuNewResponse instantiates a new GetMenuNewResponse 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 NewGetMenuNewResponseWithDefaults ¶
func NewGetMenuNewResponseWithDefaults() *GetMenuNewResponse
NewGetMenuNewResponseWithDefaults instantiates a new GetMenuNewResponse 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 (*GetMenuNewResponse) GetCategories ¶
func (o *GetMenuNewResponse) GetCategories() []MenuCategory
GetCategories returns the Categories field value
func (*GetMenuNewResponse) GetCategoriesOk ¶
func (o *GetMenuNewResponse) GetCategoriesOk() ([]MenuCategory, bool)
GetCategoriesOk returns a tuple with the Categories field value and a boolean to check if the value has been set.
func (*GetMenuNewResponse) GetCurrency ¶
func (o *GetMenuNewResponse) GetCurrency() Currency
GetCurrency returns the Currency field value
func (*GetMenuNewResponse) GetCurrencyOk ¶
func (o *GetMenuNewResponse) GetCurrencyOk() (*Currency, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*GetMenuNewResponse) GetMerchantID ¶
func (o *GetMenuNewResponse) GetMerchantID() string
GetMerchantID returns the MerchantID field value if set, zero value otherwise.
func (*GetMenuNewResponse) GetMerchantIDOk ¶
func (o *GetMenuNewResponse) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMenuNewResponse) GetPartnerMerchantID ¶
func (o *GetMenuNewResponse) GetPartnerMerchantID() string
GetPartnerMerchantID returns the PartnerMerchantID field value if set, zero value otherwise.
func (*GetMenuNewResponse) GetPartnerMerchantIDOk ¶
func (o *GetMenuNewResponse) GetPartnerMerchantIDOk() (*string, bool)
GetPartnerMerchantIDOk returns a tuple with the PartnerMerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMenuNewResponse) GetSellingTimes ¶
func (o *GetMenuNewResponse) GetSellingTimes() []SellingTime
GetSellingTimes returns the SellingTimes field value
func (*GetMenuNewResponse) GetSellingTimesOk ¶
func (o *GetMenuNewResponse) GetSellingTimesOk() ([]SellingTime, bool)
GetSellingTimesOk returns a tuple with the SellingTimes field value and a boolean to check if the value has been set.
func (*GetMenuNewResponse) HasMerchantID ¶
func (o *GetMenuNewResponse) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (*GetMenuNewResponse) HasPartnerMerchantID ¶
func (o *GetMenuNewResponse) HasPartnerMerchantID() bool
HasPartnerMerchantID returns a boolean if a field has been set.
func (GetMenuNewResponse) MarshalJSON ¶
func (o GetMenuNewResponse) MarshalJSON() ([]byte, error)
func (*GetMenuNewResponse) SetCategories ¶
func (o *GetMenuNewResponse) SetCategories(v []MenuCategory)
SetCategories sets field value
func (*GetMenuNewResponse) SetCurrency ¶
func (o *GetMenuNewResponse) SetCurrency(v Currency)
SetCurrency sets field value
func (*GetMenuNewResponse) SetMerchantID ¶
func (o *GetMenuNewResponse) SetMerchantID(v string)
SetMerchantID gets a reference to the given string and assigns it to the MerchantID field.
func (*GetMenuNewResponse) SetPartnerMerchantID ¶
func (o *GetMenuNewResponse) SetPartnerMerchantID(v string)
SetPartnerMerchantID gets a reference to the given string and assigns it to the PartnerMerchantID field.
func (*GetMenuNewResponse) SetSellingTimes ¶
func (o *GetMenuNewResponse) SetSellingTimes(v []SellingTime)
SetSellingTimes sets field value
func (GetMenuNewResponse) ToMap ¶
func (o GetMenuNewResponse) ToMap() (map[string]interface{}, error)
func (*GetMenuNewResponse) UnmarshalJSON ¶
func (o *GetMenuNewResponse) UnmarshalJSON(data []byte) (err error)
type GetMenuOldResponse ¶
type GetMenuOldResponse struct { // The merchant's ID that is in GrabFood's database. MerchantID *string `json:"merchantID,omitempty"` // The merchant's ID that is on the partner's database. PartnerMerchantID *string `json:"partnerMerchantID,omitempty"` Currency Currency `json:"currency"` // An array of section JSON objects. Max 7 allowed. Refer to [Sections](#sections) for more information. Sections []MenuSection `json:"sections"` AdditionalProperties map[string]interface{} }
GetMenuOldResponse
func NewGetMenuOldResponse ¶
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 ¶
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 (*GetMenuOldResponse) GetCurrency ¶
func (o *GetMenuOldResponse) GetCurrency() Currency
GetCurrency returns the Currency field value
func (*GetMenuOldResponse) GetCurrencyOk ¶
func (o *GetMenuOldResponse) GetCurrencyOk() (*Currency, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*GetMenuOldResponse) GetMerchantID ¶
func (o *GetMenuOldResponse) GetMerchantID() string
GetMerchantID returns the MerchantID field value if set, zero value otherwise.
func (*GetMenuOldResponse) GetMerchantIDOk ¶
func (o *GetMenuOldResponse) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMenuOldResponse) GetPartnerMerchantID ¶
func (o *GetMenuOldResponse) GetPartnerMerchantID() string
GetPartnerMerchantID returns the PartnerMerchantID field value if set, zero value otherwise.
func (*GetMenuOldResponse) GetPartnerMerchantIDOk ¶
func (o *GetMenuOldResponse) GetPartnerMerchantIDOk() (*string, bool)
GetPartnerMerchantIDOk returns a tuple with the PartnerMerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMenuOldResponse) GetSections ¶
func (o *GetMenuOldResponse) GetSections() []MenuSection
GetSections returns the Sections field value
func (*GetMenuOldResponse) GetSectionsOk ¶
func (o *GetMenuOldResponse) GetSectionsOk() ([]MenuSection, bool)
GetSectionsOk returns a tuple with the Sections field value and a boolean to check if the value has been set.
func (*GetMenuOldResponse) HasMerchantID ¶
func (o *GetMenuOldResponse) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (*GetMenuOldResponse) HasPartnerMerchantID ¶
func (o *GetMenuOldResponse) HasPartnerMerchantID() bool
HasPartnerMerchantID returns a boolean if a field has been set.
func (GetMenuOldResponse) MarshalJSON ¶
func (o GetMenuOldResponse) MarshalJSON() ([]byte, error)
func (*GetMenuOldResponse) SetCurrency ¶
func (o *GetMenuOldResponse) SetCurrency(v Currency)
SetCurrency sets field value
func (*GetMenuOldResponse) SetMerchantID ¶
func (o *GetMenuOldResponse) SetMerchantID(v string)
SetMerchantID gets a reference to the given string and assigns it to the MerchantID field.
func (*GetMenuOldResponse) SetPartnerMerchantID ¶
func (o *GetMenuOldResponse) SetPartnerMerchantID(v string)
SetPartnerMerchantID gets a reference to the given string and assigns it to the PartnerMerchantID field.
func (*GetMenuOldResponse) SetSections ¶
func (o *GetMenuOldResponse) SetSections(v []MenuSection)
SetSections sets field value
func (GetMenuOldResponse) ToMap ¶
func (o GetMenuOldResponse) ToMap() (map[string]interface{}, error)
func (*GetMenuOldResponse) UnmarshalJSON ¶
func (o *GetMenuOldResponse) UnmarshalJSON(data []byte) (err error)
type GetOauthGrabAPIService ¶
type GetOauthGrabAPIService service
GetOauthGrabAPIService GetOauthGrabAPI service
func (*GetOauthGrabAPIService) GetOauthGrab ¶
func (a *GetOauthGrabAPIService) GetOauthGrab(ctx context.Context) ApiGetOauthGrabRequest
GetOauthGrab Get Oauth access token
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetOauthGrabRequest
func (*GetOauthGrabAPIService) GetOauthGrabExecute ¶
func (a *GetOauthGrabAPIService) GetOauthGrabExecute(r ApiGetOauthGrabRequest) (*GrabOauthResponse, *http.Response, error)
Execute executes the request
@return GrabOauthResponse
type GetRewardNativeRequest ¶
type GetRewardNativeRequest struct { // The unique member ID on the partner's database. MemberID *string `json:"memberID,omitempty"` // Grab merchant's ID. MerchantID *string `json:"merchantID,omitempty"` Items []RewardItem `json:"items,omitempty"` // The post-discount order value. OrderValue *int64 `json:"orderValue,omitempty"` AdditionalProperties map[string]interface{} }
GetRewardNativeRequest This request submits membership detail and order value to get reward calculation.
func NewGetRewardNativeRequest ¶
func NewGetRewardNativeRequest() *GetRewardNativeRequest
NewGetRewardNativeRequest instantiates a new GetRewardNativeRequest 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 NewGetRewardNativeRequestWithDefaults ¶
func NewGetRewardNativeRequestWithDefaults() *GetRewardNativeRequest
NewGetRewardNativeRequestWithDefaults instantiates a new GetRewardNativeRequest 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 (*GetRewardNativeRequest) GetItems ¶
func (o *GetRewardNativeRequest) GetItems() []RewardItem
GetItems returns the Items field value if set, zero value otherwise.
func (*GetRewardNativeRequest) GetItemsOk ¶
func (o *GetRewardNativeRequest) GetItemsOk() ([]RewardItem, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRewardNativeRequest) GetMemberID ¶
func (o *GetRewardNativeRequest) GetMemberID() string
GetMemberID returns the MemberID field value if set, zero value otherwise.
func (*GetRewardNativeRequest) GetMemberIDOk ¶
func (o *GetRewardNativeRequest) GetMemberIDOk() (*string, bool)
GetMemberIDOk returns a tuple with the MemberID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRewardNativeRequest) GetMerchantID ¶
func (o *GetRewardNativeRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value if set, zero value otherwise.
func (*GetRewardNativeRequest) GetMerchantIDOk ¶
func (o *GetRewardNativeRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRewardNativeRequest) GetOrderValue ¶
func (o *GetRewardNativeRequest) GetOrderValue() int64
GetOrderValue returns the OrderValue field value if set, zero value otherwise.
func (*GetRewardNativeRequest) GetOrderValueOk ¶
func (o *GetRewardNativeRequest) GetOrderValueOk() (*int64, bool)
GetOrderValueOk returns a tuple with the OrderValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRewardNativeRequest) HasItems ¶
func (o *GetRewardNativeRequest) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*GetRewardNativeRequest) HasMemberID ¶
func (o *GetRewardNativeRequest) HasMemberID() bool
HasMemberID returns a boolean if a field has been set.
func (*GetRewardNativeRequest) HasMerchantID ¶
func (o *GetRewardNativeRequest) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (*GetRewardNativeRequest) HasOrderValue ¶
func (o *GetRewardNativeRequest) HasOrderValue() bool
HasOrderValue returns a boolean if a field has been set.
func (GetRewardNativeRequest) MarshalJSON ¶
func (o GetRewardNativeRequest) MarshalJSON() ([]byte, error)
func (*GetRewardNativeRequest) SetItems ¶
func (o *GetRewardNativeRequest) SetItems(v []RewardItem)
SetItems gets a reference to the given []RewardItem and assigns it to the Items field.
func (*GetRewardNativeRequest) SetMemberID ¶
func (o *GetRewardNativeRequest) SetMemberID(v string)
SetMemberID gets a reference to the given string and assigns it to the MemberID field.
func (*GetRewardNativeRequest) SetMerchantID ¶
func (o *GetRewardNativeRequest) SetMerchantID(v string)
SetMerchantID gets a reference to the given string and assigns it to the MerchantID field.
func (*GetRewardNativeRequest) SetOrderValue ¶
func (o *GetRewardNativeRequest) SetOrderValue(v int64)
SetOrderValue gets a reference to the given int64 and assigns it to the OrderValue field.
func (GetRewardNativeRequest) ToMap ¶
func (o GetRewardNativeRequest) ToMap() (map[string]interface{}, error)
func (*GetRewardNativeRequest) UnmarshalJSON ¶
func (o *GetRewardNativeRequest) UnmarshalJSON(data []byte) (err error)
type GetRewardNativeResponse ¶
type GetRewardNativeResponse struct { // The reward points earned in this purchase. Points int64 `json:"points"` AdditionalProperties map[string]interface{} }
GetRewardNativeResponse This response returns reward points earn for this order.
func NewGetRewardNativeResponse ¶
func NewGetRewardNativeResponse(points int64) *GetRewardNativeResponse
NewGetRewardNativeResponse instantiates a new GetRewardNativeResponse 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 NewGetRewardNativeResponseWithDefaults ¶
func NewGetRewardNativeResponseWithDefaults() *GetRewardNativeResponse
NewGetRewardNativeResponseWithDefaults instantiates a new GetRewardNativeResponse 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 (*GetRewardNativeResponse) GetPoints ¶
func (o *GetRewardNativeResponse) GetPoints() int64
GetPoints returns the Points field value
func (*GetRewardNativeResponse) GetPointsOk ¶
func (o *GetRewardNativeResponse) GetPointsOk() (*int64, bool)
GetPointsOk returns a tuple with the Points field value and a boolean to check if the value has been set.
func (GetRewardNativeResponse) MarshalJSON ¶
func (o GetRewardNativeResponse) MarshalJSON() ([]byte, error)
func (*GetRewardNativeResponse) SetPoints ¶
func (o *GetRewardNativeResponse) SetPoints(v int64)
SetPoints sets field value
func (GetRewardNativeResponse) ToMap ¶
func (o GetRewardNativeResponse) ToMap() (map[string]interface{}, error)
func (*GetRewardNativeResponse) UnmarshalJSON ¶
func (o *GetRewardNativeResponse) UnmarshalJSON(data []byte) (err error)
type GetStoreHourAPIService ¶
type GetStoreHourAPIService service
GetStoreHourAPIService GetStoreHourAPI service
func (*GetStoreHourAPIService) GetStoreHour ¶
func (a *GetStoreHourAPIService) GetStoreHour(ctx context.Context, merchantID string) ApiGetStoreHourRequest
GetStoreHour Get Store Hours
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param merchantID The merchant's ID that is in GrabFood's database. @return ApiGetStoreHourRequest
func (*GetStoreHourAPIService) GetStoreHourExecute ¶
func (a *GetStoreHourAPIService) GetStoreHourExecute(r ApiGetStoreHourRequest) (*StoreHourResponse, *http.Response, error)
Execute executes the request
@return StoreHourResponse
type GetStoreStatusAPIService ¶
type GetStoreStatusAPIService service
GetStoreStatusAPIService GetStoreStatusAPI service
func (*GetStoreStatusAPIService) GetStoreStatus ¶
func (a *GetStoreStatusAPIService) GetStoreStatus(ctx context.Context, merchantID string) ApiGetStoreStatusRequest
GetStoreStatus Get Store Status
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param merchantID The merchant's ID that is in GrabFood's database. @return ApiGetStoreStatusRequest
func (*GetStoreStatusAPIService) GetStoreStatusExecute ¶
func (a *GetStoreStatusAPIService) GetStoreStatusExecute(r ApiGetStoreStatusRequest) (*StoreStatusResponse, *http.Response, error)
Execute executes the request
@return StoreStatusResponse
type GrabOauthRequest ¶
type GrabOauthRequest struct { // The client identifier issued to the client to obtain the OAuth 2.0 access_token. ClientId string `json:"client_id"` // The client secret issued to the client to obtain the OAuth 2.0 access_token. ClientSecret string `json:"client_secret"` // The grant type for the client to obtain the OAuth 2.0 access_token. GrantType string `json:"grant_type"` // The scope for the client to obtain the OAuth 2.0 access_token. Scope string `json:"scope"` AdditionalProperties map[string]interface{} }
GrabOauthRequest Information about the GrabFood client getting an OAuth 2.0 access token from partners.
func NewGrabOauthRequest ¶
func NewGrabOauthRequest(clientId string, clientSecret string, grantType string, scope string) *GrabOauthRequest
NewGrabOauthRequest instantiates a new GrabOauthRequest 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 NewGrabOauthRequestWithDefaults ¶
func NewGrabOauthRequestWithDefaults() *GrabOauthRequest
NewGrabOauthRequestWithDefaults instantiates a new GrabOauthRequest 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 (*GrabOauthRequest) GetClientId ¶
func (o *GrabOauthRequest) GetClientId() string
GetClientId returns the ClientId field value
func (*GrabOauthRequest) GetClientIdOk ¶
func (o *GrabOauthRequest) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.
func (*GrabOauthRequest) GetClientSecret ¶
func (o *GrabOauthRequest) GetClientSecret() string
GetClientSecret returns the ClientSecret field value
func (*GrabOauthRequest) GetClientSecretOk ¶
func (o *GrabOauthRequest) GetClientSecretOk() (*string, bool)
GetClientSecretOk returns a tuple with the ClientSecret field value and a boolean to check if the value has been set.
func (*GrabOauthRequest) GetGrantType ¶
func (o *GrabOauthRequest) GetGrantType() string
GetGrantType returns the GrantType field value
func (*GrabOauthRequest) GetGrantTypeOk ¶
func (o *GrabOauthRequest) GetGrantTypeOk() (*string, bool)
GetGrantTypeOk returns a tuple with the GrantType field value and a boolean to check if the value has been set.
func (*GrabOauthRequest) GetScope ¶
func (o *GrabOauthRequest) GetScope() string
GetScope returns the Scope field value
func (*GrabOauthRequest) GetScopeOk ¶
func (o *GrabOauthRequest) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.
func (GrabOauthRequest) MarshalJSON ¶
func (o GrabOauthRequest) MarshalJSON() ([]byte, error)
func (*GrabOauthRequest) SetClientId ¶
func (o *GrabOauthRequest) SetClientId(v string)
SetClientId sets field value
func (*GrabOauthRequest) SetClientSecret ¶
func (o *GrabOauthRequest) SetClientSecret(v string)
SetClientSecret sets field value
func (*GrabOauthRequest) SetGrantType ¶
func (o *GrabOauthRequest) SetGrantType(v string)
SetGrantType sets field value
func (*GrabOauthRequest) SetScope ¶
func (o *GrabOauthRequest) SetScope(v string)
SetScope sets field value
func (GrabOauthRequest) ToMap ¶
func (o GrabOauthRequest) ToMap() (map[string]interface{}, error)
func (*GrabOauthRequest) UnmarshalJSON ¶
func (o *GrabOauthRequest) UnmarshalJSON(data []byte) (err error)
type GrabOauthResponse ¶
type GrabOauthResponse struct { // The OAuth 2.0 access token issued by the partner. AccessToken *string `json:"access_token,omitempty"` // The type of token issued which is case insensitive. TokenType *string `json:"token_type,omitempty"` // The access token lifespan in seconds. The token is reused till it expires - default is 604799 (7 days). ExpiresIn *int32 `json:"expires_in,omitempty"` AdditionalProperties map[string]interface{} }
GrabOauthResponse struct for GrabOauthResponse
func NewGrabOauthResponse ¶
func NewGrabOauthResponse() *GrabOauthResponse
NewGrabOauthResponse instantiates a new GrabOauthResponse 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 NewGrabOauthResponseWithDefaults ¶
func NewGrabOauthResponseWithDefaults() *GrabOauthResponse
NewGrabOauthResponseWithDefaults instantiates a new GrabOauthResponse 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 (*GrabOauthResponse) GetAccessToken ¶
func (o *GrabOauthResponse) GetAccessToken() string
GetAccessToken returns the AccessToken field value if set, zero value otherwise.
func (*GrabOauthResponse) GetAccessTokenOk ¶
func (o *GrabOauthResponse) GetAccessTokenOk() (*string, bool)
GetAccessTokenOk returns a tuple with the AccessToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GrabOauthResponse) GetExpiresIn ¶
func (o *GrabOauthResponse) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.
func (*GrabOauthResponse) GetExpiresInOk ¶
func (o *GrabOauthResponse) GetExpiresInOk() (*int32, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GrabOauthResponse) GetTokenType ¶
func (o *GrabOauthResponse) GetTokenType() string
GetTokenType returns the TokenType field value if set, zero value otherwise.
func (*GrabOauthResponse) GetTokenTypeOk ¶
func (o *GrabOauthResponse) GetTokenTypeOk() (*string, bool)
GetTokenTypeOk returns a tuple with the TokenType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GrabOauthResponse) HasAccessToken ¶
func (o *GrabOauthResponse) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
func (*GrabOauthResponse) HasExpiresIn ¶
func (o *GrabOauthResponse) HasExpiresIn() bool
HasExpiresIn returns a boolean if a field has been set.
func (*GrabOauthResponse) HasTokenType ¶
func (o *GrabOauthResponse) HasTokenType() bool
HasTokenType returns a boolean if a field has been set.
func (GrabOauthResponse) MarshalJSON ¶
func (o GrabOauthResponse) MarshalJSON() ([]byte, error)
func (*GrabOauthResponse) SetAccessToken ¶
func (o *GrabOauthResponse) SetAccessToken(v string)
SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.
func (*GrabOauthResponse) SetExpiresIn ¶
func (o *GrabOauthResponse) SetExpiresIn(v int32)
SetExpiresIn gets a reference to the given int32 and assigns it to the ExpiresIn field.
func (*GrabOauthResponse) SetTokenType ¶
func (o *GrabOauthResponse) SetTokenType(v string)
SetTokenType gets a reference to the given string and assigns it to the TokenType field.
func (GrabOauthResponse) ToMap ¶
func (o GrabOauthResponse) ToMap() (map[string]interface{}, error)
func (*GrabOauthResponse) UnmarshalJSON ¶
func (o *GrabOauthResponse) UnmarshalJSON(data []byte) (err error)
type ListCampaignAPIService ¶
type ListCampaignAPIService service
ListCampaignAPIService ListCampaignAPI service
func (*ListCampaignAPIService) ListCampaign ¶
func (a *ListCampaignAPIService) ListCampaign(ctx context.Context) ApiListCampaignRequest
ListCampaign List campaigns
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListCampaignRequest
func (*ListCampaignAPIService) ListCampaignExecute ¶
func (a *ListCampaignAPIService) ListCampaignExecute(r ApiListCampaignRequest) (*ListCampaignResponse, *http.Response, error)
Execute executes the request
@return ListCampaignResponse
type ListCampaignResponse ¶
type ListCampaignResponse struct { Ongoing []Campaign `json:"ongoing,omitempty"` Upcoming []Campaign `json:"upcoming,omitempty"` AdditionalProperties map[string]interface{} }
ListCampaignResponse
func NewListCampaignResponse ¶
func NewListCampaignResponse() *ListCampaignResponse
NewListCampaignResponse instantiates a new ListCampaignResponse 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 NewListCampaignResponseWithDefaults ¶
func NewListCampaignResponseWithDefaults() *ListCampaignResponse
NewListCampaignResponseWithDefaults instantiates a new ListCampaignResponse 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 (*ListCampaignResponse) GetOngoing ¶
func (o *ListCampaignResponse) GetOngoing() []Campaign
GetOngoing returns the Ongoing field value if set, zero value otherwise.
func (*ListCampaignResponse) GetOngoingOk ¶
func (o *ListCampaignResponse) GetOngoingOk() ([]Campaign, bool)
GetOngoingOk returns a tuple with the Ongoing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListCampaignResponse) GetUpcoming ¶
func (o *ListCampaignResponse) GetUpcoming() []Campaign
GetUpcoming returns the Upcoming field value if set, zero value otherwise.
func (*ListCampaignResponse) GetUpcomingOk ¶
func (o *ListCampaignResponse) GetUpcomingOk() ([]Campaign, bool)
GetUpcomingOk returns a tuple with the Upcoming field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListCampaignResponse) HasOngoing ¶
func (o *ListCampaignResponse) HasOngoing() bool
HasOngoing returns a boolean if a field has been set.
func (*ListCampaignResponse) HasUpcoming ¶
func (o *ListCampaignResponse) HasUpcoming() bool
HasUpcoming returns a boolean if a field has been set.
func (ListCampaignResponse) MarshalJSON ¶
func (o ListCampaignResponse) MarshalJSON() ([]byte, error)
func (*ListCampaignResponse) SetOngoing ¶
func (o *ListCampaignResponse) SetOngoing(v []Campaign)
SetOngoing gets a reference to the given []Campaign and assigns it to the Ongoing field.
func (*ListCampaignResponse) SetUpcoming ¶
func (o *ListCampaignResponse) SetUpcoming(v []Campaign)
SetUpcoming gets a reference to the given []Campaign and assigns it to the Upcoming field.
func (ListCampaignResponse) ToMap ¶
func (o ListCampaignResponse) ToMap() (map[string]interface{}, error)
func (*ListCampaignResponse) UnmarshalJSON ¶
func (o *ListCampaignResponse) UnmarshalJSON(data []byte) (err error)
type ListOrdersAPIService ¶
type ListOrdersAPIService service
ListOrdersAPIService ListOrdersAPI service
func (*ListOrdersAPIService) ListOrders ¶
func (a *ListOrdersAPIService) ListOrders(ctx context.Context) ApiListOrdersRequest
ListOrders List orders
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListOrdersRequest
func (*ListOrdersAPIService) ListOrdersExecute ¶
func (a *ListOrdersAPIService) ListOrdersExecute(r ApiListOrdersRequest) (*ListOrdersResponse, *http.Response, error)
Execute executes the request
@return ListOrdersResponse
type ListOrdersResponse ¶
type ListOrdersResponse struct { // The boolean value to indicate if there is more order data. If `true`, you can continue requesting with page+1. More *bool `json:"more,omitempty"` Orders []Order `json:"orders,omitempty"` AdditionalProperties map[string]interface{} }
ListOrdersResponse
func NewListOrdersResponse ¶
func NewListOrdersResponse() *ListOrdersResponse
NewListOrdersResponse instantiates a new ListOrdersResponse 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 NewListOrdersResponseWithDefaults ¶
func NewListOrdersResponseWithDefaults() *ListOrdersResponse
NewListOrdersResponseWithDefaults instantiates a new ListOrdersResponse 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 (*ListOrdersResponse) GetMore ¶
func (o *ListOrdersResponse) GetMore() bool
GetMore returns the More field value if set, zero value otherwise.
func (*ListOrdersResponse) GetMoreOk ¶
func (o *ListOrdersResponse) GetMoreOk() (*bool, bool)
GetMoreOk returns a tuple with the More field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListOrdersResponse) GetOrders ¶
func (o *ListOrdersResponse) GetOrders() []Order
GetOrders returns the Orders field value if set, zero value otherwise.
func (*ListOrdersResponse) GetOrdersOk ¶
func (o *ListOrdersResponse) GetOrdersOk() ([]Order, bool)
GetOrdersOk returns a tuple with the Orders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListOrdersResponse) HasMore ¶
func (o *ListOrdersResponse) HasMore() bool
HasMore returns a boolean if a field has been set.
func (*ListOrdersResponse) HasOrders ¶
func (o *ListOrdersResponse) HasOrders() bool
HasOrders returns a boolean if a field has been set.
func (ListOrdersResponse) MarshalJSON ¶
func (o ListOrdersResponse) MarshalJSON() ([]byte, error)
func (*ListOrdersResponse) SetMore ¶
func (o *ListOrdersResponse) SetMore(v bool)
SetMore gets a reference to the given bool and assigns it to the More field.
func (*ListOrdersResponse) SetOrders ¶
func (o *ListOrdersResponse) SetOrders(v []Order)
SetOrders gets a reference to the given []Order and assigns it to the Orders field.
func (ListOrdersResponse) ToMap ¶
func (o ListOrdersResponse) ToMap() (map[string]interface{}, error)
func (*ListOrdersResponse) UnmarshalJSON ¶
func (o *ListOrdersResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type MarkOrderReadyAPIService ¶
type MarkOrderReadyAPIService service
MarkOrderReadyAPIService MarkOrderReadyAPI service
func (*MarkOrderReadyAPIService) MarkOrderReady ¶
func (a *MarkOrderReadyAPIService) MarkOrderReady(ctx context.Context) ApiMarkOrderReadyRequest
MarkOrderReady Mark order as ready
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiMarkOrderReadyRequest
func (*MarkOrderReadyAPIService) MarkOrderReadyExecute ¶
func (a *MarkOrderReadyAPIService) MarkOrderReadyExecute(r ApiMarkOrderReadyRequest) (*http.Response, error)
Execute executes the request
type MarkOrderRequest ¶
type MarkOrderRequest struct { // The order's ID that is returned from GrabFood. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). OrderID string `json:"orderID"` // The status to be marked accordingly. * `1` - mark order as ready * `2` - mark order as completed and only applicable to **dine-in** orders MarkStatus int32 `json:"markStatus"` AdditionalProperties map[string]interface{} }
MarkOrderRequest This request marks an order as ready for delivery or completed on GrabFood.
func NewMarkOrderRequest ¶
func NewMarkOrderRequest(orderID string, markStatus int32) *MarkOrderRequest
NewMarkOrderRequest instantiates a new MarkOrderRequest 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 NewMarkOrderRequestWithDefaults ¶
func NewMarkOrderRequestWithDefaults() *MarkOrderRequest
NewMarkOrderRequestWithDefaults instantiates a new MarkOrderRequest 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 (*MarkOrderRequest) GetMarkStatus ¶
func (o *MarkOrderRequest) GetMarkStatus() int32
GetMarkStatus returns the MarkStatus field value
func (*MarkOrderRequest) GetMarkStatusOk ¶
func (o *MarkOrderRequest) GetMarkStatusOk() (*int32, bool)
GetMarkStatusOk returns a tuple with the MarkStatus field value and a boolean to check if the value has been set.
func (*MarkOrderRequest) GetOrderID ¶
func (o *MarkOrderRequest) GetOrderID() string
GetOrderID returns the OrderID field value
func (*MarkOrderRequest) GetOrderIDOk ¶
func (o *MarkOrderRequest) GetOrderIDOk() (*string, bool)
GetOrderIDOk returns a tuple with the OrderID field value and a boolean to check if the value has been set.
func (MarkOrderRequest) MarshalJSON ¶
func (o MarkOrderRequest) MarshalJSON() ([]byte, error)
func (*MarkOrderRequest) SetMarkStatus ¶
func (o *MarkOrderRequest) SetMarkStatus(v int32)
SetMarkStatus sets field value
func (*MarkOrderRequest) SetOrderID ¶
func (o *MarkOrderRequest) SetOrderID(v string)
SetOrderID sets field value
func (MarkOrderRequest) ToMap ¶
func (o MarkOrderRequest) ToMap() (map[string]interface{}, error)
func (*MarkOrderRequest) UnmarshalJSON ¶
func (o *MarkOrderRequest) UnmarshalJSON(data []byte) (err error)
type MenuCategory ¶
type MenuCategory struct { // The category's ID that is on the partner system. This ID should be unique. Id string `json:"id"` // The name of the category. Name string `json:"name"` // Translation of the category name. Only support up to 1 translated language. Refer [Menu Translation](#section/Menu-Translation). NameTranslation *map[string]string `json:"nameTranslation,omitempty"` // The status for the category. Refer to FAQs for more details about [availableStatus](#section/Menu/What-is-availableStatus). AvailableStatus string `json:"availableStatus"` // 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. SellingTimeID string `json:"sellingTimeID"` // The sort or display order of the category within the menu. Sequence *int32 `json:"sequence,omitempty"` // An array of item JSON objects. Max 300 allowed per category. Refer to [Items](#items) for more information. Items []MenuItem `json:"items"` AdditionalProperties map[string]interface{} }
MenuCategory struct for MenuCategory
func NewMenuCategory ¶
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 ¶
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 (*MenuCategory) GetAvailableStatus ¶
func (o *MenuCategory) GetAvailableStatus() string
GetAvailableStatus returns the AvailableStatus field value
func (*MenuCategory) GetAvailableStatusOk ¶
func (o *MenuCategory) GetAvailableStatusOk() (*string, bool)
GetAvailableStatusOk returns a tuple with the AvailableStatus field value and a boolean to check if the value has been set.
func (*MenuCategory) GetIdOk ¶
func (o *MenuCategory) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MenuCategory) GetItems ¶
func (o *MenuCategory) GetItems() []MenuItem
GetItems returns the Items field value
func (*MenuCategory) GetItemsOk ¶
func (o *MenuCategory) GetItemsOk() ([]MenuItem, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*MenuCategory) GetName ¶
func (o *MenuCategory) GetName() string
GetName returns the Name field value
func (*MenuCategory) GetNameOk ¶
func (o *MenuCategory) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*MenuCategory) GetNameTranslation ¶
func (o *MenuCategory) GetNameTranslation() map[string]string
GetNameTranslation returns the NameTranslation field value if set, zero value otherwise.
func (*MenuCategory) GetNameTranslationOk ¶
func (o *MenuCategory) GetNameTranslationOk() (*map[string]string, bool)
GetNameTranslationOk returns a tuple with the NameTranslation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuCategory) GetSellingTimeID ¶
func (o *MenuCategory) GetSellingTimeID() string
GetSellingTimeID returns the SellingTimeID field value
func (*MenuCategory) GetSellingTimeIDOk ¶
func (o *MenuCategory) GetSellingTimeIDOk() (*string, bool)
GetSellingTimeIDOk returns a tuple with the SellingTimeID field value and a boolean to check if the value has been set.
func (*MenuCategory) GetSequence ¶ added in v1.0.1
func (o *MenuCategory) GetSequence() int32
GetSequence returns the Sequence field value if set, zero value otherwise.
func (*MenuCategory) GetSequenceOk ¶ added in v1.0.1
func (o *MenuCategory) GetSequenceOk() (*int32, bool)
GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuCategory) HasNameTranslation ¶
func (o *MenuCategory) HasNameTranslation() bool
HasNameTranslation returns a boolean if a field has been set.
func (*MenuCategory) HasSequence ¶ added in v1.0.1
func (o *MenuCategory) HasSequence() bool
HasSequence returns a boolean if a field has been set.
func (MenuCategory) MarshalJSON ¶
func (o MenuCategory) MarshalJSON() ([]byte, error)
func (*MenuCategory) SetAvailableStatus ¶
func (o *MenuCategory) SetAvailableStatus(v string)
SetAvailableStatus sets field value
func (*MenuCategory) SetItems ¶
func (o *MenuCategory) SetItems(v []MenuItem)
SetItems sets field value
func (*MenuCategory) SetNameTranslation ¶
func (o *MenuCategory) SetNameTranslation(v map[string]string)
SetNameTranslation gets a reference to the given map[string]string and assigns it to the NameTranslation field.
func (*MenuCategory) SetSellingTimeID ¶
func (o *MenuCategory) SetSellingTimeID(v string)
SetSellingTimeID sets field value
func (*MenuCategory) SetSequence ¶ added in v1.0.1
func (o *MenuCategory) SetSequence(v int32)
SetSequence gets a reference to the given int32 and assigns it to the Sequence field.
func (MenuCategory) ToMap ¶
func (o MenuCategory) ToMap() (map[string]interface{}, error)
func (*MenuCategory) UnmarshalJSON ¶
func (o *MenuCategory) UnmarshalJSON(data []byte) (err error)
type MenuEntity ¶
type MenuEntity struct { // The record's ID on the partner system. For example, the item id in case type is ITEM, modifier id is MODIFIER. Id *string `json:"id,omitempty"` // The record's price in minor unit format. Price *int64 `json:"price,omitempty"` // The record's availableStatus. Note: In order to set an item as \"UNAVAILABLE\", it is required to update both the `availableStatus` and `maxStock` fields, whereby the `maxStock` value should be set to 0. AvailableStatus *string `json:"availableStatus,omitempty"` // Available stocks under inventory for this item. Auto reduce when there is order placed for this item. Note: It is necessary to set `maxStock` to 0 if the `availableStatus` of the item is \"UNAVAILABLE\". Item will be set to \"AVAILABLE\" if `maxStock` > 0. MaxStock *int64 `json:"maxStock,omitempty"` // Price configuration (in minor unit) for different service, order type and channel combination. If a service type does not have a specified price, it will utilize the default price of the item. AdvancedPricings []UpdateAdvancedPricing `json:"advancedPricings,omitempty"` // Purchasability is set to true by default for all service type, unless it is explicitly set to false. Modifier will reuse it’s item’s purchasability. Purchasabilities []UpdatePurchasability `json:"purchasabilities,omitempty"` AdditionalProperties map[string]interface{} }
MenuEntity struct for MenuEntity
func NewMenuEntity ¶
func NewMenuEntity() *MenuEntity
NewMenuEntity instantiates a new MenuEntity 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 NewMenuEntityWithDefaults ¶
func NewMenuEntityWithDefaults() *MenuEntity
NewMenuEntityWithDefaults instantiates a new MenuEntity 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 (*MenuEntity) GetAdvancedPricings ¶
func (o *MenuEntity) GetAdvancedPricings() []UpdateAdvancedPricing
GetAdvancedPricings returns the AdvancedPricings field value if set, zero value otherwise.
func (*MenuEntity) GetAdvancedPricingsOk ¶
func (o *MenuEntity) GetAdvancedPricingsOk() ([]UpdateAdvancedPricing, bool)
GetAdvancedPricingsOk returns a tuple with the AdvancedPricings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuEntity) GetAvailableStatus ¶
func (o *MenuEntity) GetAvailableStatus() string
GetAvailableStatus returns the AvailableStatus field value if set, zero value otherwise.
func (*MenuEntity) GetAvailableStatusOk ¶
func (o *MenuEntity) GetAvailableStatusOk() (*string, bool)
GetAvailableStatusOk returns a tuple with the AvailableStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuEntity) GetId ¶
func (o *MenuEntity) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MenuEntity) GetIdOk ¶
func (o *MenuEntity) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuEntity) GetMaxStock ¶
func (o *MenuEntity) GetMaxStock() int64
GetMaxStock returns the MaxStock field value if set, zero value otherwise.
func (*MenuEntity) GetMaxStockOk ¶
func (o *MenuEntity) GetMaxStockOk() (*int64, bool)
GetMaxStockOk returns a tuple with the MaxStock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuEntity) GetPrice ¶
func (o *MenuEntity) GetPrice() int64
GetPrice returns the Price field value if set, zero value otherwise.
func (*MenuEntity) GetPriceOk ¶
func (o *MenuEntity) GetPriceOk() (*int64, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuEntity) GetPurchasabilities ¶
func (o *MenuEntity) GetPurchasabilities() []UpdatePurchasability
GetPurchasabilities returns the Purchasabilities field value if set, zero value otherwise.
func (*MenuEntity) GetPurchasabilitiesOk ¶
func (o *MenuEntity) GetPurchasabilitiesOk() ([]UpdatePurchasability, bool)
GetPurchasabilitiesOk returns a tuple with the Purchasabilities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuEntity) HasAdvancedPricings ¶
func (o *MenuEntity) HasAdvancedPricings() bool
HasAdvancedPricings returns a boolean if a field has been set.
func (*MenuEntity) HasAvailableStatus ¶
func (o *MenuEntity) HasAvailableStatus() bool
HasAvailableStatus returns a boolean if a field has been set.
func (*MenuEntity) HasId ¶
func (o *MenuEntity) HasId() bool
HasId returns a boolean if a field has been set.
func (*MenuEntity) HasMaxStock ¶
func (o *MenuEntity) HasMaxStock() bool
HasMaxStock returns a boolean if a field has been set.
func (*MenuEntity) HasPrice ¶
func (o *MenuEntity) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*MenuEntity) HasPurchasabilities ¶
func (o *MenuEntity) HasPurchasabilities() bool
HasPurchasabilities returns a boolean if a field has been set.
func (MenuEntity) MarshalJSON ¶
func (o MenuEntity) MarshalJSON() ([]byte, error)
func (*MenuEntity) SetAdvancedPricings ¶
func (o *MenuEntity) SetAdvancedPricings(v []UpdateAdvancedPricing)
SetAdvancedPricings gets a reference to the given []UpdateAdvancedPricing and assigns it to the AdvancedPricings field.
func (*MenuEntity) SetAvailableStatus ¶
func (o *MenuEntity) SetAvailableStatus(v string)
SetAvailableStatus gets a reference to the given string and assigns it to the AvailableStatus field.
func (*MenuEntity) SetId ¶
func (o *MenuEntity) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MenuEntity) SetMaxStock ¶
func (o *MenuEntity) SetMaxStock(v int64)
SetMaxStock gets a reference to the given int64 and assigns it to the MaxStock field.
func (*MenuEntity) SetPrice ¶
func (o *MenuEntity) SetPrice(v int64)
SetPrice gets a reference to the given int64 and assigns it to the Price field.
func (*MenuEntity) SetPurchasabilities ¶
func (o *MenuEntity) SetPurchasabilities(v []UpdatePurchasability)
SetPurchasabilities gets a reference to the given []UpdatePurchasability and assigns it to the Purchasabilities field.
func (MenuEntity) ToMap ¶
func (o MenuEntity) ToMap() (map[string]interface{}, error)
func (*MenuEntity) UnmarshalJSON ¶
func (o *MenuEntity) UnmarshalJSON(data []byte) (err error)
type MenuEntityError ¶
type MenuEntityError struct { // The itemID. EntityID *string `json:"entityID,omitempty"` // The error message. ErrMsg *string `json:"errMsg,omitempty"` AdditionalProperties map[string]interface{} }
MenuEntityError struct for MenuEntityError
func NewMenuEntityError ¶
func NewMenuEntityError() *MenuEntityError
NewMenuEntityError instantiates a new MenuEntityError 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 NewMenuEntityErrorWithDefaults ¶
func NewMenuEntityErrorWithDefaults() *MenuEntityError
NewMenuEntityErrorWithDefaults instantiates a new MenuEntityError 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 (*MenuEntityError) GetEntityID ¶
func (o *MenuEntityError) GetEntityID() string
GetEntityID returns the EntityID field value if set, zero value otherwise.
func (*MenuEntityError) GetEntityIDOk ¶
func (o *MenuEntityError) GetEntityIDOk() (*string, bool)
GetEntityIDOk returns a tuple with the EntityID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuEntityError) GetErrMsg ¶
func (o *MenuEntityError) GetErrMsg() string
GetErrMsg returns the ErrMsg field value if set, zero value otherwise.
func (*MenuEntityError) GetErrMsgOk ¶
func (o *MenuEntityError) GetErrMsgOk() (*string, bool)
GetErrMsgOk returns a tuple with the ErrMsg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuEntityError) HasEntityID ¶
func (o *MenuEntityError) HasEntityID() bool
HasEntityID returns a boolean if a field has been set.
func (*MenuEntityError) HasErrMsg ¶
func (o *MenuEntityError) HasErrMsg() bool
HasErrMsg returns a boolean if a field has been set.
func (MenuEntityError) MarshalJSON ¶
func (o MenuEntityError) MarshalJSON() ([]byte, error)
func (*MenuEntityError) SetEntityID ¶
func (o *MenuEntityError) SetEntityID(v string)
SetEntityID gets a reference to the given string and assigns it to the EntityID field.
func (*MenuEntityError) SetErrMsg ¶
func (o *MenuEntityError) SetErrMsg(v string)
SetErrMsg gets a reference to the given string and assigns it to the ErrMsg field.
func (MenuEntityError) ToMap ¶
func (o MenuEntityError) ToMap() (map[string]interface{}, error)
func (*MenuEntityError) UnmarshalJSON ¶
func (o *MenuEntityError) UnmarshalJSON(data []byte) (err error)
type MenuItem ¶
type MenuItem struct { // The item's ID in the partner system. This ID should be unique. Id string `json:"id"` // The name of the item. Name string `json:"name"` // Translation of the item name. Only support up to 1 translated language. Refer [Menu Translation](#section/Menu-Translation). NameTranslation *map[string]string `json:"nameTranslation,omitempty"` // The status for the item. Refer to FAQs for more details about [availableStatus](#section/Menu/What-is-availableStatus). > Note: In order to set an item as `\"UNAVAILABLE\"`, it is required to update both the `availableStatus` and `maxStock` fields, whereby the `maxStock` should be set to 0. AvailableStatus string `json:"availableStatus"` // The description of the item. There is a custom length limit of 2000 for `VN`. Description *string `json:"description,omitempty"` // Translation of the item description. Only support up to 1 translated language. Refer [Menu Translation](#section/Menu-Translation). DescriptionTranslation *map[string]string `json:"descriptionTranslation,omitempty"` // The item's price in minor format. For example: 1900 means $19 with `currency.exponent` as 2. Refer to [FAQ](#section/Menu/Is-the-menu-price-with-or-without-tax) to determine whether the pricing should be tax-inclusive or tax-exclusive. Price int64 `json:"price"` // An array string for the item’s image URL link. Only 1 image is supported. Refer to FAQs for more details about [images formats](#section/Menu/What-are-the-recommended-formats-for-an-item-image). Photos []string `json:"photos,omitempty"` // The item's special Tag. Refer to FAQs for more details about [specialType](#section/Menu/What's-specialType). SpecialType *string `json:"specialType,omitempty"` // **For Indonesia only.** This field allows the configuration for an item to be marked as tax applicable, and marked item would then be included in a commercial invoice to consumers as per the government's regulations. Taxable *bool `json:"taxable,omitempty"` // The barcode Number (GTIN). Max 64 allowed. GTIN must be 8, 12, 13, 14 numeric digits. Barcode *string `json:"barcode,omitempty"` // The selling time's ID for the item. This value overrides the category's selling time if it is different. Empty value implies the category's selling time will be applied. SellingTimeID *string `json:"sellingTimeID,omitempty"` // Available stocks under inventory for this item. Auto reduce when there is order placed for this item. Empty value implies no limit. > Note: It is necessary to set `maxStock` to 0 if the `availableStatus` of the item is `\"UNAVAILABLE\"`. Item will be set to `\"AVAILABLE\"` if `maxStock` > 0. MaxStock *int64 `json:"maxStock,omitempty"` // The sort or display order of the item within the menu. Sequence *int32 `json:"sequence,omitempty"` AdvancedPricing *AdvancedPricing `json:"advancedPricing,omitempty"` Purchasability *Purchasability `json:"purchasability,omitempty"` // An array of the modifierGroup JSON objects. Max 30 allowed per item. Refer to [Modifier groups](#modifier-groups) for more information. ModifierGroups []ModifierGroup `json:"modifierGroups,omitempty"` AdditionalProperties map[string]interface{} }
MenuItem struct for MenuItem
func NewMenuItem ¶
NewMenuItem instantiates a new MenuItem 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 NewMenuItemWithDefaults ¶
func NewMenuItemWithDefaults() *MenuItem
NewMenuItemWithDefaults instantiates a new MenuItem 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 (*MenuItem) GetAdvancedPricing ¶
func (o *MenuItem) GetAdvancedPricing() AdvancedPricing
GetAdvancedPricing returns the AdvancedPricing field value if set, zero value otherwise.
func (*MenuItem) GetAdvancedPricingOk ¶
func (o *MenuItem) GetAdvancedPricingOk() (*AdvancedPricing, bool)
GetAdvancedPricingOk returns a tuple with the AdvancedPricing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetAvailableStatus ¶
GetAvailableStatus returns the AvailableStatus field value
func (*MenuItem) GetAvailableStatusOk ¶
GetAvailableStatusOk returns a tuple with the AvailableStatus field value and a boolean to check if the value has been set.
func (*MenuItem) GetBarcode ¶
GetBarcode returns the Barcode field value if set, zero value otherwise.
func (*MenuItem) GetBarcodeOk ¶
GetBarcodeOk returns a tuple with the Barcode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*MenuItem) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetDescriptionTranslation ¶
GetDescriptionTranslation returns the DescriptionTranslation field value if set, zero value otherwise.
func (*MenuItem) GetDescriptionTranslationOk ¶
GetDescriptionTranslationOk returns a tuple with the DescriptionTranslation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MenuItem) GetMaxStock ¶
GetMaxStock returns the MaxStock field value if set, zero value otherwise.
func (*MenuItem) GetMaxStockOk ¶
GetMaxStockOk returns a tuple with the MaxStock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetModifierGroups ¶
func (o *MenuItem) GetModifierGroups() []ModifierGroup
GetModifierGroups returns the ModifierGroups field value if set, zero value otherwise.
func (*MenuItem) GetModifierGroupsOk ¶
func (o *MenuItem) GetModifierGroupsOk() ([]ModifierGroup, bool)
GetModifierGroupsOk returns a tuple with the ModifierGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*MenuItem) GetNameTranslation ¶
GetNameTranslation returns the NameTranslation field value if set, zero value otherwise.
func (*MenuItem) GetNameTranslationOk ¶
GetNameTranslationOk returns a tuple with the NameTranslation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetPhotosOk ¶
GetPhotosOk returns a tuple with the Photos field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetPriceOk ¶
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*MenuItem) GetPurchasability ¶
func (o *MenuItem) GetPurchasability() Purchasability
GetPurchasability returns the Purchasability field value if set, zero value otherwise.
func (*MenuItem) GetPurchasabilityOk ¶
func (o *MenuItem) GetPurchasabilityOk() (*Purchasability, bool)
GetPurchasabilityOk returns a tuple with the Purchasability field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetSellingTimeID ¶
GetSellingTimeID returns the SellingTimeID field value if set, zero value otherwise.
func (*MenuItem) GetSellingTimeIDOk ¶
GetSellingTimeIDOk returns a tuple with the SellingTimeID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetSequence ¶ added in v1.0.1
GetSequence returns the Sequence field value if set, zero value otherwise.
func (*MenuItem) GetSequenceOk ¶ added in v1.0.1
GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetSpecialType ¶
GetSpecialType returns the SpecialType field value if set, zero value otherwise.
func (*MenuItem) GetSpecialTypeOk ¶
GetSpecialTypeOk returns a tuple with the SpecialType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) GetTaxable ¶
GetTaxable returns the Taxable field value if set, zero value otherwise.
func (*MenuItem) GetTaxableOk ¶
GetTaxableOk returns a tuple with the Taxable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuItem) HasAdvancedPricing ¶
HasAdvancedPricing returns a boolean if a field has been set.
func (*MenuItem) HasBarcode ¶
HasBarcode returns a boolean if a field has been set.
func (*MenuItem) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*MenuItem) HasDescriptionTranslation ¶
HasDescriptionTranslation returns a boolean if a field has been set.
func (*MenuItem) HasMaxStock ¶
HasMaxStock returns a boolean if a field has been set.
func (*MenuItem) HasModifierGroups ¶
HasModifierGroups returns a boolean if a field has been set.
func (*MenuItem) HasNameTranslation ¶
HasNameTranslation returns a boolean if a field has been set.
func (*MenuItem) HasPurchasability ¶
HasPurchasability returns a boolean if a field has been set.
func (*MenuItem) HasSellingTimeID ¶
HasSellingTimeID returns a boolean if a field has been set.
func (*MenuItem) HasSequence ¶ added in v1.0.1
HasSequence returns a boolean if a field has been set.
func (*MenuItem) HasSpecialType ¶
HasSpecialType returns a boolean if a field has been set.
func (*MenuItem) HasTaxable ¶
HasTaxable returns a boolean if a field has been set.
func (MenuItem) MarshalJSON ¶
func (*MenuItem) SetAdvancedPricing ¶
func (o *MenuItem) SetAdvancedPricing(v AdvancedPricing)
SetAdvancedPricing gets a reference to the given AdvancedPricing and assigns it to the AdvancedPricing field.
func (*MenuItem) SetAvailableStatus ¶
SetAvailableStatus sets field value
func (*MenuItem) SetBarcode ¶
SetBarcode gets a reference to the given string and assigns it to the Barcode field.
func (*MenuItem) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*MenuItem) SetDescriptionTranslation ¶
SetDescriptionTranslation gets a reference to the given map[string]string and assigns it to the DescriptionTranslation field.
func (*MenuItem) SetMaxStock ¶
SetMaxStock gets a reference to the given int64 and assigns it to the MaxStock field.
func (*MenuItem) SetModifierGroups ¶
func (o *MenuItem) SetModifierGroups(v []ModifierGroup)
SetModifierGroups gets a reference to the given []ModifierGroup and assigns it to the ModifierGroups field.
func (*MenuItem) SetNameTranslation ¶
SetNameTranslation gets a reference to the given map[string]string and assigns it to the NameTranslation field.
func (*MenuItem) SetPhotos ¶
SetPhotos gets a reference to the given []string and assigns it to the Photos field.
func (*MenuItem) SetPurchasability ¶
func (o *MenuItem) SetPurchasability(v Purchasability)
SetPurchasability gets a reference to the given Purchasability and assigns it to the Purchasability field.
func (*MenuItem) SetSellingTimeID ¶
SetSellingTimeID gets a reference to the given string and assigns it to the SellingTimeID field.
func (*MenuItem) SetSequence ¶ added in v1.0.1
SetSequence gets a reference to the given int32 and assigns it to the Sequence field.
func (*MenuItem) SetSpecialType ¶
SetSpecialType gets a reference to the given string and assigns it to the SpecialType field.
func (*MenuItem) SetTaxable ¶
SetTaxable gets a reference to the given bool and assigns it to the Taxable field.
func (*MenuItem) UnmarshalJSON ¶
type MenuModifier ¶
type MenuModifier struct { // The modifier's ID that is on the partner's system. This ID should be unique. Id string `json:"id"` // The name of the modifier. Name string `json:"name"` // Translation of the modifier name. Only support up to 1 translated language. Refer [Menu Translation](#section/Menu-Translation). NameTranslation *map[string]string `json:"nameTranslation,omitempty"` // The status for the modifier. Refer to FAQs for more details about [availableStatus](#section/Menu/What-is-availableStatus). AvailableStatus string `json:"availableStatus"` // The modifier's price in minor format. Refer to FAQs for more details about [tax](#section/Menu/Is-the-menu-price-with-or-without-tax). Price *int64 `json:"price,omitempty"` // The barcode Number (GTIN). GTIN must be 8, 12, 13, 14 numeric digits. Barcode *string `json:"barcode,omitempty"` // The sort or display order of the modifier within the menu. Sequence *int32 `json:"sequence,omitempty"` AdvancedPricing *AdvancedPricing `json:"advancedPricing,omitempty"` AdditionalProperties map[string]interface{} }
MenuModifier struct for MenuModifier
func NewMenuModifier ¶
func NewMenuModifier(id string, name string, availableStatus string) *MenuModifier
NewMenuModifier instantiates a new MenuModifier 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 NewMenuModifierWithDefaults ¶
func NewMenuModifierWithDefaults() *MenuModifier
NewMenuModifierWithDefaults instantiates a new MenuModifier 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 (*MenuModifier) GetAdvancedPricing ¶
func (o *MenuModifier) GetAdvancedPricing() AdvancedPricing
GetAdvancedPricing returns the AdvancedPricing field value if set, zero value otherwise.
func (*MenuModifier) GetAdvancedPricingOk ¶
func (o *MenuModifier) GetAdvancedPricingOk() (*AdvancedPricing, bool)
GetAdvancedPricingOk returns a tuple with the AdvancedPricing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuModifier) GetAvailableStatus ¶
func (o *MenuModifier) GetAvailableStatus() string
GetAvailableStatus returns the AvailableStatus field value
func (*MenuModifier) GetAvailableStatusOk ¶
func (o *MenuModifier) GetAvailableStatusOk() (*string, bool)
GetAvailableStatusOk returns a tuple with the AvailableStatus field value and a boolean to check if the value has been set.
func (*MenuModifier) GetBarcode ¶
func (o *MenuModifier) GetBarcode() string
GetBarcode returns the Barcode field value if set, zero value otherwise.
func (*MenuModifier) GetBarcodeOk ¶
func (o *MenuModifier) GetBarcodeOk() (*string, bool)
GetBarcodeOk returns a tuple with the Barcode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuModifier) GetIdOk ¶
func (o *MenuModifier) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MenuModifier) GetName ¶
func (o *MenuModifier) GetName() string
GetName returns the Name field value
func (*MenuModifier) GetNameOk ¶
func (o *MenuModifier) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*MenuModifier) GetNameTranslation ¶
func (o *MenuModifier) GetNameTranslation() map[string]string
GetNameTranslation returns the NameTranslation field value if set, zero value otherwise.
func (*MenuModifier) GetNameTranslationOk ¶
func (o *MenuModifier) GetNameTranslationOk() (*map[string]string, bool)
GetNameTranslationOk returns a tuple with the NameTranslation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuModifier) GetPrice ¶
func (o *MenuModifier) GetPrice() int64
GetPrice returns the Price field value if set, zero value otherwise.
func (*MenuModifier) GetPriceOk ¶
func (o *MenuModifier) GetPriceOk() (*int64, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuModifier) GetSequence ¶ added in v1.0.1
func (o *MenuModifier) GetSequence() int32
GetSequence returns the Sequence field value if set, zero value otherwise.
func (*MenuModifier) GetSequenceOk ¶ added in v1.0.1
func (o *MenuModifier) GetSequenceOk() (*int32, bool)
GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuModifier) HasAdvancedPricing ¶
func (o *MenuModifier) HasAdvancedPricing() bool
HasAdvancedPricing returns a boolean if a field has been set.
func (*MenuModifier) HasBarcode ¶
func (o *MenuModifier) HasBarcode() bool
HasBarcode returns a boolean if a field has been set.
func (*MenuModifier) HasNameTranslation ¶
func (o *MenuModifier) HasNameTranslation() bool
HasNameTranslation returns a boolean if a field has been set.
func (*MenuModifier) HasPrice ¶
func (o *MenuModifier) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*MenuModifier) HasSequence ¶ added in v1.0.1
func (o *MenuModifier) HasSequence() bool
HasSequence returns a boolean if a field has been set.
func (MenuModifier) MarshalJSON ¶
func (o MenuModifier) MarshalJSON() ([]byte, error)
func (*MenuModifier) SetAdvancedPricing ¶
func (o *MenuModifier) SetAdvancedPricing(v AdvancedPricing)
SetAdvancedPricing gets a reference to the given AdvancedPricing and assigns it to the AdvancedPricing field.
func (*MenuModifier) SetAvailableStatus ¶
func (o *MenuModifier) SetAvailableStatus(v string)
SetAvailableStatus sets field value
func (*MenuModifier) SetBarcode ¶
func (o *MenuModifier) SetBarcode(v string)
SetBarcode gets a reference to the given string and assigns it to the Barcode field.
func (*MenuModifier) SetNameTranslation ¶
func (o *MenuModifier) SetNameTranslation(v map[string]string)
SetNameTranslation gets a reference to the given map[string]string and assigns it to the NameTranslation field.
func (*MenuModifier) SetPrice ¶
func (o *MenuModifier) SetPrice(v int64)
SetPrice gets a reference to the given int64 and assigns it to the Price field.
func (*MenuModifier) SetSequence ¶ added in v1.0.1
func (o *MenuModifier) SetSequence(v int32)
SetSequence gets a reference to the given int32 and assigns it to the Sequence field.
func (MenuModifier) ToMap ¶
func (o MenuModifier) ToMap() (map[string]interface{}, error)
func (*MenuModifier) UnmarshalJSON ¶
func (o *MenuModifier) UnmarshalJSON(data []byte) (err error)
type MenuSection ¶
type MenuSection struct { // The section's ID in the partner system. Id string `json:"id"` // The name of the section. Name string `json:"name"` ServiceHours ServiceHours `json:"serviceHours"` // An array of category JSON objects. Max 100 allowed per section. Refer to [Categories](#categories) for more information. Categories []MenuSectionCategory `json:"categories"` AdditionalProperties map[string]interface{} }
MenuSection struct for MenuSection
func NewMenuSection ¶
func NewMenuSection(id string, name string, serviceHours ServiceHours, categories []MenuSectionCategory) *MenuSection
NewMenuSection instantiates a new MenuSection 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 NewMenuSectionWithDefaults ¶
func NewMenuSectionWithDefaults() *MenuSection
NewMenuSectionWithDefaults instantiates a new MenuSection 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 (*MenuSection) GetCategories ¶
func (o *MenuSection) GetCategories() []MenuSectionCategory
GetCategories returns the Categories field value
func (*MenuSection) GetCategoriesOk ¶
func (o *MenuSection) GetCategoriesOk() ([]MenuSectionCategory, bool)
GetCategoriesOk returns a tuple with the Categories field value and a boolean to check if the value has been set.
func (*MenuSection) GetIdOk ¶
func (o *MenuSection) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MenuSection) GetName ¶
func (o *MenuSection) GetName() string
GetName returns the Name field value
func (*MenuSection) GetNameOk ¶
func (o *MenuSection) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*MenuSection) GetServiceHours ¶
func (o *MenuSection) GetServiceHours() ServiceHours
GetServiceHours returns the ServiceHours field value
func (*MenuSection) GetServiceHoursOk ¶
func (o *MenuSection) GetServiceHoursOk() (*ServiceHours, bool)
GetServiceHoursOk returns a tuple with the ServiceHours field value and a boolean to check if the value has been set.
func (MenuSection) MarshalJSON ¶
func (o MenuSection) MarshalJSON() ([]byte, error)
func (*MenuSection) SetCategories ¶
func (o *MenuSection) SetCategories(v []MenuSectionCategory)
SetCategories sets field value
func (*MenuSection) SetServiceHours ¶
func (o *MenuSection) SetServiceHours(v ServiceHours)
SetServiceHours sets field value
func (MenuSection) ToMap ¶
func (o MenuSection) ToMap() (map[string]interface{}, error)
func (*MenuSection) UnmarshalJSON ¶
func (o *MenuSection) UnmarshalJSON(data []byte) (err error)
type MenuSectionCategory ¶
type MenuSectionCategory struct { // 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. Id string `json:"id"` // The name of the category. Name string `json:"name"` // Translation of the category name. Only support up to 1 translated language. Refer [Menu Translation](#section/Menu-Translation). NameTranslation *map[string]string `json:"nameTranslation,omitempty"` // The status for the category. Refer to FAQs for more details about [availableStatus](#section/Menu/What-is-availableStatus). AvailableStatus string `json:"availableStatus"` // An array of item JSON objects. Max 300 allowed per category. Refer to [Items](#items) for more information. Items []MenuSectionCategoryItem `json:"items"` AdditionalProperties map[string]interface{} }
MenuSectionCategory struct for MenuSectionCategory
func NewMenuSectionCategory ¶
func NewMenuSectionCategory(id string, name string, availableStatus string, items []MenuSectionCategoryItem) *MenuSectionCategory
NewMenuSectionCategory instantiates a new MenuSectionCategory 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 NewMenuSectionCategoryWithDefaults ¶
func NewMenuSectionCategoryWithDefaults() *MenuSectionCategory
NewMenuSectionCategoryWithDefaults instantiates a new MenuSectionCategory 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 (*MenuSectionCategory) GetAvailableStatus ¶
func (o *MenuSectionCategory) GetAvailableStatus() string
GetAvailableStatus returns the AvailableStatus field value
func (*MenuSectionCategory) GetAvailableStatusOk ¶
func (o *MenuSectionCategory) GetAvailableStatusOk() (*string, bool)
GetAvailableStatusOk returns a tuple with the AvailableStatus field value and a boolean to check if the value has been set.
func (*MenuSectionCategory) GetId ¶
func (o *MenuSectionCategory) GetId() string
GetId returns the Id field value
func (*MenuSectionCategory) GetIdOk ¶
func (o *MenuSectionCategory) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MenuSectionCategory) GetItems ¶
func (o *MenuSectionCategory) GetItems() []MenuSectionCategoryItem
GetItems returns the Items field value
func (*MenuSectionCategory) GetItemsOk ¶
func (o *MenuSectionCategory) GetItemsOk() ([]MenuSectionCategoryItem, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*MenuSectionCategory) GetName ¶
func (o *MenuSectionCategory) GetName() string
GetName returns the Name field value
func (*MenuSectionCategory) GetNameOk ¶
func (o *MenuSectionCategory) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*MenuSectionCategory) GetNameTranslation ¶
func (o *MenuSectionCategory) GetNameTranslation() map[string]string
GetNameTranslation returns the NameTranslation field value if set, zero value otherwise.
func (*MenuSectionCategory) GetNameTranslationOk ¶
func (o *MenuSectionCategory) GetNameTranslationOk() (*map[string]string, bool)
GetNameTranslationOk returns a tuple with the NameTranslation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategory) HasNameTranslation ¶
func (o *MenuSectionCategory) HasNameTranslation() bool
HasNameTranslation returns a boolean if a field has been set.
func (MenuSectionCategory) MarshalJSON ¶
func (o MenuSectionCategory) MarshalJSON() ([]byte, error)
func (*MenuSectionCategory) SetAvailableStatus ¶
func (o *MenuSectionCategory) SetAvailableStatus(v string)
SetAvailableStatus sets field value
func (*MenuSectionCategory) SetId ¶
func (o *MenuSectionCategory) SetId(v string)
SetId sets field value
func (*MenuSectionCategory) SetItems ¶
func (o *MenuSectionCategory) SetItems(v []MenuSectionCategoryItem)
SetItems sets field value
func (*MenuSectionCategory) SetName ¶
func (o *MenuSectionCategory) SetName(v string)
SetName sets field value
func (*MenuSectionCategory) SetNameTranslation ¶
func (o *MenuSectionCategory) SetNameTranslation(v map[string]string)
SetNameTranslation gets a reference to the given map[string]string and assigns it to the NameTranslation field.
func (MenuSectionCategory) ToMap ¶
func (o MenuSectionCategory) ToMap() (map[string]interface{}, error)
func (*MenuSectionCategory) UnmarshalJSON ¶
func (o *MenuSectionCategory) UnmarshalJSON(data []byte) (err error)
type MenuSectionCategoryItem ¶
type MenuSectionCategoryItem struct { // The item's ID in the partner system. Id string `json:"id"` // The name of the item. Name string `json:"name"` // Translation of the item name. Only support up to 1 translated language. Refer [Menu Translation](#section/Menu-Translation). NameTranslation *map[string]string `json:"nameTranslation,omitempty"` // The status for the item that is in the category. Refer to FAQs for more details about [availableStatus](#section/Menu/What-is-availableStatus). Note: In order to set an item as \"UNAVAILABLE\", it is required to update both the `availableStatus` and `maxStock` fields, whereby the `maxStock` value should be set to 0. AvailableStatus string `json:"availableStatus"` // The description of the item. There is a custom length limit of 2000 for `VN`. Description *string `json:"description,omitempty"` // Translation of the item description. Only support up to 1 translated language. Refer [Menu Translation](#section/Menu-Translation). DescriptionTranslation *map[string]string `json:"descriptionTranslation,omitempty"` // The item's price (excluding tax) in minor format. For example: 1900 means $19 with `currency.exponent` as 2. Refer to [FAQ](#section/Menu/Is-the-item-price-with-or-without-tax) for more details. Price int32 `json:"price"` // An array string for the item’s image URL links. Refer to FAQs for more details about [images](#section/Menu/What-are-the-recommended-formats-for-an-item-image). Photos []string `json:"photos,omitempty"` // The item's special Tag. Refer to FAQs for more details about [specialType](#section/Menu/What's-specialType). SpecialType *string `json:"specialType,omitempty"` // **For Indonesia only.** This field allows the configuration for an item to be marked as tax applicable, and marked item would then be included in a commercial invoice to consumers as per the government's regulations. Taxable *bool `json:"taxable,omitempty"` // The barcode Number (GTIN). Max 64 allowed. GTIN must be 8, 12, 13, 14 numeric digits. Barcode *string `json:"barcode,omitempty"` // Available stocks under inventory for this item. Auto reduce when there is order placed for this item. Empty value implies no limit. Note: It is necessary to set `maxStock` to 0 if the `availableStatus` of the item is \"UNAVAILABLE\". Item will be set to \"AVAILABLE\" if `maxStock` > 0. MaxStock *int32 `json:"maxStock,omitempty"` AdvancedPricing *AdvancedPricing `json:"advancedPricing,omitempty"` Purchasability *Purchasability `json:"purchasability,omitempty"` // An array of the modifierGroup JSON objects. Max 30 allowed per item. Refer to [Modifier groups](#modifier-groups) for more information. ModifierGroups []ModifierGroup `json:"modifierGroups,omitempty"` AdditionalProperties map[string]interface{} }
MenuSectionCategoryItem struct for MenuSectionCategoryItem
func NewMenuSectionCategoryItem ¶
func NewMenuSectionCategoryItem(id string, name string, availableStatus string, price int32) *MenuSectionCategoryItem
NewMenuSectionCategoryItem instantiates a new MenuSectionCategoryItem 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 NewMenuSectionCategoryItemWithDefaults ¶
func NewMenuSectionCategoryItemWithDefaults() *MenuSectionCategoryItem
NewMenuSectionCategoryItemWithDefaults instantiates a new MenuSectionCategoryItem 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 (*MenuSectionCategoryItem) GetAdvancedPricing ¶
func (o *MenuSectionCategoryItem) GetAdvancedPricing() AdvancedPricing
GetAdvancedPricing returns the AdvancedPricing field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetAdvancedPricingOk ¶
func (o *MenuSectionCategoryItem) GetAdvancedPricingOk() (*AdvancedPricing, bool)
GetAdvancedPricingOk returns a tuple with the AdvancedPricing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetAvailableStatus ¶
func (o *MenuSectionCategoryItem) GetAvailableStatus() string
GetAvailableStatus returns the AvailableStatus field value
func (*MenuSectionCategoryItem) GetAvailableStatusOk ¶
func (o *MenuSectionCategoryItem) GetAvailableStatusOk() (*string, bool)
GetAvailableStatusOk returns a tuple with the AvailableStatus field value and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetBarcode ¶
func (o *MenuSectionCategoryItem) GetBarcode() string
GetBarcode returns the Barcode field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetBarcodeOk ¶
func (o *MenuSectionCategoryItem) GetBarcodeOk() (*string, bool)
GetBarcodeOk returns a tuple with the Barcode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetDescription ¶
func (o *MenuSectionCategoryItem) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetDescriptionOk ¶
func (o *MenuSectionCategoryItem) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetDescriptionTranslation ¶
func (o *MenuSectionCategoryItem) GetDescriptionTranslation() map[string]string
GetDescriptionTranslation returns the DescriptionTranslation field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetDescriptionTranslationOk ¶
func (o *MenuSectionCategoryItem) GetDescriptionTranslationOk() (*map[string]string, bool)
GetDescriptionTranslationOk returns a tuple with the DescriptionTranslation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetId ¶
func (o *MenuSectionCategoryItem) GetId() string
GetId returns the Id field value
func (*MenuSectionCategoryItem) GetIdOk ¶
func (o *MenuSectionCategoryItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetMaxStock ¶
func (o *MenuSectionCategoryItem) GetMaxStock() int32
GetMaxStock returns the MaxStock field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetMaxStockOk ¶
func (o *MenuSectionCategoryItem) GetMaxStockOk() (*int32, bool)
GetMaxStockOk returns a tuple with the MaxStock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetModifierGroups ¶
func (o *MenuSectionCategoryItem) GetModifierGroups() []ModifierGroup
GetModifierGroups returns the ModifierGroups field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetModifierGroupsOk ¶
func (o *MenuSectionCategoryItem) GetModifierGroupsOk() ([]ModifierGroup, bool)
GetModifierGroupsOk returns a tuple with the ModifierGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetName ¶
func (o *MenuSectionCategoryItem) GetName() string
GetName returns the Name field value
func (*MenuSectionCategoryItem) GetNameOk ¶
func (o *MenuSectionCategoryItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetNameTranslation ¶
func (o *MenuSectionCategoryItem) GetNameTranslation() map[string]string
GetNameTranslation returns the NameTranslation field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetNameTranslationOk ¶
func (o *MenuSectionCategoryItem) GetNameTranslationOk() (*map[string]string, bool)
GetNameTranslationOk returns a tuple with the NameTranslation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetPhotos ¶
func (o *MenuSectionCategoryItem) GetPhotos() []string
GetPhotos returns the Photos field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetPhotosOk ¶
func (o *MenuSectionCategoryItem) GetPhotosOk() ([]string, bool)
GetPhotosOk returns a tuple with the Photos field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetPrice ¶
func (o *MenuSectionCategoryItem) GetPrice() int32
GetPrice returns the Price field value
func (*MenuSectionCategoryItem) GetPriceOk ¶
func (o *MenuSectionCategoryItem) GetPriceOk() (*int32, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetPurchasability ¶
func (o *MenuSectionCategoryItem) GetPurchasability() Purchasability
GetPurchasability returns the Purchasability field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetPurchasabilityOk ¶
func (o *MenuSectionCategoryItem) GetPurchasabilityOk() (*Purchasability, bool)
GetPurchasabilityOk returns a tuple with the Purchasability field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetSpecialType ¶
func (o *MenuSectionCategoryItem) GetSpecialType() string
GetSpecialType returns the SpecialType field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetSpecialTypeOk ¶
func (o *MenuSectionCategoryItem) GetSpecialTypeOk() (*string, bool)
GetSpecialTypeOk returns a tuple with the SpecialType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) GetTaxable ¶
func (o *MenuSectionCategoryItem) GetTaxable() bool
GetTaxable returns the Taxable field value if set, zero value otherwise.
func (*MenuSectionCategoryItem) GetTaxableOk ¶
func (o *MenuSectionCategoryItem) GetTaxableOk() (*bool, bool)
GetTaxableOk returns a tuple with the Taxable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSectionCategoryItem) HasAdvancedPricing ¶
func (o *MenuSectionCategoryItem) HasAdvancedPricing() bool
HasAdvancedPricing returns a boolean if a field has been set.
func (*MenuSectionCategoryItem) HasBarcode ¶
func (o *MenuSectionCategoryItem) HasBarcode() bool
HasBarcode returns a boolean if a field has been set.
func (*MenuSectionCategoryItem) HasDescription ¶
func (o *MenuSectionCategoryItem) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*MenuSectionCategoryItem) HasDescriptionTranslation ¶
func (o *MenuSectionCategoryItem) HasDescriptionTranslation() bool
HasDescriptionTranslation returns a boolean if a field has been set.
func (*MenuSectionCategoryItem) HasMaxStock ¶
func (o *MenuSectionCategoryItem) HasMaxStock() bool
HasMaxStock returns a boolean if a field has been set.
func (*MenuSectionCategoryItem) HasModifierGroups ¶
func (o *MenuSectionCategoryItem) HasModifierGroups() bool
HasModifierGroups returns a boolean if a field has been set.
func (*MenuSectionCategoryItem) HasNameTranslation ¶
func (o *MenuSectionCategoryItem) HasNameTranslation() bool
HasNameTranslation returns a boolean if a field has been set.
func (*MenuSectionCategoryItem) HasPhotos ¶
func (o *MenuSectionCategoryItem) HasPhotos() bool
HasPhotos returns a boolean if a field has been set.
func (*MenuSectionCategoryItem) HasPurchasability ¶
func (o *MenuSectionCategoryItem) HasPurchasability() bool
HasPurchasability returns a boolean if a field has been set.
func (*MenuSectionCategoryItem) HasSpecialType ¶
func (o *MenuSectionCategoryItem) HasSpecialType() bool
HasSpecialType returns a boolean if a field has been set.
func (*MenuSectionCategoryItem) HasTaxable ¶
func (o *MenuSectionCategoryItem) HasTaxable() bool
HasTaxable returns a boolean if a field has been set.
func (MenuSectionCategoryItem) MarshalJSON ¶
func (o MenuSectionCategoryItem) MarshalJSON() ([]byte, error)
func (*MenuSectionCategoryItem) SetAdvancedPricing ¶
func (o *MenuSectionCategoryItem) SetAdvancedPricing(v AdvancedPricing)
SetAdvancedPricing gets a reference to the given AdvancedPricing and assigns it to the AdvancedPricing field.
func (*MenuSectionCategoryItem) SetAvailableStatus ¶
func (o *MenuSectionCategoryItem) SetAvailableStatus(v string)
SetAvailableStatus sets field value
func (*MenuSectionCategoryItem) SetBarcode ¶
func (o *MenuSectionCategoryItem) SetBarcode(v string)
SetBarcode gets a reference to the given string and assigns it to the Barcode field.
func (*MenuSectionCategoryItem) SetDescription ¶
func (o *MenuSectionCategoryItem) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*MenuSectionCategoryItem) SetDescriptionTranslation ¶
func (o *MenuSectionCategoryItem) SetDescriptionTranslation(v map[string]string)
SetDescriptionTranslation gets a reference to the given map[string]string and assigns it to the DescriptionTranslation field.
func (*MenuSectionCategoryItem) SetId ¶
func (o *MenuSectionCategoryItem) SetId(v string)
SetId sets field value
func (*MenuSectionCategoryItem) SetMaxStock ¶
func (o *MenuSectionCategoryItem) SetMaxStock(v int32)
SetMaxStock gets a reference to the given int32 and assigns it to the MaxStock field.
func (*MenuSectionCategoryItem) SetModifierGroups ¶
func (o *MenuSectionCategoryItem) SetModifierGroups(v []ModifierGroup)
SetModifierGroups gets a reference to the given []ModifierGroup and assigns it to the ModifierGroups field.
func (*MenuSectionCategoryItem) SetName ¶
func (o *MenuSectionCategoryItem) SetName(v string)
SetName sets field value
func (*MenuSectionCategoryItem) SetNameTranslation ¶
func (o *MenuSectionCategoryItem) SetNameTranslation(v map[string]string)
SetNameTranslation gets a reference to the given map[string]string and assigns it to the NameTranslation field.
func (*MenuSectionCategoryItem) SetPhotos ¶
func (o *MenuSectionCategoryItem) SetPhotos(v []string)
SetPhotos gets a reference to the given []string and assigns it to the Photos field.
func (*MenuSectionCategoryItem) SetPrice ¶
func (o *MenuSectionCategoryItem) SetPrice(v int32)
SetPrice sets field value
func (*MenuSectionCategoryItem) SetPurchasability ¶
func (o *MenuSectionCategoryItem) SetPurchasability(v Purchasability)
SetPurchasability gets a reference to the given Purchasability and assigns it to the Purchasability field.
func (*MenuSectionCategoryItem) SetSpecialType ¶
func (o *MenuSectionCategoryItem) SetSpecialType(v string)
SetSpecialType gets a reference to the given string and assigns it to the SpecialType field.
func (*MenuSectionCategoryItem) SetTaxable ¶
func (o *MenuSectionCategoryItem) SetTaxable(v bool)
SetTaxable gets a reference to the given bool and assigns it to the Taxable field.
func (MenuSectionCategoryItem) ToMap ¶
func (o MenuSectionCategoryItem) ToMap() (map[string]interface{}, error)
func (*MenuSectionCategoryItem) UnmarshalJSON ¶
func (o *MenuSectionCategoryItem) UnmarshalJSON(data []byte) (err error)
type MenuSyncFail ¶
type MenuSyncFail struct { Id *string `json:"id,omitempty"` // An array of strings of error message. Errors []string `json:"errors,omitempty"` ServiceHours *MenuSyncFailServiceHours `json:"serviceHours,omitempty"` Categories []MenuSyncFailCategory `json:"categories,omitempty"` AdditionalProperties map[string]interface{} }
MenuSyncFail struct for MenuSyncFail
func NewMenuSyncFail ¶
func NewMenuSyncFail() *MenuSyncFail
NewMenuSyncFail instantiates a new MenuSyncFail 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 NewMenuSyncFailWithDefaults ¶
func NewMenuSyncFailWithDefaults() *MenuSyncFail
NewMenuSyncFailWithDefaults instantiates a new MenuSyncFail 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 (*MenuSyncFail) GetCategories ¶
func (o *MenuSyncFail) GetCategories() []MenuSyncFailCategory
GetCategories returns the Categories field value if set, zero value otherwise.
func (*MenuSyncFail) GetCategoriesOk ¶
func (o *MenuSyncFail) GetCategoriesOk() ([]MenuSyncFailCategory, bool)
GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFail) GetErrors ¶
func (o *MenuSyncFail) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*MenuSyncFail) GetErrorsOk ¶
func (o *MenuSyncFail) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFail) GetId ¶
func (o *MenuSyncFail) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MenuSyncFail) GetIdOk ¶
func (o *MenuSyncFail) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFail) GetServiceHours ¶
func (o *MenuSyncFail) GetServiceHours() MenuSyncFailServiceHours
GetServiceHours returns the ServiceHours field value if set, zero value otherwise.
func (*MenuSyncFail) GetServiceHoursOk ¶
func (o *MenuSyncFail) GetServiceHoursOk() (*MenuSyncFailServiceHours, bool)
GetServiceHoursOk returns a tuple with the ServiceHours field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFail) HasCategories ¶
func (o *MenuSyncFail) HasCategories() bool
HasCategories returns a boolean if a field has been set.
func (*MenuSyncFail) HasErrors ¶
func (o *MenuSyncFail) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*MenuSyncFail) HasId ¶
func (o *MenuSyncFail) HasId() bool
HasId returns a boolean if a field has been set.
func (*MenuSyncFail) HasServiceHours ¶
func (o *MenuSyncFail) HasServiceHours() bool
HasServiceHours returns a boolean if a field has been set.
func (MenuSyncFail) MarshalJSON ¶
func (o MenuSyncFail) MarshalJSON() ([]byte, error)
func (*MenuSyncFail) SetCategories ¶
func (o *MenuSyncFail) SetCategories(v []MenuSyncFailCategory)
SetCategories gets a reference to the given []MenuSyncFailCategory and assigns it to the Categories field.
func (*MenuSyncFail) SetErrors ¶
func (o *MenuSyncFail) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*MenuSyncFail) SetId ¶
func (o *MenuSyncFail) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MenuSyncFail) SetServiceHours ¶
func (o *MenuSyncFail) SetServiceHours(v MenuSyncFailServiceHours)
SetServiceHours gets a reference to the given MenuSyncFailServiceHours and assigns it to the ServiceHours field.
func (MenuSyncFail) ToMap ¶
func (o MenuSyncFail) ToMap() (map[string]interface{}, error)
func (*MenuSyncFail) UnmarshalJSON ¶
func (o *MenuSyncFail) UnmarshalJSON(data []byte) (err error)
type MenuSyncFailCategory ¶
type MenuSyncFailCategory struct { // 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. Id *string `json:"id,omitempty"` // An array of strings of error message. Errors []string `json:"errors,omitempty"` // An array of item JSON objects. Max 300 allowed per category. Refer to [Items](#items) for more information. Items []MenuSyncFailItem `json:"items,omitempty"` AdditionalProperties map[string]interface{} }
MenuSyncFailCategory struct for MenuSyncFailCategory
func NewMenuSyncFailCategory ¶
func NewMenuSyncFailCategory() *MenuSyncFailCategory
NewMenuSyncFailCategory instantiates a new MenuSyncFailCategory 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 NewMenuSyncFailCategoryWithDefaults ¶
func NewMenuSyncFailCategoryWithDefaults() *MenuSyncFailCategory
NewMenuSyncFailCategoryWithDefaults instantiates a new MenuSyncFailCategory 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 (*MenuSyncFailCategory) GetErrors ¶
func (o *MenuSyncFailCategory) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*MenuSyncFailCategory) GetErrorsOk ¶
func (o *MenuSyncFailCategory) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailCategory) GetId ¶
func (o *MenuSyncFailCategory) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MenuSyncFailCategory) GetIdOk ¶
func (o *MenuSyncFailCategory) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailCategory) GetItems ¶
func (o *MenuSyncFailCategory) GetItems() []MenuSyncFailItem
GetItems returns the Items field value if set, zero value otherwise.
func (*MenuSyncFailCategory) GetItemsOk ¶
func (o *MenuSyncFailCategory) GetItemsOk() ([]MenuSyncFailItem, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailCategory) HasErrors ¶
func (o *MenuSyncFailCategory) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*MenuSyncFailCategory) HasId ¶
func (o *MenuSyncFailCategory) HasId() bool
HasId returns a boolean if a field has been set.
func (*MenuSyncFailCategory) HasItems ¶
func (o *MenuSyncFailCategory) HasItems() bool
HasItems returns a boolean if a field has been set.
func (MenuSyncFailCategory) MarshalJSON ¶
func (o MenuSyncFailCategory) MarshalJSON() ([]byte, error)
func (*MenuSyncFailCategory) SetErrors ¶
func (o *MenuSyncFailCategory) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*MenuSyncFailCategory) SetId ¶
func (o *MenuSyncFailCategory) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MenuSyncFailCategory) SetItems ¶
func (o *MenuSyncFailCategory) SetItems(v []MenuSyncFailItem)
SetItems gets a reference to the given []MenuSyncFailItem and assigns it to the Items field.
func (MenuSyncFailCategory) ToMap ¶
func (o MenuSyncFailCategory) ToMap() (map[string]interface{}, error)
func (*MenuSyncFailCategory) UnmarshalJSON ¶
func (o *MenuSyncFailCategory) UnmarshalJSON(data []byte) (err error)
type MenuSyncFailItem ¶
type MenuSyncFailItem struct { // The item's ID in the partner system. Id *string `json:"id,omitempty"` // An array of strings of error message. Errors []string `json:"errors,omitempty"` ModifierGroups []MenuSyncFailModifierGroup `json:"modifierGroups,omitempty"` AdditionalProperties map[string]interface{} }
MenuSyncFailItem struct for MenuSyncFailItem
func NewMenuSyncFailItem ¶
func NewMenuSyncFailItem() *MenuSyncFailItem
NewMenuSyncFailItem instantiates a new MenuSyncFailItem 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 NewMenuSyncFailItemWithDefaults ¶
func NewMenuSyncFailItemWithDefaults() *MenuSyncFailItem
NewMenuSyncFailItemWithDefaults instantiates a new MenuSyncFailItem 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 (*MenuSyncFailItem) GetErrors ¶
func (o *MenuSyncFailItem) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*MenuSyncFailItem) GetErrorsOk ¶
func (o *MenuSyncFailItem) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailItem) GetId ¶
func (o *MenuSyncFailItem) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MenuSyncFailItem) GetIdOk ¶
func (o *MenuSyncFailItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailItem) GetModifierGroups ¶
func (o *MenuSyncFailItem) GetModifierGroups() []MenuSyncFailModifierGroup
GetModifierGroups returns the ModifierGroups field value if set, zero value otherwise.
func (*MenuSyncFailItem) GetModifierGroupsOk ¶
func (o *MenuSyncFailItem) GetModifierGroupsOk() ([]MenuSyncFailModifierGroup, bool)
GetModifierGroupsOk returns a tuple with the ModifierGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailItem) HasErrors ¶
func (o *MenuSyncFailItem) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*MenuSyncFailItem) HasId ¶
func (o *MenuSyncFailItem) HasId() bool
HasId returns a boolean if a field has been set.
func (*MenuSyncFailItem) HasModifierGroups ¶
func (o *MenuSyncFailItem) HasModifierGroups() bool
HasModifierGroups returns a boolean if a field has been set.
func (MenuSyncFailItem) MarshalJSON ¶
func (o MenuSyncFailItem) MarshalJSON() ([]byte, error)
func (*MenuSyncFailItem) SetErrors ¶
func (o *MenuSyncFailItem) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*MenuSyncFailItem) SetId ¶
func (o *MenuSyncFailItem) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MenuSyncFailItem) SetModifierGroups ¶
func (o *MenuSyncFailItem) SetModifierGroups(v []MenuSyncFailModifierGroup)
SetModifierGroups gets a reference to the given []MenuSyncFailModifierGroup and assigns it to the ModifierGroups field.
func (MenuSyncFailItem) ToMap ¶
func (o MenuSyncFailItem) ToMap() (map[string]interface{}, error)
func (*MenuSyncFailItem) UnmarshalJSON ¶
func (o *MenuSyncFailItem) UnmarshalJSON(data []byte) (err error)
type MenuSyncFailModifier ¶
type MenuSyncFailModifier struct { Id *string `json:"id,omitempty"` // An array of strings of error message. Errors []string `json:"errors,omitempty"` AdditionalProperties map[string]interface{} }
MenuSyncFailModifier struct for MenuSyncFailModifier
func NewMenuSyncFailModifier ¶
func NewMenuSyncFailModifier() *MenuSyncFailModifier
NewMenuSyncFailModifier instantiates a new MenuSyncFailModifier 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 NewMenuSyncFailModifierWithDefaults ¶
func NewMenuSyncFailModifierWithDefaults() *MenuSyncFailModifier
NewMenuSyncFailModifierWithDefaults instantiates a new MenuSyncFailModifier 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 (*MenuSyncFailModifier) GetErrors ¶
func (o *MenuSyncFailModifier) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*MenuSyncFailModifier) GetErrorsOk ¶
func (o *MenuSyncFailModifier) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailModifier) GetId ¶
func (o *MenuSyncFailModifier) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MenuSyncFailModifier) GetIdOk ¶
func (o *MenuSyncFailModifier) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailModifier) HasErrors ¶
func (o *MenuSyncFailModifier) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*MenuSyncFailModifier) HasId ¶
func (o *MenuSyncFailModifier) HasId() bool
HasId returns a boolean if a field has been set.
func (MenuSyncFailModifier) MarshalJSON ¶
func (o MenuSyncFailModifier) MarshalJSON() ([]byte, error)
func (*MenuSyncFailModifier) SetErrors ¶
func (o *MenuSyncFailModifier) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*MenuSyncFailModifier) SetId ¶
func (o *MenuSyncFailModifier) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (MenuSyncFailModifier) ToMap ¶
func (o MenuSyncFailModifier) ToMap() (map[string]interface{}, error)
func (*MenuSyncFailModifier) UnmarshalJSON ¶
func (o *MenuSyncFailModifier) UnmarshalJSON(data []byte) (err error)
type MenuSyncFailModifierGroup ¶
type MenuSyncFailModifierGroup struct { Id *string `json:"id,omitempty"` // An array of strings of error message. Errors []string `json:"errors,omitempty"` Modifiers []MenuSyncFailModifier `json:"modifiers,omitempty"` AdditionalProperties map[string]interface{} }
MenuSyncFailModifierGroup struct for MenuSyncFailModifierGroup
func NewMenuSyncFailModifierGroup ¶
func NewMenuSyncFailModifierGroup() *MenuSyncFailModifierGroup
NewMenuSyncFailModifierGroup instantiates a new MenuSyncFailModifierGroup 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 NewMenuSyncFailModifierGroupWithDefaults ¶
func NewMenuSyncFailModifierGroupWithDefaults() *MenuSyncFailModifierGroup
NewMenuSyncFailModifierGroupWithDefaults instantiates a new MenuSyncFailModifierGroup 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 (*MenuSyncFailModifierGroup) GetErrors ¶
func (o *MenuSyncFailModifierGroup) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*MenuSyncFailModifierGroup) GetErrorsOk ¶
func (o *MenuSyncFailModifierGroup) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailModifierGroup) GetId ¶
func (o *MenuSyncFailModifierGroup) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MenuSyncFailModifierGroup) GetIdOk ¶
func (o *MenuSyncFailModifierGroup) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailModifierGroup) GetModifiers ¶
func (o *MenuSyncFailModifierGroup) GetModifiers() []MenuSyncFailModifier
GetModifiers returns the Modifiers field value if set, zero value otherwise.
func (*MenuSyncFailModifierGroup) GetModifiersOk ¶
func (o *MenuSyncFailModifierGroup) GetModifiersOk() ([]MenuSyncFailModifier, bool)
GetModifiersOk returns a tuple with the Modifiers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailModifierGroup) HasErrors ¶
func (o *MenuSyncFailModifierGroup) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*MenuSyncFailModifierGroup) HasId ¶
func (o *MenuSyncFailModifierGroup) HasId() bool
HasId returns a boolean if a field has been set.
func (*MenuSyncFailModifierGroup) HasModifiers ¶
func (o *MenuSyncFailModifierGroup) HasModifiers() bool
HasModifiers returns a boolean if a field has been set.
func (MenuSyncFailModifierGroup) MarshalJSON ¶
func (o MenuSyncFailModifierGroup) MarshalJSON() ([]byte, error)
func (*MenuSyncFailModifierGroup) SetErrors ¶
func (o *MenuSyncFailModifierGroup) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*MenuSyncFailModifierGroup) SetId ¶
func (o *MenuSyncFailModifierGroup) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MenuSyncFailModifierGroup) SetModifiers ¶
func (o *MenuSyncFailModifierGroup) SetModifiers(v []MenuSyncFailModifier)
SetModifiers gets a reference to the given []MenuSyncFailModifier and assigns it to the Modifiers field.
func (MenuSyncFailModifierGroup) ToMap ¶
func (o MenuSyncFailModifierGroup) ToMap() (map[string]interface{}, error)
func (*MenuSyncFailModifierGroup) UnmarshalJSON ¶
func (o *MenuSyncFailModifierGroup) UnmarshalJSON(data []byte) (err error)
type MenuSyncFailServiceHours ¶
type MenuSyncFailServiceHours struct { // An array of strings of error message. Errors []string `json:"errors,omitempty"` AdditionalProperties map[string]interface{} }
MenuSyncFailServiceHours struct for MenuSyncFailServiceHours
func NewMenuSyncFailServiceHours ¶
func NewMenuSyncFailServiceHours() *MenuSyncFailServiceHours
NewMenuSyncFailServiceHours instantiates a new MenuSyncFailServiceHours 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 NewMenuSyncFailServiceHoursWithDefaults ¶
func NewMenuSyncFailServiceHoursWithDefaults() *MenuSyncFailServiceHours
NewMenuSyncFailServiceHoursWithDefaults instantiates a new MenuSyncFailServiceHours 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 (*MenuSyncFailServiceHours) GetErrors ¶
func (o *MenuSyncFailServiceHours) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*MenuSyncFailServiceHours) GetErrorsOk ¶
func (o *MenuSyncFailServiceHours) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncFailServiceHours) HasErrors ¶
func (o *MenuSyncFailServiceHours) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (MenuSyncFailServiceHours) MarshalJSON ¶
func (o MenuSyncFailServiceHours) MarshalJSON() ([]byte, error)
func (*MenuSyncFailServiceHours) SetErrors ¶
func (o *MenuSyncFailServiceHours) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (MenuSyncFailServiceHours) ToMap ¶
func (o MenuSyncFailServiceHours) ToMap() (map[string]interface{}, error)
func (*MenuSyncFailServiceHours) UnmarshalJSON ¶
func (o *MenuSyncFailServiceHours) UnmarshalJSON(data []byte) (err error)
type MenuSyncResponse ¶
type MenuSyncResponse struct { // The Unix time the specified menu was created in GrabFood's database. CreatedTime time.Time `json:"createdTime"` // The Unix time the specified menu was created in GrabFood's database. UpdatedTime time.Time `json:"updatedTime"` // The status code for this request. See [Menu sync response statuses](#section/Menu-sync-response-statuses) for more information. Code string `json:"code"` // An array of strings of error message. Errors []string `json:"errors,omitempty"` Sections []MenuSyncFail `json:"sections,omitempty"` AdditionalProperties map[string]interface{} }
MenuSyncResponse
func NewMenuSyncResponse ¶
func NewMenuSyncResponse(createdTime time.Time, updatedTime time.Time, code string) *MenuSyncResponse
NewMenuSyncResponse instantiates a new MenuSyncResponse 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 NewMenuSyncResponseWithDefaults ¶
func NewMenuSyncResponseWithDefaults() *MenuSyncResponse
NewMenuSyncResponseWithDefaults instantiates a new MenuSyncResponse 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 (*MenuSyncResponse) GetCode ¶
func (o *MenuSyncResponse) GetCode() string
GetCode returns the Code field value
func (*MenuSyncResponse) GetCodeOk ¶
func (o *MenuSyncResponse) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*MenuSyncResponse) GetCreatedTime ¶
func (o *MenuSyncResponse) GetCreatedTime() time.Time
GetCreatedTime returns the CreatedTime field value
func (*MenuSyncResponse) GetCreatedTimeOk ¶
func (o *MenuSyncResponse) GetCreatedTimeOk() (*time.Time, bool)
GetCreatedTimeOk returns a tuple with the CreatedTime field value and a boolean to check if the value has been set.
func (*MenuSyncResponse) GetErrors ¶
func (o *MenuSyncResponse) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MenuSyncResponse) GetErrorsOk ¶
func (o *MenuSyncResponse) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MenuSyncResponse) GetSections ¶
func (o *MenuSyncResponse) GetSections() []MenuSyncFail
GetSections returns the Sections field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MenuSyncResponse) GetSectionsOk ¶
func (o *MenuSyncResponse) GetSectionsOk() ([]MenuSyncFail, bool)
GetSectionsOk returns a tuple with the Sections field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MenuSyncResponse) GetUpdatedTime ¶
func (o *MenuSyncResponse) GetUpdatedTime() time.Time
GetUpdatedTime returns the UpdatedTime field value
func (*MenuSyncResponse) GetUpdatedTimeOk ¶
func (o *MenuSyncResponse) GetUpdatedTimeOk() (*time.Time, bool)
GetUpdatedTimeOk returns a tuple with the UpdatedTime field value and a boolean to check if the value has been set.
func (*MenuSyncResponse) HasErrors ¶
func (o *MenuSyncResponse) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*MenuSyncResponse) HasSections ¶
func (o *MenuSyncResponse) HasSections() bool
HasSections returns a boolean if a field has been set.
func (MenuSyncResponse) MarshalJSON ¶
func (o MenuSyncResponse) MarshalJSON() ([]byte, error)
func (*MenuSyncResponse) SetCode ¶
func (o *MenuSyncResponse) SetCode(v string)
SetCode sets field value
func (*MenuSyncResponse) SetCreatedTime ¶
func (o *MenuSyncResponse) SetCreatedTime(v time.Time)
SetCreatedTime sets field value
func (*MenuSyncResponse) SetErrors ¶
func (o *MenuSyncResponse) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*MenuSyncResponse) SetSections ¶
func (o *MenuSyncResponse) SetSections(v []MenuSyncFail)
SetSections gets a reference to the given []MenuSyncFail and assigns it to the Sections field.
func (*MenuSyncResponse) SetUpdatedTime ¶
func (o *MenuSyncResponse) SetUpdatedTime(v time.Time)
SetUpdatedTime sets field value
func (MenuSyncResponse) ToMap ¶
func (o MenuSyncResponse) ToMap() (map[string]interface{}, error)
func (*MenuSyncResponse) UnmarshalJSON ¶
func (o *MenuSyncResponse) UnmarshalJSON(data []byte) (err error)
type MenuSyncWebhookRequest ¶
type MenuSyncWebhookRequest struct { // An universally unique identifier (UUID) string. Used to uniquely identify a webhook request. Partners should use this value to distinguish between different webhook requests. If two requests contain the same requestID, only the first request should be considered and later requests **must** be ignored or discarded. RequestID *string `json:"requestID,omitempty"` // The merchant's ID that is in GrabFood's database. MerchantID *string `json:"merchantID,omitempty"` // The merchant's ID that is on the partner's database. PartnerMerchantID *string `json:"partnerMerchantID,omitempty"` // An UUID string. Uniquely identifies a menu sync job. This can be found from the [Menu Update Notification](#tag/update-menu-noti) API response header. JobID *string `json:"jobID,omitempty"` // Indicates the time of menu sync status change. This is based on ISO_8601/RFC3339. For example: `2022-07-29T15:55:59Z`. UpdatedAt *string `json:"updatedAt,omitempty"` // Indicates the state of the menu sync job. Status *string `json:"status,omitempty"` // A string array of errors that occurred during processing. This array is empty if the status is not `FAILED`. Errors []string `json:"errors,omitempty"` AdditionalProperties map[string]interface{} }
MenuSyncWebhookRequest This request pushes the state of a menu sync operation.
func NewMenuSyncWebhookRequest ¶
func NewMenuSyncWebhookRequest() *MenuSyncWebhookRequest
NewMenuSyncWebhookRequest instantiates a new MenuSyncWebhookRequest 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 NewMenuSyncWebhookRequestWithDefaults ¶
func NewMenuSyncWebhookRequestWithDefaults() *MenuSyncWebhookRequest
NewMenuSyncWebhookRequestWithDefaults instantiates a new MenuSyncWebhookRequest 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 (*MenuSyncWebhookRequest) GetErrors ¶
func (o *MenuSyncWebhookRequest) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*MenuSyncWebhookRequest) GetErrorsOk ¶
func (o *MenuSyncWebhookRequest) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncWebhookRequest) GetJobID ¶
func (o *MenuSyncWebhookRequest) GetJobID() string
GetJobID returns the JobID field value if set, zero value otherwise.
func (*MenuSyncWebhookRequest) GetJobIDOk ¶
func (o *MenuSyncWebhookRequest) GetJobIDOk() (*string, bool)
GetJobIDOk returns a tuple with the JobID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncWebhookRequest) GetMerchantID ¶
func (o *MenuSyncWebhookRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value if set, zero value otherwise.
func (*MenuSyncWebhookRequest) GetMerchantIDOk ¶
func (o *MenuSyncWebhookRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncWebhookRequest) GetPartnerMerchantID ¶
func (o *MenuSyncWebhookRequest) GetPartnerMerchantID() string
GetPartnerMerchantID returns the PartnerMerchantID field value if set, zero value otherwise.
func (*MenuSyncWebhookRequest) GetPartnerMerchantIDOk ¶
func (o *MenuSyncWebhookRequest) GetPartnerMerchantIDOk() (*string, bool)
GetPartnerMerchantIDOk returns a tuple with the PartnerMerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncWebhookRequest) GetRequestID ¶
func (o *MenuSyncWebhookRequest) GetRequestID() string
GetRequestID returns the RequestID field value if set, zero value otherwise.
func (*MenuSyncWebhookRequest) GetRequestIDOk ¶
func (o *MenuSyncWebhookRequest) GetRequestIDOk() (*string, bool)
GetRequestIDOk returns a tuple with the RequestID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncWebhookRequest) GetStatus ¶
func (o *MenuSyncWebhookRequest) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*MenuSyncWebhookRequest) GetStatusOk ¶
func (o *MenuSyncWebhookRequest) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncWebhookRequest) GetUpdatedAt ¶
func (o *MenuSyncWebhookRequest) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*MenuSyncWebhookRequest) GetUpdatedAtOk ¶
func (o *MenuSyncWebhookRequest) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MenuSyncWebhookRequest) HasErrors ¶
func (o *MenuSyncWebhookRequest) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*MenuSyncWebhookRequest) HasJobID ¶
func (o *MenuSyncWebhookRequest) HasJobID() bool
HasJobID returns a boolean if a field has been set.
func (*MenuSyncWebhookRequest) HasMerchantID ¶
func (o *MenuSyncWebhookRequest) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (*MenuSyncWebhookRequest) HasPartnerMerchantID ¶
func (o *MenuSyncWebhookRequest) HasPartnerMerchantID() bool
HasPartnerMerchantID returns a boolean if a field has been set.
func (*MenuSyncWebhookRequest) HasRequestID ¶
func (o *MenuSyncWebhookRequest) HasRequestID() bool
HasRequestID returns a boolean if a field has been set.
func (*MenuSyncWebhookRequest) HasStatus ¶
func (o *MenuSyncWebhookRequest) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*MenuSyncWebhookRequest) HasUpdatedAt ¶
func (o *MenuSyncWebhookRequest) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (MenuSyncWebhookRequest) MarshalJSON ¶
func (o MenuSyncWebhookRequest) MarshalJSON() ([]byte, error)
func (*MenuSyncWebhookRequest) SetErrors ¶
func (o *MenuSyncWebhookRequest) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*MenuSyncWebhookRequest) SetJobID ¶
func (o *MenuSyncWebhookRequest) SetJobID(v string)
SetJobID gets a reference to the given string and assigns it to the JobID field.
func (*MenuSyncWebhookRequest) SetMerchantID ¶
func (o *MenuSyncWebhookRequest) SetMerchantID(v string)
SetMerchantID gets a reference to the given string and assigns it to the MerchantID field.
func (*MenuSyncWebhookRequest) SetPartnerMerchantID ¶
func (o *MenuSyncWebhookRequest) SetPartnerMerchantID(v string)
SetPartnerMerchantID gets a reference to the given string and assigns it to the PartnerMerchantID field.
func (*MenuSyncWebhookRequest) SetRequestID ¶
func (o *MenuSyncWebhookRequest) SetRequestID(v string)
SetRequestID gets a reference to the given string and assigns it to the RequestID field.
func (*MenuSyncWebhookRequest) SetStatus ¶
func (o *MenuSyncWebhookRequest) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*MenuSyncWebhookRequest) SetUpdatedAt ¶
func (o *MenuSyncWebhookRequest) SetUpdatedAt(v string)
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
func (MenuSyncWebhookRequest) ToMap ¶
func (o MenuSyncWebhookRequest) ToMap() (map[string]interface{}, error)
func (*MenuSyncWebhookRequest) UnmarshalJSON ¶
func (o *MenuSyncWebhookRequest) UnmarshalJSON(data []byte) (err error)
type ModifierGroup ¶
type ModifierGroup struct { // The modifier group's ID that is on the partner system. This ID should be unique. Id string `json:"id"` // The name of the modifier group. Name string `json:"name"` // Translation of the modifier group name. Only support up to 1 translated language. Refer [Menu Translation](#section/Menu-Translation). NameTranslation *map[string]string `json:"nameTranslation,omitempty"` // The status for the modifier group. > The item may be marked as `\"UNAVAILABLE\"` if no available modifier to be selected within the required modifier group where `\"selectionRangeMin\": 1`. AvailableStatus string `json:"availableStatus"` // The minimum quantity of the modifiers to be selected. Refer to FAQs for more details about [selection range](#section/Menu/What-does-the-selection-range-do). SelectionRangeMin *int32 `json:"selectionRangeMin,omitempty"` // The maximum quantity of the modifiers to be selected. Refer to FAQs for more details about [selection range](#section/Menu/What-does-the-selection-range-do). SelectionRangeMax int32 `json:"selectionRangeMax"` // The sort or display order of the modifier group within the menu. Sequence *int32 `json:"sequence,omitempty"` // An array of modifier JSON objects. Max 100 per modifierGroup. Refer to [Modifiers](#modifiers) for more information. Modifiers []MenuModifier `json:"modifiers,omitempty"` AdditionalProperties map[string]interface{} }
ModifierGroup struct for ModifierGroup
func NewModifierGroup ¶
func NewModifierGroup(id string, name string, availableStatus string, selectionRangeMax int32) *ModifierGroup
NewModifierGroup instantiates a new ModifierGroup 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 NewModifierGroupWithDefaults ¶
func NewModifierGroupWithDefaults() *ModifierGroup
NewModifierGroupWithDefaults instantiates a new ModifierGroup 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 (*ModifierGroup) GetAvailableStatus ¶
func (o *ModifierGroup) GetAvailableStatus() string
GetAvailableStatus returns the AvailableStatus field value
func (*ModifierGroup) GetAvailableStatusOk ¶
func (o *ModifierGroup) GetAvailableStatusOk() (*string, bool)
GetAvailableStatusOk returns a tuple with the AvailableStatus field value and a boolean to check if the value has been set.
func (*ModifierGroup) GetId ¶
func (o *ModifierGroup) GetId() string
GetId returns the Id field value
func (*ModifierGroup) GetIdOk ¶
func (o *ModifierGroup) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ModifierGroup) GetModifiers ¶
func (o *ModifierGroup) GetModifiers() []MenuModifier
GetModifiers returns the Modifiers field value if set, zero value otherwise.
func (*ModifierGroup) GetModifiersOk ¶
func (o *ModifierGroup) GetModifiersOk() ([]MenuModifier, bool)
GetModifiersOk returns a tuple with the Modifiers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModifierGroup) GetName ¶
func (o *ModifierGroup) GetName() string
GetName returns the Name field value
func (*ModifierGroup) GetNameOk ¶
func (o *ModifierGroup) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ModifierGroup) GetNameTranslation ¶
func (o *ModifierGroup) GetNameTranslation() map[string]string
GetNameTranslation returns the NameTranslation field value if set, zero value otherwise.
func (*ModifierGroup) GetNameTranslationOk ¶
func (o *ModifierGroup) GetNameTranslationOk() (*map[string]string, bool)
GetNameTranslationOk returns a tuple with the NameTranslation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModifierGroup) GetSelectionRangeMax ¶
func (o *ModifierGroup) GetSelectionRangeMax() int32
GetSelectionRangeMax returns the SelectionRangeMax field value
func (*ModifierGroup) GetSelectionRangeMaxOk ¶
func (o *ModifierGroup) GetSelectionRangeMaxOk() (*int32, bool)
GetSelectionRangeMaxOk returns a tuple with the SelectionRangeMax field value and a boolean to check if the value has been set.
func (*ModifierGroup) GetSelectionRangeMin ¶
func (o *ModifierGroup) GetSelectionRangeMin() int32
GetSelectionRangeMin returns the SelectionRangeMin field value if set, zero value otherwise.
func (*ModifierGroup) GetSelectionRangeMinOk ¶
func (o *ModifierGroup) GetSelectionRangeMinOk() (*int32, bool)
GetSelectionRangeMinOk returns a tuple with the SelectionRangeMin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModifierGroup) GetSequence ¶ added in v1.0.1
func (o *ModifierGroup) GetSequence() int32
GetSequence returns the Sequence field value if set, zero value otherwise.
func (*ModifierGroup) GetSequenceOk ¶ added in v1.0.1
func (o *ModifierGroup) GetSequenceOk() (*int32, bool)
GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModifierGroup) HasModifiers ¶
func (o *ModifierGroup) HasModifiers() bool
HasModifiers returns a boolean if a field has been set.
func (*ModifierGroup) HasNameTranslation ¶
func (o *ModifierGroup) HasNameTranslation() bool
HasNameTranslation returns a boolean if a field has been set.
func (*ModifierGroup) HasSelectionRangeMin ¶
func (o *ModifierGroup) HasSelectionRangeMin() bool
HasSelectionRangeMin returns a boolean if a field has been set.
func (*ModifierGroup) HasSequence ¶ added in v1.0.1
func (o *ModifierGroup) HasSequence() bool
HasSequence returns a boolean if a field has been set.
func (ModifierGroup) MarshalJSON ¶
func (o ModifierGroup) MarshalJSON() ([]byte, error)
func (*ModifierGroup) SetAvailableStatus ¶
func (o *ModifierGroup) SetAvailableStatus(v string)
SetAvailableStatus sets field value
func (*ModifierGroup) SetModifiers ¶
func (o *ModifierGroup) SetModifiers(v []MenuModifier)
SetModifiers gets a reference to the given []MenuModifier and assigns it to the Modifiers field.
func (*ModifierGroup) SetNameTranslation ¶
func (o *ModifierGroup) SetNameTranslation(v map[string]string)
SetNameTranslation gets a reference to the given map[string]string and assigns it to the NameTranslation field.
func (*ModifierGroup) SetSelectionRangeMax ¶
func (o *ModifierGroup) SetSelectionRangeMax(v int32)
SetSelectionRangeMax sets field value
func (*ModifierGroup) SetSelectionRangeMin ¶
func (o *ModifierGroup) SetSelectionRangeMin(v int32)
SetSelectionRangeMin gets a reference to the given int32 and assigns it to the SelectionRangeMin field.
func (*ModifierGroup) SetSequence ¶ added in v1.0.1
func (o *ModifierGroup) SetSequence(v int32)
SetSequence gets a reference to the given int32 and assigns it to the Sequence field.
func (ModifierGroup) ToMap ¶
func (o ModifierGroup) ToMap() (map[string]interface{}, error)
func (*ModifierGroup) UnmarshalJSON ¶
func (o *ModifierGroup) UnmarshalJSON(data []byte) (err error)
type NewOrderTimeRequest ¶
type NewOrderTimeRequest struct { // The order's ID that is returned from GrabFood. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). OrderID string `json:"orderID"` // The new order ready time for this order, based on ISO_8601/RFC3339. NewOrderReadyTime time.Time `json:"newOrderReadyTime"` AdditionalProperties map[string]interface{} }
NewOrderTimeRequest This request updates an order with a new ready time on GrabFood.
func NewNewOrderTimeRequest ¶
func NewNewOrderTimeRequest(orderID string, newOrderReadyTime time.Time) *NewOrderTimeRequest
NewNewOrderTimeRequest instantiates a new NewOrderTimeRequest 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 NewNewOrderTimeRequestWithDefaults ¶
func NewNewOrderTimeRequestWithDefaults() *NewOrderTimeRequest
NewNewOrderTimeRequestWithDefaults instantiates a new NewOrderTimeRequest 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 (*NewOrderTimeRequest) GetNewOrderReadyTime ¶
func (o *NewOrderTimeRequest) GetNewOrderReadyTime() time.Time
GetNewOrderReadyTime returns the NewOrderReadyTime field value
func (*NewOrderTimeRequest) GetNewOrderReadyTimeOk ¶
func (o *NewOrderTimeRequest) GetNewOrderReadyTimeOk() (*time.Time, bool)
GetNewOrderReadyTimeOk returns a tuple with the NewOrderReadyTime field value and a boolean to check if the value has been set.
func (*NewOrderTimeRequest) GetOrderID ¶
func (o *NewOrderTimeRequest) GetOrderID() string
GetOrderID returns the OrderID field value
func (*NewOrderTimeRequest) GetOrderIDOk ¶
func (o *NewOrderTimeRequest) GetOrderIDOk() (*string, bool)
GetOrderIDOk returns a tuple with the OrderID field value and a boolean to check if the value has been set.
func (NewOrderTimeRequest) MarshalJSON ¶
func (o NewOrderTimeRequest) MarshalJSON() ([]byte, error)
func (*NewOrderTimeRequest) SetNewOrderReadyTime ¶
func (o *NewOrderTimeRequest) SetNewOrderReadyTime(v time.Time)
SetNewOrderReadyTime sets field value
func (*NewOrderTimeRequest) SetOrderID ¶
func (o *NewOrderTimeRequest) SetOrderID(v string)
SetOrderID sets field value
func (NewOrderTimeRequest) ToMap ¶
func (o NewOrderTimeRequest) ToMap() (map[string]interface{}, error)
func (*NewOrderTimeRequest) UnmarshalJSON ¶
func (o *NewOrderTimeRequest) UnmarshalJSON(data []byte) (err error)
type NotifyMembershipWebviewAPIService ¶
type NotifyMembershipWebviewAPIService service
NotifyMembershipWebviewAPIService NotifyMembershipWebviewAPI service
func (*NotifyMembershipWebviewAPIService) NotifyMembershipWebview ¶
func (a *NotifyMembershipWebviewAPIService) NotifyMembershipWebview(ctx context.Context) ApiNotifyMembershipWebviewRequest
NotifyMembershipWebview Notify Membership
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiNotifyMembershipWebviewRequest
func (*NotifyMembershipWebviewAPIService) NotifyMembershipWebviewExecute ¶
func (a *NotifyMembershipWebviewAPIService) NotifyMembershipWebviewExecute(r ApiNotifyMembershipWebviewRequest) (*http.Response, error)
Execute executes the request
type NotifyMembershipWebviewRequest ¶
type NotifyMembershipWebviewRequest struct { // The unique member ID on the partner's database. MemberID *string `json:"memberID,omitempty"` // The id used to identify an unique grab user. GrabID *string `json:"grabID,omitempty"` // The merchant's ID that is in GrabFood's database. MerchantID *string `json:"merchantID,omitempty"` // Action completed in partner's webview. Action *string `json:"action,omitempty"` AdditionalProperties map[string]interface{} }
NotifyMembershipWebviewRequest This request submits membership registration request to partner.
func NewNotifyMembershipWebviewRequest ¶
func NewNotifyMembershipWebviewRequest() *NotifyMembershipWebviewRequest
NewNotifyMembershipWebviewRequest instantiates a new NotifyMembershipWebviewRequest 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 NewNotifyMembershipWebviewRequestWithDefaults ¶
func NewNotifyMembershipWebviewRequestWithDefaults() *NotifyMembershipWebviewRequest
NewNotifyMembershipWebviewRequestWithDefaults instantiates a new NotifyMembershipWebviewRequest 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 (*NotifyMembershipWebviewRequest) GetAction ¶
func (o *NotifyMembershipWebviewRequest) GetAction() string
GetAction returns the Action field value if set, zero value otherwise.
func (*NotifyMembershipWebviewRequest) GetActionOk ¶
func (o *NotifyMembershipWebviewRequest) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotifyMembershipWebviewRequest) GetGrabID ¶
func (o *NotifyMembershipWebviewRequest) GetGrabID() string
GetGrabID returns the GrabID field value if set, zero value otherwise.
func (*NotifyMembershipWebviewRequest) GetGrabIDOk ¶
func (o *NotifyMembershipWebviewRequest) GetGrabIDOk() (*string, bool)
GetGrabIDOk returns a tuple with the GrabID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotifyMembershipWebviewRequest) GetMemberID ¶
func (o *NotifyMembershipWebviewRequest) GetMemberID() string
GetMemberID returns the MemberID field value if set, zero value otherwise.
func (*NotifyMembershipWebviewRequest) GetMemberIDOk ¶
func (o *NotifyMembershipWebviewRequest) GetMemberIDOk() (*string, bool)
GetMemberIDOk returns a tuple with the MemberID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotifyMembershipWebviewRequest) GetMerchantID ¶
func (o *NotifyMembershipWebviewRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value if set, zero value otherwise.
func (*NotifyMembershipWebviewRequest) GetMerchantIDOk ¶
func (o *NotifyMembershipWebviewRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotifyMembershipWebviewRequest) HasAction ¶
func (o *NotifyMembershipWebviewRequest) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*NotifyMembershipWebviewRequest) HasGrabID ¶
func (o *NotifyMembershipWebviewRequest) HasGrabID() bool
HasGrabID returns a boolean if a field has been set.
func (*NotifyMembershipWebviewRequest) HasMemberID ¶
func (o *NotifyMembershipWebviewRequest) HasMemberID() bool
HasMemberID returns a boolean if a field has been set.
func (*NotifyMembershipWebviewRequest) HasMerchantID ¶
func (o *NotifyMembershipWebviewRequest) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (NotifyMembershipWebviewRequest) MarshalJSON ¶
func (o NotifyMembershipWebviewRequest) MarshalJSON() ([]byte, error)
func (*NotifyMembershipWebviewRequest) SetAction ¶
func (o *NotifyMembershipWebviewRequest) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*NotifyMembershipWebviewRequest) SetGrabID ¶
func (o *NotifyMembershipWebviewRequest) SetGrabID(v string)
SetGrabID gets a reference to the given string and assigns it to the GrabID field.
func (*NotifyMembershipWebviewRequest) SetMemberID ¶
func (o *NotifyMembershipWebviewRequest) SetMemberID(v string)
SetMemberID gets a reference to the given string and assigns it to the MemberID field.
func (*NotifyMembershipWebviewRequest) SetMerchantID ¶
func (o *NotifyMembershipWebviewRequest) SetMerchantID(v string)
SetMerchantID gets a reference to the given string and assigns it to the MerchantID field.
func (NotifyMembershipWebviewRequest) ToMap ¶
func (o NotifyMembershipWebviewRequest) ToMap() (map[string]interface{}, error)
func (*NotifyMembershipWebviewRequest) UnmarshalJSON ¶
func (o *NotifyMembershipWebviewRequest) UnmarshalJSON(data []byte) (err error)
type NullableAcceptOrderRequest ¶
type NullableAcceptOrderRequest struct {
// contains filtered or unexported fields
}
func NewNullableAcceptOrderRequest ¶
func NewNullableAcceptOrderRequest(val *AcceptOrderRequest) *NullableAcceptOrderRequest
func (NullableAcceptOrderRequest) Get ¶
func (v NullableAcceptOrderRequest) Get() *AcceptOrderRequest
func (NullableAcceptOrderRequest) IsSet ¶
func (v NullableAcceptOrderRequest) IsSet() bool
func (NullableAcceptOrderRequest) MarshalJSON ¶
func (v NullableAcceptOrderRequest) MarshalJSON() ([]byte, error)
func (*NullableAcceptOrderRequest) Set ¶
func (v *NullableAcceptOrderRequest) Set(val *AcceptOrderRequest)
func (*NullableAcceptOrderRequest) UnmarshalJSON ¶
func (v *NullableAcceptOrderRequest) UnmarshalJSON(src []byte) error
func (*NullableAcceptOrderRequest) Unset ¶
func (v *NullableAcceptOrderRequest) Unset()
type NullableAddress ¶
type NullableAddress struct {
// contains filtered or unexported fields
}
func NewNullableAddress ¶
func NewNullableAddress(val *Address) *NullableAddress
func (NullableAddress) Get ¶
func (v NullableAddress) Get() *Address
func (NullableAddress) IsSet ¶
func (v NullableAddress) IsSet() bool
func (NullableAddress) MarshalJSON ¶
func (v NullableAddress) MarshalJSON() ([]byte, error)
func (*NullableAddress) Set ¶
func (v *NullableAddress) Set(val *Address)
func (*NullableAddress) UnmarshalJSON ¶
func (v *NullableAddress) UnmarshalJSON(src []byte) error
func (*NullableAddress) Unset ¶
func (v *NullableAddress) Unset()
type NullableAdvancedPricing ¶
type NullableAdvancedPricing struct {
// contains filtered or unexported fields
}
func NewNullableAdvancedPricing ¶
func NewNullableAdvancedPricing(val *AdvancedPricing) *NullableAdvancedPricing
func (NullableAdvancedPricing) Get ¶
func (v NullableAdvancedPricing) Get() *AdvancedPricing
func (NullableAdvancedPricing) IsSet ¶
func (v NullableAdvancedPricing) IsSet() bool
func (NullableAdvancedPricing) MarshalJSON ¶
func (v NullableAdvancedPricing) MarshalJSON() ([]byte, error)
func (*NullableAdvancedPricing) Set ¶
func (v *NullableAdvancedPricing) Set(val *AdvancedPricing)
func (*NullableAdvancedPricing) UnmarshalJSON ¶
func (v *NullableAdvancedPricing) UnmarshalJSON(src []byte) error
func (*NullableAdvancedPricing) Unset ¶
func (v *NullableAdvancedPricing) Unset()
type NullableBatchUpdateMenuItem ¶
type NullableBatchUpdateMenuItem struct {
// contains filtered or unexported fields
}
func NewNullableBatchUpdateMenuItem ¶
func NewNullableBatchUpdateMenuItem(val *BatchUpdateMenuItem) *NullableBatchUpdateMenuItem
func (NullableBatchUpdateMenuItem) Get ¶
func (v NullableBatchUpdateMenuItem) Get() *BatchUpdateMenuItem
func (NullableBatchUpdateMenuItem) IsSet ¶
func (v NullableBatchUpdateMenuItem) IsSet() bool
func (NullableBatchUpdateMenuItem) MarshalJSON ¶
func (v NullableBatchUpdateMenuItem) MarshalJSON() ([]byte, error)
func (*NullableBatchUpdateMenuItem) Set ¶
func (v *NullableBatchUpdateMenuItem) Set(val *BatchUpdateMenuItem)
func (*NullableBatchUpdateMenuItem) UnmarshalJSON ¶
func (v *NullableBatchUpdateMenuItem) UnmarshalJSON(src []byte) error
func (*NullableBatchUpdateMenuItem) Unset ¶
func (v *NullableBatchUpdateMenuItem) Unset()
type NullableBatchUpdateMenuResponse ¶
type NullableBatchUpdateMenuResponse struct {
// contains filtered or unexported fields
}
func NewNullableBatchUpdateMenuResponse ¶
func NewNullableBatchUpdateMenuResponse(val *BatchUpdateMenuResponse) *NullableBatchUpdateMenuResponse
func (NullableBatchUpdateMenuResponse) Get ¶
func (v NullableBatchUpdateMenuResponse) Get() *BatchUpdateMenuResponse
func (NullableBatchUpdateMenuResponse) IsSet ¶
func (v NullableBatchUpdateMenuResponse) IsSet() bool
func (NullableBatchUpdateMenuResponse) MarshalJSON ¶
func (v NullableBatchUpdateMenuResponse) MarshalJSON() ([]byte, error)
func (*NullableBatchUpdateMenuResponse) Set ¶
func (v *NullableBatchUpdateMenuResponse) Set(val *BatchUpdateMenuResponse)
func (*NullableBatchUpdateMenuResponse) UnmarshalJSON ¶
func (v *NullableBatchUpdateMenuResponse) UnmarshalJSON(src []byte) error
func (*NullableBatchUpdateMenuResponse) Unset ¶
func (v *NullableBatchUpdateMenuResponse) Unset()
type NullableBindMembershipNativeRequest ¶
type NullableBindMembershipNativeRequest struct {
// contains filtered or unexported fields
}
func NewNullableBindMembershipNativeRequest ¶
func NewNullableBindMembershipNativeRequest(val *BindMembershipNativeRequest) *NullableBindMembershipNativeRequest
func (NullableBindMembershipNativeRequest) Get ¶
func (v NullableBindMembershipNativeRequest) Get() *BindMembershipNativeRequest
func (NullableBindMembershipNativeRequest) IsSet ¶
func (v NullableBindMembershipNativeRequest) IsSet() bool
func (NullableBindMembershipNativeRequest) MarshalJSON ¶
func (v NullableBindMembershipNativeRequest) MarshalJSON() ([]byte, error)
func (*NullableBindMembershipNativeRequest) Set ¶
func (v *NullableBindMembershipNativeRequest) Set(val *BindMembershipNativeRequest)
func (*NullableBindMembershipNativeRequest) UnmarshalJSON ¶
func (v *NullableBindMembershipNativeRequest) UnmarshalJSON(src []byte) error
func (*NullableBindMembershipNativeRequest) Unset ¶
func (v *NullableBindMembershipNativeRequest) Unset()
type NullableBindMembershipNativeResponse ¶
type NullableBindMembershipNativeResponse struct {
// contains filtered or unexported fields
}
func NewNullableBindMembershipNativeResponse ¶
func NewNullableBindMembershipNativeResponse(val *BindMembershipNativeResponse) *NullableBindMembershipNativeResponse
func (NullableBindMembershipNativeResponse) Get ¶
func (v NullableBindMembershipNativeResponse) Get() *BindMembershipNativeResponse
func (NullableBindMembershipNativeResponse) IsSet ¶
func (v NullableBindMembershipNativeResponse) IsSet() bool
func (NullableBindMembershipNativeResponse) MarshalJSON ¶
func (v NullableBindMembershipNativeResponse) MarshalJSON() ([]byte, error)
func (*NullableBindMembershipNativeResponse) Set ¶
func (v *NullableBindMembershipNativeResponse) Set(val *BindMembershipNativeResponse)
func (*NullableBindMembershipNativeResponse) UnmarshalJSON ¶
func (v *NullableBindMembershipNativeResponse) UnmarshalJSON(src []byte) error
func (*NullableBindMembershipNativeResponse) Unset ¶
func (v *NullableBindMembershipNativeResponse) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCampaign ¶
type NullableCampaign struct {
// contains filtered or unexported fields
}
func NewNullableCampaign ¶
func NewNullableCampaign(val *Campaign) *NullableCampaign
func (NullableCampaign) Get ¶
func (v NullableCampaign) Get() *Campaign
func (NullableCampaign) IsSet ¶
func (v NullableCampaign) IsSet() bool
func (NullableCampaign) MarshalJSON ¶
func (v NullableCampaign) MarshalJSON() ([]byte, error)
func (*NullableCampaign) Set ¶
func (v *NullableCampaign) Set(val *Campaign)
func (*NullableCampaign) UnmarshalJSON ¶
func (v *NullableCampaign) UnmarshalJSON(src []byte) error
func (*NullableCampaign) Unset ¶
func (v *NullableCampaign) Unset()
type NullableCampaignConditions ¶
type NullableCampaignConditions struct {
// contains filtered or unexported fields
}
func NewNullableCampaignConditions ¶
func NewNullableCampaignConditions(val *CampaignConditions) *NullableCampaignConditions
func (NullableCampaignConditions) Get ¶
func (v NullableCampaignConditions) Get() *CampaignConditions
func (NullableCampaignConditions) IsSet ¶
func (v NullableCampaignConditions) IsSet() bool
func (NullableCampaignConditions) MarshalJSON ¶
func (v NullableCampaignConditions) MarshalJSON() ([]byte, error)
func (*NullableCampaignConditions) Set ¶
func (v *NullableCampaignConditions) Set(val *CampaignConditions)
func (*NullableCampaignConditions) UnmarshalJSON ¶
func (v *NullableCampaignConditions) UnmarshalJSON(src []byte) error
func (*NullableCampaignConditions) Unset ¶
func (v *NullableCampaignConditions) Unset()
type NullableCampaignDiscount ¶
type NullableCampaignDiscount struct {
// contains filtered or unexported fields
}
func NewNullableCampaignDiscount ¶
func NewNullableCampaignDiscount(val *CampaignDiscount) *NullableCampaignDiscount
func (NullableCampaignDiscount) Get ¶
func (v NullableCampaignDiscount) Get() *CampaignDiscount
func (NullableCampaignDiscount) IsSet ¶
func (v NullableCampaignDiscount) IsSet() bool
func (NullableCampaignDiscount) MarshalJSON ¶
func (v NullableCampaignDiscount) MarshalJSON() ([]byte, error)
func (*NullableCampaignDiscount) Set ¶
func (v *NullableCampaignDiscount) Set(val *CampaignDiscount)
func (*NullableCampaignDiscount) UnmarshalJSON ¶
func (v *NullableCampaignDiscount) UnmarshalJSON(src []byte) error
func (*NullableCampaignDiscount) Unset ¶
func (v *NullableCampaignDiscount) Unset()
type NullableCampaignQuotas ¶
type NullableCampaignQuotas struct {
// contains filtered or unexported fields
}
func NewNullableCampaignQuotas ¶
func NewNullableCampaignQuotas(val *CampaignQuotas) *NullableCampaignQuotas
func (NullableCampaignQuotas) Get ¶
func (v NullableCampaignQuotas) Get() *CampaignQuotas
func (NullableCampaignQuotas) IsSet ¶
func (v NullableCampaignQuotas) IsSet() bool
func (NullableCampaignQuotas) MarshalJSON ¶
func (v NullableCampaignQuotas) MarshalJSON() ([]byte, error)
func (*NullableCampaignQuotas) Set ¶
func (v *NullableCampaignQuotas) Set(val *CampaignQuotas)
func (*NullableCampaignQuotas) UnmarshalJSON ¶
func (v *NullableCampaignQuotas) UnmarshalJSON(src []byte) error
func (*NullableCampaignQuotas) Unset ¶
func (v *NullableCampaignQuotas) Unset()
type NullableCampaignScope ¶
type NullableCampaignScope struct {
// contains filtered or unexported fields
}
func NewNullableCampaignScope ¶
func NewNullableCampaignScope(val *CampaignScope) *NullableCampaignScope
func (NullableCampaignScope) Get ¶
func (v NullableCampaignScope) Get() *CampaignScope
func (NullableCampaignScope) IsSet ¶
func (v NullableCampaignScope) IsSet() bool
func (NullableCampaignScope) MarshalJSON ¶
func (v NullableCampaignScope) MarshalJSON() ([]byte, error)
func (*NullableCampaignScope) Set ¶
func (v *NullableCampaignScope) Set(val *CampaignScope)
func (*NullableCampaignScope) UnmarshalJSON ¶
func (v *NullableCampaignScope) UnmarshalJSON(src []byte) error
func (*NullableCampaignScope) Unset ¶
func (v *NullableCampaignScope) Unset()
type NullableCancelCode ¶
type NullableCancelCode struct {
// contains filtered or unexported fields
}
func NewNullableCancelCode ¶
func NewNullableCancelCode(val *CancelCode) *NullableCancelCode
func (NullableCancelCode) Get ¶
func (v NullableCancelCode) Get() *CancelCode
func (NullableCancelCode) IsSet ¶
func (v NullableCancelCode) IsSet() bool
func (NullableCancelCode) MarshalJSON ¶
func (v NullableCancelCode) MarshalJSON() ([]byte, error)
func (*NullableCancelCode) Set ¶
func (v *NullableCancelCode) Set(val *CancelCode)
func (*NullableCancelCode) UnmarshalJSON ¶
func (v *NullableCancelCode) UnmarshalJSON(src []byte) error
func (*NullableCancelCode) Unset ¶
func (v *NullableCancelCode) Unset()
type NullableCancelOrderLimitType ¶
type NullableCancelOrderLimitType struct {
// contains filtered or unexported fields
}
func NewNullableCancelOrderLimitType ¶
func NewNullableCancelOrderLimitType(val *CancelOrderLimitType) *NullableCancelOrderLimitType
func (NullableCancelOrderLimitType) Get ¶
func (v NullableCancelOrderLimitType) Get() *CancelOrderLimitType
func (NullableCancelOrderLimitType) IsSet ¶
func (v NullableCancelOrderLimitType) IsSet() bool
func (NullableCancelOrderLimitType) MarshalJSON ¶
func (v NullableCancelOrderLimitType) MarshalJSON() ([]byte, error)
func (*NullableCancelOrderLimitType) Set ¶
func (v *NullableCancelOrderLimitType) Set(val *CancelOrderLimitType)
func (*NullableCancelOrderLimitType) UnmarshalJSON ¶
func (v *NullableCancelOrderLimitType) UnmarshalJSON(src []byte) error
func (*NullableCancelOrderLimitType) Unset ¶
func (v *NullableCancelOrderLimitType) Unset()
type NullableCancelOrderRequest ¶
type NullableCancelOrderRequest struct {
// contains filtered or unexported fields
}
func NewNullableCancelOrderRequest ¶
func NewNullableCancelOrderRequest(val *CancelOrderRequest) *NullableCancelOrderRequest
func (NullableCancelOrderRequest) Get ¶
func (v NullableCancelOrderRequest) Get() *CancelOrderRequest
func (NullableCancelOrderRequest) IsSet ¶
func (v NullableCancelOrderRequest) IsSet() bool
func (NullableCancelOrderRequest) MarshalJSON ¶
func (v NullableCancelOrderRequest) MarshalJSON() ([]byte, error)
func (*NullableCancelOrderRequest) Set ¶
func (v *NullableCancelOrderRequest) Set(val *CancelOrderRequest)
func (*NullableCancelOrderRequest) UnmarshalJSON ¶
func (v *NullableCancelOrderRequest) UnmarshalJSON(src []byte) error
func (*NullableCancelOrderRequest) Unset ¶
func (v *NullableCancelOrderRequest) Unset()
type NullableCancelOrderResponse ¶
type NullableCancelOrderResponse struct {
// contains filtered or unexported fields
}
func NewNullableCancelOrderResponse ¶
func NewNullableCancelOrderResponse(val *CancelOrderResponse) *NullableCancelOrderResponse
func (NullableCancelOrderResponse) Get ¶
func (v NullableCancelOrderResponse) Get() *CancelOrderResponse
func (NullableCancelOrderResponse) IsSet ¶
func (v NullableCancelOrderResponse) IsSet() bool
func (NullableCancelOrderResponse) MarshalJSON ¶
func (v NullableCancelOrderResponse) MarshalJSON() ([]byte, error)
func (*NullableCancelOrderResponse) Set ¶
func (v *NullableCancelOrderResponse) Set(val *CancelOrderResponse)
func (*NullableCancelOrderResponse) UnmarshalJSON ¶
func (v *NullableCancelOrderResponse) UnmarshalJSON(src []byte) error
func (*NullableCancelOrderResponse) Unset ¶
func (v *NullableCancelOrderResponse) Unset()
type NullableCancelReason ¶
type NullableCancelReason struct {
// contains filtered or unexported fields
}
func NewNullableCancelReason ¶
func NewNullableCancelReason(val *CancelReason) *NullableCancelReason
func (NullableCancelReason) Get ¶
func (v NullableCancelReason) Get() *CancelReason
func (NullableCancelReason) IsSet ¶
func (v NullableCancelReason) IsSet() bool
func (NullableCancelReason) MarshalJSON ¶
func (v NullableCancelReason) MarshalJSON() ([]byte, error)
func (*NullableCancelReason) Set ¶
func (v *NullableCancelReason) Set(val *CancelReason)
func (*NullableCancelReason) UnmarshalJSON ¶
func (v *NullableCancelReason) UnmarshalJSON(src []byte) error
func (*NullableCancelReason) Unset ¶
func (v *NullableCancelReason) Unset()
type NullableCheckOrderCancelableResponse ¶
type NullableCheckOrderCancelableResponse struct {
// contains filtered or unexported fields
}
func NewNullableCheckOrderCancelableResponse ¶
func NewNullableCheckOrderCancelableResponse(val *CheckOrderCancelableResponse) *NullableCheckOrderCancelableResponse
func (NullableCheckOrderCancelableResponse) Get ¶
func (v NullableCheckOrderCancelableResponse) Get() *CheckOrderCancelableResponse
func (NullableCheckOrderCancelableResponse) IsSet ¶
func (v NullableCheckOrderCancelableResponse) IsSet() bool
func (NullableCheckOrderCancelableResponse) MarshalJSON ¶
func (v NullableCheckOrderCancelableResponse) MarshalJSON() ([]byte, error)
func (*NullableCheckOrderCancelableResponse) Set ¶
func (v *NullableCheckOrderCancelableResponse) Set(val *CheckOrderCancelableResponse)
func (*NullableCheckOrderCancelableResponse) UnmarshalJSON ¶
func (v *NullableCheckOrderCancelableResponse) UnmarshalJSON(src []byte) error
func (*NullableCheckOrderCancelableResponse) Unset ¶
func (v *NullableCheckOrderCancelableResponse) Unset()
type NullableCoordinates ¶
type NullableCoordinates struct {
// contains filtered or unexported fields
}
func NewNullableCoordinates ¶
func NewNullableCoordinates(val *Coordinates) *NullableCoordinates
func (NullableCoordinates) Get ¶
func (v NullableCoordinates) Get() *Coordinates
func (NullableCoordinates) IsSet ¶
func (v NullableCoordinates) IsSet() bool
func (NullableCoordinates) MarshalJSON ¶
func (v NullableCoordinates) MarshalJSON() ([]byte, error)
func (*NullableCoordinates) Set ¶
func (v *NullableCoordinates) Set(val *Coordinates)
func (*NullableCoordinates) UnmarshalJSON ¶
func (v *NullableCoordinates) UnmarshalJSON(src []byte) error
func (*NullableCoordinates) Unset ¶
func (v *NullableCoordinates) Unset()
type NullableCreateCampaignRequest ¶
type NullableCreateCampaignRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateCampaignRequest ¶
func NewNullableCreateCampaignRequest(val *CreateCampaignRequest) *NullableCreateCampaignRequest
func (NullableCreateCampaignRequest) Get ¶
func (v NullableCreateCampaignRequest) Get() *CreateCampaignRequest
func (NullableCreateCampaignRequest) IsSet ¶
func (v NullableCreateCampaignRequest) IsSet() bool
func (NullableCreateCampaignRequest) MarshalJSON ¶
func (v NullableCreateCampaignRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateCampaignRequest) Set ¶
func (v *NullableCreateCampaignRequest) Set(val *CreateCampaignRequest)
func (*NullableCreateCampaignRequest) UnmarshalJSON ¶
func (v *NullableCreateCampaignRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateCampaignRequest) Unset ¶
func (v *NullableCreateCampaignRequest) Unset()
type NullableCreateCampaignResponse ¶
type NullableCreateCampaignResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateCampaignResponse ¶
func NewNullableCreateCampaignResponse(val *CreateCampaignResponse) *NullableCreateCampaignResponse
func (NullableCreateCampaignResponse) Get ¶
func (v NullableCreateCampaignResponse) Get() *CreateCampaignResponse
func (NullableCreateCampaignResponse) IsSet ¶
func (v NullableCreateCampaignResponse) IsSet() bool
func (NullableCreateCampaignResponse) MarshalJSON ¶
func (v NullableCreateCampaignResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateCampaignResponse) Set ¶
func (v *NullableCreateCampaignResponse) Set(val *CreateCampaignResponse)
func (*NullableCreateCampaignResponse) UnmarshalJSON ¶
func (v *NullableCreateCampaignResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateCampaignResponse) Unset ¶
func (v *NullableCreateCampaignResponse) Unset()
type NullableCreateSelfServeJourneyRequest ¶ added in v1.0.1
type NullableCreateSelfServeJourneyRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateSelfServeJourneyRequest ¶ added in v1.0.1
func NewNullableCreateSelfServeJourneyRequest(val *CreateSelfServeJourneyRequest) *NullableCreateSelfServeJourneyRequest
func (NullableCreateSelfServeJourneyRequest) Get ¶ added in v1.0.1
func (v NullableCreateSelfServeJourneyRequest) Get() *CreateSelfServeJourneyRequest
func (NullableCreateSelfServeJourneyRequest) IsSet ¶ added in v1.0.1
func (v NullableCreateSelfServeJourneyRequest) IsSet() bool
func (NullableCreateSelfServeJourneyRequest) MarshalJSON ¶ added in v1.0.1
func (v NullableCreateSelfServeJourneyRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateSelfServeJourneyRequest) Set ¶ added in v1.0.1
func (v *NullableCreateSelfServeJourneyRequest) Set(val *CreateSelfServeJourneyRequest)
func (*NullableCreateSelfServeJourneyRequest) UnmarshalJSON ¶ added in v1.0.1
func (v *NullableCreateSelfServeJourneyRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateSelfServeJourneyRequest) Unset ¶ added in v1.0.1
func (v *NullableCreateSelfServeJourneyRequest) Unset()
type NullableCreateSelfServeJourneyRequestPartner ¶ added in v1.0.1
type NullableCreateSelfServeJourneyRequestPartner struct {
// contains filtered or unexported fields
}
func NewNullableCreateSelfServeJourneyRequestPartner ¶ added in v1.0.1
func NewNullableCreateSelfServeJourneyRequestPartner(val *CreateSelfServeJourneyRequestPartner) *NullableCreateSelfServeJourneyRequestPartner
func (NullableCreateSelfServeJourneyRequestPartner) IsSet ¶ added in v1.0.1
func (v NullableCreateSelfServeJourneyRequestPartner) IsSet() bool
func (NullableCreateSelfServeJourneyRequestPartner) MarshalJSON ¶ added in v1.0.1
func (v NullableCreateSelfServeJourneyRequestPartner) MarshalJSON() ([]byte, error)
func (*NullableCreateSelfServeJourneyRequestPartner) Set ¶ added in v1.0.1
func (v *NullableCreateSelfServeJourneyRequestPartner) Set(val *CreateSelfServeJourneyRequestPartner)
func (*NullableCreateSelfServeJourneyRequestPartner) UnmarshalJSON ¶ added in v1.0.1
func (v *NullableCreateSelfServeJourneyRequestPartner) UnmarshalJSON(src []byte) error
func (*NullableCreateSelfServeJourneyRequestPartner) Unset ¶ added in v1.0.1
func (v *NullableCreateSelfServeJourneyRequestPartner) Unset()
type NullableCreateSelfServeJourneyResponse ¶ added in v1.0.1
type NullableCreateSelfServeJourneyResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateSelfServeJourneyResponse ¶ added in v1.0.1
func NewNullableCreateSelfServeJourneyResponse(val *CreateSelfServeJourneyResponse) *NullableCreateSelfServeJourneyResponse
func (NullableCreateSelfServeJourneyResponse) Get ¶ added in v1.0.1
func (v NullableCreateSelfServeJourneyResponse) Get() *CreateSelfServeJourneyResponse
func (NullableCreateSelfServeJourneyResponse) IsSet ¶ added in v1.0.1
func (v NullableCreateSelfServeJourneyResponse) IsSet() bool
func (NullableCreateSelfServeJourneyResponse) MarshalJSON ¶ added in v1.0.1
func (v NullableCreateSelfServeJourneyResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateSelfServeJourneyResponse) Set ¶ added in v1.0.1
func (v *NullableCreateSelfServeJourneyResponse) Set(val *CreateSelfServeJourneyResponse)
func (*NullableCreateSelfServeJourneyResponse) UnmarshalJSON ¶ added in v1.0.1
func (v *NullableCreateSelfServeJourneyResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateSelfServeJourneyResponse) Unset ¶ added in v1.0.1
func (v *NullableCreateSelfServeJourneyResponse) Unset()
type NullableCurrency ¶
type NullableCurrency struct {
// contains filtered or unexported fields
}
func NewNullableCurrency ¶
func NewNullableCurrency(val *Currency) *NullableCurrency
func (NullableCurrency) Get ¶
func (v NullableCurrency) Get() *Currency
func (NullableCurrency) IsSet ¶
func (v NullableCurrency) IsSet() bool
func (NullableCurrency) MarshalJSON ¶
func (v NullableCurrency) MarshalJSON() ([]byte, error)
func (*NullableCurrency) Set ¶
func (v *NullableCurrency) Set(val *Currency)
func (*NullableCurrency) UnmarshalJSON ¶
func (v *NullableCurrency) UnmarshalJSON(src []byte) error
func (*NullableCurrency) Unset ¶
func (v *NullableCurrency) Unset()
type NullableDineIn ¶
type NullableDineIn struct {
// contains filtered or unexported fields
}
func NewNullableDineIn ¶
func NewNullableDineIn(val *DineIn) *NullableDineIn
func (NullableDineIn) Get ¶
func (v NullableDineIn) Get() *DineIn
func (NullableDineIn) IsSet ¶
func (v NullableDineIn) IsSet() bool
func (NullableDineIn) MarshalJSON ¶
func (v NullableDineIn) MarshalJSON() ([]byte, error)
func (*NullableDineIn) Set ¶
func (v *NullableDineIn) Set(val *DineIn)
func (*NullableDineIn) UnmarshalJSON ¶
func (v *NullableDineIn) UnmarshalJSON(src []byte) error
func (*NullableDineIn) Unset ¶
func (v *NullableDineIn) Unset()
type NullableEditOrderItem ¶
type NullableEditOrderItem struct {
// contains filtered or unexported fields
}
func NewNullableEditOrderItem ¶
func NewNullableEditOrderItem(val *EditOrderItem) *NullableEditOrderItem
func (NullableEditOrderItem) Get ¶
func (v NullableEditOrderItem) Get() *EditOrderItem
func (NullableEditOrderItem) IsSet ¶
func (v NullableEditOrderItem) IsSet() bool
func (NullableEditOrderItem) MarshalJSON ¶
func (v NullableEditOrderItem) MarshalJSON() ([]byte, error)
func (*NullableEditOrderItem) Set ¶
func (v *NullableEditOrderItem) Set(val *EditOrderItem)
func (*NullableEditOrderItem) UnmarshalJSON ¶
func (v *NullableEditOrderItem) UnmarshalJSON(src []byte) error
func (*NullableEditOrderItem) Unset ¶
func (v *NullableEditOrderItem) Unset()
type NullableEditOrderRequest ¶
type NullableEditOrderRequest struct {
// contains filtered or unexported fields
}
func NewNullableEditOrderRequest ¶
func NewNullableEditOrderRequest(val *EditOrderRequest) *NullableEditOrderRequest
func (NullableEditOrderRequest) Get ¶
func (v NullableEditOrderRequest) Get() *EditOrderRequest
func (NullableEditOrderRequest) IsSet ¶
func (v NullableEditOrderRequest) IsSet() bool
func (NullableEditOrderRequest) MarshalJSON ¶
func (v NullableEditOrderRequest) MarshalJSON() ([]byte, error)
func (*NullableEditOrderRequest) Set ¶
func (v *NullableEditOrderRequest) Set(val *EditOrderRequest)
func (*NullableEditOrderRequest) UnmarshalJSON ¶
func (v *NullableEditOrderRequest) UnmarshalJSON(src []byte) error
func (*NullableEditOrderRequest) Unset ¶
func (v *NullableEditOrderRequest) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetDineInVoucherResponse ¶
type NullableGetDineInVoucherResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetDineInVoucherResponse ¶
func NewNullableGetDineInVoucherResponse(val *GetDineInVoucherResponse) *NullableGetDineInVoucherResponse
func (NullableGetDineInVoucherResponse) Get ¶
func (v NullableGetDineInVoucherResponse) Get() *GetDineInVoucherResponse
func (NullableGetDineInVoucherResponse) IsSet ¶
func (v NullableGetDineInVoucherResponse) IsSet() bool
func (NullableGetDineInVoucherResponse) MarshalJSON ¶
func (v NullableGetDineInVoucherResponse) MarshalJSON() ([]byte, error)
func (*NullableGetDineInVoucherResponse) Set ¶
func (v *NullableGetDineInVoucherResponse) Set(val *GetDineInVoucherResponse)
func (*NullableGetDineInVoucherResponse) UnmarshalJSON ¶
func (v *NullableGetDineInVoucherResponse) UnmarshalJSON(src []byte) error
func (*NullableGetDineInVoucherResponse) Unset ¶
func (v *NullableGetDineInVoucherResponse) Unset()
type NullableGetMembershipNativeResponse ¶
type NullableGetMembershipNativeResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetMembershipNativeResponse ¶
func NewNullableGetMembershipNativeResponse(val *GetMembershipNativeResponse) *NullableGetMembershipNativeResponse
func (NullableGetMembershipNativeResponse) Get ¶
func (v NullableGetMembershipNativeResponse) Get() *GetMembershipNativeResponse
func (NullableGetMembershipNativeResponse) IsSet ¶
func (v NullableGetMembershipNativeResponse) IsSet() bool
func (NullableGetMembershipNativeResponse) MarshalJSON ¶
func (v NullableGetMembershipNativeResponse) MarshalJSON() ([]byte, error)
func (*NullableGetMembershipNativeResponse) Set ¶
func (v *NullableGetMembershipNativeResponse) Set(val *GetMembershipNativeResponse)
func (*NullableGetMembershipNativeResponse) UnmarshalJSON ¶
func (v *NullableGetMembershipNativeResponse) UnmarshalJSON(src []byte) error
func (*NullableGetMembershipNativeResponse) Unset ¶
func (v *NullableGetMembershipNativeResponse) Unset()
type NullableGetMembershipNativeResponsePointInfo ¶
type NullableGetMembershipNativeResponsePointInfo struct {
// contains filtered or unexported fields
}
func NewNullableGetMembershipNativeResponsePointInfo ¶
func NewNullableGetMembershipNativeResponsePointInfo(val *GetMembershipNativeResponsePointInfo) *NullableGetMembershipNativeResponsePointInfo
func (NullableGetMembershipNativeResponsePointInfo) IsSet ¶
func (v NullableGetMembershipNativeResponsePointInfo) IsSet() bool
func (NullableGetMembershipNativeResponsePointInfo) MarshalJSON ¶
func (v NullableGetMembershipNativeResponsePointInfo) MarshalJSON() ([]byte, error)
func (*NullableGetMembershipNativeResponsePointInfo) Set ¶
func (v *NullableGetMembershipNativeResponsePointInfo) Set(val *GetMembershipNativeResponsePointInfo)
func (*NullableGetMembershipNativeResponsePointInfo) UnmarshalJSON ¶
func (v *NullableGetMembershipNativeResponsePointInfo) UnmarshalJSON(src []byte) error
func (*NullableGetMembershipNativeResponsePointInfo) Unset ¶
func (v *NullableGetMembershipNativeResponsePointInfo) Unset()
type NullableGetMembershipRequest ¶
type NullableGetMembershipRequest struct {
// contains filtered or unexported fields
}
func NewNullableGetMembershipRequest ¶
func NewNullableGetMembershipRequest(val *GetMembershipRequest) *NullableGetMembershipRequest
func (NullableGetMembershipRequest) Get ¶
func (v NullableGetMembershipRequest) Get() *GetMembershipRequest
func (NullableGetMembershipRequest) IsSet ¶
func (v NullableGetMembershipRequest) IsSet() bool
func (NullableGetMembershipRequest) MarshalJSON ¶
func (v NullableGetMembershipRequest) MarshalJSON() ([]byte, error)
func (*NullableGetMembershipRequest) Set ¶
func (v *NullableGetMembershipRequest) Set(val *GetMembershipRequest)
func (*NullableGetMembershipRequest) UnmarshalJSON ¶
func (v *NullableGetMembershipRequest) UnmarshalJSON(src []byte) error
func (*NullableGetMembershipRequest) Unset ¶
func (v *NullableGetMembershipRequest) Unset()
type NullableGetMembershipWebviewResponse ¶
type NullableGetMembershipWebviewResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetMembershipWebviewResponse ¶
func NewNullableGetMembershipWebviewResponse(val *GetMembershipWebviewResponse) *NullableGetMembershipWebviewResponse
func (NullableGetMembershipWebviewResponse) Get ¶
func (v NullableGetMembershipWebviewResponse) Get() *GetMembershipWebviewResponse
func (NullableGetMembershipWebviewResponse) IsSet ¶
func (v NullableGetMembershipWebviewResponse) IsSet() bool
func (NullableGetMembershipWebviewResponse) MarshalJSON ¶
func (v NullableGetMembershipWebviewResponse) MarshalJSON() ([]byte, error)
func (*NullableGetMembershipWebviewResponse) Set ¶
func (v *NullableGetMembershipWebviewResponse) Set(val *GetMembershipWebviewResponse)
func (*NullableGetMembershipWebviewResponse) UnmarshalJSON ¶
func (v *NullableGetMembershipWebviewResponse) UnmarshalJSON(src []byte) error
func (*NullableGetMembershipWebviewResponse) Unset ¶
func (v *NullableGetMembershipWebviewResponse) Unset()
type NullableGetMenuNewResponse ¶
type NullableGetMenuNewResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetMenuNewResponse ¶
func NewNullableGetMenuNewResponse(val *GetMenuNewResponse) *NullableGetMenuNewResponse
func (NullableGetMenuNewResponse) Get ¶
func (v NullableGetMenuNewResponse) Get() *GetMenuNewResponse
func (NullableGetMenuNewResponse) IsSet ¶
func (v NullableGetMenuNewResponse) IsSet() bool
func (NullableGetMenuNewResponse) MarshalJSON ¶
func (v NullableGetMenuNewResponse) MarshalJSON() ([]byte, error)
func (*NullableGetMenuNewResponse) Set ¶
func (v *NullableGetMenuNewResponse) Set(val *GetMenuNewResponse)
func (*NullableGetMenuNewResponse) UnmarshalJSON ¶
func (v *NullableGetMenuNewResponse) UnmarshalJSON(src []byte) error
func (*NullableGetMenuNewResponse) Unset ¶
func (v *NullableGetMenuNewResponse) Unset()
type NullableGetMenuOldResponse ¶
type NullableGetMenuOldResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetMenuOldResponse ¶
func NewNullableGetMenuOldResponse(val *GetMenuOldResponse) *NullableGetMenuOldResponse
func (NullableGetMenuOldResponse) Get ¶
func (v NullableGetMenuOldResponse) Get() *GetMenuOldResponse
func (NullableGetMenuOldResponse) IsSet ¶
func (v NullableGetMenuOldResponse) IsSet() bool
func (NullableGetMenuOldResponse) MarshalJSON ¶
func (v NullableGetMenuOldResponse) MarshalJSON() ([]byte, error)
func (*NullableGetMenuOldResponse) Set ¶
func (v *NullableGetMenuOldResponse) Set(val *GetMenuOldResponse)
func (*NullableGetMenuOldResponse) UnmarshalJSON ¶
func (v *NullableGetMenuOldResponse) UnmarshalJSON(src []byte) error
func (*NullableGetMenuOldResponse) Unset ¶
func (v *NullableGetMenuOldResponse) Unset()
type NullableGetRewardNativeRequest ¶
type NullableGetRewardNativeRequest struct {
// contains filtered or unexported fields
}
func NewNullableGetRewardNativeRequest ¶
func NewNullableGetRewardNativeRequest(val *GetRewardNativeRequest) *NullableGetRewardNativeRequest
func (NullableGetRewardNativeRequest) Get ¶
func (v NullableGetRewardNativeRequest) Get() *GetRewardNativeRequest
func (NullableGetRewardNativeRequest) IsSet ¶
func (v NullableGetRewardNativeRequest) IsSet() bool
func (NullableGetRewardNativeRequest) MarshalJSON ¶
func (v NullableGetRewardNativeRequest) MarshalJSON() ([]byte, error)
func (*NullableGetRewardNativeRequest) Set ¶
func (v *NullableGetRewardNativeRequest) Set(val *GetRewardNativeRequest)
func (*NullableGetRewardNativeRequest) UnmarshalJSON ¶
func (v *NullableGetRewardNativeRequest) UnmarshalJSON(src []byte) error
func (*NullableGetRewardNativeRequest) Unset ¶
func (v *NullableGetRewardNativeRequest) Unset()
type NullableGetRewardNativeResponse ¶
type NullableGetRewardNativeResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetRewardNativeResponse ¶
func NewNullableGetRewardNativeResponse(val *GetRewardNativeResponse) *NullableGetRewardNativeResponse
func (NullableGetRewardNativeResponse) Get ¶
func (v NullableGetRewardNativeResponse) Get() *GetRewardNativeResponse
func (NullableGetRewardNativeResponse) IsSet ¶
func (v NullableGetRewardNativeResponse) IsSet() bool
func (NullableGetRewardNativeResponse) MarshalJSON ¶
func (v NullableGetRewardNativeResponse) MarshalJSON() ([]byte, error)
func (*NullableGetRewardNativeResponse) Set ¶
func (v *NullableGetRewardNativeResponse) Set(val *GetRewardNativeResponse)
func (*NullableGetRewardNativeResponse) UnmarshalJSON ¶
func (v *NullableGetRewardNativeResponse) UnmarshalJSON(src []byte) error
func (*NullableGetRewardNativeResponse) Unset ¶
func (v *NullableGetRewardNativeResponse) Unset()
type NullableGrabOauthRequest ¶
type NullableGrabOauthRequest struct {
// contains filtered or unexported fields
}
func NewNullableGrabOauthRequest ¶
func NewNullableGrabOauthRequest(val *GrabOauthRequest) *NullableGrabOauthRequest
func (NullableGrabOauthRequest) Get ¶
func (v NullableGrabOauthRequest) Get() *GrabOauthRequest
func (NullableGrabOauthRequest) IsSet ¶
func (v NullableGrabOauthRequest) IsSet() bool
func (NullableGrabOauthRequest) MarshalJSON ¶
func (v NullableGrabOauthRequest) MarshalJSON() ([]byte, error)
func (*NullableGrabOauthRequest) Set ¶
func (v *NullableGrabOauthRequest) Set(val *GrabOauthRequest)
func (*NullableGrabOauthRequest) UnmarshalJSON ¶
func (v *NullableGrabOauthRequest) UnmarshalJSON(src []byte) error
func (*NullableGrabOauthRequest) Unset ¶
func (v *NullableGrabOauthRequest) Unset()
type NullableGrabOauthResponse ¶
type NullableGrabOauthResponse struct {
// contains filtered or unexported fields
}
func NewNullableGrabOauthResponse ¶
func NewNullableGrabOauthResponse(val *GrabOauthResponse) *NullableGrabOauthResponse
func (NullableGrabOauthResponse) Get ¶
func (v NullableGrabOauthResponse) Get() *GrabOauthResponse
func (NullableGrabOauthResponse) IsSet ¶
func (v NullableGrabOauthResponse) IsSet() bool
func (NullableGrabOauthResponse) MarshalJSON ¶
func (v NullableGrabOauthResponse) MarshalJSON() ([]byte, error)
func (*NullableGrabOauthResponse) Set ¶
func (v *NullableGrabOauthResponse) Set(val *GrabOauthResponse)
func (*NullableGrabOauthResponse) UnmarshalJSON ¶
func (v *NullableGrabOauthResponse) UnmarshalJSON(src []byte) error
func (*NullableGrabOauthResponse) Unset ¶
func (v *NullableGrabOauthResponse) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListCampaignResponse ¶
type NullableListCampaignResponse struct {
// contains filtered or unexported fields
}
func NewNullableListCampaignResponse ¶
func NewNullableListCampaignResponse(val *ListCampaignResponse) *NullableListCampaignResponse
func (NullableListCampaignResponse) Get ¶
func (v NullableListCampaignResponse) Get() *ListCampaignResponse
func (NullableListCampaignResponse) IsSet ¶
func (v NullableListCampaignResponse) IsSet() bool
func (NullableListCampaignResponse) MarshalJSON ¶
func (v NullableListCampaignResponse) MarshalJSON() ([]byte, error)
func (*NullableListCampaignResponse) Set ¶
func (v *NullableListCampaignResponse) Set(val *ListCampaignResponse)
func (*NullableListCampaignResponse) UnmarshalJSON ¶
func (v *NullableListCampaignResponse) UnmarshalJSON(src []byte) error
func (*NullableListCampaignResponse) Unset ¶
func (v *NullableListCampaignResponse) Unset()
type NullableListOrdersResponse ¶
type NullableListOrdersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListOrdersResponse ¶
func NewNullableListOrdersResponse(val *ListOrdersResponse) *NullableListOrdersResponse
func (NullableListOrdersResponse) Get ¶
func (v NullableListOrdersResponse) Get() *ListOrdersResponse
func (NullableListOrdersResponse) IsSet ¶
func (v NullableListOrdersResponse) IsSet() bool
func (NullableListOrdersResponse) MarshalJSON ¶
func (v NullableListOrdersResponse) MarshalJSON() ([]byte, error)
func (*NullableListOrdersResponse) Set ¶
func (v *NullableListOrdersResponse) Set(val *ListOrdersResponse)
func (*NullableListOrdersResponse) UnmarshalJSON ¶
func (v *NullableListOrdersResponse) UnmarshalJSON(src []byte) error
func (*NullableListOrdersResponse) Unset ¶
func (v *NullableListOrdersResponse) Unset()
type NullableMarkOrderRequest ¶
type NullableMarkOrderRequest struct {
// contains filtered or unexported fields
}
func NewNullableMarkOrderRequest ¶
func NewNullableMarkOrderRequest(val *MarkOrderRequest) *NullableMarkOrderRequest
func (NullableMarkOrderRequest) Get ¶
func (v NullableMarkOrderRequest) Get() *MarkOrderRequest
func (NullableMarkOrderRequest) IsSet ¶
func (v NullableMarkOrderRequest) IsSet() bool
func (NullableMarkOrderRequest) MarshalJSON ¶
func (v NullableMarkOrderRequest) MarshalJSON() ([]byte, error)
func (*NullableMarkOrderRequest) Set ¶
func (v *NullableMarkOrderRequest) Set(val *MarkOrderRequest)
func (*NullableMarkOrderRequest) UnmarshalJSON ¶
func (v *NullableMarkOrderRequest) UnmarshalJSON(src []byte) error
func (*NullableMarkOrderRequest) Unset ¶
func (v *NullableMarkOrderRequest) Unset()
type NullableMenuCategory ¶
type NullableMenuCategory struct {
// contains filtered or unexported fields
}
func NewNullableMenuCategory ¶
func NewNullableMenuCategory(val *MenuCategory) *NullableMenuCategory
func (NullableMenuCategory) Get ¶
func (v NullableMenuCategory) Get() *MenuCategory
func (NullableMenuCategory) IsSet ¶
func (v NullableMenuCategory) IsSet() bool
func (NullableMenuCategory) MarshalJSON ¶
func (v NullableMenuCategory) MarshalJSON() ([]byte, error)
func (*NullableMenuCategory) Set ¶
func (v *NullableMenuCategory) Set(val *MenuCategory)
func (*NullableMenuCategory) UnmarshalJSON ¶
func (v *NullableMenuCategory) UnmarshalJSON(src []byte) error
func (*NullableMenuCategory) Unset ¶
func (v *NullableMenuCategory) Unset()
type NullableMenuEntity ¶
type NullableMenuEntity struct {
// contains filtered or unexported fields
}
func NewNullableMenuEntity ¶
func NewNullableMenuEntity(val *MenuEntity) *NullableMenuEntity
func (NullableMenuEntity) Get ¶
func (v NullableMenuEntity) Get() *MenuEntity
func (NullableMenuEntity) IsSet ¶
func (v NullableMenuEntity) IsSet() bool
func (NullableMenuEntity) MarshalJSON ¶
func (v NullableMenuEntity) MarshalJSON() ([]byte, error)
func (*NullableMenuEntity) Set ¶
func (v *NullableMenuEntity) Set(val *MenuEntity)
func (*NullableMenuEntity) UnmarshalJSON ¶
func (v *NullableMenuEntity) UnmarshalJSON(src []byte) error
func (*NullableMenuEntity) Unset ¶
func (v *NullableMenuEntity) Unset()
type NullableMenuEntityError ¶
type NullableMenuEntityError struct {
// contains filtered or unexported fields
}
func NewNullableMenuEntityError ¶
func NewNullableMenuEntityError(val *MenuEntityError) *NullableMenuEntityError
func (NullableMenuEntityError) Get ¶
func (v NullableMenuEntityError) Get() *MenuEntityError
func (NullableMenuEntityError) IsSet ¶
func (v NullableMenuEntityError) IsSet() bool
func (NullableMenuEntityError) MarshalJSON ¶
func (v NullableMenuEntityError) MarshalJSON() ([]byte, error)
func (*NullableMenuEntityError) Set ¶
func (v *NullableMenuEntityError) Set(val *MenuEntityError)
func (*NullableMenuEntityError) UnmarshalJSON ¶
func (v *NullableMenuEntityError) UnmarshalJSON(src []byte) error
func (*NullableMenuEntityError) Unset ¶
func (v *NullableMenuEntityError) Unset()
type NullableMenuItem ¶
type NullableMenuItem struct {
// contains filtered or unexported fields
}
func NewNullableMenuItem ¶
func NewNullableMenuItem(val *MenuItem) *NullableMenuItem
func (NullableMenuItem) Get ¶
func (v NullableMenuItem) Get() *MenuItem
func (NullableMenuItem) IsSet ¶
func (v NullableMenuItem) IsSet() bool
func (NullableMenuItem) MarshalJSON ¶
func (v NullableMenuItem) MarshalJSON() ([]byte, error)
func (*NullableMenuItem) Set ¶
func (v *NullableMenuItem) Set(val *MenuItem)
func (*NullableMenuItem) UnmarshalJSON ¶
func (v *NullableMenuItem) UnmarshalJSON(src []byte) error
func (*NullableMenuItem) Unset ¶
func (v *NullableMenuItem) Unset()
type NullableMenuModifier ¶
type NullableMenuModifier struct {
// contains filtered or unexported fields
}
func NewNullableMenuModifier ¶
func NewNullableMenuModifier(val *MenuModifier) *NullableMenuModifier
func (NullableMenuModifier) Get ¶
func (v NullableMenuModifier) Get() *MenuModifier
func (NullableMenuModifier) IsSet ¶
func (v NullableMenuModifier) IsSet() bool
func (NullableMenuModifier) MarshalJSON ¶
func (v NullableMenuModifier) MarshalJSON() ([]byte, error)
func (*NullableMenuModifier) Set ¶
func (v *NullableMenuModifier) Set(val *MenuModifier)
func (*NullableMenuModifier) UnmarshalJSON ¶
func (v *NullableMenuModifier) UnmarshalJSON(src []byte) error
func (*NullableMenuModifier) Unset ¶
func (v *NullableMenuModifier) Unset()
type NullableMenuSection ¶
type NullableMenuSection struct {
// contains filtered or unexported fields
}
func NewNullableMenuSection ¶
func NewNullableMenuSection(val *MenuSection) *NullableMenuSection
func (NullableMenuSection) Get ¶
func (v NullableMenuSection) Get() *MenuSection
func (NullableMenuSection) IsSet ¶
func (v NullableMenuSection) IsSet() bool
func (NullableMenuSection) MarshalJSON ¶
func (v NullableMenuSection) MarshalJSON() ([]byte, error)
func (*NullableMenuSection) Set ¶
func (v *NullableMenuSection) Set(val *MenuSection)
func (*NullableMenuSection) UnmarshalJSON ¶
func (v *NullableMenuSection) UnmarshalJSON(src []byte) error
func (*NullableMenuSection) Unset ¶
func (v *NullableMenuSection) Unset()
type NullableMenuSectionCategory ¶
type NullableMenuSectionCategory struct {
// contains filtered or unexported fields
}
func NewNullableMenuSectionCategory ¶
func NewNullableMenuSectionCategory(val *MenuSectionCategory) *NullableMenuSectionCategory
func (NullableMenuSectionCategory) Get ¶
func (v NullableMenuSectionCategory) Get() *MenuSectionCategory
func (NullableMenuSectionCategory) IsSet ¶
func (v NullableMenuSectionCategory) IsSet() bool
func (NullableMenuSectionCategory) MarshalJSON ¶
func (v NullableMenuSectionCategory) MarshalJSON() ([]byte, error)
func (*NullableMenuSectionCategory) Set ¶
func (v *NullableMenuSectionCategory) Set(val *MenuSectionCategory)
func (*NullableMenuSectionCategory) UnmarshalJSON ¶
func (v *NullableMenuSectionCategory) UnmarshalJSON(src []byte) error
func (*NullableMenuSectionCategory) Unset ¶
func (v *NullableMenuSectionCategory) Unset()
type NullableMenuSectionCategoryItem ¶
type NullableMenuSectionCategoryItem struct {
// contains filtered or unexported fields
}
func NewNullableMenuSectionCategoryItem ¶
func NewNullableMenuSectionCategoryItem(val *MenuSectionCategoryItem) *NullableMenuSectionCategoryItem
func (NullableMenuSectionCategoryItem) Get ¶
func (v NullableMenuSectionCategoryItem) Get() *MenuSectionCategoryItem
func (NullableMenuSectionCategoryItem) IsSet ¶
func (v NullableMenuSectionCategoryItem) IsSet() bool
func (NullableMenuSectionCategoryItem) MarshalJSON ¶
func (v NullableMenuSectionCategoryItem) MarshalJSON() ([]byte, error)
func (*NullableMenuSectionCategoryItem) Set ¶
func (v *NullableMenuSectionCategoryItem) Set(val *MenuSectionCategoryItem)
func (*NullableMenuSectionCategoryItem) UnmarshalJSON ¶
func (v *NullableMenuSectionCategoryItem) UnmarshalJSON(src []byte) error
func (*NullableMenuSectionCategoryItem) Unset ¶
func (v *NullableMenuSectionCategoryItem) Unset()
type NullableMenuSyncFail ¶
type NullableMenuSyncFail struct {
// contains filtered or unexported fields
}
func NewNullableMenuSyncFail ¶
func NewNullableMenuSyncFail(val *MenuSyncFail) *NullableMenuSyncFail
func (NullableMenuSyncFail) Get ¶
func (v NullableMenuSyncFail) Get() *MenuSyncFail
func (NullableMenuSyncFail) IsSet ¶
func (v NullableMenuSyncFail) IsSet() bool
func (NullableMenuSyncFail) MarshalJSON ¶
func (v NullableMenuSyncFail) MarshalJSON() ([]byte, error)
func (*NullableMenuSyncFail) Set ¶
func (v *NullableMenuSyncFail) Set(val *MenuSyncFail)
func (*NullableMenuSyncFail) UnmarshalJSON ¶
func (v *NullableMenuSyncFail) UnmarshalJSON(src []byte) error
func (*NullableMenuSyncFail) Unset ¶
func (v *NullableMenuSyncFail) Unset()
type NullableMenuSyncFailCategory ¶
type NullableMenuSyncFailCategory struct {
// contains filtered or unexported fields
}
func NewNullableMenuSyncFailCategory ¶
func NewNullableMenuSyncFailCategory(val *MenuSyncFailCategory) *NullableMenuSyncFailCategory
func (NullableMenuSyncFailCategory) Get ¶
func (v NullableMenuSyncFailCategory) Get() *MenuSyncFailCategory
func (NullableMenuSyncFailCategory) IsSet ¶
func (v NullableMenuSyncFailCategory) IsSet() bool
func (NullableMenuSyncFailCategory) MarshalJSON ¶
func (v NullableMenuSyncFailCategory) MarshalJSON() ([]byte, error)
func (*NullableMenuSyncFailCategory) Set ¶
func (v *NullableMenuSyncFailCategory) Set(val *MenuSyncFailCategory)
func (*NullableMenuSyncFailCategory) UnmarshalJSON ¶
func (v *NullableMenuSyncFailCategory) UnmarshalJSON(src []byte) error
func (*NullableMenuSyncFailCategory) Unset ¶
func (v *NullableMenuSyncFailCategory) Unset()
type NullableMenuSyncFailItem ¶
type NullableMenuSyncFailItem struct {
// contains filtered or unexported fields
}
func NewNullableMenuSyncFailItem ¶
func NewNullableMenuSyncFailItem(val *MenuSyncFailItem) *NullableMenuSyncFailItem
func (NullableMenuSyncFailItem) Get ¶
func (v NullableMenuSyncFailItem) Get() *MenuSyncFailItem
func (NullableMenuSyncFailItem) IsSet ¶
func (v NullableMenuSyncFailItem) IsSet() bool
func (NullableMenuSyncFailItem) MarshalJSON ¶
func (v NullableMenuSyncFailItem) MarshalJSON() ([]byte, error)
func (*NullableMenuSyncFailItem) Set ¶
func (v *NullableMenuSyncFailItem) Set(val *MenuSyncFailItem)
func (*NullableMenuSyncFailItem) UnmarshalJSON ¶
func (v *NullableMenuSyncFailItem) UnmarshalJSON(src []byte) error
func (*NullableMenuSyncFailItem) Unset ¶
func (v *NullableMenuSyncFailItem) Unset()
type NullableMenuSyncFailModifier ¶
type NullableMenuSyncFailModifier struct {
// contains filtered or unexported fields
}
func NewNullableMenuSyncFailModifier ¶
func NewNullableMenuSyncFailModifier(val *MenuSyncFailModifier) *NullableMenuSyncFailModifier
func (NullableMenuSyncFailModifier) Get ¶
func (v NullableMenuSyncFailModifier) Get() *MenuSyncFailModifier
func (NullableMenuSyncFailModifier) IsSet ¶
func (v NullableMenuSyncFailModifier) IsSet() bool
func (NullableMenuSyncFailModifier) MarshalJSON ¶
func (v NullableMenuSyncFailModifier) MarshalJSON() ([]byte, error)
func (*NullableMenuSyncFailModifier) Set ¶
func (v *NullableMenuSyncFailModifier) Set(val *MenuSyncFailModifier)
func (*NullableMenuSyncFailModifier) UnmarshalJSON ¶
func (v *NullableMenuSyncFailModifier) UnmarshalJSON(src []byte) error
func (*NullableMenuSyncFailModifier) Unset ¶
func (v *NullableMenuSyncFailModifier) Unset()
type NullableMenuSyncFailModifierGroup ¶
type NullableMenuSyncFailModifierGroup struct {
// contains filtered or unexported fields
}
func NewNullableMenuSyncFailModifierGroup ¶
func NewNullableMenuSyncFailModifierGroup(val *MenuSyncFailModifierGroup) *NullableMenuSyncFailModifierGroup
func (NullableMenuSyncFailModifierGroup) Get ¶
func (v NullableMenuSyncFailModifierGroup) Get() *MenuSyncFailModifierGroup
func (NullableMenuSyncFailModifierGroup) IsSet ¶
func (v NullableMenuSyncFailModifierGroup) IsSet() bool
func (NullableMenuSyncFailModifierGroup) MarshalJSON ¶
func (v NullableMenuSyncFailModifierGroup) MarshalJSON() ([]byte, error)
func (*NullableMenuSyncFailModifierGroup) Set ¶
func (v *NullableMenuSyncFailModifierGroup) Set(val *MenuSyncFailModifierGroup)
func (*NullableMenuSyncFailModifierGroup) UnmarshalJSON ¶
func (v *NullableMenuSyncFailModifierGroup) UnmarshalJSON(src []byte) error
func (*NullableMenuSyncFailModifierGroup) Unset ¶
func (v *NullableMenuSyncFailModifierGroup) Unset()
type NullableMenuSyncFailServiceHours ¶
type NullableMenuSyncFailServiceHours struct {
// contains filtered or unexported fields
}
func NewNullableMenuSyncFailServiceHours ¶
func NewNullableMenuSyncFailServiceHours(val *MenuSyncFailServiceHours) *NullableMenuSyncFailServiceHours
func (NullableMenuSyncFailServiceHours) Get ¶
func (v NullableMenuSyncFailServiceHours) Get() *MenuSyncFailServiceHours
func (NullableMenuSyncFailServiceHours) IsSet ¶
func (v NullableMenuSyncFailServiceHours) IsSet() bool
func (NullableMenuSyncFailServiceHours) MarshalJSON ¶
func (v NullableMenuSyncFailServiceHours) MarshalJSON() ([]byte, error)
func (*NullableMenuSyncFailServiceHours) Set ¶
func (v *NullableMenuSyncFailServiceHours) Set(val *MenuSyncFailServiceHours)
func (*NullableMenuSyncFailServiceHours) UnmarshalJSON ¶
func (v *NullableMenuSyncFailServiceHours) UnmarshalJSON(src []byte) error
func (*NullableMenuSyncFailServiceHours) Unset ¶
func (v *NullableMenuSyncFailServiceHours) Unset()
type NullableMenuSyncResponse ¶
type NullableMenuSyncResponse struct {
// contains filtered or unexported fields
}
func NewNullableMenuSyncResponse ¶
func NewNullableMenuSyncResponse(val *MenuSyncResponse) *NullableMenuSyncResponse
func (NullableMenuSyncResponse) Get ¶
func (v NullableMenuSyncResponse) Get() *MenuSyncResponse
func (NullableMenuSyncResponse) IsSet ¶
func (v NullableMenuSyncResponse) IsSet() bool
func (NullableMenuSyncResponse) MarshalJSON ¶
func (v NullableMenuSyncResponse) MarshalJSON() ([]byte, error)
func (*NullableMenuSyncResponse) Set ¶
func (v *NullableMenuSyncResponse) Set(val *MenuSyncResponse)
func (*NullableMenuSyncResponse) UnmarshalJSON ¶
func (v *NullableMenuSyncResponse) UnmarshalJSON(src []byte) error
func (*NullableMenuSyncResponse) Unset ¶
func (v *NullableMenuSyncResponse) Unset()
type NullableMenuSyncWebhookRequest ¶
type NullableMenuSyncWebhookRequest struct {
// contains filtered or unexported fields
}
func NewNullableMenuSyncWebhookRequest ¶
func NewNullableMenuSyncWebhookRequest(val *MenuSyncWebhookRequest) *NullableMenuSyncWebhookRequest
func (NullableMenuSyncWebhookRequest) Get ¶
func (v NullableMenuSyncWebhookRequest) Get() *MenuSyncWebhookRequest
func (NullableMenuSyncWebhookRequest) IsSet ¶
func (v NullableMenuSyncWebhookRequest) IsSet() bool
func (NullableMenuSyncWebhookRequest) MarshalJSON ¶
func (v NullableMenuSyncWebhookRequest) MarshalJSON() ([]byte, error)
func (*NullableMenuSyncWebhookRequest) Set ¶
func (v *NullableMenuSyncWebhookRequest) Set(val *MenuSyncWebhookRequest)
func (*NullableMenuSyncWebhookRequest) UnmarshalJSON ¶
func (v *NullableMenuSyncWebhookRequest) UnmarshalJSON(src []byte) error
func (*NullableMenuSyncWebhookRequest) Unset ¶
func (v *NullableMenuSyncWebhookRequest) Unset()
type NullableModifierGroup ¶
type NullableModifierGroup struct {
// contains filtered or unexported fields
}
func NewNullableModifierGroup ¶
func NewNullableModifierGroup(val *ModifierGroup) *NullableModifierGroup
func (NullableModifierGroup) Get ¶
func (v NullableModifierGroup) Get() *ModifierGroup
func (NullableModifierGroup) IsSet ¶
func (v NullableModifierGroup) IsSet() bool
func (NullableModifierGroup) MarshalJSON ¶
func (v NullableModifierGroup) MarshalJSON() ([]byte, error)
func (*NullableModifierGroup) Set ¶
func (v *NullableModifierGroup) Set(val *ModifierGroup)
func (*NullableModifierGroup) UnmarshalJSON ¶
func (v *NullableModifierGroup) UnmarshalJSON(src []byte) error
func (*NullableModifierGroup) Unset ¶
func (v *NullableModifierGroup) Unset()
type NullableNewOrderTimeRequest ¶
type NullableNewOrderTimeRequest struct {
// contains filtered or unexported fields
}
func NewNullableNewOrderTimeRequest ¶
func NewNullableNewOrderTimeRequest(val *NewOrderTimeRequest) *NullableNewOrderTimeRequest
func (NullableNewOrderTimeRequest) Get ¶
func (v NullableNewOrderTimeRequest) Get() *NewOrderTimeRequest
func (NullableNewOrderTimeRequest) IsSet ¶
func (v NullableNewOrderTimeRequest) IsSet() bool
func (NullableNewOrderTimeRequest) MarshalJSON ¶
func (v NullableNewOrderTimeRequest) MarshalJSON() ([]byte, error)
func (*NullableNewOrderTimeRequest) Set ¶
func (v *NullableNewOrderTimeRequest) Set(val *NewOrderTimeRequest)
func (*NullableNewOrderTimeRequest) UnmarshalJSON ¶
func (v *NullableNewOrderTimeRequest) UnmarshalJSON(src []byte) error
func (*NullableNewOrderTimeRequest) Unset ¶
func (v *NullableNewOrderTimeRequest) Unset()
type NullableNotifyMembershipWebviewRequest ¶
type NullableNotifyMembershipWebviewRequest struct {
// contains filtered or unexported fields
}
func NewNullableNotifyMembershipWebviewRequest ¶
func NewNullableNotifyMembershipWebviewRequest(val *NotifyMembershipWebviewRequest) *NullableNotifyMembershipWebviewRequest
func (NullableNotifyMembershipWebviewRequest) Get ¶
func (v NullableNotifyMembershipWebviewRequest) Get() *NotifyMembershipWebviewRequest
func (NullableNotifyMembershipWebviewRequest) IsSet ¶
func (v NullableNotifyMembershipWebviewRequest) IsSet() bool
func (NullableNotifyMembershipWebviewRequest) MarshalJSON ¶
func (v NullableNotifyMembershipWebviewRequest) MarshalJSON() ([]byte, error)
func (*NullableNotifyMembershipWebviewRequest) Set ¶
func (v *NullableNotifyMembershipWebviewRequest) Set(val *NotifyMembershipWebviewRequest)
func (*NullableNotifyMembershipWebviewRequest) UnmarshalJSON ¶
func (v *NullableNotifyMembershipWebviewRequest) UnmarshalJSON(src []byte) error
func (*NullableNotifyMembershipWebviewRequest) Unset ¶
func (v *NullableNotifyMembershipWebviewRequest) Unset()
type NullableOpenPeriod ¶
type NullableOpenPeriod struct {
// contains filtered or unexported fields
}
func NewNullableOpenPeriod ¶
func NewNullableOpenPeriod(val *OpenPeriod) *NullableOpenPeriod
func (NullableOpenPeriod) Get ¶
func (v NullableOpenPeriod) Get() *OpenPeriod
func (NullableOpenPeriod) IsSet ¶
func (v NullableOpenPeriod) IsSet() bool
func (NullableOpenPeriod) MarshalJSON ¶
func (v NullableOpenPeriod) MarshalJSON() ([]byte, error)
func (*NullableOpenPeriod) Set ¶
func (v *NullableOpenPeriod) Set(val *OpenPeriod)
func (*NullableOpenPeriod) UnmarshalJSON ¶
func (v *NullableOpenPeriod) UnmarshalJSON(src []byte) error
func (*NullableOpenPeriod) Unset ¶
func (v *NullableOpenPeriod) Unset()
type NullableOrder ¶
type NullableOrder struct {
// contains filtered or unexported fields
}
func NewNullableOrder ¶
func NewNullableOrder(val *Order) *NullableOrder
func (NullableOrder) Get ¶
func (v NullableOrder) Get() *Order
func (NullableOrder) IsSet ¶
func (v NullableOrder) IsSet() bool
func (NullableOrder) MarshalJSON ¶
func (v NullableOrder) MarshalJSON() ([]byte, error)
func (*NullableOrder) Set ¶
func (v *NullableOrder) Set(val *Order)
func (*NullableOrder) UnmarshalJSON ¶
func (v *NullableOrder) UnmarshalJSON(src []byte) error
func (*NullableOrder) Unset ¶
func (v *NullableOrder) Unset()
type NullableOrderCampaign ¶
type NullableOrderCampaign struct {
// contains filtered or unexported fields
}
func NewNullableOrderCampaign ¶
func NewNullableOrderCampaign(val *OrderCampaign) *NullableOrderCampaign
func (NullableOrderCampaign) Get ¶
func (v NullableOrderCampaign) Get() *OrderCampaign
func (NullableOrderCampaign) IsSet ¶
func (v NullableOrderCampaign) IsSet() bool
func (NullableOrderCampaign) MarshalJSON ¶
func (v NullableOrderCampaign) MarshalJSON() ([]byte, error)
func (*NullableOrderCampaign) Set ¶
func (v *NullableOrderCampaign) Set(val *OrderCampaign)
func (*NullableOrderCampaign) UnmarshalJSON ¶
func (v *NullableOrderCampaign) UnmarshalJSON(src []byte) error
func (*NullableOrderCampaign) Unset ¶
func (v *NullableOrderCampaign) Unset()
type NullableOrderDeliveryRequest ¶
type NullableOrderDeliveryRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderDeliveryRequest ¶
func NewNullableOrderDeliveryRequest(val *OrderDeliveryRequest) *NullableOrderDeliveryRequest
func (NullableOrderDeliveryRequest) Get ¶
func (v NullableOrderDeliveryRequest) Get() *OrderDeliveryRequest
func (NullableOrderDeliveryRequest) IsSet ¶
func (v NullableOrderDeliveryRequest) IsSet() bool
func (NullableOrderDeliveryRequest) MarshalJSON ¶
func (v NullableOrderDeliveryRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderDeliveryRequest) Set ¶
func (v *NullableOrderDeliveryRequest) Set(val *OrderDeliveryRequest)
func (*NullableOrderDeliveryRequest) UnmarshalJSON ¶
func (v *NullableOrderDeliveryRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderDeliveryRequest) Unset ¶
func (v *NullableOrderDeliveryRequest) Unset()
type NullableOrderFeatureFlags ¶
type NullableOrderFeatureFlags struct {
// contains filtered or unexported fields
}
func NewNullableOrderFeatureFlags ¶
func NewNullableOrderFeatureFlags(val *OrderFeatureFlags) *NullableOrderFeatureFlags
func (NullableOrderFeatureFlags) Get ¶
func (v NullableOrderFeatureFlags) Get() *OrderFeatureFlags
func (NullableOrderFeatureFlags) IsSet ¶
func (v NullableOrderFeatureFlags) IsSet() bool
func (NullableOrderFeatureFlags) MarshalJSON ¶
func (v NullableOrderFeatureFlags) MarshalJSON() ([]byte, error)
func (*NullableOrderFeatureFlags) Set ¶
func (v *NullableOrderFeatureFlags) Set(val *OrderFeatureFlags)
func (*NullableOrderFeatureFlags) UnmarshalJSON ¶
func (v *NullableOrderFeatureFlags) UnmarshalJSON(src []byte) error
func (*NullableOrderFeatureFlags) Unset ¶
func (v *NullableOrderFeatureFlags) Unset()
type NullableOrderFreeItem ¶
type NullableOrderFreeItem struct {
// contains filtered or unexported fields
}
func NewNullableOrderFreeItem ¶
func NewNullableOrderFreeItem(val *OrderFreeItem) *NullableOrderFreeItem
func (NullableOrderFreeItem) Get ¶
func (v NullableOrderFreeItem) Get() *OrderFreeItem
func (NullableOrderFreeItem) IsSet ¶
func (v NullableOrderFreeItem) IsSet() bool
func (NullableOrderFreeItem) MarshalJSON ¶
func (v NullableOrderFreeItem) MarshalJSON() ([]byte, error)
func (*NullableOrderFreeItem) Set ¶
func (v *NullableOrderFreeItem) Set(val *OrderFreeItem)
func (*NullableOrderFreeItem) UnmarshalJSON ¶
func (v *NullableOrderFreeItem) UnmarshalJSON(src []byte) error
func (*NullableOrderFreeItem) Unset ¶
func (v *NullableOrderFreeItem) Unset()
type NullableOrderItem ¶
type NullableOrderItem struct {
// contains filtered or unexported fields
}
func NewNullableOrderItem ¶
func NewNullableOrderItem(val *OrderItem) *NullableOrderItem
func (NullableOrderItem) Get ¶
func (v NullableOrderItem) Get() *OrderItem
func (NullableOrderItem) IsSet ¶
func (v NullableOrderItem) IsSet() bool
func (NullableOrderItem) MarshalJSON ¶
func (v NullableOrderItem) MarshalJSON() ([]byte, error)
func (*NullableOrderItem) Set ¶
func (v *NullableOrderItem) Set(val *OrderItem)
func (*NullableOrderItem) UnmarshalJSON ¶
func (v *NullableOrderItem) UnmarshalJSON(src []byte) error
func (*NullableOrderItem) Unset ¶
func (v *NullableOrderItem) Unset()
type NullableOrderItemModifier ¶
type NullableOrderItemModifier struct {
// contains filtered or unexported fields
}
func NewNullableOrderItemModifier ¶
func NewNullableOrderItemModifier(val *OrderItemModifier) *NullableOrderItemModifier
func (NullableOrderItemModifier) Get ¶
func (v NullableOrderItemModifier) Get() *OrderItemModifier
func (NullableOrderItemModifier) IsSet ¶
func (v NullableOrderItemModifier) IsSet() bool
func (NullableOrderItemModifier) MarshalJSON ¶
func (v NullableOrderItemModifier) MarshalJSON() ([]byte, error)
func (*NullableOrderItemModifier) Set ¶
func (v *NullableOrderItemModifier) Set(val *OrderItemModifier)
func (*NullableOrderItemModifier) UnmarshalJSON ¶
func (v *NullableOrderItemModifier) UnmarshalJSON(src []byte) error
func (*NullableOrderItemModifier) Unset ¶
func (v *NullableOrderItemModifier) Unset()
type NullableOrderPrice ¶
type NullableOrderPrice struct {
// contains filtered or unexported fields
}
func NewNullableOrderPrice ¶
func NewNullableOrderPrice(val *OrderPrice) *NullableOrderPrice
func (NullableOrderPrice) Get ¶
func (v NullableOrderPrice) Get() *OrderPrice
func (NullableOrderPrice) IsSet ¶
func (v NullableOrderPrice) IsSet() bool
func (NullableOrderPrice) MarshalJSON ¶
func (v NullableOrderPrice) MarshalJSON() ([]byte, error)
func (*NullableOrderPrice) Set ¶
func (v *NullableOrderPrice) Set(val *OrderPrice)
func (*NullableOrderPrice) UnmarshalJSON ¶
func (v *NullableOrderPrice) UnmarshalJSON(src []byte) error
func (*NullableOrderPrice) Unset ¶
func (v *NullableOrderPrice) Unset()
type NullableOrderPromo ¶
type NullableOrderPromo struct {
// contains filtered or unexported fields
}
func NewNullableOrderPromo ¶
func NewNullableOrderPromo(val *OrderPromo) *NullableOrderPromo
func (NullableOrderPromo) Get ¶
func (v NullableOrderPromo) Get() *OrderPromo
func (NullableOrderPromo) IsSet ¶
func (v NullableOrderPromo) IsSet() bool
func (NullableOrderPromo) MarshalJSON ¶
func (v NullableOrderPromo) MarshalJSON() ([]byte, error)
func (*NullableOrderPromo) Set ¶
func (v *NullableOrderPromo) Set(val *OrderPromo)
func (*NullableOrderPromo) UnmarshalJSON ¶
func (v *NullableOrderPromo) UnmarshalJSON(src []byte) error
func (*NullableOrderPromo) Unset ¶
func (v *NullableOrderPromo) Unset()
type NullableOrderReadyEstimation ¶
type NullableOrderReadyEstimation struct {
// contains filtered or unexported fields
}
func NewNullableOrderReadyEstimation ¶
func NewNullableOrderReadyEstimation(val *OrderReadyEstimation) *NullableOrderReadyEstimation
func (NullableOrderReadyEstimation) Get ¶
func (v NullableOrderReadyEstimation) Get() *OrderReadyEstimation
func (NullableOrderReadyEstimation) IsSet ¶
func (v NullableOrderReadyEstimation) IsSet() bool
func (NullableOrderReadyEstimation) MarshalJSON ¶
func (v NullableOrderReadyEstimation) MarshalJSON() ([]byte, error)
func (*NullableOrderReadyEstimation) Set ¶
func (v *NullableOrderReadyEstimation) Set(val *OrderReadyEstimation)
func (*NullableOrderReadyEstimation) UnmarshalJSON ¶
func (v *NullableOrderReadyEstimation) UnmarshalJSON(src []byte) error
func (*NullableOrderReadyEstimation) Unset ¶
func (v *NullableOrderReadyEstimation) Unset()
type NullableOrderStateRequest ¶
type NullableOrderStateRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderStateRequest ¶
func NewNullableOrderStateRequest(val *OrderStateRequest) *NullableOrderStateRequest
func (NullableOrderStateRequest) Get ¶
func (v NullableOrderStateRequest) Get() *OrderStateRequest
func (NullableOrderStateRequest) IsSet ¶
func (v NullableOrderStateRequest) IsSet() bool
func (NullableOrderStateRequest) MarshalJSON ¶
func (v NullableOrderStateRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderStateRequest) Set ¶
func (v *NullableOrderStateRequest) Set(val *OrderStateRequest)
func (*NullableOrderStateRequest) UnmarshalJSON ¶
func (v *NullableOrderStateRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderStateRequest) Unset ¶
func (v *NullableOrderStateRequest) Unset()
type NullableOutOfStockInstruction ¶
type NullableOutOfStockInstruction struct {
// contains filtered or unexported fields
}
func NewNullableOutOfStockInstruction ¶
func NewNullableOutOfStockInstruction(val *OutOfStockInstruction) *NullableOutOfStockInstruction
func (NullableOutOfStockInstruction) Get ¶
func (v NullableOutOfStockInstruction) Get() *OutOfStockInstruction
func (NullableOutOfStockInstruction) IsSet ¶
func (v NullableOutOfStockInstruction) IsSet() bool
func (NullableOutOfStockInstruction) MarshalJSON ¶
func (v NullableOutOfStockInstruction) MarshalJSON() ([]byte, error)
func (*NullableOutOfStockInstruction) Set ¶
func (v *NullableOutOfStockInstruction) Set(val *OutOfStockInstruction)
func (*NullableOutOfStockInstruction) UnmarshalJSON ¶
func (v *NullableOutOfStockInstruction) UnmarshalJSON(src []byte) error
func (*NullableOutOfStockInstruction) Unset ¶
func (v *NullableOutOfStockInstruction) Unset()
type NullablePartnerOauthRequest ¶
type NullablePartnerOauthRequest struct {
// contains filtered or unexported fields
}
func NewNullablePartnerOauthRequest ¶
func NewNullablePartnerOauthRequest(val *PartnerOauthRequest) *NullablePartnerOauthRequest
func (NullablePartnerOauthRequest) Get ¶
func (v NullablePartnerOauthRequest) Get() *PartnerOauthRequest
func (NullablePartnerOauthRequest) IsSet ¶
func (v NullablePartnerOauthRequest) IsSet() bool
func (NullablePartnerOauthRequest) MarshalJSON ¶
func (v NullablePartnerOauthRequest) MarshalJSON() ([]byte, error)
func (*NullablePartnerOauthRequest) Set ¶
func (v *NullablePartnerOauthRequest) Set(val *PartnerOauthRequest)
func (*NullablePartnerOauthRequest) UnmarshalJSON ¶
func (v *NullablePartnerOauthRequest) UnmarshalJSON(src []byte) error
func (*NullablePartnerOauthRequest) Unset ¶
func (v *NullablePartnerOauthRequest) Unset()
type NullablePartnerOauthResponse ¶
type NullablePartnerOauthResponse struct {
// contains filtered or unexported fields
}
func NewNullablePartnerOauthResponse ¶
func NewNullablePartnerOauthResponse(val *PartnerOauthResponse) *NullablePartnerOauthResponse
func (NullablePartnerOauthResponse) Get ¶
func (v NullablePartnerOauthResponse) Get() *PartnerOauthResponse
func (NullablePartnerOauthResponse) IsSet ¶
func (v NullablePartnerOauthResponse) IsSet() bool
func (NullablePartnerOauthResponse) MarshalJSON ¶
func (v NullablePartnerOauthResponse) MarshalJSON() ([]byte, error)
func (*NullablePartnerOauthResponse) Set ¶
func (v *NullablePartnerOauthResponse) Set(val *PartnerOauthResponse)
func (*NullablePartnerOauthResponse) UnmarshalJSON ¶
func (v *NullablePartnerOauthResponse) UnmarshalJSON(src []byte) error
func (*NullablePartnerOauthResponse) Unset ¶
func (v *NullablePartnerOauthResponse) Unset()
type NullablePauseStoreRequest ¶
type NullablePauseStoreRequest struct {
// contains filtered or unexported fields
}
func NewNullablePauseStoreRequest ¶
func NewNullablePauseStoreRequest(val *PauseStoreRequest) *NullablePauseStoreRequest
func (NullablePauseStoreRequest) Get ¶
func (v NullablePauseStoreRequest) Get() *PauseStoreRequest
func (NullablePauseStoreRequest) IsSet ¶
func (v NullablePauseStoreRequest) IsSet() bool
func (NullablePauseStoreRequest) MarshalJSON ¶
func (v NullablePauseStoreRequest) MarshalJSON() ([]byte, error)
func (*NullablePauseStoreRequest) Set ¶
func (v *NullablePauseStoreRequest) Set(val *PauseStoreRequest)
func (*NullablePauseStoreRequest) UnmarshalJSON ¶
func (v *NullablePauseStoreRequest) UnmarshalJSON(src []byte) error
func (*NullablePauseStoreRequest) Unset ¶
func (v *NullablePauseStoreRequest) Unset()
type NullablePurchasability ¶
type NullablePurchasability struct {
// contains filtered or unexported fields
}
func NewNullablePurchasability ¶
func NewNullablePurchasability(val *Purchasability) *NullablePurchasability
func (NullablePurchasability) Get ¶
func (v NullablePurchasability) Get() *Purchasability
func (NullablePurchasability) IsSet ¶
func (v NullablePurchasability) IsSet() bool
func (NullablePurchasability) MarshalJSON ¶
func (v NullablePurchasability) MarshalJSON() ([]byte, error)
func (*NullablePurchasability) Set ¶
func (v *NullablePurchasability) Set(val *Purchasability)
func (*NullablePurchasability) UnmarshalJSON ¶
func (v *NullablePurchasability) UnmarshalJSON(src []byte) error
func (*NullablePurchasability) Unset ¶
func (v *NullablePurchasability) Unset()
type NullablePushIntegrationStatusWebhookRequest ¶ added in v1.0.1
type NullablePushIntegrationStatusWebhookRequest struct {
// contains filtered or unexported fields
}
func NewNullablePushIntegrationStatusWebhookRequest ¶ added in v1.0.1
func NewNullablePushIntegrationStatusWebhookRequest(val *PushIntegrationStatusWebhookRequest) *NullablePushIntegrationStatusWebhookRequest
func (NullablePushIntegrationStatusWebhookRequest) IsSet ¶ added in v1.0.1
func (v NullablePushIntegrationStatusWebhookRequest) IsSet() bool
func (NullablePushIntegrationStatusWebhookRequest) MarshalJSON ¶ added in v1.0.1
func (v NullablePushIntegrationStatusWebhookRequest) MarshalJSON() ([]byte, error)
func (*NullablePushIntegrationStatusWebhookRequest) Set ¶ added in v1.0.1
func (v *NullablePushIntegrationStatusWebhookRequest) Set(val *PushIntegrationStatusWebhookRequest)
func (*NullablePushIntegrationStatusWebhookRequest) UnmarshalJSON ¶ added in v1.0.1
func (v *NullablePushIntegrationStatusWebhookRequest) UnmarshalJSON(src []byte) error
func (*NullablePushIntegrationStatusWebhookRequest) Unset ¶ added in v1.0.1
func (v *NullablePushIntegrationStatusWebhookRequest) Unset()
type NullableReceiver ¶
type NullableReceiver struct {
// contains filtered or unexported fields
}
func NewNullableReceiver ¶
func NewNullableReceiver(val *Receiver) *NullableReceiver
func (NullableReceiver) Get ¶
func (v NullableReceiver) Get() *Receiver
func (NullableReceiver) IsSet ¶
func (v NullableReceiver) IsSet() bool
func (NullableReceiver) MarshalJSON ¶
func (v NullableReceiver) MarshalJSON() ([]byte, error)
func (*NullableReceiver) Set ¶
func (v *NullableReceiver) Set(val *Receiver)
func (*NullableReceiver) UnmarshalJSON ¶
func (v *NullableReceiver) UnmarshalJSON(src []byte) error
func (*NullableReceiver) Unset ¶
func (v *NullableReceiver) Unset()
type NullableRedeemDineInVoucherRequest ¶
type NullableRedeemDineInVoucherRequest struct {
// contains filtered or unexported fields
}
func NewNullableRedeemDineInVoucherRequest ¶
func NewNullableRedeemDineInVoucherRequest(val *RedeemDineInVoucherRequest) *NullableRedeemDineInVoucherRequest
func (NullableRedeemDineInVoucherRequest) Get ¶
func (v NullableRedeemDineInVoucherRequest) Get() *RedeemDineInVoucherRequest
func (NullableRedeemDineInVoucherRequest) IsSet ¶
func (v NullableRedeemDineInVoucherRequest) IsSet() bool
func (NullableRedeemDineInVoucherRequest) MarshalJSON ¶
func (v NullableRedeemDineInVoucherRequest) MarshalJSON() ([]byte, error)
func (*NullableRedeemDineInVoucherRequest) Set ¶
func (v *NullableRedeemDineInVoucherRequest) Set(val *RedeemDineInVoucherRequest)
func (*NullableRedeemDineInVoucherRequest) UnmarshalJSON ¶
func (v *NullableRedeemDineInVoucherRequest) UnmarshalJSON(src []byte) error
func (*NullableRedeemDineInVoucherRequest) Unset ¶
func (v *NullableRedeemDineInVoucherRequest) Unset()
type NullableRedeemDineInVoucherResponse ¶
type NullableRedeemDineInVoucherResponse struct {
// contains filtered or unexported fields
}
func NewNullableRedeemDineInVoucherResponse ¶
func NewNullableRedeemDineInVoucherResponse(val *RedeemDineInVoucherResponse) *NullableRedeemDineInVoucherResponse
func (NullableRedeemDineInVoucherResponse) Get ¶
func (v NullableRedeemDineInVoucherResponse) Get() *RedeemDineInVoucherResponse
func (NullableRedeemDineInVoucherResponse) IsSet ¶
func (v NullableRedeemDineInVoucherResponse) IsSet() bool
func (NullableRedeemDineInVoucherResponse) MarshalJSON ¶
func (v NullableRedeemDineInVoucherResponse) MarshalJSON() ([]byte, error)
func (*NullableRedeemDineInVoucherResponse) Set ¶
func (v *NullableRedeemDineInVoucherResponse) Set(val *RedeemDineInVoucherResponse)
func (*NullableRedeemDineInVoucherResponse) UnmarshalJSON ¶
func (v *NullableRedeemDineInVoucherResponse) UnmarshalJSON(src []byte) error
func (*NullableRedeemDineInVoucherResponse) Unset ¶
func (v *NullableRedeemDineInVoucherResponse) Unset()
type NullableRedeemResult ¶
type NullableRedeemResult struct {
// contains filtered or unexported fields
}
func NewNullableRedeemResult ¶
func NewNullableRedeemResult(val *RedeemResult) *NullableRedeemResult
func (NullableRedeemResult) Get ¶
func (v NullableRedeemResult) Get() *RedeemResult
func (NullableRedeemResult) IsSet ¶
func (v NullableRedeemResult) IsSet() bool
func (NullableRedeemResult) MarshalJSON ¶
func (v NullableRedeemResult) MarshalJSON() ([]byte, error)
func (*NullableRedeemResult) Set ¶
func (v *NullableRedeemResult) Set(val *RedeemResult)
func (*NullableRedeemResult) UnmarshalJSON ¶
func (v *NullableRedeemResult) UnmarshalJSON(src []byte) error
func (*NullableRedeemResult) Unset ¶
func (v *NullableRedeemResult) Unset()
type NullableRegisterMembershipNativeRequest ¶
type NullableRegisterMembershipNativeRequest struct {
// contains filtered or unexported fields
}
func NewNullableRegisterMembershipNativeRequest ¶
func NewNullableRegisterMembershipNativeRequest(val *RegisterMembershipNativeRequest) *NullableRegisterMembershipNativeRequest
func (NullableRegisterMembershipNativeRequest) IsSet ¶
func (v NullableRegisterMembershipNativeRequest) IsSet() bool
func (NullableRegisterMembershipNativeRequest) MarshalJSON ¶
func (v NullableRegisterMembershipNativeRequest) MarshalJSON() ([]byte, error)
func (*NullableRegisterMembershipNativeRequest) Set ¶
func (v *NullableRegisterMembershipNativeRequest) Set(val *RegisterMembershipNativeRequest)
func (*NullableRegisterMembershipNativeRequest) UnmarshalJSON ¶
func (v *NullableRegisterMembershipNativeRequest) UnmarshalJSON(src []byte) error
func (*NullableRegisterMembershipNativeRequest) Unset ¶
func (v *NullableRegisterMembershipNativeRequest) Unset()
type NullableRegisterMembershipNativeResponse ¶
type NullableRegisterMembershipNativeResponse struct {
// contains filtered or unexported fields
}
func NewNullableRegisterMembershipNativeResponse ¶
func NewNullableRegisterMembershipNativeResponse(val *RegisterMembershipNativeResponse) *NullableRegisterMembershipNativeResponse
func (NullableRegisterMembershipNativeResponse) IsSet ¶
func (v NullableRegisterMembershipNativeResponse) IsSet() bool
func (NullableRegisterMembershipNativeResponse) MarshalJSON ¶
func (v NullableRegisterMembershipNativeResponse) MarshalJSON() ([]byte, error)
func (*NullableRegisterMembershipNativeResponse) Set ¶
func (v *NullableRegisterMembershipNativeResponse) Set(val *RegisterMembershipNativeResponse)
func (*NullableRegisterMembershipNativeResponse) UnmarshalJSON ¶
func (v *NullableRegisterMembershipNativeResponse) UnmarshalJSON(src []byte) error
func (*NullableRegisterMembershipNativeResponse) Unset ¶
func (v *NullableRegisterMembershipNativeResponse) Unset()
type NullableRewardItem ¶
type NullableRewardItem struct {
// contains filtered or unexported fields
}
func NewNullableRewardItem ¶
func NewNullableRewardItem(val *RewardItem) *NullableRewardItem
func (NullableRewardItem) Get ¶
func (v NullableRewardItem) Get() *RewardItem
func (NullableRewardItem) IsSet ¶
func (v NullableRewardItem) IsSet() bool
func (NullableRewardItem) MarshalJSON ¶
func (v NullableRewardItem) MarshalJSON() ([]byte, error)
func (*NullableRewardItem) Set ¶
func (v *NullableRewardItem) Set(val *RewardItem)
func (*NullableRewardItem) UnmarshalJSON ¶
func (v *NullableRewardItem) UnmarshalJSON(src []byte) error
func (*NullableRewardItem) Unset ¶
func (v *NullableRewardItem) Unset()
type NullableSellingTime ¶
type NullableSellingTime struct {
// contains filtered or unexported fields
}
func NewNullableSellingTime ¶
func NewNullableSellingTime(val *SellingTime) *NullableSellingTime
func (NullableSellingTime) Get ¶
func (v NullableSellingTime) Get() *SellingTime
func (NullableSellingTime) IsSet ¶
func (v NullableSellingTime) IsSet() bool
func (NullableSellingTime) MarshalJSON ¶
func (v NullableSellingTime) MarshalJSON() ([]byte, error)
func (*NullableSellingTime) Set ¶
func (v *NullableSellingTime) Set(val *SellingTime)
func (*NullableSellingTime) UnmarshalJSON ¶
func (v *NullableSellingTime) UnmarshalJSON(src []byte) error
func (*NullableSellingTime) Unset ¶
func (v *NullableSellingTime) Unset()
type NullableServiceHour ¶
type NullableServiceHour struct {
// contains filtered or unexported fields
}
func NewNullableServiceHour ¶
func NewNullableServiceHour(val *ServiceHour) *NullableServiceHour
func (NullableServiceHour) Get ¶
func (v NullableServiceHour) Get() *ServiceHour
func (NullableServiceHour) IsSet ¶
func (v NullableServiceHour) IsSet() bool
func (NullableServiceHour) MarshalJSON ¶
func (v NullableServiceHour) MarshalJSON() ([]byte, error)
func (*NullableServiceHour) Set ¶
func (v *NullableServiceHour) Set(val *ServiceHour)
func (*NullableServiceHour) UnmarshalJSON ¶
func (v *NullableServiceHour) UnmarshalJSON(src []byte) error
func (*NullableServiceHour) Unset ¶
func (v *NullableServiceHour) Unset()
type NullableServiceHours ¶
type NullableServiceHours struct {
// contains filtered or unexported fields
}
func NewNullableServiceHours ¶
func NewNullableServiceHours(val *ServiceHours) *NullableServiceHours
func (NullableServiceHours) Get ¶
func (v NullableServiceHours) Get() *ServiceHours
func (NullableServiceHours) IsSet ¶
func (v NullableServiceHours) IsSet() bool
func (NullableServiceHours) MarshalJSON ¶
func (v NullableServiceHours) MarshalJSON() ([]byte, error)
func (*NullableServiceHours) Set ¶
func (v *NullableServiceHours) Set(val *ServiceHours)
func (*NullableServiceHours) UnmarshalJSON ¶
func (v *NullableServiceHours) UnmarshalJSON(src []byte) error
func (*NullableServiceHours) Unset ¶
func (v *NullableServiceHours) Unset()
type NullableSpecialOpeningHour ¶
type NullableSpecialOpeningHour struct {
// contains filtered or unexported fields
}
func NewNullableSpecialOpeningHour ¶
func NewNullableSpecialOpeningHour(val *SpecialOpeningHour) *NullableSpecialOpeningHour
func (NullableSpecialOpeningHour) Get ¶
func (v NullableSpecialOpeningHour) Get() *SpecialOpeningHour
func (NullableSpecialOpeningHour) IsSet ¶
func (v NullableSpecialOpeningHour) IsSet() bool
func (NullableSpecialOpeningHour) MarshalJSON ¶
func (v NullableSpecialOpeningHour) MarshalJSON() ([]byte, error)
func (*NullableSpecialOpeningHour) Set ¶
func (v *NullableSpecialOpeningHour) Set(val *SpecialOpeningHour)
func (*NullableSpecialOpeningHour) UnmarshalJSON ¶
func (v *NullableSpecialOpeningHour) UnmarshalJSON(src []byte) error
func (*NullableSpecialOpeningHour) Unset ¶
func (v *NullableSpecialOpeningHour) Unset()
type NullableSpecialOpeningHourMetadata ¶
type NullableSpecialOpeningHourMetadata struct {
// contains filtered or unexported fields
}
func NewNullableSpecialOpeningHourMetadata ¶
func NewNullableSpecialOpeningHourMetadata(val *SpecialOpeningHourMetadata) *NullableSpecialOpeningHourMetadata
func (NullableSpecialOpeningHourMetadata) Get ¶
func (v NullableSpecialOpeningHourMetadata) Get() *SpecialOpeningHourMetadata
func (NullableSpecialOpeningHourMetadata) IsSet ¶
func (v NullableSpecialOpeningHourMetadata) IsSet() bool
func (NullableSpecialOpeningHourMetadata) MarshalJSON ¶
func (v NullableSpecialOpeningHourMetadata) MarshalJSON() ([]byte, error)
func (*NullableSpecialOpeningHourMetadata) Set ¶
func (v *NullableSpecialOpeningHourMetadata) Set(val *SpecialOpeningHourMetadata)
func (*NullableSpecialOpeningHourMetadata) UnmarshalJSON ¶
func (v *NullableSpecialOpeningHourMetadata) UnmarshalJSON(src []byte) error
func (*NullableSpecialOpeningHourMetadata) Unset ¶
func (v *NullableSpecialOpeningHourMetadata) Unset()
type NullableSpecialOpeningHourOpeningHours ¶
type NullableSpecialOpeningHourOpeningHours struct {
// contains filtered or unexported fields
}
func NewNullableSpecialOpeningHourOpeningHours ¶
func NewNullableSpecialOpeningHourOpeningHours(val *SpecialOpeningHourOpeningHours) *NullableSpecialOpeningHourOpeningHours
func (NullableSpecialOpeningHourOpeningHours) Get ¶
func (v NullableSpecialOpeningHourOpeningHours) Get() *SpecialOpeningHourOpeningHours
func (NullableSpecialOpeningHourOpeningHours) IsSet ¶
func (v NullableSpecialOpeningHourOpeningHours) IsSet() bool
func (NullableSpecialOpeningHourOpeningHours) MarshalJSON ¶
func (v NullableSpecialOpeningHourOpeningHours) MarshalJSON() ([]byte, error)
func (*NullableSpecialOpeningHourOpeningHours) Set ¶
func (v *NullableSpecialOpeningHourOpeningHours) Set(val *SpecialOpeningHourOpeningHours)
func (*NullableSpecialOpeningHourOpeningHours) UnmarshalJSON ¶
func (v *NullableSpecialOpeningHourOpeningHours) UnmarshalJSON(src []byte) error
func (*NullableSpecialOpeningHourOpeningHours) Unset ¶
func (v *NullableSpecialOpeningHourOpeningHours) Unset()
type NullableStoreHour ¶
type NullableStoreHour struct {
// contains filtered or unexported fields
}
func NewNullableStoreHour ¶
func NewNullableStoreHour(val *StoreHour) *NullableStoreHour
func (NullableStoreHour) Get ¶
func (v NullableStoreHour) Get() *StoreHour
func (NullableStoreHour) IsSet ¶
func (v NullableStoreHour) IsSet() bool
func (NullableStoreHour) MarshalJSON ¶
func (v NullableStoreHour) MarshalJSON() ([]byte, error)
func (*NullableStoreHour) Set ¶
func (v *NullableStoreHour) Set(val *StoreHour)
func (*NullableStoreHour) UnmarshalJSON ¶
func (v *NullableStoreHour) UnmarshalJSON(src []byte) error
func (*NullableStoreHour) Unset ¶
func (v *NullableStoreHour) Unset()
type NullableStoreHourResponse ¶
type NullableStoreHourResponse struct {
// contains filtered or unexported fields
}
func NewNullableStoreHourResponse ¶
func NewNullableStoreHourResponse(val *StoreHourResponse) *NullableStoreHourResponse
func (NullableStoreHourResponse) Get ¶
func (v NullableStoreHourResponse) Get() *StoreHourResponse
func (NullableStoreHourResponse) IsSet ¶
func (v NullableStoreHourResponse) IsSet() bool
func (NullableStoreHourResponse) MarshalJSON ¶
func (v NullableStoreHourResponse) MarshalJSON() ([]byte, error)
func (*NullableStoreHourResponse) Set ¶
func (v *NullableStoreHourResponse) Set(val *StoreHourResponse)
func (*NullableStoreHourResponse) UnmarshalJSON ¶
func (v *NullableStoreHourResponse) UnmarshalJSON(src []byte) error
func (*NullableStoreHourResponse) Unset ¶
func (v *NullableStoreHourResponse) Unset()
type NullableStoreStatusResponse ¶
type NullableStoreStatusResponse struct {
// contains filtered or unexported fields
}
func NewNullableStoreStatusResponse ¶
func NewNullableStoreStatusResponse(val *StoreStatusResponse) *NullableStoreStatusResponse
func (NullableStoreStatusResponse) Get ¶
func (v NullableStoreStatusResponse) Get() *StoreStatusResponse
func (NullableStoreStatusResponse) IsSet ¶
func (v NullableStoreStatusResponse) IsSet() bool
func (NullableStoreStatusResponse) MarshalJSON ¶
func (v NullableStoreStatusResponse) MarshalJSON() ([]byte, error)
func (*NullableStoreStatusResponse) Set ¶
func (v *NullableStoreStatusResponse) Set(val *StoreStatusResponse)
func (*NullableStoreStatusResponse) UnmarshalJSON ¶
func (v *NullableStoreStatusResponse) UnmarshalJSON(src []byte) error
func (*NullableStoreStatusResponse) Unset ¶
func (v *NullableStoreStatusResponse) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSubmitOrderRequest ¶
type NullableSubmitOrderRequest struct {
// contains filtered or unexported fields
}
func NewNullableSubmitOrderRequest ¶
func NewNullableSubmitOrderRequest(val *SubmitOrderRequest) *NullableSubmitOrderRequest
func (NullableSubmitOrderRequest) Get ¶
func (v NullableSubmitOrderRequest) Get() *SubmitOrderRequest
func (NullableSubmitOrderRequest) IsSet ¶
func (v NullableSubmitOrderRequest) IsSet() bool
func (NullableSubmitOrderRequest) MarshalJSON ¶
func (v NullableSubmitOrderRequest) MarshalJSON() ([]byte, error)
func (*NullableSubmitOrderRequest) Set ¶
func (v *NullableSubmitOrderRequest) Set(val *SubmitOrderRequest)
func (*NullableSubmitOrderRequest) UnmarshalJSON ¶
func (v *NullableSubmitOrderRequest) UnmarshalJSON(src []byte) error
func (*NullableSubmitOrderRequest) Unset ¶
func (v *NullableSubmitOrderRequest) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUnbindMembershipNativeRequest ¶
type NullableUnbindMembershipNativeRequest struct {
// contains filtered or unexported fields
}
func NewNullableUnbindMembershipNativeRequest ¶
func NewNullableUnbindMembershipNativeRequest(val *UnbindMembershipNativeRequest) *NullableUnbindMembershipNativeRequest
func (NullableUnbindMembershipNativeRequest) Get ¶
func (v NullableUnbindMembershipNativeRequest) Get() *UnbindMembershipNativeRequest
func (NullableUnbindMembershipNativeRequest) IsSet ¶
func (v NullableUnbindMembershipNativeRequest) IsSet() bool
func (NullableUnbindMembershipNativeRequest) MarshalJSON ¶
func (v NullableUnbindMembershipNativeRequest) MarshalJSON() ([]byte, error)
func (*NullableUnbindMembershipNativeRequest) Set ¶
func (v *NullableUnbindMembershipNativeRequest) Set(val *UnbindMembershipNativeRequest)
func (*NullableUnbindMembershipNativeRequest) UnmarshalJSON ¶
func (v *NullableUnbindMembershipNativeRequest) UnmarshalJSON(src []byte) error
func (*NullableUnbindMembershipNativeRequest) Unset ¶
func (v *NullableUnbindMembershipNativeRequest) Unset()
type NullableUnlinkMembershipWebviewRequest ¶
type NullableUnlinkMembershipWebviewRequest struct {
// contains filtered or unexported fields
}
func NewNullableUnlinkMembershipWebviewRequest ¶
func NewNullableUnlinkMembershipWebviewRequest(val *UnlinkMembershipWebviewRequest) *NullableUnlinkMembershipWebviewRequest
func (NullableUnlinkMembershipWebviewRequest) Get ¶
func (v NullableUnlinkMembershipWebviewRequest) Get() *UnlinkMembershipWebviewRequest
func (NullableUnlinkMembershipWebviewRequest) IsSet ¶
func (v NullableUnlinkMembershipWebviewRequest) IsSet() bool
func (NullableUnlinkMembershipWebviewRequest) MarshalJSON ¶
func (v NullableUnlinkMembershipWebviewRequest) MarshalJSON() ([]byte, error)
func (*NullableUnlinkMembershipWebviewRequest) Set ¶
func (v *NullableUnlinkMembershipWebviewRequest) Set(val *UnlinkMembershipWebviewRequest)
func (*NullableUnlinkMembershipWebviewRequest) UnmarshalJSON ¶
func (v *NullableUnlinkMembershipWebviewRequest) UnmarshalJSON(src []byte) error
func (*NullableUnlinkMembershipWebviewRequest) Unset ¶
func (v *NullableUnlinkMembershipWebviewRequest) Unset()
type NullableUpdateAdvancedPricing ¶
type NullableUpdateAdvancedPricing struct {
// contains filtered or unexported fields
}
func NewNullableUpdateAdvancedPricing ¶
func NewNullableUpdateAdvancedPricing(val *UpdateAdvancedPricing) *NullableUpdateAdvancedPricing
func (NullableUpdateAdvancedPricing) Get ¶
func (v NullableUpdateAdvancedPricing) Get() *UpdateAdvancedPricing
func (NullableUpdateAdvancedPricing) IsSet ¶
func (v NullableUpdateAdvancedPricing) IsSet() bool
func (NullableUpdateAdvancedPricing) MarshalJSON ¶
func (v NullableUpdateAdvancedPricing) MarshalJSON() ([]byte, error)
func (*NullableUpdateAdvancedPricing) Set ¶
func (v *NullableUpdateAdvancedPricing) Set(val *UpdateAdvancedPricing)
func (*NullableUpdateAdvancedPricing) UnmarshalJSON ¶
func (v *NullableUpdateAdvancedPricing) UnmarshalJSON(src []byte) error
func (*NullableUpdateAdvancedPricing) Unset ¶
func (v *NullableUpdateAdvancedPricing) Unset()
type NullableUpdateCampaignRequest ¶
type NullableUpdateCampaignRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCampaignRequest ¶
func NewNullableUpdateCampaignRequest(val *UpdateCampaignRequest) *NullableUpdateCampaignRequest
func (NullableUpdateCampaignRequest) Get ¶
func (v NullableUpdateCampaignRequest) Get() *UpdateCampaignRequest
func (NullableUpdateCampaignRequest) IsSet ¶
func (v NullableUpdateCampaignRequest) IsSet() bool
func (NullableUpdateCampaignRequest) MarshalJSON ¶
func (v NullableUpdateCampaignRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateCampaignRequest) Set ¶
func (v *NullableUpdateCampaignRequest) Set(val *UpdateCampaignRequest)
func (*NullableUpdateCampaignRequest) UnmarshalJSON ¶
func (v *NullableUpdateCampaignRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateCampaignRequest) Unset ¶
func (v *NullableUpdateCampaignRequest) Unset()
type NullableUpdateDeliveryHourRequest ¶
type NullableUpdateDeliveryHourRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDeliveryHourRequest ¶
func NewNullableUpdateDeliveryHourRequest(val *UpdateDeliveryHourRequest) *NullableUpdateDeliveryHourRequest
func (NullableUpdateDeliveryHourRequest) Get ¶
func (v NullableUpdateDeliveryHourRequest) Get() *UpdateDeliveryHourRequest
func (NullableUpdateDeliveryHourRequest) IsSet ¶
func (v NullableUpdateDeliveryHourRequest) IsSet() bool
func (NullableUpdateDeliveryHourRequest) MarshalJSON ¶
func (v NullableUpdateDeliveryHourRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateDeliveryHourRequest) Set ¶
func (v *NullableUpdateDeliveryHourRequest) Set(val *UpdateDeliveryHourRequest)
func (*NullableUpdateDeliveryHourRequest) UnmarshalJSON ¶
func (v *NullableUpdateDeliveryHourRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateDeliveryHourRequest) Unset ¶
func (v *NullableUpdateDeliveryHourRequest) Unset()
type NullableUpdateDeliveryHourResponse ¶
type NullableUpdateDeliveryHourResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDeliveryHourResponse ¶
func NewNullableUpdateDeliveryHourResponse(val *UpdateDeliveryHourResponse) *NullableUpdateDeliveryHourResponse
func (NullableUpdateDeliveryHourResponse) Get ¶
func (v NullableUpdateDeliveryHourResponse) Get() *UpdateDeliveryHourResponse
func (NullableUpdateDeliveryHourResponse) IsSet ¶
func (v NullableUpdateDeliveryHourResponse) IsSet() bool
func (NullableUpdateDeliveryHourResponse) MarshalJSON ¶
func (v NullableUpdateDeliveryHourResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateDeliveryHourResponse) Set ¶
func (v *NullableUpdateDeliveryHourResponse) Set(val *UpdateDeliveryHourResponse)
func (*NullableUpdateDeliveryHourResponse) UnmarshalJSON ¶
func (v *NullableUpdateDeliveryHourResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateDeliveryHourResponse) Unset ¶
func (v *NullableUpdateDeliveryHourResponse) Unset()
type NullableUpdateDineInHourRequest ¶
type NullableUpdateDineInHourRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDineInHourRequest ¶
func NewNullableUpdateDineInHourRequest(val *UpdateDineInHourRequest) *NullableUpdateDineInHourRequest
func (NullableUpdateDineInHourRequest) Get ¶
func (v NullableUpdateDineInHourRequest) Get() *UpdateDineInHourRequest
func (NullableUpdateDineInHourRequest) IsSet ¶
func (v NullableUpdateDineInHourRequest) IsSet() bool
func (NullableUpdateDineInHourRequest) MarshalJSON ¶
func (v NullableUpdateDineInHourRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateDineInHourRequest) Set ¶
func (v *NullableUpdateDineInHourRequest) Set(val *UpdateDineInHourRequest)
func (*NullableUpdateDineInHourRequest) UnmarshalJSON ¶
func (v *NullableUpdateDineInHourRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateDineInHourRequest) Unset ¶
func (v *NullableUpdateDineInHourRequest) Unset()
type NullableUpdateDineInHourResponse ¶
type NullableUpdateDineInHourResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDineInHourResponse ¶
func NewNullableUpdateDineInHourResponse(val *UpdateDineInHourResponse) *NullableUpdateDineInHourResponse
func (NullableUpdateDineInHourResponse) Get ¶
func (v NullableUpdateDineInHourResponse) Get() *UpdateDineInHourResponse
func (NullableUpdateDineInHourResponse) IsSet ¶
func (v NullableUpdateDineInHourResponse) IsSet() bool
func (NullableUpdateDineInHourResponse) MarshalJSON ¶
func (v NullableUpdateDineInHourResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateDineInHourResponse) Set ¶
func (v *NullableUpdateDineInHourResponse) Set(val *UpdateDineInHourResponse)
func (*NullableUpdateDineInHourResponse) UnmarshalJSON ¶
func (v *NullableUpdateDineInHourResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateDineInHourResponse) Unset ¶
func (v *NullableUpdateDineInHourResponse) Unset()
type NullableUpdateMenuItem ¶
type NullableUpdateMenuItem struct {
// contains filtered or unexported fields
}
func NewNullableUpdateMenuItem ¶
func NewNullableUpdateMenuItem(val *UpdateMenuItem) *NullableUpdateMenuItem
func (NullableUpdateMenuItem) Get ¶
func (v NullableUpdateMenuItem) Get() *UpdateMenuItem
func (NullableUpdateMenuItem) IsSet ¶
func (v NullableUpdateMenuItem) IsSet() bool
func (NullableUpdateMenuItem) MarshalJSON ¶
func (v NullableUpdateMenuItem) MarshalJSON() ([]byte, error)
func (*NullableUpdateMenuItem) Set ¶
func (v *NullableUpdateMenuItem) Set(val *UpdateMenuItem)
func (*NullableUpdateMenuItem) UnmarshalJSON ¶
func (v *NullableUpdateMenuItem) UnmarshalJSON(src []byte) error
func (*NullableUpdateMenuItem) Unset ¶
func (v *NullableUpdateMenuItem) Unset()
type NullableUpdateMenuModifier ¶
type NullableUpdateMenuModifier struct {
// contains filtered or unexported fields
}
func NewNullableUpdateMenuModifier ¶
func NewNullableUpdateMenuModifier(val *UpdateMenuModifier) *NullableUpdateMenuModifier
func (NullableUpdateMenuModifier) Get ¶
func (v NullableUpdateMenuModifier) Get() *UpdateMenuModifier
func (NullableUpdateMenuModifier) IsSet ¶
func (v NullableUpdateMenuModifier) IsSet() bool
func (NullableUpdateMenuModifier) MarshalJSON ¶
func (v NullableUpdateMenuModifier) MarshalJSON() ([]byte, error)
func (*NullableUpdateMenuModifier) Set ¶
func (v *NullableUpdateMenuModifier) Set(val *UpdateMenuModifier)
func (*NullableUpdateMenuModifier) UnmarshalJSON ¶
func (v *NullableUpdateMenuModifier) UnmarshalJSON(src []byte) error
func (*NullableUpdateMenuModifier) Unset ¶
func (v *NullableUpdateMenuModifier) Unset()
type NullableUpdateMenuNotifRequest ¶
type NullableUpdateMenuNotifRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateMenuNotifRequest ¶
func NewNullableUpdateMenuNotifRequest(val *UpdateMenuNotifRequest) *NullableUpdateMenuNotifRequest
func (NullableUpdateMenuNotifRequest) Get ¶
func (v NullableUpdateMenuNotifRequest) Get() *UpdateMenuNotifRequest
func (NullableUpdateMenuNotifRequest) IsSet ¶
func (v NullableUpdateMenuNotifRequest) IsSet() bool
func (NullableUpdateMenuNotifRequest) MarshalJSON ¶
func (v NullableUpdateMenuNotifRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateMenuNotifRequest) Set ¶
func (v *NullableUpdateMenuNotifRequest) Set(val *UpdateMenuNotifRequest)
func (*NullableUpdateMenuNotifRequest) UnmarshalJSON ¶
func (v *NullableUpdateMenuNotifRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateMenuNotifRequest) Unset ¶
func (v *NullableUpdateMenuNotifRequest) Unset()
type NullableUpdateMenuRequest ¶
type NullableUpdateMenuRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateMenuRequest ¶
func NewNullableUpdateMenuRequest(val *UpdateMenuRequest) *NullableUpdateMenuRequest
func (NullableUpdateMenuRequest) Get ¶
func (v NullableUpdateMenuRequest) Get() *UpdateMenuRequest
func (NullableUpdateMenuRequest) IsSet ¶
func (v NullableUpdateMenuRequest) IsSet() bool
func (NullableUpdateMenuRequest) MarshalJSON ¶
func (v NullableUpdateMenuRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateMenuRequest) Set ¶
func (v *NullableUpdateMenuRequest) Set(val *UpdateMenuRequest)
func (*NullableUpdateMenuRequest) UnmarshalJSON ¶
func (v *NullableUpdateMenuRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateMenuRequest) Unset ¶
func (v *NullableUpdateMenuRequest) Unset()
type NullableUpdatePurchasability ¶
type NullableUpdatePurchasability struct {
// contains filtered or unexported fields
}
func NewNullableUpdatePurchasability ¶
func NewNullableUpdatePurchasability(val *UpdatePurchasability) *NullableUpdatePurchasability
func (NullableUpdatePurchasability) Get ¶
func (v NullableUpdatePurchasability) Get() *UpdatePurchasability
func (NullableUpdatePurchasability) IsSet ¶
func (v NullableUpdatePurchasability) IsSet() bool
func (NullableUpdatePurchasability) MarshalJSON ¶
func (v NullableUpdatePurchasability) MarshalJSON() ([]byte, error)
func (*NullableUpdatePurchasability) Set ¶
func (v *NullableUpdatePurchasability) Set(val *UpdatePurchasability)
func (*NullableUpdatePurchasability) UnmarshalJSON ¶
func (v *NullableUpdatePurchasability) UnmarshalJSON(src []byte) error
func (*NullableUpdatePurchasability) Unset ¶
func (v *NullableUpdatePurchasability) Unset()
type NullableUpdateSpecialHourRequest ¶
type NullableUpdateSpecialHourRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSpecialHourRequest ¶
func NewNullableUpdateSpecialHourRequest(val *UpdateSpecialHourRequest) *NullableUpdateSpecialHourRequest
func (NullableUpdateSpecialHourRequest) Get ¶
func (v NullableUpdateSpecialHourRequest) Get() *UpdateSpecialHourRequest
func (NullableUpdateSpecialHourRequest) IsSet ¶
func (v NullableUpdateSpecialHourRequest) IsSet() bool
func (NullableUpdateSpecialHourRequest) MarshalJSON ¶
func (v NullableUpdateSpecialHourRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateSpecialHourRequest) Set ¶
func (v *NullableUpdateSpecialHourRequest) Set(val *UpdateSpecialHourRequest)
func (*NullableUpdateSpecialHourRequest) UnmarshalJSON ¶
func (v *NullableUpdateSpecialHourRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateSpecialHourRequest) Unset ¶
func (v *NullableUpdateSpecialHourRequest) Unset()
type NullableUpdateSpecialHourResponse ¶
type NullableUpdateSpecialHourResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSpecialHourResponse ¶
func NewNullableUpdateSpecialHourResponse(val *UpdateSpecialHourResponse) *NullableUpdateSpecialHourResponse
func (NullableUpdateSpecialHourResponse) Get ¶
func (v NullableUpdateSpecialHourResponse) Get() *UpdateSpecialHourResponse
func (NullableUpdateSpecialHourResponse) IsSet ¶
func (v NullableUpdateSpecialHourResponse) IsSet() bool
func (NullableUpdateSpecialHourResponse) MarshalJSON ¶
func (v NullableUpdateSpecialHourResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateSpecialHourResponse) Set ¶
func (v *NullableUpdateSpecialHourResponse) Set(val *UpdateSpecialHourResponse)
func (*NullableUpdateSpecialHourResponse) UnmarshalJSON ¶
func (v *NullableUpdateSpecialHourResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateSpecialHourResponse) Unset ¶
func (v *NullableUpdateSpecialHourResponse) Unset()
type NullableVoucher ¶
type NullableVoucher struct {
// contains filtered or unexported fields
}
func NewNullableVoucher ¶
func NewNullableVoucher(val *Voucher) *NullableVoucher
func (NullableVoucher) Get ¶
func (v NullableVoucher) Get() *Voucher
func (NullableVoucher) IsSet ¶
func (v NullableVoucher) IsSet() bool
func (NullableVoucher) MarshalJSON ¶
func (v NullableVoucher) MarshalJSON() ([]byte, error)
func (*NullableVoucher) Set ¶
func (v *NullableVoucher) Set(val *Voucher)
func (*NullableVoucher) UnmarshalJSON ¶
func (v *NullableVoucher) UnmarshalJSON(src []byte) error
func (*NullableVoucher) Unset ¶
func (v *NullableVoucher) Unset()
type NullableVoucherDescriptionInfo ¶
type NullableVoucherDescriptionInfo struct {
// contains filtered or unexported fields
}
func NewNullableVoucherDescriptionInfo ¶
func NewNullableVoucherDescriptionInfo(val *VoucherDescriptionInfo) *NullableVoucherDescriptionInfo
func (NullableVoucherDescriptionInfo) Get ¶
func (v NullableVoucherDescriptionInfo) Get() *VoucherDescriptionInfo
func (NullableVoucherDescriptionInfo) IsSet ¶
func (v NullableVoucherDescriptionInfo) IsSet() bool
func (NullableVoucherDescriptionInfo) MarshalJSON ¶
func (v NullableVoucherDescriptionInfo) MarshalJSON() ([]byte, error)
func (*NullableVoucherDescriptionInfo) Set ¶
func (v *NullableVoucherDescriptionInfo) Set(val *VoucherDescriptionInfo)
func (*NullableVoucherDescriptionInfo) UnmarshalJSON ¶
func (v *NullableVoucherDescriptionInfo) UnmarshalJSON(src []byte) error
func (*NullableVoucherDescriptionInfo) Unset ¶
func (v *NullableVoucherDescriptionInfo) Unset()
type NullableWorkingHour ¶
type NullableWorkingHour struct {
// contains filtered or unexported fields
}
func NewNullableWorkingHour ¶
func NewNullableWorkingHour(val *WorkingHour) *NullableWorkingHour
func (NullableWorkingHour) Get ¶
func (v NullableWorkingHour) Get() *WorkingHour
func (NullableWorkingHour) IsSet ¶
func (v NullableWorkingHour) IsSet() bool
func (NullableWorkingHour) MarshalJSON ¶
func (v NullableWorkingHour) MarshalJSON() ([]byte, error)
func (*NullableWorkingHour) Set ¶
func (v *NullableWorkingHour) Set(val *WorkingHour)
func (*NullableWorkingHour) UnmarshalJSON ¶
func (v *NullableWorkingHour) UnmarshalJSON(src []byte) error
func (*NullableWorkingHour) Unset ¶
func (v *NullableWorkingHour) Unset()
type NullableWorkingHourDay ¶
type NullableWorkingHourDay struct {
// contains filtered or unexported fields
}
func NewNullableWorkingHourDay ¶
func NewNullableWorkingHourDay(val *WorkingHourDay) *NullableWorkingHourDay
func (NullableWorkingHourDay) Get ¶
func (v NullableWorkingHourDay) Get() *WorkingHourDay
func (NullableWorkingHourDay) IsSet ¶
func (v NullableWorkingHourDay) IsSet() bool
func (NullableWorkingHourDay) MarshalJSON ¶
func (v NullableWorkingHourDay) MarshalJSON() ([]byte, error)
func (*NullableWorkingHourDay) Set ¶
func (v *NullableWorkingHourDay) Set(val *WorkingHourDay)
func (*NullableWorkingHourDay) UnmarshalJSON ¶
func (v *NullableWorkingHourDay) UnmarshalJSON(src []byte) error
func (*NullableWorkingHourDay) Unset ¶
func (v *NullableWorkingHourDay) Unset()
type OpenPeriod ¶
type OpenPeriod struct { // The open start time in 24h format. Local time format is expected. StartTime string `json:"startTime"` // The open end time in 24h format. Local time format is expected. EndTime string `json:"endTime"` AdditionalProperties map[string]interface{} }
OpenPeriod struct for OpenPeriod
func NewOpenPeriod ¶
func NewOpenPeriod(startTime string, endTime string) *OpenPeriod
NewOpenPeriod instantiates a new OpenPeriod 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 NewOpenPeriodWithDefaults ¶
func NewOpenPeriodWithDefaults() *OpenPeriod
NewOpenPeriodWithDefaults instantiates a new OpenPeriod 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 (*OpenPeriod) GetEndTime ¶
func (o *OpenPeriod) GetEndTime() string
GetEndTime returns the EndTime field value
func (*OpenPeriod) GetEndTimeOk ¶
func (o *OpenPeriod) GetEndTimeOk() (*string, bool)
GetEndTimeOk returns a tuple with the EndTime field value and a boolean to check if the value has been set.
func (*OpenPeriod) GetStartTime ¶
func (o *OpenPeriod) GetStartTime() string
GetStartTime returns the StartTime field value
func (*OpenPeriod) GetStartTimeOk ¶
func (o *OpenPeriod) GetStartTimeOk() (*string, bool)
GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set.
func (OpenPeriod) MarshalJSON ¶
func (o OpenPeriod) MarshalJSON() ([]byte, error)
func (*OpenPeriod) SetEndTime ¶
func (o *OpenPeriod) SetEndTime(v string)
SetEndTime sets field value
func (*OpenPeriod) SetStartTime ¶
func (o *OpenPeriod) SetStartTime(v string)
SetStartTime sets field value
func (OpenPeriod) ToMap ¶
func (o OpenPeriod) ToMap() (map[string]interface{}, error)
func (*OpenPeriod) UnmarshalJSON ¶
func (o *OpenPeriod) UnmarshalJSON(data []byte) (err error)
type Order ¶
type Order struct { // The order's ID that is returned from GrabFood. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). OrderID string `json:"orderID"` // The GrabFood short order number. This is unique for each merchant per day. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). ShortOrderNumber string `json:"shortOrderNumber"` // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` // The merchant's ID that is on the partner's database. PartnerMerchantID *string `json:"partnerMerchantID,omitempty"` // The payment method used. Refer to FAQs for more details about [paymentType](#section/Order/Does-the-paymentType-affect-partners). PaymentType string `json:"paymentType"` // The boolean value to indicate whether cutlery are needed or not. Refer to FAQs for more details about [cutlery](#section/Order/What-do-the-true-or-false-values-mean-for-cutlery). Cutlery bool `json:"cutlery"` // The UTC time that a consumer places the order, based on ISO_8601/RFC3339. OrderTime string `json:"orderTime"` // The order submit time, based on ISO_8601/RFC3339. `null` in Submit Order payload. Only present in the [List Orders](#tag/list-order) response. SubmitTime *time.Time `json:"submitTime,omitempty"` // The order complete time, based on ISO_8601/RFC3339. `null` in Submit Order payload. Only present in the [List Orders](#tag/list-order) response. CompleteTime *time.Time `json:"completeTime,omitempty"` // The order scheduled time, based on ISO_8601/RFC3339. Empty for non-scheduled orders. ScheduledTime *string `json:"scheduledTime,omitempty"` // The state of the order. Empty in Submit Order payload. Only present in the [List Orders](#tag/list-order) response. Refer to [Order States](#section/Order-states). OrderState *string `json:"orderState,omitempty"` Currency Currency `json:"currency"` FeatureFlags OrderFeatureFlags `json:"featureFlags"` // The ordered items in an array of JSON Object. Items []OrderItem `json:"items"` // The campaigns that are applicable for the order. `null` when there is no campaign applied. Only campaigns that are funded by merchants will be sent. Campaigns []OrderCampaign `json:"campaigns,omitempty"` // An array of promotion objects. `null` when there is no promo code applied. Only promotions that are funded by merchants will be sent. Promos []OrderPromo `json:"promos,omitempty"` Price OrderPrice `json:"price"` DineIn NullableDineIn `json:"dineIn,omitempty"` Receiver NullableReceiver `json:"receiver,omitempty"` OrderReadyEstimation *OrderReadyEstimation `json:"orderReadyEstimation,omitempty"` // Membership ID for loyalty project. Only present for loyalty program partners. Empty if not applicable. MembershipID *string `json:"membershipID,omitempty"` AdditionalProperties map[string]interface{} }
Order A JSON object containing the order information.
func NewOrder ¶
func NewOrder(orderID string, shortOrderNumber string, merchantID string, paymentType string, cutlery bool, orderTime string, currency Currency, featureFlags OrderFeatureFlags, items []OrderItem, price OrderPrice) *Order
NewOrder instantiates a new Order 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 NewOrderWithDefaults ¶
func NewOrderWithDefaults() *Order
NewOrderWithDefaults instantiates a new Order 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 (*Order) GetCampaigns ¶
func (o *Order) GetCampaigns() []OrderCampaign
GetCampaigns returns the Campaigns field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Order) GetCampaignsOk ¶
func (o *Order) GetCampaignsOk() ([]OrderCampaign, bool)
GetCampaignsOk returns a tuple with the Campaigns field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Order) GetCompleteTime ¶
GetCompleteTime returns the CompleteTime field value if set, zero value otherwise.
func (*Order) GetCompleteTimeOk ¶
GetCompleteTimeOk returns a tuple with the CompleteTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetCurrency ¶
GetCurrency returns the Currency field value
func (*Order) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Order) GetCutlery ¶
GetCutlery returns the Cutlery field value
func (*Order) GetCutleryOk ¶
GetCutleryOk returns a tuple with the Cutlery field value and a boolean to check if the value has been set.
func (*Order) GetDineIn ¶
GetDineIn returns the DineIn field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Order) GetDineInOk ¶
GetDineInOk returns a tuple with the DineIn field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Order) GetFeatureFlags ¶
func (o *Order) GetFeatureFlags() OrderFeatureFlags
GetFeatureFlags returns the FeatureFlags field value
func (*Order) GetFeatureFlagsOk ¶
func (o *Order) GetFeatureFlagsOk() (*OrderFeatureFlags, bool)
GetFeatureFlagsOk returns a tuple with the FeatureFlags field value and a boolean to check if the value has been set.
func (*Order) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*Order) GetMembershipID ¶
GetMembershipID returns the MembershipID field value if set, zero value otherwise.
func (*Order) GetMembershipIDOk ¶
GetMembershipIDOk returns a tuple with the MembershipID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetMerchantID ¶
GetMerchantID returns the MerchantID field value
func (*Order) GetMerchantIDOk ¶
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*Order) GetOrderID ¶
GetOrderID returns the OrderID field value
func (*Order) GetOrderIDOk ¶
GetOrderIDOk returns a tuple with the OrderID field value and a boolean to check if the value has been set.
func (*Order) GetOrderReadyEstimation ¶
func (o *Order) GetOrderReadyEstimation() OrderReadyEstimation
GetOrderReadyEstimation returns the OrderReadyEstimation field value if set, zero value otherwise.
func (*Order) GetOrderReadyEstimationOk ¶
func (o *Order) GetOrderReadyEstimationOk() (*OrderReadyEstimation, bool)
GetOrderReadyEstimationOk returns a tuple with the OrderReadyEstimation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetOrderState ¶
GetOrderState returns the OrderState field value if set, zero value otherwise.
func (*Order) GetOrderStateOk ¶
GetOrderStateOk returns a tuple with the OrderState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetOrderTime ¶
GetOrderTime returns the OrderTime field value
func (*Order) GetOrderTimeOk ¶
GetOrderTimeOk returns a tuple with the OrderTime field value and a boolean to check if the value has been set.
func (*Order) GetPartnerMerchantID ¶
GetPartnerMerchantID returns the PartnerMerchantID field value if set, zero value otherwise.
func (*Order) GetPartnerMerchantIDOk ¶
GetPartnerMerchantIDOk returns a tuple with the PartnerMerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetPaymentType ¶
GetPaymentType returns the PaymentType field value
func (*Order) GetPaymentTypeOk ¶
GetPaymentTypeOk returns a tuple with the PaymentType field value and a boolean to check if the value has been set.
func (*Order) GetPrice ¶
func (o *Order) GetPrice() OrderPrice
GetPrice returns the Price field value
func (*Order) GetPriceOk ¶
func (o *Order) GetPriceOk() (*OrderPrice, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*Order) GetPromos ¶
func (o *Order) GetPromos() []OrderPromo
GetPromos returns the Promos field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Order) GetPromosOk ¶
func (o *Order) GetPromosOk() ([]OrderPromo, bool)
GetPromosOk returns a tuple with the Promos field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Order) GetReceiver ¶
GetReceiver returns the Receiver field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Order) GetReceiverOk ¶
GetReceiverOk returns a tuple with the Receiver field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Order) GetScheduledTime ¶
GetScheduledTime returns the ScheduledTime field value if set, zero value otherwise.
func (*Order) GetScheduledTimeOk ¶
GetScheduledTimeOk returns a tuple with the ScheduledTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetShortOrderNumber ¶
GetShortOrderNumber returns the ShortOrderNumber field value
func (*Order) GetShortOrderNumberOk ¶
GetShortOrderNumberOk returns a tuple with the ShortOrderNumber field value and a boolean to check if the value has been set.
func (*Order) GetSubmitTime ¶
GetSubmitTime returns the SubmitTime field value if set, zero value otherwise.
func (*Order) GetSubmitTimeOk ¶
GetSubmitTimeOk returns a tuple with the SubmitTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) HasCampaigns ¶
HasCampaigns returns a boolean if a field has been set.
func (*Order) HasCompleteTime ¶
HasCompleteTime returns a boolean if a field has been set.
func (*Order) HasMembershipID ¶
HasMembershipID returns a boolean if a field has been set.
func (*Order) HasOrderReadyEstimation ¶
HasOrderReadyEstimation returns a boolean if a field has been set.
func (*Order) HasOrderState ¶
HasOrderState returns a boolean if a field has been set.
func (*Order) HasPartnerMerchantID ¶
HasPartnerMerchantID returns a boolean if a field has been set.
func (*Order) HasReceiver ¶
HasReceiver returns a boolean if a field has been set.
func (*Order) HasScheduledTime ¶
HasScheduledTime returns a boolean if a field has been set.
func (*Order) HasSubmitTime ¶
HasSubmitTime returns a boolean if a field has been set.
func (Order) MarshalJSON ¶
func (*Order) SetCampaigns ¶
func (o *Order) SetCampaigns(v []OrderCampaign)
SetCampaigns gets a reference to the given []OrderCampaign and assigns it to the Campaigns field.
func (*Order) SetCompleteTime ¶
SetCompleteTime gets a reference to the given time.Time and assigns it to the CompleteTime field.
func (*Order) SetDineIn ¶
SetDineIn gets a reference to the given NullableDineIn and assigns it to the DineIn field.
func (*Order) SetDineInNil ¶ added in v1.0.1
func (o *Order) SetDineInNil()
SetDineInNil sets the value for DineIn to be an explicit nil
func (*Order) SetFeatureFlags ¶
func (o *Order) SetFeatureFlags(v OrderFeatureFlags)
SetFeatureFlags sets field value
func (*Order) SetMembershipID ¶
SetMembershipID gets a reference to the given string and assigns it to the MembershipID field.
func (*Order) SetMerchantID ¶
SetMerchantID sets field value
func (*Order) SetOrderReadyEstimation ¶
func (o *Order) SetOrderReadyEstimation(v OrderReadyEstimation)
SetOrderReadyEstimation gets a reference to the given OrderReadyEstimation and assigns it to the OrderReadyEstimation field.
func (*Order) SetOrderState ¶
SetOrderState gets a reference to the given string and assigns it to the OrderState field.
func (*Order) SetPartnerMerchantID ¶
SetPartnerMerchantID gets a reference to the given string and assigns it to the PartnerMerchantID field.
func (*Order) SetPaymentType ¶
SetPaymentType sets field value
func (*Order) SetPromos ¶
func (o *Order) SetPromos(v []OrderPromo)
SetPromos gets a reference to the given []OrderPromo and assigns it to the Promos field.
func (*Order) SetReceiver ¶
SetReceiver gets a reference to the given NullableReceiver and assigns it to the Receiver field.
func (*Order) SetReceiverNil ¶ added in v1.0.1
func (o *Order) SetReceiverNil()
SetReceiverNil sets the value for Receiver to be an explicit nil
func (*Order) SetScheduledTime ¶
SetScheduledTime gets a reference to the given string and assigns it to the ScheduledTime field.
func (*Order) SetShortOrderNumber ¶
SetShortOrderNumber sets field value
func (*Order) SetSubmitTime ¶
SetSubmitTime gets a reference to the given time.Time and assigns it to the SubmitTime field.
func (*Order) UnmarshalJSON ¶
func (*Order) UnsetDineIn ¶ added in v1.0.1
func (o *Order) UnsetDineIn()
UnsetDineIn ensures that no value is present for DineIn, not even an explicit nil
func (*Order) UnsetReceiver ¶ added in v1.0.1
func (o *Order) UnsetReceiver()
UnsetReceiver ensures that no value is present for Receiver, not even an explicit nil
type OrderCampaign ¶
type OrderCampaign struct { // The campaign's ID returned by GrabFood upon campaign creation. Id *string `json:"id,omitempty"` // The name of the campaign. This campaign name has been automatically generated by Grab for display in the customer app. Name *string `json:"name,omitempty"` // The campaign name provided by the merchant in [Create Campaign](#tag/create-campaign). Whitelist required, reach out to your integration manager. CampaignNameForMex *string `json:"campaignNameForMex,omitempty"` // The campaign level. Level *string `json:"level,omitempty"` // The type of campaign. Type *string `json:"type,omitempty"` // The redemption count of same campaign in this order. UsageCount *int64 `json:"usageCount,omitempty"` // The ratio funded by the merchant in percentage. MexFundedRatio *int32 `json:"mexFundedRatio,omitempty"` // The total discount amount in minor unit format applied to the order based on the campaign's usage count. The amount is rounded to the nearest value for `VND`, `IDR`, and `THB`, as decimals are not supported. “` deductedAmount = Item price(tax inclusive) * 20% discount | 2375*0.2=475 DeductedAmount *int64 `json:"deductedAmount,omitempty"` // The part that the campaign is applied. DeductedPart *string `json:"deductedPart,omitempty"` // An array of item IDs that get discount under this campaign. `null` if no item applied in this campaign. AppliedItemIDs []string `json:"appliedItemIDs,omitempty"` FreeItem *OrderFreeItem `json:"freeItem,omitempty"` AdditionalProperties map[string]interface{} }
OrderCampaign struct for OrderCampaign
func NewOrderCampaign ¶
func NewOrderCampaign() *OrderCampaign
NewOrderCampaign instantiates a new OrderCampaign 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 NewOrderCampaignWithDefaults ¶
func NewOrderCampaignWithDefaults() *OrderCampaign
NewOrderCampaignWithDefaults instantiates a new OrderCampaign 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 (*OrderCampaign) GetAppliedItemIDs ¶
func (o *OrderCampaign) GetAppliedItemIDs() []string
GetAppliedItemIDs returns the AppliedItemIDs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderCampaign) GetAppliedItemIDsOk ¶
func (o *OrderCampaign) GetAppliedItemIDsOk() ([]string, bool)
GetAppliedItemIDsOk returns a tuple with the AppliedItemIDs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OrderCampaign) GetCampaignNameForMex ¶
func (o *OrderCampaign) GetCampaignNameForMex() string
GetCampaignNameForMex returns the CampaignNameForMex field value if set, zero value otherwise.
func (*OrderCampaign) GetCampaignNameForMexOk ¶
func (o *OrderCampaign) GetCampaignNameForMexOk() (*string, bool)
GetCampaignNameForMexOk returns a tuple with the CampaignNameForMex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCampaign) GetDeductedAmount ¶
func (o *OrderCampaign) GetDeductedAmount() int64
GetDeductedAmount returns the DeductedAmount field value if set, zero value otherwise.
func (*OrderCampaign) GetDeductedAmountOk ¶
func (o *OrderCampaign) GetDeductedAmountOk() (*int64, bool)
GetDeductedAmountOk returns a tuple with the DeductedAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCampaign) GetDeductedPart ¶
func (o *OrderCampaign) GetDeductedPart() string
GetDeductedPart returns the DeductedPart field value if set, zero value otherwise.
func (*OrderCampaign) GetDeductedPartOk ¶
func (o *OrderCampaign) GetDeductedPartOk() (*string, bool)
GetDeductedPartOk returns a tuple with the DeductedPart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCampaign) GetFreeItem ¶
func (o *OrderCampaign) GetFreeItem() OrderFreeItem
GetFreeItem returns the FreeItem field value if set, zero value otherwise.
func (*OrderCampaign) GetFreeItemOk ¶
func (o *OrderCampaign) GetFreeItemOk() (*OrderFreeItem, bool)
GetFreeItemOk returns a tuple with the FreeItem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCampaign) GetId ¶
func (o *OrderCampaign) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*OrderCampaign) GetIdOk ¶
func (o *OrderCampaign) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCampaign) GetLevel ¶
func (o *OrderCampaign) GetLevel() string
GetLevel returns the Level field value if set, zero value otherwise.
func (*OrderCampaign) GetLevelOk ¶
func (o *OrderCampaign) GetLevelOk() (*string, bool)
GetLevelOk returns a tuple with the Level field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCampaign) GetMexFundedRatio ¶
func (o *OrderCampaign) GetMexFundedRatio() int32
GetMexFundedRatio returns the MexFundedRatio field value if set, zero value otherwise.
func (*OrderCampaign) GetMexFundedRatioOk ¶
func (o *OrderCampaign) GetMexFundedRatioOk() (*int32, bool)
GetMexFundedRatioOk returns a tuple with the MexFundedRatio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCampaign) GetName ¶
func (o *OrderCampaign) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OrderCampaign) GetNameOk ¶
func (o *OrderCampaign) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCampaign) GetType ¶
func (o *OrderCampaign) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*OrderCampaign) GetTypeOk ¶
func (o *OrderCampaign) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCampaign) GetUsageCount ¶
func (o *OrderCampaign) GetUsageCount() int64
GetUsageCount returns the UsageCount field value if set, zero value otherwise.
func (*OrderCampaign) GetUsageCountOk ¶
func (o *OrderCampaign) GetUsageCountOk() (*int64, bool)
GetUsageCountOk returns a tuple with the UsageCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderCampaign) HasAppliedItemIDs ¶
func (o *OrderCampaign) HasAppliedItemIDs() bool
HasAppliedItemIDs returns a boolean if a field has been set.
func (*OrderCampaign) HasCampaignNameForMex ¶
func (o *OrderCampaign) HasCampaignNameForMex() bool
HasCampaignNameForMex returns a boolean if a field has been set.
func (*OrderCampaign) HasDeductedAmount ¶
func (o *OrderCampaign) HasDeductedAmount() bool
HasDeductedAmount returns a boolean if a field has been set.
func (*OrderCampaign) HasDeductedPart ¶
func (o *OrderCampaign) HasDeductedPart() bool
HasDeductedPart returns a boolean if a field has been set.
func (*OrderCampaign) HasFreeItem ¶
func (o *OrderCampaign) HasFreeItem() bool
HasFreeItem returns a boolean if a field has been set.
func (*OrderCampaign) HasId ¶
func (o *OrderCampaign) HasId() bool
HasId returns a boolean if a field has been set.
func (*OrderCampaign) HasLevel ¶
func (o *OrderCampaign) HasLevel() bool
HasLevel returns a boolean if a field has been set.
func (*OrderCampaign) HasMexFundedRatio ¶
func (o *OrderCampaign) HasMexFundedRatio() bool
HasMexFundedRatio returns a boolean if a field has been set.
func (*OrderCampaign) HasName ¶
func (o *OrderCampaign) HasName() bool
HasName returns a boolean if a field has been set.
func (*OrderCampaign) HasType ¶
func (o *OrderCampaign) HasType() bool
HasType returns a boolean if a field has been set.
func (*OrderCampaign) HasUsageCount ¶
func (o *OrderCampaign) HasUsageCount() bool
HasUsageCount returns a boolean if a field has been set.
func (OrderCampaign) MarshalJSON ¶
func (o OrderCampaign) MarshalJSON() ([]byte, error)
func (*OrderCampaign) SetAppliedItemIDs ¶
func (o *OrderCampaign) SetAppliedItemIDs(v []string)
SetAppliedItemIDs gets a reference to the given []string and assigns it to the AppliedItemIDs field.
func (*OrderCampaign) SetCampaignNameForMex ¶
func (o *OrderCampaign) SetCampaignNameForMex(v string)
SetCampaignNameForMex gets a reference to the given string and assigns it to the CampaignNameForMex field.
func (*OrderCampaign) SetDeductedAmount ¶
func (o *OrderCampaign) SetDeductedAmount(v int64)
SetDeductedAmount gets a reference to the given int64 and assigns it to the DeductedAmount field.
func (*OrderCampaign) SetDeductedPart ¶
func (o *OrderCampaign) SetDeductedPart(v string)
SetDeductedPart gets a reference to the given string and assigns it to the DeductedPart field.
func (*OrderCampaign) SetFreeItem ¶
func (o *OrderCampaign) SetFreeItem(v OrderFreeItem)
SetFreeItem gets a reference to the given OrderFreeItem and assigns it to the FreeItem field.
func (*OrderCampaign) SetId ¶
func (o *OrderCampaign) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*OrderCampaign) SetLevel ¶
func (o *OrderCampaign) SetLevel(v string)
SetLevel gets a reference to the given string and assigns it to the Level field.
func (*OrderCampaign) SetMexFundedRatio ¶
func (o *OrderCampaign) SetMexFundedRatio(v int32)
SetMexFundedRatio gets a reference to the given int32 and assigns it to the MexFundedRatio field.
func (*OrderCampaign) SetName ¶
func (o *OrderCampaign) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OrderCampaign) SetType ¶
func (o *OrderCampaign) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*OrderCampaign) SetUsageCount ¶
func (o *OrderCampaign) SetUsageCount(v int64)
SetUsageCount gets a reference to the given int64 and assigns it to the UsageCount field.
func (OrderCampaign) ToMap ¶
func (o OrderCampaign) ToMap() (map[string]interface{}, error)
func (*OrderCampaign) UnmarshalJSON ¶
func (o *OrderCampaign) UnmarshalJSON(data []byte) (err error)
type OrderDeliveryRequest ¶
type OrderDeliveryRequest struct { // The order's ID that is returned from GrabFood. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). OrderID string `json:"orderID"` // Specify the order's initial state. FromState string `json:"fromState"` // Specify the order's new state. ToState string `json:"toState"` AdditionalProperties map[string]interface{} }
OrderDeliveryRequest This request marks an order as delivered on GrabFood.
func NewOrderDeliveryRequest ¶
func NewOrderDeliveryRequest(orderID string, fromState string, toState string) *OrderDeliveryRequest
NewOrderDeliveryRequest instantiates a new OrderDeliveryRequest 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 NewOrderDeliveryRequestWithDefaults ¶
func NewOrderDeliveryRequestWithDefaults() *OrderDeliveryRequest
NewOrderDeliveryRequestWithDefaults instantiates a new OrderDeliveryRequest 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 (*OrderDeliveryRequest) GetFromState ¶
func (o *OrderDeliveryRequest) GetFromState() string
GetFromState returns the FromState field value
func (*OrderDeliveryRequest) GetFromStateOk ¶
func (o *OrderDeliveryRequest) GetFromStateOk() (*string, bool)
GetFromStateOk returns a tuple with the FromState field value and a boolean to check if the value has been set.
func (*OrderDeliveryRequest) GetOrderID ¶
func (o *OrderDeliveryRequest) GetOrderID() string
GetOrderID returns the OrderID field value
func (*OrderDeliveryRequest) GetOrderIDOk ¶
func (o *OrderDeliveryRequest) GetOrderIDOk() (*string, bool)
GetOrderIDOk returns a tuple with the OrderID field value and a boolean to check if the value has been set.
func (*OrderDeliveryRequest) GetToState ¶
func (o *OrderDeliveryRequest) GetToState() string
GetToState returns the ToState field value
func (*OrderDeliveryRequest) GetToStateOk ¶
func (o *OrderDeliveryRequest) GetToStateOk() (*string, bool)
GetToStateOk returns a tuple with the ToState field value and a boolean to check if the value has been set.
func (OrderDeliveryRequest) MarshalJSON ¶
func (o OrderDeliveryRequest) MarshalJSON() ([]byte, error)
func (*OrderDeliveryRequest) SetFromState ¶
func (o *OrderDeliveryRequest) SetFromState(v string)
SetFromState sets field value
func (*OrderDeliveryRequest) SetOrderID ¶
func (o *OrderDeliveryRequest) SetOrderID(v string)
SetOrderID sets field value
func (*OrderDeliveryRequest) SetToState ¶
func (o *OrderDeliveryRequest) SetToState(v string)
SetToState sets field value
func (OrderDeliveryRequest) ToMap ¶
func (o OrderDeliveryRequest) ToMap() (map[string]interface{}, error)
func (*OrderDeliveryRequest) UnmarshalJSON ¶
func (o *OrderDeliveryRequest) UnmarshalJSON(data []byte) (err error)
type OrderFeatureFlags ¶
type OrderFeatureFlags struct { // The acceptance type for the order. Refer to FAQs for more details about [orderAcceptedType](#section/Order/How-do-I-identify-if-a-particular-order-is-auto-or-manual-acceptance). OrderAcceptedType string `json:"orderAcceptedType"` // The type of order. OrderType string `json:"orderType"` // A boolean value that indicates if the order is edited. IsMexEditOrder *bool `json:"isMexEditOrder,omitempty"` AdditionalProperties map[string]interface{} }
OrderFeatureFlags The featureFlag JSON object containing an order's feature related information.
func NewOrderFeatureFlags ¶
func NewOrderFeatureFlags(orderAcceptedType string, orderType string) *OrderFeatureFlags
NewOrderFeatureFlags instantiates a new OrderFeatureFlags 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 NewOrderFeatureFlagsWithDefaults ¶
func NewOrderFeatureFlagsWithDefaults() *OrderFeatureFlags
NewOrderFeatureFlagsWithDefaults instantiates a new OrderFeatureFlags 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 (*OrderFeatureFlags) GetIsMexEditOrder ¶
func (o *OrderFeatureFlags) GetIsMexEditOrder() bool
GetIsMexEditOrder returns the IsMexEditOrder field value if set, zero value otherwise.
func (*OrderFeatureFlags) GetIsMexEditOrderOk ¶
func (o *OrderFeatureFlags) GetIsMexEditOrderOk() (*bool, bool)
GetIsMexEditOrderOk returns a tuple with the IsMexEditOrder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFeatureFlags) GetOrderAcceptedType ¶
func (o *OrderFeatureFlags) GetOrderAcceptedType() string
GetOrderAcceptedType returns the OrderAcceptedType field value
func (*OrderFeatureFlags) GetOrderAcceptedTypeOk ¶
func (o *OrderFeatureFlags) GetOrderAcceptedTypeOk() (*string, bool)
GetOrderAcceptedTypeOk returns a tuple with the OrderAcceptedType field value and a boolean to check if the value has been set.
func (*OrderFeatureFlags) GetOrderType ¶
func (o *OrderFeatureFlags) GetOrderType() string
GetOrderType returns the OrderType field value
func (*OrderFeatureFlags) GetOrderTypeOk ¶
func (o *OrderFeatureFlags) GetOrderTypeOk() (*string, bool)
GetOrderTypeOk returns a tuple with the OrderType field value and a boolean to check if the value has been set.
func (*OrderFeatureFlags) HasIsMexEditOrder ¶
func (o *OrderFeatureFlags) HasIsMexEditOrder() bool
HasIsMexEditOrder returns a boolean if a field has been set.
func (OrderFeatureFlags) MarshalJSON ¶
func (o OrderFeatureFlags) MarshalJSON() ([]byte, error)
func (*OrderFeatureFlags) SetIsMexEditOrder ¶
func (o *OrderFeatureFlags) SetIsMexEditOrder(v bool)
SetIsMexEditOrder gets a reference to the given bool and assigns it to the IsMexEditOrder field.
func (*OrderFeatureFlags) SetOrderAcceptedType ¶
func (o *OrderFeatureFlags) SetOrderAcceptedType(v string)
SetOrderAcceptedType sets field value
func (*OrderFeatureFlags) SetOrderType ¶
func (o *OrderFeatureFlags) SetOrderType(v string)
SetOrderType sets field value
func (OrderFeatureFlags) ToMap ¶
func (o OrderFeatureFlags) ToMap() (map[string]interface{}, error)
func (*OrderFeatureFlags) UnmarshalJSON ¶
func (o *OrderFeatureFlags) UnmarshalJSON(data []byte) (err error)
type OrderFreeItem ¶
type OrderFreeItem struct { // The free item's externalID in the partner system. Empty if not applicable. Id *string `json:"id,omitempty"` // The name of the free item. Empty if not applicable. Name *string `json:"name,omitempty"` // The item's quantity. Maximum is **1**. Quantity *int32 `json:"quantity,omitempty"` // The item's price in minor unit format. Price *int64 `json:"price,omitempty"` AdditionalProperties map[string]interface{} }
OrderFreeItem Free item information for `freeItem` campaign.
func NewOrderFreeItem ¶
func NewOrderFreeItem() *OrderFreeItem
NewOrderFreeItem instantiates a new OrderFreeItem 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 NewOrderFreeItemWithDefaults ¶
func NewOrderFreeItemWithDefaults() *OrderFreeItem
NewOrderFreeItemWithDefaults instantiates a new OrderFreeItem 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 (*OrderFreeItem) GetId ¶
func (o *OrderFreeItem) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*OrderFreeItem) GetIdOk ¶
func (o *OrderFreeItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFreeItem) GetName ¶
func (o *OrderFreeItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OrderFreeItem) GetNameOk ¶
func (o *OrderFreeItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFreeItem) GetPrice ¶
func (o *OrderFreeItem) GetPrice() int64
GetPrice returns the Price field value if set, zero value otherwise.
func (*OrderFreeItem) GetPriceOk ¶
func (o *OrderFreeItem) GetPriceOk() (*int64, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFreeItem) GetQuantity ¶
func (o *OrderFreeItem) GetQuantity() int32
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*OrderFreeItem) GetQuantityOk ¶
func (o *OrderFreeItem) GetQuantityOk() (*int32, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderFreeItem) HasId ¶
func (o *OrderFreeItem) HasId() bool
HasId returns a boolean if a field has been set.
func (*OrderFreeItem) HasName ¶
func (o *OrderFreeItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*OrderFreeItem) HasPrice ¶
func (o *OrderFreeItem) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*OrderFreeItem) HasQuantity ¶
func (o *OrderFreeItem) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (OrderFreeItem) MarshalJSON ¶
func (o OrderFreeItem) MarshalJSON() ([]byte, error)
func (*OrderFreeItem) SetId ¶
func (o *OrderFreeItem) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*OrderFreeItem) SetName ¶
func (o *OrderFreeItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OrderFreeItem) SetPrice ¶
func (o *OrderFreeItem) SetPrice(v int64)
SetPrice gets a reference to the given int64 and assigns it to the Price field.
func (*OrderFreeItem) SetQuantity ¶
func (o *OrderFreeItem) SetQuantity(v int32)
SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.
func (OrderFreeItem) ToMap ¶
func (o OrderFreeItem) ToMap() (map[string]interface{}, error)
func (*OrderFreeItem) UnmarshalJSON ¶
func (o *OrderFreeItem) UnmarshalJSON(data []byte) (err error)
type OrderItem ¶
type OrderItem struct { // The item's externalID in the partner system. Id string `json:"id"` // The item's ID in Grab system. Partner can use this field in the `EditOrder` endpoint. GrabItemID string `json:"grabItemID"` // The number of the item ordered. Quantity int32 `json:"quantity"` // The price for a single item along with its associated modifiers in minor unit and tax-inclusive. “` price = Item price(tax inclusive) + Modifier price(tax inclusive) | (2241*1.06)+(165*1.06)=2550 Price int64 `json:"price"` // Tax in minor format for a single item along with its associated modifiers. `0` if tax configuration is absent. Refer to FAQs for more details about [tax](#section/Order/How-is-tax-calculated). “` tax = Item tax + Modifier tax | (2241*0.06)+(165*0.06)=144 Tax *int64 `json:"tax,omitempty"` // An extra note for the merchant. Empty if no note from consumer. Specifications *string `json:"specifications,omitempty"` OutOfStockInstruction NullableOutOfStockInstruction `json:"outOfStockInstruction,omitempty"` // An array of JSON objects modifiers. Modifiers []OrderItemModifier `json:"modifiers,omitempty"` AdditionalProperties map[string]interface{} }
OrderItem struct for OrderItem
func NewOrderItem ¶
NewOrderItem instantiates a new OrderItem 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 NewOrderItemWithDefaults ¶
func NewOrderItemWithDefaults() *OrderItem
NewOrderItemWithDefaults instantiates a new OrderItem 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 (*OrderItem) GetGrabItemID ¶
GetGrabItemID returns the GrabItemID field value
func (*OrderItem) GetGrabItemIDOk ¶
GetGrabItemIDOk returns a tuple with the GrabItemID field value and a boolean to check if the value has been set.
func (*OrderItem) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*OrderItem) GetModifiers ¶
func (o *OrderItem) GetModifiers() []OrderItemModifier
GetModifiers returns the Modifiers field value if set, zero value otherwise.
func (*OrderItem) GetModifiersOk ¶
func (o *OrderItem) GetModifiersOk() ([]OrderItemModifier, bool)
GetModifiersOk returns a tuple with the Modifiers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetOutOfStockInstruction ¶
func (o *OrderItem) GetOutOfStockInstruction() OutOfStockInstruction
GetOutOfStockInstruction returns the OutOfStockInstruction field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderItem) GetOutOfStockInstructionOk ¶
func (o *OrderItem) GetOutOfStockInstructionOk() (*OutOfStockInstruction, bool)
GetOutOfStockInstructionOk returns a tuple with the OutOfStockInstruction field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OrderItem) GetPriceOk ¶
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*OrderItem) GetQuantity ¶
GetQuantity returns the Quantity field value
func (*OrderItem) GetQuantityOk ¶
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (*OrderItem) GetSpecifications ¶
GetSpecifications returns the Specifications field value if set, zero value otherwise.
func (*OrderItem) GetSpecificationsOk ¶
GetSpecificationsOk returns a tuple with the Specifications field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) GetTaxOk ¶
GetTaxOk returns a tuple with the Tax field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItem) HasModifiers ¶
HasModifiers returns a boolean if a field has been set.
func (*OrderItem) HasOutOfStockInstruction ¶
HasOutOfStockInstruction returns a boolean if a field has been set.
func (*OrderItem) HasSpecifications ¶
HasSpecifications returns a boolean if a field has been set.
func (OrderItem) MarshalJSON ¶
func (*OrderItem) SetGrabItemID ¶
SetGrabItemID sets field value
func (*OrderItem) SetModifiers ¶
func (o *OrderItem) SetModifiers(v []OrderItemModifier)
SetModifiers gets a reference to the given []OrderItemModifier and assigns it to the Modifiers field.
func (*OrderItem) SetOutOfStockInstruction ¶
func (o *OrderItem) SetOutOfStockInstruction(v OutOfStockInstruction)
SetOutOfStockInstruction gets a reference to the given NullableOutOfStockInstruction and assigns it to the OutOfStockInstruction field.
func (*OrderItem) SetOutOfStockInstructionNil ¶
func (o *OrderItem) SetOutOfStockInstructionNil()
SetOutOfStockInstructionNil sets the value for OutOfStockInstruction to be an explicit nil
func (*OrderItem) SetQuantity ¶
SetQuantity sets field value
func (*OrderItem) SetSpecifications ¶
SetSpecifications gets a reference to the given string and assigns it to the Specifications field.
func (*OrderItem) SetTax ¶
SetTax gets a reference to the given int64 and assigns it to the Tax field.
func (*OrderItem) UnmarshalJSON ¶
func (*OrderItem) UnsetOutOfStockInstruction ¶
func (o *OrderItem) UnsetOutOfStockInstruction()
UnsetOutOfStockInstruction ensures that no value is present for OutOfStockInstruction, not even an explicit nil
type OrderItemModifier ¶
type OrderItemModifier struct { // The modifier's ID that is on the partner's system. Id *string `json:"id,omitempty"` // The modifier's price (tax-inclusive) in minor format. “` price = round(165 * (1 + 0.06)) = 175 Price *int64 `json:"price,omitempty"` // Tax in minor format for 1 modifier. Refer to FAQs for more details about [tax](#section/Order/How-is-tax-calculated). “` tax = 165*0.06=10 Tax *int64 `json:"tax,omitempty"` // The number of modifiers present. The value is always 1. Quantity *int32 `json:"quantity,omitempty"` AdditionalProperties map[string]interface{} }
OrderItemModifier struct for OrderItemModifier
func NewOrderItemModifier ¶
func NewOrderItemModifier() *OrderItemModifier
NewOrderItemModifier instantiates a new OrderItemModifier 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 NewOrderItemModifierWithDefaults ¶
func NewOrderItemModifierWithDefaults() *OrderItemModifier
NewOrderItemModifierWithDefaults instantiates a new OrderItemModifier 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 (*OrderItemModifier) GetId ¶
func (o *OrderItemModifier) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*OrderItemModifier) GetIdOk ¶
func (o *OrderItemModifier) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItemModifier) GetPrice ¶
func (o *OrderItemModifier) GetPrice() int64
GetPrice returns the Price field value if set, zero value otherwise.
func (*OrderItemModifier) GetPriceOk ¶
func (o *OrderItemModifier) GetPriceOk() (*int64, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItemModifier) GetQuantity ¶
func (o *OrderItemModifier) GetQuantity() int32
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*OrderItemModifier) GetQuantityOk ¶
func (o *OrderItemModifier) GetQuantityOk() (*int32, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItemModifier) GetTax ¶
func (o *OrderItemModifier) GetTax() int64
GetTax returns the Tax field value if set, zero value otherwise.
func (*OrderItemModifier) GetTaxOk ¶
func (o *OrderItemModifier) GetTaxOk() (*int64, bool)
GetTaxOk returns a tuple with the Tax field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderItemModifier) HasId ¶
func (o *OrderItemModifier) HasId() bool
HasId returns a boolean if a field has been set.
func (*OrderItemModifier) HasPrice ¶
func (o *OrderItemModifier) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*OrderItemModifier) HasQuantity ¶
func (o *OrderItemModifier) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*OrderItemModifier) HasTax ¶
func (o *OrderItemModifier) HasTax() bool
HasTax returns a boolean if a field has been set.
func (OrderItemModifier) MarshalJSON ¶
func (o OrderItemModifier) MarshalJSON() ([]byte, error)
func (*OrderItemModifier) SetId ¶
func (o *OrderItemModifier) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*OrderItemModifier) SetPrice ¶
func (o *OrderItemModifier) SetPrice(v int64)
SetPrice gets a reference to the given int64 and assigns it to the Price field.
func (*OrderItemModifier) SetQuantity ¶
func (o *OrderItemModifier) SetQuantity(v int32)
SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.
func (*OrderItemModifier) SetTax ¶
func (o *OrderItemModifier) SetTax(v int64)
SetTax gets a reference to the given int64 and assigns it to the Tax field.
func (OrderItemModifier) ToMap ¶
func (o OrderItemModifier) ToMap() (map[string]interface{}, error)
func (*OrderItemModifier) UnmarshalJSON ¶
func (o *OrderItemModifier) UnmarshalJSON(data []byte) (err error)
type OrderPrice ¶
type OrderPrice struct { // Total item and modifier price (tax-inclusive) in the minor unit. “` subtotal = Sum of all (item price * quantity) | 2550*1=2550 Subtotal int64 `json:"subtotal"` // GrabFood's tax in the minor unit. Refer to FAQs for more details about [tax](#section/Order/How-is-tax-calculated). “` tax = (subtotal + merchantChargeFee - merchantFundPromo) * Tax / (1+Tax) | (2550-475)*0.06/1.06=117 Tax *int64 `json:"tax,omitempty"` // Any additional fee charged by merchant (tax-inclusive), which is 100% paid out to the merchant. Eg. Takeaway, packaging costs, dine-in charge. MerchantChargeFee *int64 `json:"merchantChargeFee,omitempty"` // GrabFood's promo fund in the minor unit. Calculated based on funded ratio. Only present when `paymentType:CASH` or `orderType:DeliveredByRestaurant`. Otherwise, it will be set to `0`. GrabFundPromo *int64 `json:"grabFundPromo,omitempty"` // The merchant's promo fund in the minor unit. Calculated based on funded ratio. MerchantFundPromo *int64 `json:"merchantFundPromo,omitempty"` // The total amount promo applied to the basket items only (item level/order level) in the minor unit, excluding delivery fee. Only present when `paymentType: CASH` or `orderType: DeliveredByRestaurant`. Otherwise, it will be set to `0`. “` basketPromo = (grabFundPromo + merchantFundPromo) | 300 + 475 = 775 BasketPromo *int64 `json:"basketPromo,omitempty"` // The delivery fee in the minor unit. Only present when `paymentType:CASH` or `orderType:DeliveredByRestaurant`. Otherwise, it will be set to `0`. DeliveryFee *int64 `json:"deliveryFee,omitempty"` // The fee charged by GrabFood for order that does not meet a certain minimum order value. Only present when `paymentType:CASH` and `orderType:DeliveredByRestaurant`. SmallOrderFee *int64 `json:"smallOrderFee,omitempty"` // The total amount paid by the consumer in the minor unit, excluding some additional fees charged by GrabFood. Only present when `paymentType:CASH` or `orderType:DeliveredByRestaurant`. Otherwise, it will be set to `0`. “` eaterPayment = (subtotal + merchantChargeFee + deliveryFee) - (sum of all promo) | (2550+400)-775=2175 EaterPayment *int64 `json:"eaterPayment,omitempty"` AdditionalProperties map[string]interface{} }
OrderPrice A JSON object containing order's price in the minor unit format.
func NewOrderPrice ¶
func NewOrderPrice(subtotal int64) *OrderPrice
NewOrderPrice instantiates a new OrderPrice 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 NewOrderPriceWithDefaults ¶
func NewOrderPriceWithDefaults() *OrderPrice
NewOrderPriceWithDefaults instantiates a new OrderPrice 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 (*OrderPrice) GetBasketPromo ¶
func (o *OrderPrice) GetBasketPromo() int64
GetBasketPromo returns the BasketPromo field value if set, zero value otherwise.
func (*OrderPrice) GetBasketPromoOk ¶
func (o *OrderPrice) GetBasketPromoOk() (*int64, bool)
GetBasketPromoOk returns a tuple with the BasketPromo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPrice) GetDeliveryFee ¶
func (o *OrderPrice) GetDeliveryFee() int64
GetDeliveryFee returns the DeliveryFee field value if set, zero value otherwise.
func (*OrderPrice) GetDeliveryFeeOk ¶
func (o *OrderPrice) GetDeliveryFeeOk() (*int64, bool)
GetDeliveryFeeOk returns a tuple with the DeliveryFee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPrice) GetEaterPayment ¶
func (o *OrderPrice) GetEaterPayment() int64
GetEaterPayment returns the EaterPayment field value if set, zero value otherwise.
func (*OrderPrice) GetEaterPaymentOk ¶
func (o *OrderPrice) GetEaterPaymentOk() (*int64, bool)
GetEaterPaymentOk returns a tuple with the EaterPayment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPrice) GetGrabFundPromo ¶
func (o *OrderPrice) GetGrabFundPromo() int64
GetGrabFundPromo returns the GrabFundPromo field value if set, zero value otherwise.
func (*OrderPrice) GetGrabFundPromoOk ¶
func (o *OrderPrice) GetGrabFundPromoOk() (*int64, bool)
GetGrabFundPromoOk returns a tuple with the GrabFundPromo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPrice) GetMerchantChargeFee ¶
func (o *OrderPrice) GetMerchantChargeFee() int64
GetMerchantChargeFee returns the MerchantChargeFee field value if set, zero value otherwise.
func (*OrderPrice) GetMerchantChargeFeeOk ¶
func (o *OrderPrice) GetMerchantChargeFeeOk() (*int64, bool)
GetMerchantChargeFeeOk returns a tuple with the MerchantChargeFee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPrice) GetMerchantFundPromo ¶
func (o *OrderPrice) GetMerchantFundPromo() int64
GetMerchantFundPromo returns the MerchantFundPromo field value if set, zero value otherwise.
func (*OrderPrice) GetMerchantFundPromoOk ¶
func (o *OrderPrice) GetMerchantFundPromoOk() (*int64, bool)
GetMerchantFundPromoOk returns a tuple with the MerchantFundPromo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPrice) GetSmallOrderFee ¶ added in v1.0.1
func (o *OrderPrice) GetSmallOrderFee() int64
GetSmallOrderFee returns the SmallOrderFee field value if set, zero value otherwise.
func (*OrderPrice) GetSmallOrderFeeOk ¶ added in v1.0.1
func (o *OrderPrice) GetSmallOrderFeeOk() (*int64, bool)
GetSmallOrderFeeOk returns a tuple with the SmallOrderFee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPrice) GetSubtotal ¶
func (o *OrderPrice) GetSubtotal() int64
GetSubtotal returns the Subtotal field value
func (*OrderPrice) GetSubtotalOk ¶
func (o *OrderPrice) GetSubtotalOk() (*int64, bool)
GetSubtotalOk returns a tuple with the Subtotal field value and a boolean to check if the value has been set.
func (*OrderPrice) GetTax ¶
func (o *OrderPrice) GetTax() int64
GetTax returns the Tax field value if set, zero value otherwise.
func (*OrderPrice) GetTaxOk ¶
func (o *OrderPrice) GetTaxOk() (*int64, bool)
GetTaxOk returns a tuple with the Tax field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPrice) HasBasketPromo ¶
func (o *OrderPrice) HasBasketPromo() bool
HasBasketPromo returns a boolean if a field has been set.
func (*OrderPrice) HasDeliveryFee ¶
func (o *OrderPrice) HasDeliveryFee() bool
HasDeliveryFee returns a boolean if a field has been set.
func (*OrderPrice) HasEaterPayment ¶ added in v1.0.1
func (o *OrderPrice) HasEaterPayment() bool
HasEaterPayment returns a boolean if a field has been set.
func (*OrderPrice) HasGrabFundPromo ¶
func (o *OrderPrice) HasGrabFundPromo() bool
HasGrabFundPromo returns a boolean if a field has been set.
func (*OrderPrice) HasMerchantChargeFee ¶
func (o *OrderPrice) HasMerchantChargeFee() bool
HasMerchantChargeFee returns a boolean if a field has been set.
func (*OrderPrice) HasMerchantFundPromo ¶
func (o *OrderPrice) HasMerchantFundPromo() bool
HasMerchantFundPromo returns a boolean if a field has been set.
func (*OrderPrice) HasSmallOrderFee ¶ added in v1.0.1
func (o *OrderPrice) HasSmallOrderFee() bool
HasSmallOrderFee returns a boolean if a field has been set.
func (*OrderPrice) HasTax ¶
func (o *OrderPrice) HasTax() bool
HasTax returns a boolean if a field has been set.
func (OrderPrice) MarshalJSON ¶
func (o OrderPrice) MarshalJSON() ([]byte, error)
func (*OrderPrice) SetBasketPromo ¶
func (o *OrderPrice) SetBasketPromo(v int64)
SetBasketPromo gets a reference to the given int64 and assigns it to the BasketPromo field.
func (*OrderPrice) SetDeliveryFee ¶
func (o *OrderPrice) SetDeliveryFee(v int64)
SetDeliveryFee gets a reference to the given int64 and assigns it to the DeliveryFee field.
func (*OrderPrice) SetEaterPayment ¶
func (o *OrderPrice) SetEaterPayment(v int64)
SetEaterPayment gets a reference to the given int64 and assigns it to the EaterPayment field.
func (*OrderPrice) SetGrabFundPromo ¶
func (o *OrderPrice) SetGrabFundPromo(v int64)
SetGrabFundPromo gets a reference to the given int64 and assigns it to the GrabFundPromo field.
func (*OrderPrice) SetMerchantChargeFee ¶
func (o *OrderPrice) SetMerchantChargeFee(v int64)
SetMerchantChargeFee gets a reference to the given int64 and assigns it to the MerchantChargeFee field.
func (*OrderPrice) SetMerchantFundPromo ¶
func (o *OrderPrice) SetMerchantFundPromo(v int64)
SetMerchantFundPromo gets a reference to the given int64 and assigns it to the MerchantFundPromo field.
func (*OrderPrice) SetSmallOrderFee ¶ added in v1.0.1
func (o *OrderPrice) SetSmallOrderFee(v int64)
SetSmallOrderFee gets a reference to the given int64 and assigns it to the SmallOrderFee field.
func (*OrderPrice) SetSubtotal ¶
func (o *OrderPrice) SetSubtotal(v int64)
SetSubtotal sets field value
func (*OrderPrice) SetTax ¶
func (o *OrderPrice) SetTax(v int64)
SetTax gets a reference to the given int64 and assigns it to the Tax field.
func (OrderPrice) ToMap ¶
func (o OrderPrice) ToMap() (map[string]interface{}, error)
func (*OrderPrice) UnmarshalJSON ¶
func (o *OrderPrice) UnmarshalJSON(data []byte) (err error)
type OrderPromo ¶
type OrderPromo struct { // Promo code applied in the order. Code *string `json:"code,omitempty"` // Promo description. Description *string `json:"description,omitempty"` // Name of the promotion. Name *string `json:"name,omitempty"` // Promo amount applied in the order, in local currency. This amount is rounded into whole number. PromoAmount *int64 `json:"promoAmount,omitempty"` // The merchant's funded ratio of the promo in percentage. MexFundedRatio *int32 `json:"mexFundedRatio,omitempty"` // The merchant's promo fund in the minor unit. Calculated based on merchant funded ratio. MexFundedAmount *int64 `json:"mexFundedAmount,omitempty"` // The subtotal of the order basket in minor unit. TargetedPrice *int64 `json:"targetedPrice,omitempty"` // Promo amount applied in the order in minor unit. PromoAmountInMin *int64 `json:"promoAmountInMin,omitempty"` AdditionalProperties map[string]interface{} }
OrderPromo struct for OrderPromo
func NewOrderPromo ¶
func NewOrderPromo() *OrderPromo
NewOrderPromo instantiates a new OrderPromo 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 NewOrderPromoWithDefaults ¶
func NewOrderPromoWithDefaults() *OrderPromo
NewOrderPromoWithDefaults instantiates a new OrderPromo 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 (*OrderPromo) GetCode ¶
func (o *OrderPromo) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*OrderPromo) GetCodeOk ¶
func (o *OrderPromo) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPromo) GetDescription ¶
func (o *OrderPromo) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*OrderPromo) GetDescriptionOk ¶
func (o *OrderPromo) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPromo) GetMexFundedAmount ¶
func (o *OrderPromo) GetMexFundedAmount() int64
GetMexFundedAmount returns the MexFundedAmount field value if set, zero value otherwise.
func (*OrderPromo) GetMexFundedAmountOk ¶
func (o *OrderPromo) GetMexFundedAmountOk() (*int64, bool)
GetMexFundedAmountOk returns a tuple with the MexFundedAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPromo) GetMexFundedRatio ¶
func (o *OrderPromo) GetMexFundedRatio() int32
GetMexFundedRatio returns the MexFundedRatio field value if set, zero value otherwise.
func (*OrderPromo) GetMexFundedRatioOk ¶
func (o *OrderPromo) GetMexFundedRatioOk() (*int32, bool)
GetMexFundedRatioOk returns a tuple with the MexFundedRatio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPromo) GetName ¶
func (o *OrderPromo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OrderPromo) GetNameOk ¶
func (o *OrderPromo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPromo) GetPromoAmount ¶
func (o *OrderPromo) GetPromoAmount() int64
GetPromoAmount returns the PromoAmount field value if set, zero value otherwise.
func (*OrderPromo) GetPromoAmountInMin ¶
func (o *OrderPromo) GetPromoAmountInMin() int64
GetPromoAmountInMin returns the PromoAmountInMin field value if set, zero value otherwise.
func (*OrderPromo) GetPromoAmountInMinOk ¶
func (o *OrderPromo) GetPromoAmountInMinOk() (*int64, bool)
GetPromoAmountInMinOk returns a tuple with the PromoAmountInMin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPromo) GetPromoAmountOk ¶
func (o *OrderPromo) GetPromoAmountOk() (*int64, bool)
GetPromoAmountOk returns a tuple with the PromoAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPromo) GetTargetedPrice ¶
func (o *OrderPromo) GetTargetedPrice() int64
GetTargetedPrice returns the TargetedPrice field value if set, zero value otherwise.
func (*OrderPromo) GetTargetedPriceOk ¶
func (o *OrderPromo) GetTargetedPriceOk() (*int64, bool)
GetTargetedPriceOk returns a tuple with the TargetedPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderPromo) HasCode ¶
func (o *OrderPromo) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*OrderPromo) HasDescription ¶
func (o *OrderPromo) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*OrderPromo) HasMexFundedAmount ¶
func (o *OrderPromo) HasMexFundedAmount() bool
HasMexFundedAmount returns a boolean if a field has been set.
func (*OrderPromo) HasMexFundedRatio ¶
func (o *OrderPromo) HasMexFundedRatio() bool
HasMexFundedRatio returns a boolean if a field has been set.
func (*OrderPromo) HasName ¶
func (o *OrderPromo) HasName() bool
HasName returns a boolean if a field has been set.
func (*OrderPromo) HasPromoAmount ¶
func (o *OrderPromo) HasPromoAmount() bool
HasPromoAmount returns a boolean if a field has been set.
func (*OrderPromo) HasPromoAmountInMin ¶
func (o *OrderPromo) HasPromoAmountInMin() bool
HasPromoAmountInMin returns a boolean if a field has been set.
func (*OrderPromo) HasTargetedPrice ¶
func (o *OrderPromo) HasTargetedPrice() bool
HasTargetedPrice returns a boolean if a field has been set.
func (OrderPromo) MarshalJSON ¶
func (o OrderPromo) MarshalJSON() ([]byte, error)
func (*OrderPromo) SetCode ¶
func (o *OrderPromo) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*OrderPromo) SetDescription ¶
func (o *OrderPromo) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*OrderPromo) SetMexFundedAmount ¶
func (o *OrderPromo) SetMexFundedAmount(v int64)
SetMexFundedAmount gets a reference to the given int64 and assigns it to the MexFundedAmount field.
func (*OrderPromo) SetMexFundedRatio ¶
func (o *OrderPromo) SetMexFundedRatio(v int32)
SetMexFundedRatio gets a reference to the given int32 and assigns it to the MexFundedRatio field.
func (*OrderPromo) SetName ¶
func (o *OrderPromo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OrderPromo) SetPromoAmount ¶
func (o *OrderPromo) SetPromoAmount(v int64)
SetPromoAmount gets a reference to the given int64 and assigns it to the PromoAmount field.
func (*OrderPromo) SetPromoAmountInMin ¶
func (o *OrderPromo) SetPromoAmountInMin(v int64)
SetPromoAmountInMin gets a reference to the given int64 and assigns it to the PromoAmountInMin field.
func (*OrderPromo) SetTargetedPrice ¶
func (o *OrderPromo) SetTargetedPrice(v int64)
SetTargetedPrice gets a reference to the given int64 and assigns it to the TargetedPrice field.
func (OrderPromo) ToMap ¶
func (o OrderPromo) ToMap() (map[string]interface{}, error)
func (*OrderPromo) UnmarshalJSON ¶
func (o *OrderPromo) UnmarshalJSON(data []byte) (err error)
type OrderReadyEstimation ¶
type OrderReadyEstimation struct { // A boolean value indicating if the order ready time can be changed. AllowChange bool `json:"allowChange"` // The order ready time for this order estimated by GrabFood, based on ISO_8601/RFC3339. EstimatedOrderReadyTime time.Time `json:"estimatedOrderReadyTime"` // The max allowed order ready time for this order, based on ISO_8601/RFC3339. MaxOrderReadyTime time.Time `json:"maxOrderReadyTime"` // The new order ready time for this order. Only present after a new order ready time is set (default will be null), based on ISO_8601/RFC3339. NewOrderReadyTime NullableTime `json:"newOrderReadyTime,omitempty"` AdditionalProperties map[string]interface{} }
OrderReadyEstimation Information related to the order ready time estimation.
func NewOrderReadyEstimation ¶
func NewOrderReadyEstimation(allowChange bool, estimatedOrderReadyTime time.Time, maxOrderReadyTime time.Time) *OrderReadyEstimation
NewOrderReadyEstimation instantiates a new OrderReadyEstimation 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 NewOrderReadyEstimationWithDefaults ¶
func NewOrderReadyEstimationWithDefaults() *OrderReadyEstimation
NewOrderReadyEstimationWithDefaults instantiates a new OrderReadyEstimation 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 (*OrderReadyEstimation) GetAllowChange ¶
func (o *OrderReadyEstimation) GetAllowChange() bool
GetAllowChange returns the AllowChange field value
func (*OrderReadyEstimation) GetAllowChangeOk ¶
func (o *OrderReadyEstimation) GetAllowChangeOk() (*bool, bool)
GetAllowChangeOk returns a tuple with the AllowChange field value and a boolean to check if the value has been set.
func (*OrderReadyEstimation) GetEstimatedOrderReadyTime ¶
func (o *OrderReadyEstimation) GetEstimatedOrderReadyTime() time.Time
GetEstimatedOrderReadyTime returns the EstimatedOrderReadyTime field value
func (*OrderReadyEstimation) GetEstimatedOrderReadyTimeOk ¶
func (o *OrderReadyEstimation) GetEstimatedOrderReadyTimeOk() (*time.Time, bool)
GetEstimatedOrderReadyTimeOk returns a tuple with the EstimatedOrderReadyTime field value and a boolean to check if the value has been set.
func (*OrderReadyEstimation) GetMaxOrderReadyTime ¶
func (o *OrderReadyEstimation) GetMaxOrderReadyTime() time.Time
GetMaxOrderReadyTime returns the MaxOrderReadyTime field value
func (*OrderReadyEstimation) GetMaxOrderReadyTimeOk ¶
func (o *OrderReadyEstimation) GetMaxOrderReadyTimeOk() (*time.Time, bool)
GetMaxOrderReadyTimeOk returns a tuple with the MaxOrderReadyTime field value and a boolean to check if the value has been set.
func (*OrderReadyEstimation) GetNewOrderReadyTime ¶
func (o *OrderReadyEstimation) GetNewOrderReadyTime() time.Time
GetNewOrderReadyTime returns the NewOrderReadyTime field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderReadyEstimation) GetNewOrderReadyTimeOk ¶
func (o *OrderReadyEstimation) GetNewOrderReadyTimeOk() (*time.Time, bool)
GetNewOrderReadyTimeOk returns a tuple with the NewOrderReadyTime field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OrderReadyEstimation) HasNewOrderReadyTime ¶
func (o *OrderReadyEstimation) HasNewOrderReadyTime() bool
HasNewOrderReadyTime returns a boolean if a field has been set.
func (OrderReadyEstimation) MarshalJSON ¶
func (o OrderReadyEstimation) MarshalJSON() ([]byte, error)
func (*OrderReadyEstimation) SetAllowChange ¶
func (o *OrderReadyEstimation) SetAllowChange(v bool)
SetAllowChange sets field value
func (*OrderReadyEstimation) SetEstimatedOrderReadyTime ¶
func (o *OrderReadyEstimation) SetEstimatedOrderReadyTime(v time.Time)
SetEstimatedOrderReadyTime sets field value
func (*OrderReadyEstimation) SetMaxOrderReadyTime ¶
func (o *OrderReadyEstimation) SetMaxOrderReadyTime(v time.Time)
SetMaxOrderReadyTime sets field value
func (*OrderReadyEstimation) SetNewOrderReadyTime ¶
func (o *OrderReadyEstimation) SetNewOrderReadyTime(v time.Time)
SetNewOrderReadyTime gets a reference to the given NullableTime and assigns it to the NewOrderReadyTime field.
func (*OrderReadyEstimation) SetNewOrderReadyTimeNil ¶
func (o *OrderReadyEstimation) SetNewOrderReadyTimeNil()
SetNewOrderReadyTimeNil sets the value for NewOrderReadyTime to be an explicit nil
func (OrderReadyEstimation) ToMap ¶
func (o OrderReadyEstimation) ToMap() (map[string]interface{}, error)
func (*OrderReadyEstimation) UnmarshalJSON ¶
func (o *OrderReadyEstimation) UnmarshalJSON(data []byte) (err error)
func (*OrderReadyEstimation) UnsetNewOrderReadyTime ¶
func (o *OrderReadyEstimation) UnsetNewOrderReadyTime()
UnsetNewOrderReadyTime ensures that no value is present for NewOrderReadyTime, not even an explicit nil
type OrderStateRequest ¶
type OrderStateRequest struct { // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` // The merchant's ID that is on the partner's database. PartnerMerchantID *string `json:"partnerMerchantID,omitempty"` // The order's ID that is returned from GrabFood. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). OrderID string `json:"orderID"` // The current order state. For takeaway orders, only `DELIVERED` and `CANCELLED` states are pushed. State string `json:"state"` // The driver's estimated of arrival (ETA) in seconds when the state is `DRIVER_ALLOCATED`. DriverETA NullableInt32 `json:"driverETA,omitempty"` // The current order's sub-state. This is in free text so you should only use for reference. Grab may use this for troubleshooting. If you want some analysis, kindly use `state` instead. Code *string `json:"code,omitempty"` // Additional information to explain the current order state. May be system status or human entered message. Message *string `json:"message,omitempty"` AdditionalProperties map[string]interface{} }
OrderStateRequest This request pushes the state of an order on GrabFood.
func NewOrderStateRequest ¶
func NewOrderStateRequest(merchantID string, orderID string, state string) *OrderStateRequest
NewOrderStateRequest instantiates a new OrderStateRequest 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 NewOrderStateRequestWithDefaults ¶
func NewOrderStateRequestWithDefaults() *OrderStateRequest
NewOrderStateRequestWithDefaults instantiates a new OrderStateRequest 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 (*OrderStateRequest) GetCode ¶
func (o *OrderStateRequest) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*OrderStateRequest) GetCodeOk ¶
func (o *OrderStateRequest) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStateRequest) GetDriverETA ¶
func (o *OrderStateRequest) GetDriverETA() int32
GetDriverETA returns the DriverETA field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OrderStateRequest) GetDriverETAOk ¶
func (o *OrderStateRequest) GetDriverETAOk() (*int32, bool)
GetDriverETAOk returns a tuple with the DriverETA field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*OrderStateRequest) GetMerchantID ¶
func (o *OrderStateRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*OrderStateRequest) GetMerchantIDOk ¶
func (o *OrderStateRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*OrderStateRequest) GetMessage ¶
func (o *OrderStateRequest) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*OrderStateRequest) GetMessageOk ¶
func (o *OrderStateRequest) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStateRequest) GetOrderID ¶
func (o *OrderStateRequest) GetOrderID() string
GetOrderID returns the OrderID field value
func (*OrderStateRequest) GetOrderIDOk ¶
func (o *OrderStateRequest) GetOrderIDOk() (*string, bool)
GetOrderIDOk returns a tuple with the OrderID field value and a boolean to check if the value has been set.
func (*OrderStateRequest) GetPartnerMerchantID ¶ added in v1.0.1
func (o *OrderStateRequest) GetPartnerMerchantID() string
GetPartnerMerchantID returns the PartnerMerchantID field value if set, zero value otherwise.
func (*OrderStateRequest) GetPartnerMerchantIDOk ¶ added in v1.0.1
func (o *OrderStateRequest) GetPartnerMerchantIDOk() (*string, bool)
GetPartnerMerchantIDOk returns a tuple with the PartnerMerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStateRequest) GetState ¶
func (o *OrderStateRequest) GetState() string
GetState returns the State field value
func (*OrderStateRequest) GetStateOk ¶
func (o *OrderStateRequest) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*OrderStateRequest) HasCode ¶
func (o *OrderStateRequest) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*OrderStateRequest) HasDriverETA ¶
func (o *OrderStateRequest) HasDriverETA() bool
HasDriverETA returns a boolean if a field has been set.
func (*OrderStateRequest) HasMessage ¶
func (o *OrderStateRequest) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*OrderStateRequest) HasPartnerMerchantID ¶ added in v1.0.1
func (o *OrderStateRequest) HasPartnerMerchantID() bool
HasPartnerMerchantID returns a boolean if a field has been set.
func (OrderStateRequest) MarshalJSON ¶
func (o OrderStateRequest) MarshalJSON() ([]byte, error)
func (*OrderStateRequest) SetCode ¶
func (o *OrderStateRequest) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*OrderStateRequest) SetDriverETA ¶
func (o *OrderStateRequest) SetDriverETA(v int32)
SetDriverETA gets a reference to the given NullableInt32 and assigns it to the DriverETA field.
func (*OrderStateRequest) SetDriverETANil ¶
func (o *OrderStateRequest) SetDriverETANil()
SetDriverETANil sets the value for DriverETA to be an explicit nil
func (*OrderStateRequest) SetMerchantID ¶
func (o *OrderStateRequest) SetMerchantID(v string)
SetMerchantID sets field value
func (*OrderStateRequest) SetMessage ¶
func (o *OrderStateRequest) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*OrderStateRequest) SetOrderID ¶
func (o *OrderStateRequest) SetOrderID(v string)
SetOrderID sets field value
func (*OrderStateRequest) SetPartnerMerchantID ¶ added in v1.0.1
func (o *OrderStateRequest) SetPartnerMerchantID(v string)
SetPartnerMerchantID gets a reference to the given string and assigns it to the PartnerMerchantID field.
func (*OrderStateRequest) SetState ¶
func (o *OrderStateRequest) SetState(v string)
SetState sets field value
func (OrderStateRequest) ToMap ¶
func (o OrderStateRequest) ToMap() (map[string]interface{}, error)
func (*OrderStateRequest) UnmarshalJSON ¶
func (o *OrderStateRequest) UnmarshalJSON(data []byte) (err error)
func (*OrderStateRequest) UnsetDriverETA ¶
func (o *OrderStateRequest) UnsetDriverETA()
UnsetDriverETA ensures that no value is present for DriverETA, not even an explicit nil
type OutOfStockInstruction ¶
type OutOfStockInstruction struct { // The short instruction message. Title *string `json:"title,omitempty"` // Type of out-of-stock instruction chosen by customer. `CONTACT` is disabled by default, kindly reach out to your integration manager if you wish to receive this instruction. InstructionType *string `json:"instructionType,omitempty"` // The preferred item's ID in the partner system. Only applicable when the instructionType is `SPECIFIC_ITEM`. ReplacementItemID *string `json:"replacementItemID,omitempty"` // The preferred item's ID in the Grab system. Only applicable when the instructionType is `SPECIFIC_ITEM`. ReplacementGrabItemID *string `json:"replacementGrabItemID,omitempty"` AdditionalProperties map[string]interface{} }
OutOfStockInstruction An JSON object that indicates the instructions to be taken by the merchant when the item is out of stock.
func NewOutOfStockInstruction ¶
func NewOutOfStockInstruction() *OutOfStockInstruction
NewOutOfStockInstruction instantiates a new OutOfStockInstruction 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 NewOutOfStockInstructionWithDefaults ¶
func NewOutOfStockInstructionWithDefaults() *OutOfStockInstruction
NewOutOfStockInstructionWithDefaults instantiates a new OutOfStockInstruction 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 (*OutOfStockInstruction) GetInstructionType ¶
func (o *OutOfStockInstruction) GetInstructionType() string
GetInstructionType returns the InstructionType field value if set, zero value otherwise.
func (*OutOfStockInstruction) GetInstructionTypeOk ¶
func (o *OutOfStockInstruction) GetInstructionTypeOk() (*string, bool)
GetInstructionTypeOk returns a tuple with the InstructionType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutOfStockInstruction) GetReplacementGrabItemID ¶
func (o *OutOfStockInstruction) GetReplacementGrabItemID() string
GetReplacementGrabItemID returns the ReplacementGrabItemID field value if set, zero value otherwise.
func (*OutOfStockInstruction) GetReplacementGrabItemIDOk ¶
func (o *OutOfStockInstruction) GetReplacementGrabItemIDOk() (*string, bool)
GetReplacementGrabItemIDOk returns a tuple with the ReplacementGrabItemID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutOfStockInstruction) GetReplacementItemID ¶
func (o *OutOfStockInstruction) GetReplacementItemID() string
GetReplacementItemID returns the ReplacementItemID field value if set, zero value otherwise.
func (*OutOfStockInstruction) GetReplacementItemIDOk ¶
func (o *OutOfStockInstruction) GetReplacementItemIDOk() (*string, bool)
GetReplacementItemIDOk returns a tuple with the ReplacementItemID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutOfStockInstruction) GetTitle ¶
func (o *OutOfStockInstruction) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*OutOfStockInstruction) GetTitleOk ¶
func (o *OutOfStockInstruction) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OutOfStockInstruction) HasInstructionType ¶
func (o *OutOfStockInstruction) HasInstructionType() bool
HasInstructionType returns a boolean if a field has been set.
func (*OutOfStockInstruction) HasReplacementGrabItemID ¶
func (o *OutOfStockInstruction) HasReplacementGrabItemID() bool
HasReplacementGrabItemID returns a boolean if a field has been set.
func (*OutOfStockInstruction) HasReplacementItemID ¶
func (o *OutOfStockInstruction) HasReplacementItemID() bool
HasReplacementItemID returns a boolean if a field has been set.
func (*OutOfStockInstruction) HasTitle ¶
func (o *OutOfStockInstruction) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (OutOfStockInstruction) MarshalJSON ¶
func (o OutOfStockInstruction) MarshalJSON() ([]byte, error)
func (*OutOfStockInstruction) SetInstructionType ¶
func (o *OutOfStockInstruction) SetInstructionType(v string)
SetInstructionType gets a reference to the given string and assigns it to the InstructionType field.
func (*OutOfStockInstruction) SetReplacementGrabItemID ¶
func (o *OutOfStockInstruction) SetReplacementGrabItemID(v string)
SetReplacementGrabItemID gets a reference to the given string and assigns it to the ReplacementGrabItemID field.
func (*OutOfStockInstruction) SetReplacementItemID ¶
func (o *OutOfStockInstruction) SetReplacementItemID(v string)
SetReplacementItemID gets a reference to the given string and assigns it to the ReplacementItemID field.
func (*OutOfStockInstruction) SetTitle ¶
func (o *OutOfStockInstruction) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (OutOfStockInstruction) ToMap ¶
func (o OutOfStockInstruction) ToMap() (map[string]interface{}, error)
func (*OutOfStockInstruction) UnmarshalJSON ¶
func (o *OutOfStockInstruction) UnmarshalJSON(data []byte) (err error)
type PartnerOauthRequest ¶
type PartnerOauthRequest struct { // The client identifier issued to obtain the OAuth access token. ClientId string `json:"client_id"` // The client secret issued to obtain the OAuth access token. ClientSecret string `json:"client_secret"` // Refers to the way an application gets OAuth access token. GrantType string `json:"grant_type"` // A space delimited list of partner scopes. Scope *string `json:"scope,omitempty"` AdditionalProperties map[string]interface{} }
PartnerOauthRequest Information about GrabFood getting an OAuth access token from partners.
func NewPartnerOauthRequest ¶
func NewPartnerOauthRequest(clientId string, clientSecret string, grantType string) *PartnerOauthRequest
NewPartnerOauthRequest instantiates a new PartnerOauthRequest 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 NewPartnerOauthRequestWithDefaults ¶
func NewPartnerOauthRequestWithDefaults() *PartnerOauthRequest
NewPartnerOauthRequestWithDefaults instantiates a new PartnerOauthRequest 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 (*PartnerOauthRequest) GetClientId ¶
func (o *PartnerOauthRequest) GetClientId() string
GetClientId returns the ClientId field value
func (*PartnerOauthRequest) GetClientIdOk ¶
func (o *PartnerOauthRequest) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.
func (*PartnerOauthRequest) GetClientSecret ¶
func (o *PartnerOauthRequest) GetClientSecret() string
GetClientSecret returns the ClientSecret field value
func (*PartnerOauthRequest) GetClientSecretOk ¶
func (o *PartnerOauthRequest) GetClientSecretOk() (*string, bool)
GetClientSecretOk returns a tuple with the ClientSecret field value and a boolean to check if the value has been set.
func (*PartnerOauthRequest) GetGrantType ¶
func (o *PartnerOauthRequest) GetGrantType() string
GetGrantType returns the GrantType field value
func (*PartnerOauthRequest) GetGrantTypeOk ¶
func (o *PartnerOauthRequest) GetGrantTypeOk() (*string, bool)
GetGrantTypeOk returns a tuple with the GrantType field value and a boolean to check if the value has been set.
func (*PartnerOauthRequest) GetScope ¶
func (o *PartnerOauthRequest) GetScope() string
GetScope returns the Scope field value if set, zero value otherwise.
func (*PartnerOauthRequest) GetScopeOk ¶
func (o *PartnerOauthRequest) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartnerOauthRequest) HasScope ¶
func (o *PartnerOauthRequest) HasScope() bool
HasScope returns a boolean if a field has been set.
func (PartnerOauthRequest) MarshalJSON ¶
func (o PartnerOauthRequest) MarshalJSON() ([]byte, error)
func (*PartnerOauthRequest) SetClientId ¶
func (o *PartnerOauthRequest) SetClientId(v string)
SetClientId sets field value
func (*PartnerOauthRequest) SetClientSecret ¶
func (o *PartnerOauthRequest) SetClientSecret(v string)
SetClientSecret sets field value
func (*PartnerOauthRequest) SetGrantType ¶
func (o *PartnerOauthRequest) SetGrantType(v string)
SetGrantType sets field value
func (*PartnerOauthRequest) SetScope ¶
func (o *PartnerOauthRequest) SetScope(v string)
SetScope gets a reference to the given string and assigns it to the Scope field.
func (PartnerOauthRequest) ToMap ¶
func (o PartnerOauthRequest) ToMap() (map[string]interface{}, error)
func (*PartnerOauthRequest) UnmarshalJSON ¶
func (o *PartnerOauthRequest) UnmarshalJSON(data []byte) (err error)
type PartnerOauthResponse ¶
type PartnerOauthResponse struct { // The OAuth 2.0 access token issued by the partner. AccessToken *string `json:"access_token,omitempty"` // The type of token issued which is case insensitive. TokenType *string `json:"token_type,omitempty"` // The access token lifespan in seconds. ExpiresIn *int32 `json:"expires_in,omitempty"` AdditionalProperties map[string]interface{} }
PartnerOauthResponse struct for PartnerOauthResponse
func NewPartnerOauthResponse ¶
func NewPartnerOauthResponse() *PartnerOauthResponse
NewPartnerOauthResponse instantiates a new PartnerOauthResponse 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 NewPartnerOauthResponseWithDefaults ¶
func NewPartnerOauthResponseWithDefaults() *PartnerOauthResponse
NewPartnerOauthResponseWithDefaults instantiates a new PartnerOauthResponse 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 (*PartnerOauthResponse) GetAccessToken ¶
func (o *PartnerOauthResponse) GetAccessToken() string
GetAccessToken returns the AccessToken field value if set, zero value otherwise.
func (*PartnerOauthResponse) GetAccessTokenOk ¶
func (o *PartnerOauthResponse) GetAccessTokenOk() (*string, bool)
GetAccessTokenOk returns a tuple with the AccessToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartnerOauthResponse) GetExpiresIn ¶
func (o *PartnerOauthResponse) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.
func (*PartnerOauthResponse) GetExpiresInOk ¶
func (o *PartnerOauthResponse) GetExpiresInOk() (*int32, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartnerOauthResponse) GetTokenType ¶
func (o *PartnerOauthResponse) GetTokenType() string
GetTokenType returns the TokenType field value if set, zero value otherwise.
func (*PartnerOauthResponse) GetTokenTypeOk ¶
func (o *PartnerOauthResponse) GetTokenTypeOk() (*string, bool)
GetTokenTypeOk returns a tuple with the TokenType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartnerOauthResponse) HasAccessToken ¶
func (o *PartnerOauthResponse) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
func (*PartnerOauthResponse) HasExpiresIn ¶
func (o *PartnerOauthResponse) HasExpiresIn() bool
HasExpiresIn returns a boolean if a field has been set.
func (*PartnerOauthResponse) HasTokenType ¶
func (o *PartnerOauthResponse) HasTokenType() bool
HasTokenType returns a boolean if a field has been set.
func (PartnerOauthResponse) MarshalJSON ¶
func (o PartnerOauthResponse) MarshalJSON() ([]byte, error)
func (*PartnerOauthResponse) SetAccessToken ¶
func (o *PartnerOauthResponse) SetAccessToken(v string)
SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.
func (*PartnerOauthResponse) SetExpiresIn ¶
func (o *PartnerOauthResponse) SetExpiresIn(v int32)
SetExpiresIn gets a reference to the given int32 and assigns it to the ExpiresIn field.
func (*PartnerOauthResponse) SetTokenType ¶
func (o *PartnerOauthResponse) SetTokenType(v string)
SetTokenType gets a reference to the given string and assigns it to the TokenType field.
func (PartnerOauthResponse) ToMap ¶
func (o PartnerOauthResponse) ToMap() (map[string]interface{}, error)
func (*PartnerOauthResponse) UnmarshalJSON ¶
func (o *PartnerOauthResponse) UnmarshalJSON(data []byte) (err error)
type PauseStoreAPIService ¶
type PauseStoreAPIService service
PauseStoreAPIService PauseStoreAPI service
func (*PauseStoreAPIService) PauseStore ¶
func (a *PauseStoreAPIService) PauseStore(ctx context.Context) ApiPauseStoreRequest
PauseStore Pause store
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPauseStoreRequest
func (*PauseStoreAPIService) PauseStoreExecute ¶
func (a *PauseStoreAPIService) PauseStoreExecute(r ApiPauseStoreRequest) (*http.Response, error)
Execute executes the request
type PauseStoreRequest ¶
type PauseStoreRequest struct { // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` // Boolean value to pause or unpause store. IsPause bool `json:"isPause"` // The duration to pause the store. Only required when `isPause=true`. Duration *string `json:"duration,omitempty"` AdditionalProperties map[string]interface{} }
PauseStoreRequest This request pauses a store temporarily for (30 minutes/1 hour/24 hours) or unpauses a store on GrabFood.
func NewPauseStoreRequest ¶
func NewPauseStoreRequest(merchantID string, isPause bool) *PauseStoreRequest
NewPauseStoreRequest instantiates a new PauseStoreRequest 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 NewPauseStoreRequestWithDefaults ¶
func NewPauseStoreRequestWithDefaults() *PauseStoreRequest
NewPauseStoreRequestWithDefaults instantiates a new PauseStoreRequest 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 (*PauseStoreRequest) GetDuration ¶
func (o *PauseStoreRequest) GetDuration() string
GetDuration returns the Duration field value if set, zero value otherwise.
func (*PauseStoreRequest) GetDurationOk ¶
func (o *PauseStoreRequest) GetDurationOk() (*string, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PauseStoreRequest) GetIsPause ¶
func (o *PauseStoreRequest) GetIsPause() bool
GetIsPause returns the IsPause field value
func (*PauseStoreRequest) GetIsPauseOk ¶
func (o *PauseStoreRequest) GetIsPauseOk() (*bool, bool)
GetIsPauseOk returns a tuple with the IsPause field value and a boolean to check if the value has been set.
func (*PauseStoreRequest) GetMerchantID ¶
func (o *PauseStoreRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*PauseStoreRequest) GetMerchantIDOk ¶
func (o *PauseStoreRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*PauseStoreRequest) HasDuration ¶
func (o *PauseStoreRequest) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (PauseStoreRequest) MarshalJSON ¶
func (o PauseStoreRequest) MarshalJSON() ([]byte, error)
func (*PauseStoreRequest) SetDuration ¶
func (o *PauseStoreRequest) SetDuration(v string)
SetDuration gets a reference to the given string and assigns it to the Duration field.
func (*PauseStoreRequest) SetIsPause ¶
func (o *PauseStoreRequest) SetIsPause(v bool)
SetIsPause sets field value
func (*PauseStoreRequest) SetMerchantID ¶
func (o *PauseStoreRequest) SetMerchantID(v string)
SetMerchantID sets field value
func (PauseStoreRequest) ToMap ¶
func (o PauseStoreRequest) ToMap() (map[string]interface{}, error)
func (*PauseStoreRequest) UnmarshalJSON ¶
func (o *PauseStoreRequest) UnmarshalJSON(data []byte) (err error)
type Purchasability ¶
type Purchasability struct { DeliveryOnDemandGrabApp *bool `json:"Delivery_OnDemand_GrabApp,omitempty"` DeliveryScheduledGrabApp *bool `json:"Delivery_Scheduled_GrabApp,omitempty"` SelfPickUpOnDemandGrabApp *bool `json:"SelfPickUp_OnDemand_GrabApp,omitempty"` DineInOnDemandGrabApp *bool `json:"DineIn_OnDemand_GrabApp,omitempty"` DeliveryOnDemandStoreFront *bool `json:"Delivery_OnDemand_StoreFront,omitempty"` DeliveryScheduledStoreFront *bool `json:"Delivery_Scheduled_StoreFront,omitempty"` SelfPickUpOnDemandStoreFront *bool `json:"SelfPickUp_OnDemand_StoreFront,omitempty"` AdditionalProperties map[string]interface{} }
Purchasability Purchasability is set to true by default for all service type, unless it is explicitly set to false. Modifier will reuse it’s item’s purchasability. Refer [Service Based Menu](#section/Service-Based-Menu).
func NewPurchasability ¶
func NewPurchasability() *Purchasability
NewPurchasability instantiates a new Purchasability 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 NewPurchasabilityWithDefaults ¶
func NewPurchasabilityWithDefaults() *Purchasability
NewPurchasabilityWithDefaults instantiates a new Purchasability 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 (*Purchasability) GetDeliveryOnDemandGrabApp ¶
func (o *Purchasability) GetDeliveryOnDemandGrabApp() bool
GetDeliveryOnDemandGrabApp returns the DeliveryOnDemandGrabApp field value if set, zero value otherwise.
func (*Purchasability) GetDeliveryOnDemandGrabAppOk ¶
func (o *Purchasability) GetDeliveryOnDemandGrabAppOk() (*bool, bool)
GetDeliveryOnDemandGrabAppOk returns a tuple with the DeliveryOnDemandGrabApp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Purchasability) GetDeliveryOnDemandStoreFront ¶
func (o *Purchasability) GetDeliveryOnDemandStoreFront() bool
GetDeliveryOnDemandStoreFront returns the DeliveryOnDemandStoreFront field value if set, zero value otherwise.
func (*Purchasability) GetDeliveryOnDemandStoreFrontOk ¶
func (o *Purchasability) GetDeliveryOnDemandStoreFrontOk() (*bool, bool)
GetDeliveryOnDemandStoreFrontOk returns a tuple with the DeliveryOnDemandStoreFront field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Purchasability) GetDeliveryScheduledGrabApp ¶
func (o *Purchasability) GetDeliveryScheduledGrabApp() bool
GetDeliveryScheduledGrabApp returns the DeliveryScheduledGrabApp field value if set, zero value otherwise.
func (*Purchasability) GetDeliveryScheduledGrabAppOk ¶
func (o *Purchasability) GetDeliveryScheduledGrabAppOk() (*bool, bool)
GetDeliveryScheduledGrabAppOk returns a tuple with the DeliveryScheduledGrabApp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Purchasability) GetDeliveryScheduledStoreFront ¶
func (o *Purchasability) GetDeliveryScheduledStoreFront() bool
GetDeliveryScheduledStoreFront returns the DeliveryScheduledStoreFront field value if set, zero value otherwise.
func (*Purchasability) GetDeliveryScheduledStoreFrontOk ¶
func (o *Purchasability) GetDeliveryScheduledStoreFrontOk() (*bool, bool)
GetDeliveryScheduledStoreFrontOk returns a tuple with the DeliveryScheduledStoreFront field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Purchasability) GetDineInOnDemandGrabApp ¶
func (o *Purchasability) GetDineInOnDemandGrabApp() bool
GetDineInOnDemandGrabApp returns the DineInOnDemandGrabApp field value if set, zero value otherwise.
func (*Purchasability) GetDineInOnDemandGrabAppOk ¶
func (o *Purchasability) GetDineInOnDemandGrabAppOk() (*bool, bool)
GetDineInOnDemandGrabAppOk returns a tuple with the DineInOnDemandGrabApp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Purchasability) GetSelfPickUpOnDemandGrabApp ¶
func (o *Purchasability) GetSelfPickUpOnDemandGrabApp() bool
GetSelfPickUpOnDemandGrabApp returns the SelfPickUpOnDemandGrabApp field value if set, zero value otherwise.
func (*Purchasability) GetSelfPickUpOnDemandGrabAppOk ¶
func (o *Purchasability) GetSelfPickUpOnDemandGrabAppOk() (*bool, bool)
GetSelfPickUpOnDemandGrabAppOk returns a tuple with the SelfPickUpOnDemandGrabApp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Purchasability) GetSelfPickUpOnDemandStoreFront ¶
func (o *Purchasability) GetSelfPickUpOnDemandStoreFront() bool
GetSelfPickUpOnDemandStoreFront returns the SelfPickUpOnDemandStoreFront field value if set, zero value otherwise.
func (*Purchasability) GetSelfPickUpOnDemandStoreFrontOk ¶
func (o *Purchasability) GetSelfPickUpOnDemandStoreFrontOk() (*bool, bool)
GetSelfPickUpOnDemandStoreFrontOk returns a tuple with the SelfPickUpOnDemandStoreFront field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Purchasability) HasDeliveryOnDemandGrabApp ¶
func (o *Purchasability) HasDeliveryOnDemandGrabApp() bool
HasDeliveryOnDemandGrabApp returns a boolean if a field has been set.
func (*Purchasability) HasDeliveryOnDemandStoreFront ¶
func (o *Purchasability) HasDeliveryOnDemandStoreFront() bool
HasDeliveryOnDemandStoreFront returns a boolean if a field has been set.
func (*Purchasability) HasDeliveryScheduledGrabApp ¶
func (o *Purchasability) HasDeliveryScheduledGrabApp() bool
HasDeliveryScheduledGrabApp returns a boolean if a field has been set.
func (*Purchasability) HasDeliveryScheduledStoreFront ¶
func (o *Purchasability) HasDeliveryScheduledStoreFront() bool
HasDeliveryScheduledStoreFront returns a boolean if a field has been set.
func (*Purchasability) HasDineInOnDemandGrabApp ¶
func (o *Purchasability) HasDineInOnDemandGrabApp() bool
HasDineInOnDemandGrabApp returns a boolean if a field has been set.
func (*Purchasability) HasSelfPickUpOnDemandGrabApp ¶
func (o *Purchasability) HasSelfPickUpOnDemandGrabApp() bool
HasSelfPickUpOnDemandGrabApp returns a boolean if a field has been set.
func (*Purchasability) HasSelfPickUpOnDemandStoreFront ¶
func (o *Purchasability) HasSelfPickUpOnDemandStoreFront() bool
HasSelfPickUpOnDemandStoreFront returns a boolean if a field has been set.
func (Purchasability) MarshalJSON ¶
func (o Purchasability) MarshalJSON() ([]byte, error)
func (*Purchasability) SetDeliveryOnDemandGrabApp ¶
func (o *Purchasability) SetDeliveryOnDemandGrabApp(v bool)
SetDeliveryOnDemandGrabApp gets a reference to the given bool and assigns it to the DeliveryOnDemandGrabApp field.
func (*Purchasability) SetDeliveryOnDemandStoreFront ¶
func (o *Purchasability) SetDeliveryOnDemandStoreFront(v bool)
SetDeliveryOnDemandStoreFront gets a reference to the given bool and assigns it to the DeliveryOnDemandStoreFront field.
func (*Purchasability) SetDeliveryScheduledGrabApp ¶
func (o *Purchasability) SetDeliveryScheduledGrabApp(v bool)
SetDeliveryScheduledGrabApp gets a reference to the given bool and assigns it to the DeliveryScheduledGrabApp field.
func (*Purchasability) SetDeliveryScheduledStoreFront ¶
func (o *Purchasability) SetDeliveryScheduledStoreFront(v bool)
SetDeliveryScheduledStoreFront gets a reference to the given bool and assigns it to the DeliveryScheduledStoreFront field.
func (*Purchasability) SetDineInOnDemandGrabApp ¶
func (o *Purchasability) SetDineInOnDemandGrabApp(v bool)
SetDineInOnDemandGrabApp gets a reference to the given bool and assigns it to the DineInOnDemandGrabApp field.
func (*Purchasability) SetSelfPickUpOnDemandGrabApp ¶
func (o *Purchasability) SetSelfPickUpOnDemandGrabApp(v bool)
SetSelfPickUpOnDemandGrabApp gets a reference to the given bool and assigns it to the SelfPickUpOnDemandGrabApp field.
func (*Purchasability) SetSelfPickUpOnDemandStoreFront ¶
func (o *Purchasability) SetSelfPickUpOnDemandStoreFront(v bool)
SetSelfPickUpOnDemandStoreFront gets a reference to the given bool and assigns it to the SelfPickUpOnDemandStoreFront field.
func (Purchasability) ToMap ¶
func (o Purchasability) ToMap() (map[string]interface{}, error)
func (*Purchasability) UnmarshalJSON ¶
func (o *Purchasability) UnmarshalJSON(data []byte) (err error)
type PushIntegrationStatusWebhookRequest ¶ added in v1.0.1
type PushIntegrationStatusWebhookRequest struct { // The merchant's ID that is on the partner's database. PartnerMerchantID string `json:"partnerMerchantID"` // The merchant's ID that is in GrabFood's database. GrabMerchantID string `json:"grabMerchantID"` // The store integration status. - `INACTIVE`: Merchant integration deactivated - `ACTIVE`: Merchant integration activated - `SYNCING`: Merchant integration is syncing - `FAILED`: Merchant integration has failed IntegrationStatus string `json:"integrationStatus"` AdditionalProperties map[string]interface{} }
PushIntegrationStatusWebhookRequest
func NewPushIntegrationStatusWebhookRequest ¶ added in v1.0.1
func NewPushIntegrationStatusWebhookRequest(partnerMerchantID string, grabMerchantID string, integrationStatus string) *PushIntegrationStatusWebhookRequest
NewPushIntegrationStatusWebhookRequest instantiates a new PushIntegrationStatusWebhookRequest 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 NewPushIntegrationStatusWebhookRequestWithDefaults ¶ added in v1.0.1
func NewPushIntegrationStatusWebhookRequestWithDefaults() *PushIntegrationStatusWebhookRequest
NewPushIntegrationStatusWebhookRequestWithDefaults instantiates a new PushIntegrationStatusWebhookRequest 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 (*PushIntegrationStatusWebhookRequest) GetGrabMerchantID ¶ added in v1.0.1
func (o *PushIntegrationStatusWebhookRequest) GetGrabMerchantID() string
GetGrabMerchantID returns the GrabMerchantID field value
func (*PushIntegrationStatusWebhookRequest) GetGrabMerchantIDOk ¶ added in v1.0.1
func (o *PushIntegrationStatusWebhookRequest) GetGrabMerchantIDOk() (*string, bool)
GetGrabMerchantIDOk returns a tuple with the GrabMerchantID field value and a boolean to check if the value has been set.
func (*PushIntegrationStatusWebhookRequest) GetIntegrationStatus ¶ added in v1.0.1
func (o *PushIntegrationStatusWebhookRequest) GetIntegrationStatus() string
GetIntegrationStatus returns the IntegrationStatus field value
func (*PushIntegrationStatusWebhookRequest) GetIntegrationStatusOk ¶ added in v1.0.1
func (o *PushIntegrationStatusWebhookRequest) GetIntegrationStatusOk() (*string, bool)
GetIntegrationStatusOk returns a tuple with the IntegrationStatus field value and a boolean to check if the value has been set.
func (*PushIntegrationStatusWebhookRequest) GetPartnerMerchantID ¶ added in v1.0.1
func (o *PushIntegrationStatusWebhookRequest) GetPartnerMerchantID() string
GetPartnerMerchantID returns the PartnerMerchantID field value
func (*PushIntegrationStatusWebhookRequest) GetPartnerMerchantIDOk ¶ added in v1.0.1
func (o *PushIntegrationStatusWebhookRequest) GetPartnerMerchantIDOk() (*string, bool)
GetPartnerMerchantIDOk returns a tuple with the PartnerMerchantID field value and a boolean to check if the value has been set.
func (PushIntegrationStatusWebhookRequest) MarshalJSON ¶ added in v1.0.1
func (o PushIntegrationStatusWebhookRequest) MarshalJSON() ([]byte, error)
func (*PushIntegrationStatusWebhookRequest) SetGrabMerchantID ¶ added in v1.0.1
func (o *PushIntegrationStatusWebhookRequest) SetGrabMerchantID(v string)
SetGrabMerchantID sets field value
func (*PushIntegrationStatusWebhookRequest) SetIntegrationStatus ¶ added in v1.0.1
func (o *PushIntegrationStatusWebhookRequest) SetIntegrationStatus(v string)
SetIntegrationStatus sets field value
func (*PushIntegrationStatusWebhookRequest) SetPartnerMerchantID ¶ added in v1.0.1
func (o *PushIntegrationStatusWebhookRequest) SetPartnerMerchantID(v string)
SetPartnerMerchantID sets field value
func (PushIntegrationStatusWebhookRequest) ToMap ¶ added in v1.0.1
func (o PushIntegrationStatusWebhookRequest) ToMap() (map[string]interface{}, error)
func (*PushIntegrationStatusWebhookRequest) UnmarshalJSON ¶ added in v1.0.1
func (o *PushIntegrationStatusWebhookRequest) UnmarshalJSON(data []byte) (err error)
type Receiver ¶
type Receiver struct { // The name of the receiver. Name *string `json:"name,omitempty"` // The receiver's phone number. Phones *string `json:"phones,omitempty"` Address *Address `json:"address,omitempty"` AdditionalProperties map[string]interface{} }
Receiver A JSON object containing the receiver information. Only applicable for orders that are delivered by the restaurant. `null` if not applicable.
func NewReceiver ¶
func NewReceiver() *Receiver
NewReceiver instantiates a new Receiver 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 NewReceiverWithDefaults ¶
func NewReceiverWithDefaults() *Receiver
NewReceiverWithDefaults instantiates a new Receiver 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 (*Receiver) GetAddress ¶
GetAddress returns the Address field value if set, zero value otherwise.
func (*Receiver) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Receiver) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Receiver) GetPhonesOk ¶
GetPhonesOk returns a tuple with the Phones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Receiver) HasAddress ¶
HasAddress returns a boolean if a field has been set.
func (Receiver) MarshalJSON ¶
func (*Receiver) SetAddress ¶
SetAddress gets a reference to the given Address and assigns it to the Address field.
func (*Receiver) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Receiver) SetPhones ¶
SetPhones gets a reference to the given string and assigns it to the Phones field.
func (*Receiver) UnmarshalJSON ¶
type RedeemDineInVoucherRequest ¶
type RedeemDineInVoucherRequest struct { // This certificateID is decoded from scanning the QR code, and 1:1 mapping with `voucherCode`. CertificateID string `json:"certificateID"` // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` AdditionalProperties map[string]interface{} }
RedeemDineInVoucherRequest Dine in voucher redemption
func NewRedeemDineInVoucherRequest ¶
func NewRedeemDineInVoucherRequest(certificateID string, merchantID string) *RedeemDineInVoucherRequest
NewRedeemDineInVoucherRequest instantiates a new RedeemDineInVoucherRequest 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 NewRedeemDineInVoucherRequestWithDefaults ¶
func NewRedeemDineInVoucherRequestWithDefaults() *RedeemDineInVoucherRequest
NewRedeemDineInVoucherRequestWithDefaults instantiates a new RedeemDineInVoucherRequest 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 (*RedeemDineInVoucherRequest) GetCertificateID ¶
func (o *RedeemDineInVoucherRequest) GetCertificateID() string
GetCertificateID returns the CertificateID field value
func (*RedeemDineInVoucherRequest) GetCertificateIDOk ¶
func (o *RedeemDineInVoucherRequest) GetCertificateIDOk() (*string, bool)
GetCertificateIDOk returns a tuple with the CertificateID field value and a boolean to check if the value has been set.
func (*RedeemDineInVoucherRequest) GetMerchantID ¶
func (o *RedeemDineInVoucherRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*RedeemDineInVoucherRequest) GetMerchantIDOk ¶
func (o *RedeemDineInVoucherRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (RedeemDineInVoucherRequest) MarshalJSON ¶
func (o RedeemDineInVoucherRequest) MarshalJSON() ([]byte, error)
func (*RedeemDineInVoucherRequest) SetCertificateID ¶
func (o *RedeemDineInVoucherRequest) SetCertificateID(v string)
SetCertificateID sets field value
func (*RedeemDineInVoucherRequest) SetMerchantID ¶
func (o *RedeemDineInVoucherRequest) SetMerchantID(v string)
SetMerchantID sets field value
func (RedeemDineInVoucherRequest) ToMap ¶
func (o RedeemDineInVoucherRequest) ToMap() (map[string]interface{}, error)
func (*RedeemDineInVoucherRequest) UnmarshalJSON ¶
func (o *RedeemDineInVoucherRequest) UnmarshalJSON(data []byte) (err error)
type RedeemDineInVoucherResponse ¶
type RedeemDineInVoucherResponse struct { // This certificateID is decoded from scanning the QR code, and 1:1 mapping with `voucherCode`. CertificateID *string `json:"certificateID,omitempty"` // A short code for the dine-in voucher purchased by the user. VoucherCode *string `json:"voucherCode,omitempty"` Voucher *Voucher `json:"voucher,omitempty"` RedeemResult *RedeemResult `json:"redeemResult,omitempty"` // The merchant's ID that is in GrabFood's database. MerchantID *string `json:"merchantID,omitempty"` // The dine-in voucher campaign's ID in GrabFood's database. CampaignID *string `json:"campaignID,omitempty"` AdditionalProperties map[string]interface{} }
RedeemDineInVoucherResponse
func NewRedeemDineInVoucherResponse ¶
func NewRedeemDineInVoucherResponse() *RedeemDineInVoucherResponse
NewRedeemDineInVoucherResponse instantiates a new RedeemDineInVoucherResponse 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 NewRedeemDineInVoucherResponseWithDefaults ¶
func NewRedeemDineInVoucherResponseWithDefaults() *RedeemDineInVoucherResponse
NewRedeemDineInVoucherResponseWithDefaults instantiates a new RedeemDineInVoucherResponse 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 (*RedeemDineInVoucherResponse) GetCampaignID ¶
func (o *RedeemDineInVoucherResponse) GetCampaignID() string
GetCampaignID returns the CampaignID field value if set, zero value otherwise.
func (*RedeemDineInVoucherResponse) GetCampaignIDOk ¶
func (o *RedeemDineInVoucherResponse) GetCampaignIDOk() (*string, bool)
GetCampaignIDOk returns a tuple with the CampaignID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RedeemDineInVoucherResponse) GetCertificateID ¶
func (o *RedeemDineInVoucherResponse) GetCertificateID() string
GetCertificateID returns the CertificateID field value if set, zero value otherwise.
func (*RedeemDineInVoucherResponse) GetCertificateIDOk ¶
func (o *RedeemDineInVoucherResponse) GetCertificateIDOk() (*string, bool)
GetCertificateIDOk returns a tuple with the CertificateID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RedeemDineInVoucherResponse) GetMerchantID ¶
func (o *RedeemDineInVoucherResponse) GetMerchantID() string
GetMerchantID returns the MerchantID field value if set, zero value otherwise.
func (*RedeemDineInVoucherResponse) GetMerchantIDOk ¶
func (o *RedeemDineInVoucherResponse) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RedeemDineInVoucherResponse) GetRedeemResult ¶
func (o *RedeemDineInVoucherResponse) GetRedeemResult() RedeemResult
GetRedeemResult returns the RedeemResult field value if set, zero value otherwise.
func (*RedeemDineInVoucherResponse) GetRedeemResultOk ¶
func (o *RedeemDineInVoucherResponse) GetRedeemResultOk() (*RedeemResult, bool)
GetRedeemResultOk returns a tuple with the RedeemResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RedeemDineInVoucherResponse) GetVoucher ¶
func (o *RedeemDineInVoucherResponse) GetVoucher() Voucher
GetVoucher returns the Voucher field value if set, zero value otherwise.
func (*RedeemDineInVoucherResponse) GetVoucherCode ¶
func (o *RedeemDineInVoucherResponse) GetVoucherCode() string
GetVoucherCode returns the VoucherCode field value if set, zero value otherwise.
func (*RedeemDineInVoucherResponse) GetVoucherCodeOk ¶
func (o *RedeemDineInVoucherResponse) GetVoucherCodeOk() (*string, bool)
GetVoucherCodeOk returns a tuple with the VoucherCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RedeemDineInVoucherResponse) GetVoucherOk ¶
func (o *RedeemDineInVoucherResponse) GetVoucherOk() (*Voucher, bool)
GetVoucherOk returns a tuple with the Voucher field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RedeemDineInVoucherResponse) HasCampaignID ¶
func (o *RedeemDineInVoucherResponse) HasCampaignID() bool
HasCampaignID returns a boolean if a field has been set.
func (*RedeemDineInVoucherResponse) HasCertificateID ¶
func (o *RedeemDineInVoucherResponse) HasCertificateID() bool
HasCertificateID returns a boolean if a field has been set.
func (*RedeemDineInVoucherResponse) HasMerchantID ¶
func (o *RedeemDineInVoucherResponse) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (*RedeemDineInVoucherResponse) HasRedeemResult ¶
func (o *RedeemDineInVoucherResponse) HasRedeemResult() bool
HasRedeemResult returns a boolean if a field has been set.
func (*RedeemDineInVoucherResponse) HasVoucher ¶
func (o *RedeemDineInVoucherResponse) HasVoucher() bool
HasVoucher returns a boolean if a field has been set.
func (*RedeemDineInVoucherResponse) HasVoucherCode ¶
func (o *RedeemDineInVoucherResponse) HasVoucherCode() bool
HasVoucherCode returns a boolean if a field has been set.
func (RedeemDineInVoucherResponse) MarshalJSON ¶
func (o RedeemDineInVoucherResponse) MarshalJSON() ([]byte, error)
func (*RedeemDineInVoucherResponse) SetCampaignID ¶
func (o *RedeemDineInVoucherResponse) SetCampaignID(v string)
SetCampaignID gets a reference to the given string and assigns it to the CampaignID field.
func (*RedeemDineInVoucherResponse) SetCertificateID ¶
func (o *RedeemDineInVoucherResponse) SetCertificateID(v string)
SetCertificateID gets a reference to the given string and assigns it to the CertificateID field.
func (*RedeemDineInVoucherResponse) SetMerchantID ¶
func (o *RedeemDineInVoucherResponse) SetMerchantID(v string)
SetMerchantID gets a reference to the given string and assigns it to the MerchantID field.
func (*RedeemDineInVoucherResponse) SetRedeemResult ¶
func (o *RedeemDineInVoucherResponse) SetRedeemResult(v RedeemResult)
SetRedeemResult gets a reference to the given RedeemResult and assigns it to the RedeemResult field.
func (*RedeemDineInVoucherResponse) SetVoucher ¶
func (o *RedeemDineInVoucherResponse) SetVoucher(v Voucher)
SetVoucher gets a reference to the given Voucher and assigns it to the Voucher field.
func (*RedeemDineInVoucherResponse) SetVoucherCode ¶
func (o *RedeemDineInVoucherResponse) SetVoucherCode(v string)
SetVoucherCode gets a reference to the given string and assigns it to the VoucherCode field.
func (RedeemDineInVoucherResponse) ToMap ¶
func (o RedeemDineInVoucherResponse) ToMap() (map[string]interface{}, error)
func (*RedeemDineInVoucherResponse) UnmarshalJSON ¶
func (o *RedeemDineInVoucherResponse) UnmarshalJSON(data []byte) (err error)
type RedeemDineinVoucherAPIService ¶
type RedeemDineinVoucherAPIService service
RedeemDineinVoucherAPIService RedeemDineinVoucherAPI service
func (*RedeemDineinVoucherAPIService) RedeemDineinVoucher ¶
func (a *RedeemDineinVoucherAPIService) RedeemDineinVoucher(ctx context.Context) ApiRedeemDineinVoucherRequest
RedeemDineinVoucher Redeem Dine In Voucher
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRedeemDineinVoucherRequest
func (*RedeemDineinVoucherAPIService) RedeemDineinVoucherExecute ¶
func (a *RedeemDineinVoucherAPIService) RedeemDineinVoucherExecute(r ApiRedeemDineinVoucherRequest) (*RedeemDineInVoucherResponse, *http.Response, error)
Execute executes the request
@return RedeemDineInVoucherResponse
type RedeemResult ¶
type RedeemResult struct { // To indicate whether the dine-in voucher redemption succeeded. Success *bool `json:"success,omitempty"` // The code for the reason of failed redemption. Empty if the `success` is true. * `VOUCHER_REDEEMED` - The voucher has already been redeemed. * `INVALID_STATE` - The current status of voucher is EXPIRED or REFUNDED. * `REDEEM_FAILED` - Internal service error. * `INVALID_MERCHANT` - Voucher not applicable for this merchant. * `INVALID_ID` - Invalid certificateID. Code *string `json:"code,omitempty"` AdditionalProperties map[string]interface{} }
RedeemResult A JSON object containing dine-in voucher details.
func NewRedeemResult ¶
func NewRedeemResult() *RedeemResult
NewRedeemResult instantiates a new RedeemResult 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 NewRedeemResultWithDefaults ¶
func NewRedeemResultWithDefaults() *RedeemResult
NewRedeemResultWithDefaults instantiates a new RedeemResult 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 (*RedeemResult) GetCode ¶
func (o *RedeemResult) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*RedeemResult) GetCodeOk ¶
func (o *RedeemResult) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RedeemResult) GetSuccess ¶
func (o *RedeemResult) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*RedeemResult) GetSuccessOk ¶
func (o *RedeemResult) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RedeemResult) HasCode ¶
func (o *RedeemResult) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*RedeemResult) HasSuccess ¶
func (o *RedeemResult) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (RedeemResult) MarshalJSON ¶
func (o RedeemResult) MarshalJSON() ([]byte, error)
func (*RedeemResult) SetCode ¶
func (o *RedeemResult) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*RedeemResult) SetSuccess ¶
func (o *RedeemResult) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
func (RedeemResult) ToMap ¶
func (o RedeemResult) ToMap() (map[string]interface{}, error)
func (*RedeemResult) UnmarshalJSON ¶
func (o *RedeemResult) UnmarshalJSON(data []byte) (err error)
type RegisterMembershipNativeRequest ¶
type RegisterMembershipNativeRequest struct { // The id used to identify an unique grab user. GrabID string `json:"grabID"` // Grab user's phone number for registration. PhoneNumber *string `json:"phoneNumber,omitempty"` // Grab user's name for registration. Name *string `json:"name,omitempty"` // Grab user's email address for registration. Email *string `json:"email,omitempty"` AdditionalProperties map[string]interface{} }
RegisterMembershipNativeRequest This request submits membership registration request to partner.
func NewRegisterMembershipNativeRequest ¶
func NewRegisterMembershipNativeRequest(grabID string) *RegisterMembershipNativeRequest
NewRegisterMembershipNativeRequest instantiates a new RegisterMembershipNativeRequest 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 NewRegisterMembershipNativeRequestWithDefaults ¶
func NewRegisterMembershipNativeRequestWithDefaults() *RegisterMembershipNativeRequest
NewRegisterMembershipNativeRequestWithDefaults instantiates a new RegisterMembershipNativeRequest 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 (*RegisterMembershipNativeRequest) GetEmail ¶
func (o *RegisterMembershipNativeRequest) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*RegisterMembershipNativeRequest) GetEmailOk ¶
func (o *RegisterMembershipNativeRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisterMembershipNativeRequest) GetGrabID ¶
func (o *RegisterMembershipNativeRequest) GetGrabID() string
GetGrabID returns the GrabID field value
func (*RegisterMembershipNativeRequest) GetGrabIDOk ¶
func (o *RegisterMembershipNativeRequest) GetGrabIDOk() (*string, bool)
GetGrabIDOk returns a tuple with the GrabID field value and a boolean to check if the value has been set.
func (*RegisterMembershipNativeRequest) GetName ¶
func (o *RegisterMembershipNativeRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RegisterMembershipNativeRequest) GetNameOk ¶
func (o *RegisterMembershipNativeRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisterMembershipNativeRequest) GetPhoneNumber ¶
func (o *RegisterMembershipNativeRequest) GetPhoneNumber() string
GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.
func (*RegisterMembershipNativeRequest) GetPhoneNumberOk ¶
func (o *RegisterMembershipNativeRequest) GetPhoneNumberOk() (*string, bool)
GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisterMembershipNativeRequest) HasEmail ¶
func (o *RegisterMembershipNativeRequest) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*RegisterMembershipNativeRequest) HasName ¶
func (o *RegisterMembershipNativeRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*RegisterMembershipNativeRequest) HasPhoneNumber ¶
func (o *RegisterMembershipNativeRequest) HasPhoneNumber() bool
HasPhoneNumber returns a boolean if a field has been set.
func (RegisterMembershipNativeRequest) MarshalJSON ¶
func (o RegisterMembershipNativeRequest) MarshalJSON() ([]byte, error)
func (*RegisterMembershipNativeRequest) SetEmail ¶
func (o *RegisterMembershipNativeRequest) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*RegisterMembershipNativeRequest) SetGrabID ¶
func (o *RegisterMembershipNativeRequest) SetGrabID(v string)
SetGrabID sets field value
func (*RegisterMembershipNativeRequest) SetName ¶
func (o *RegisterMembershipNativeRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*RegisterMembershipNativeRequest) SetPhoneNumber ¶
func (o *RegisterMembershipNativeRequest) SetPhoneNumber(v string)
SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.
func (RegisterMembershipNativeRequest) ToMap ¶
func (o RegisterMembershipNativeRequest) ToMap() (map[string]interface{}, error)
func (*RegisterMembershipNativeRequest) UnmarshalJSON ¶
func (o *RegisterMembershipNativeRequest) UnmarshalJSON(data []byte) (err error)
type RegisterMembershipNativeResponse ¶
type RegisterMembershipNativeResponse struct { // The unique member ID on the partner's database. MemberID string `json:"memberID"` AdditionalProperties map[string]interface{} }
RegisterMembershipNativeResponse This response returns membershipID after membership binding is successful.
func NewRegisterMembershipNativeResponse ¶
func NewRegisterMembershipNativeResponse(memberID string) *RegisterMembershipNativeResponse
NewRegisterMembershipNativeResponse instantiates a new RegisterMembershipNativeResponse 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 NewRegisterMembershipNativeResponseWithDefaults ¶
func NewRegisterMembershipNativeResponseWithDefaults() *RegisterMembershipNativeResponse
NewRegisterMembershipNativeResponseWithDefaults instantiates a new RegisterMembershipNativeResponse 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 (*RegisterMembershipNativeResponse) GetMemberID ¶
func (o *RegisterMembershipNativeResponse) GetMemberID() string
GetMemberID returns the MemberID field value
func (*RegisterMembershipNativeResponse) GetMemberIDOk ¶
func (o *RegisterMembershipNativeResponse) GetMemberIDOk() (*string, bool)
GetMemberIDOk returns a tuple with the MemberID field value and a boolean to check if the value has been set.
func (RegisterMembershipNativeResponse) MarshalJSON ¶
func (o RegisterMembershipNativeResponse) MarshalJSON() ([]byte, error)
func (*RegisterMembershipNativeResponse) SetMemberID ¶
func (o *RegisterMembershipNativeResponse) SetMemberID(v string)
SetMemberID sets field value
func (RegisterMembershipNativeResponse) ToMap ¶
func (o RegisterMembershipNativeResponse) ToMap() (map[string]interface{}, error)
func (*RegisterMembershipNativeResponse) UnmarshalJSON ¶
func (o *RegisterMembershipNativeResponse) UnmarshalJSON(data []byte) (err error)
type RewardItem ¶
type RewardItem struct { // The item's ID in partner system. ItemID *string `json:"itemID,omitempty"` // The item's quantity. Quantity *int32 `json:"quantity,omitempty"` AdditionalProperties map[string]interface{} }
RewardItem struct for RewardItem
func NewRewardItem ¶
func NewRewardItem() *RewardItem
NewRewardItem instantiates a new RewardItem 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 NewRewardItemWithDefaults ¶
func NewRewardItemWithDefaults() *RewardItem
NewRewardItemWithDefaults instantiates a new RewardItem 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 (*RewardItem) GetItemID ¶
func (o *RewardItem) GetItemID() string
GetItemID returns the ItemID field value if set, zero value otherwise.
func (*RewardItem) GetItemIDOk ¶
func (o *RewardItem) GetItemIDOk() (*string, bool)
GetItemIDOk returns a tuple with the ItemID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RewardItem) GetQuantity ¶
func (o *RewardItem) GetQuantity() int32
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*RewardItem) GetQuantityOk ¶
func (o *RewardItem) GetQuantityOk() (*int32, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RewardItem) HasItemID ¶
func (o *RewardItem) HasItemID() bool
HasItemID returns a boolean if a field has been set.
func (*RewardItem) HasQuantity ¶
func (o *RewardItem) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (RewardItem) MarshalJSON ¶
func (o RewardItem) MarshalJSON() ([]byte, error)
func (*RewardItem) SetItemID ¶
func (o *RewardItem) SetItemID(v string)
SetItemID gets a reference to the given string and assigns it to the ItemID field.
func (*RewardItem) SetQuantity ¶
func (o *RewardItem) SetQuantity(v int32)
SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.
func (RewardItem) ToMap ¶
func (o RewardItem) ToMap() (map[string]interface{}, error)
func (*RewardItem) UnmarshalJSON ¶
func (o *RewardItem) UnmarshalJSON(data []byte) (err error)
type SellingTime ¶
type SellingTime struct { // The selling time group start time in date & time format. UTC format is expected. StartTime *string `json:"startTime,omitempty"` // The selling time group end time in date & time format. UTC format is expected. EndTime *string `json:"endTime,omitempty"` // The selling time's ID on the partner system. This ID should be unique with length min 1 and max 64. Id *string `json:"id,omitempty"` // The name of the selling time. Name *string `json:"name,omitempty"` ServiceHours *ServiceHours `json:"serviceHours,omitempty"` AdditionalProperties map[string]interface{} }
SellingTime struct for SellingTime
func NewSellingTime ¶
func NewSellingTime() *SellingTime
NewSellingTime instantiates a new SellingTime 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 NewSellingTimeWithDefaults ¶
func NewSellingTimeWithDefaults() *SellingTime
NewSellingTimeWithDefaults instantiates a new SellingTime 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 (*SellingTime) GetEndTime ¶
func (o *SellingTime) GetEndTime() string
GetEndTime returns the EndTime field value if set, zero value otherwise.
func (*SellingTime) GetEndTimeOk ¶
func (o *SellingTime) GetEndTimeOk() (*string, bool)
GetEndTimeOk returns a tuple with the EndTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellingTime) GetId ¶
func (o *SellingTime) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SellingTime) GetIdOk ¶
func (o *SellingTime) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellingTime) GetName ¶
func (o *SellingTime) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SellingTime) GetNameOk ¶
func (o *SellingTime) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellingTime) GetServiceHours ¶
func (o *SellingTime) GetServiceHours() ServiceHours
GetServiceHours returns the ServiceHours field value if set, zero value otherwise.
func (*SellingTime) GetServiceHoursOk ¶
func (o *SellingTime) GetServiceHoursOk() (*ServiceHours, bool)
GetServiceHoursOk returns a tuple with the ServiceHours field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellingTime) GetStartTime ¶
func (o *SellingTime) GetStartTime() string
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*SellingTime) GetStartTimeOk ¶
func (o *SellingTime) GetStartTimeOk() (*string, bool)
GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellingTime) HasEndTime ¶
func (o *SellingTime) HasEndTime() bool
HasEndTime returns a boolean if a field has been set.
func (*SellingTime) HasId ¶
func (o *SellingTime) HasId() bool
HasId returns a boolean if a field has been set.
func (*SellingTime) HasName ¶
func (o *SellingTime) HasName() bool
HasName returns a boolean if a field has been set.
func (*SellingTime) HasServiceHours ¶
func (o *SellingTime) HasServiceHours() bool
HasServiceHours returns a boolean if a field has been set.
func (*SellingTime) HasStartTime ¶
func (o *SellingTime) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (SellingTime) MarshalJSON ¶
func (o SellingTime) MarshalJSON() ([]byte, error)
func (*SellingTime) SetEndTime ¶
func (o *SellingTime) SetEndTime(v string)
SetEndTime gets a reference to the given string and assigns it to the EndTime field.
func (*SellingTime) SetId ¶
func (o *SellingTime) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SellingTime) SetName ¶
func (o *SellingTime) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SellingTime) SetServiceHours ¶
func (o *SellingTime) SetServiceHours(v ServiceHours)
SetServiceHours gets a reference to the given ServiceHours and assigns it to the ServiceHours field.
func (*SellingTime) SetStartTime ¶
func (o *SellingTime) SetStartTime(v string)
SetStartTime gets a reference to the given string and assigns it to the StartTime field.
func (SellingTime) ToMap ¶
func (o SellingTime) ToMap() (map[string]interface{}, error)
func (*SellingTime) UnmarshalJSON ¶
func (o *SellingTime) UnmarshalJSON(data []byte) (err error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ServiceHour ¶
type ServiceHour struct { // Defines the specific time period during which the menu is available - OpenPeriod = open only in given periods - OpenAllDay = open 24 hours - CloseAllDay = closed 24 hours OpenPeriodType string `json:"openPeriodType"` // An array of open periods. Only required when `openPeriodType` is **OpenPeriod** Periods []OpenPeriod `json:"periods,omitempty"` AdditionalProperties map[string]interface{} }
ServiceHour A JSON object serviceHour for each day. An empty JSON object indicates the menu item is not available on the day.
func NewServiceHour ¶
func NewServiceHour(openPeriodType string) *ServiceHour
NewServiceHour instantiates a new ServiceHour 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 NewServiceHourWithDefaults ¶
func NewServiceHourWithDefaults() *ServiceHour
NewServiceHourWithDefaults instantiates a new ServiceHour 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 (*ServiceHour) GetOpenPeriodType ¶
func (o *ServiceHour) GetOpenPeriodType() string
GetOpenPeriodType returns the OpenPeriodType field value
func (*ServiceHour) GetOpenPeriodTypeOk ¶
func (o *ServiceHour) GetOpenPeriodTypeOk() (*string, bool)
GetOpenPeriodTypeOk returns a tuple with the OpenPeriodType field value and a boolean to check if the value has been set.
func (*ServiceHour) GetPeriods ¶
func (o *ServiceHour) GetPeriods() []OpenPeriod
GetPeriods returns the Periods field value if set, zero value otherwise.
func (*ServiceHour) GetPeriodsOk ¶
func (o *ServiceHour) GetPeriodsOk() ([]OpenPeriod, bool)
GetPeriodsOk returns a tuple with the Periods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceHour) HasPeriods ¶
func (o *ServiceHour) HasPeriods() bool
HasPeriods returns a boolean if a field has been set.
func (ServiceHour) MarshalJSON ¶
func (o ServiceHour) MarshalJSON() ([]byte, error)
func (*ServiceHour) SetOpenPeriodType ¶
func (o *ServiceHour) SetOpenPeriodType(v string)
SetOpenPeriodType sets field value
func (*ServiceHour) SetPeriods ¶
func (o *ServiceHour) SetPeriods(v []OpenPeriod)
SetPeriods gets a reference to the given []OpenPeriod and assigns it to the Periods field.
func (ServiceHour) ToMap ¶
func (o ServiceHour) ToMap() (map[string]interface{}, error)
func (*ServiceHour) UnmarshalJSON ¶
func (o *ServiceHour) UnmarshalJSON(data []byte) (err error)
type ServiceHours ¶
type ServiceHours struct { Mon ServiceHour `json:"mon"` Tue ServiceHour `json:"tue"` Wed ServiceHour `json:"wed"` Thu ServiceHour `json:"thu"` Fri ServiceHour `json:"fri"` Sat ServiceHour `json:"sat"` Sun ServiceHour `json:"sun"` AdditionalProperties map[string]interface{} }
ServiceHours A JSON object with serviceHours for each day of the week.
func NewServiceHours ¶
func NewServiceHours(mon ServiceHour, tue ServiceHour, wed ServiceHour, thu ServiceHour, fri ServiceHour, sat ServiceHour, sun ServiceHour) *ServiceHours
NewServiceHours instantiates a new ServiceHours 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 NewServiceHoursWithDefaults ¶
func NewServiceHoursWithDefaults() *ServiceHours
NewServiceHoursWithDefaults instantiates a new ServiceHours 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 (*ServiceHours) GetFri ¶
func (o *ServiceHours) GetFri() ServiceHour
GetFri returns the Fri field value
func (*ServiceHours) GetFriOk ¶
func (o *ServiceHours) GetFriOk() (*ServiceHour, bool)
GetFriOk returns a tuple with the Fri field value and a boolean to check if the value has been set.
func (*ServiceHours) GetMon ¶
func (o *ServiceHours) GetMon() ServiceHour
GetMon returns the Mon field value
func (*ServiceHours) GetMonOk ¶
func (o *ServiceHours) GetMonOk() (*ServiceHour, bool)
GetMonOk returns a tuple with the Mon field value and a boolean to check if the value has been set.
func (*ServiceHours) GetSat ¶
func (o *ServiceHours) GetSat() ServiceHour
GetSat returns the Sat field value
func (*ServiceHours) GetSatOk ¶
func (o *ServiceHours) GetSatOk() (*ServiceHour, bool)
GetSatOk returns a tuple with the Sat field value and a boolean to check if the value has been set.
func (*ServiceHours) GetSun ¶
func (o *ServiceHours) GetSun() ServiceHour
GetSun returns the Sun field value
func (*ServiceHours) GetSunOk ¶
func (o *ServiceHours) GetSunOk() (*ServiceHour, bool)
GetSunOk returns a tuple with the Sun field value and a boolean to check if the value has been set.
func (*ServiceHours) GetThu ¶
func (o *ServiceHours) GetThu() ServiceHour
GetThu returns the Thu field value
func (*ServiceHours) GetThuOk ¶
func (o *ServiceHours) GetThuOk() (*ServiceHour, bool)
GetThuOk returns a tuple with the Thu field value and a boolean to check if the value has been set.
func (*ServiceHours) GetTue ¶
func (o *ServiceHours) GetTue() ServiceHour
GetTue returns the Tue field value
func (*ServiceHours) GetTueOk ¶
func (o *ServiceHours) GetTueOk() (*ServiceHour, bool)
GetTueOk returns a tuple with the Tue field value and a boolean to check if the value has been set.
func (*ServiceHours) GetWed ¶
func (o *ServiceHours) GetWed() ServiceHour
GetWed returns the Wed field value
func (*ServiceHours) GetWedOk ¶
func (o *ServiceHours) GetWedOk() (*ServiceHour, bool)
GetWedOk returns a tuple with the Wed field value and a boolean to check if the value has been set.
func (ServiceHours) MarshalJSON ¶
func (o ServiceHours) MarshalJSON() ([]byte, error)
func (ServiceHours) ToMap ¶
func (o ServiceHours) ToMap() (map[string]interface{}, error)
func (*ServiceHours) UnmarshalJSON ¶
func (o *ServiceHours) UnmarshalJSON(data []byte) (err error)
type SpecialOpeningHour ¶
type SpecialOpeningHour struct { // The start date of store special opening hours. StartDate *string `json:"startDate,omitempty"` // The end date of store special opening hours. EndDate *string `json:"endDate,omitempty"` Metadata *SpecialOpeningHourMetadata `json:"metadata,omitempty"` OpeningHours *SpecialOpeningHourOpeningHours `json:"openingHours,omitempty"` AdditionalProperties map[string]interface{} }
SpecialOpeningHour struct for SpecialOpeningHour
func NewSpecialOpeningHour ¶
func NewSpecialOpeningHour() *SpecialOpeningHour
NewSpecialOpeningHour instantiates a new SpecialOpeningHour 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 NewSpecialOpeningHourWithDefaults ¶
func NewSpecialOpeningHourWithDefaults() *SpecialOpeningHour
NewSpecialOpeningHourWithDefaults instantiates a new SpecialOpeningHour 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 (*SpecialOpeningHour) GetEndDate ¶
func (o *SpecialOpeningHour) GetEndDate() string
GetEndDate returns the EndDate field value if set, zero value otherwise.
func (*SpecialOpeningHour) GetEndDateOk ¶
func (o *SpecialOpeningHour) GetEndDateOk() (*string, bool)
GetEndDateOk returns a tuple with the EndDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOpeningHour) GetMetadata ¶
func (o *SpecialOpeningHour) GetMetadata() SpecialOpeningHourMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*SpecialOpeningHour) GetMetadataOk ¶
func (o *SpecialOpeningHour) GetMetadataOk() (*SpecialOpeningHourMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOpeningHour) GetOpeningHours ¶
func (o *SpecialOpeningHour) GetOpeningHours() SpecialOpeningHourOpeningHours
GetOpeningHours returns the OpeningHours field value if set, zero value otherwise.
func (*SpecialOpeningHour) GetOpeningHoursOk ¶
func (o *SpecialOpeningHour) GetOpeningHoursOk() (*SpecialOpeningHourOpeningHours, bool)
GetOpeningHoursOk returns a tuple with the OpeningHours field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOpeningHour) GetStartDate ¶
func (o *SpecialOpeningHour) GetStartDate() string
GetStartDate returns the StartDate field value if set, zero value otherwise.
func (*SpecialOpeningHour) GetStartDateOk ¶
func (o *SpecialOpeningHour) GetStartDateOk() (*string, bool)
GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOpeningHour) HasEndDate ¶
func (o *SpecialOpeningHour) HasEndDate() bool
HasEndDate returns a boolean if a field has been set.
func (*SpecialOpeningHour) HasMetadata ¶
func (o *SpecialOpeningHour) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*SpecialOpeningHour) HasOpeningHours ¶
func (o *SpecialOpeningHour) HasOpeningHours() bool
HasOpeningHours returns a boolean if a field has been set.
func (*SpecialOpeningHour) HasStartDate ¶
func (o *SpecialOpeningHour) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
func (SpecialOpeningHour) MarshalJSON ¶
func (o SpecialOpeningHour) MarshalJSON() ([]byte, error)
func (*SpecialOpeningHour) SetEndDate ¶
func (o *SpecialOpeningHour) SetEndDate(v string)
SetEndDate gets a reference to the given string and assigns it to the EndDate field.
func (*SpecialOpeningHour) SetMetadata ¶
func (o *SpecialOpeningHour) SetMetadata(v SpecialOpeningHourMetadata)
SetMetadata gets a reference to the given SpecialOpeningHourMetadata and assigns it to the Metadata field.
func (*SpecialOpeningHour) SetOpeningHours ¶
func (o *SpecialOpeningHour) SetOpeningHours(v SpecialOpeningHourOpeningHours)
SetOpeningHours gets a reference to the given SpecialOpeningHourOpeningHours and assigns it to the OpeningHours field.
func (*SpecialOpeningHour) SetStartDate ¶
func (o *SpecialOpeningHour) SetStartDate(v string)
SetStartDate gets a reference to the given string and assigns it to the StartDate field.
func (SpecialOpeningHour) ToMap ¶
func (o SpecialOpeningHour) ToMap() (map[string]interface{}, error)
func (*SpecialOpeningHour) UnmarshalJSON ¶
func (o *SpecialOpeningHour) UnmarshalJSON(data []byte) (err error)
type SpecialOpeningHourMetadata ¶
type SpecialOpeningHourMetadata struct { // Description of the special opening hour. Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} }
SpecialOpeningHourMetadata Contains special opening hour info.
func NewSpecialOpeningHourMetadata ¶
func NewSpecialOpeningHourMetadata() *SpecialOpeningHourMetadata
NewSpecialOpeningHourMetadata instantiates a new SpecialOpeningHourMetadata 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 NewSpecialOpeningHourMetadataWithDefaults ¶
func NewSpecialOpeningHourMetadataWithDefaults() *SpecialOpeningHourMetadata
NewSpecialOpeningHourMetadataWithDefaults instantiates a new SpecialOpeningHourMetadata 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 (*SpecialOpeningHourMetadata) GetDescription ¶
func (o *SpecialOpeningHourMetadata) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*SpecialOpeningHourMetadata) GetDescriptionOk ¶
func (o *SpecialOpeningHourMetadata) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOpeningHourMetadata) HasDescription ¶
func (o *SpecialOpeningHourMetadata) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (SpecialOpeningHourMetadata) MarshalJSON ¶
func (o SpecialOpeningHourMetadata) MarshalJSON() ([]byte, error)
func (*SpecialOpeningHourMetadata) SetDescription ¶
func (o *SpecialOpeningHourMetadata) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (SpecialOpeningHourMetadata) ToMap ¶
func (o SpecialOpeningHourMetadata) ToMap() (map[string]interface{}, error)
func (*SpecialOpeningHourMetadata) UnmarshalJSON ¶
func (o *SpecialOpeningHourMetadata) UnmarshalJSON(data []byte) (err error)
type SpecialOpeningHourOpeningHours ¶
type SpecialOpeningHourOpeningHours struct { // The period type for when the outlet is open. OpenPeriodType *string `json:"openPeriodType,omitempty"` // An array of open periods. Maximum of 3 periods. Periods []OpenPeriod `json:"periods,omitempty"` AdditionalProperties map[string]interface{} }
SpecialOpeningHourOpeningHours Store special opening hour period.
func NewSpecialOpeningHourOpeningHours ¶
func NewSpecialOpeningHourOpeningHours() *SpecialOpeningHourOpeningHours
NewSpecialOpeningHourOpeningHours instantiates a new SpecialOpeningHourOpeningHours 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 NewSpecialOpeningHourOpeningHoursWithDefaults ¶
func NewSpecialOpeningHourOpeningHoursWithDefaults() *SpecialOpeningHourOpeningHours
NewSpecialOpeningHourOpeningHoursWithDefaults instantiates a new SpecialOpeningHourOpeningHours 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 (*SpecialOpeningHourOpeningHours) GetOpenPeriodType ¶
func (o *SpecialOpeningHourOpeningHours) GetOpenPeriodType() string
GetOpenPeriodType returns the OpenPeriodType field value if set, zero value otherwise.
func (*SpecialOpeningHourOpeningHours) GetOpenPeriodTypeOk ¶
func (o *SpecialOpeningHourOpeningHours) GetOpenPeriodTypeOk() (*string, bool)
GetOpenPeriodTypeOk returns a tuple with the OpenPeriodType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOpeningHourOpeningHours) GetPeriods ¶
func (o *SpecialOpeningHourOpeningHours) GetPeriods() []OpenPeriod
GetPeriods returns the Periods field value if set, zero value otherwise.
func (*SpecialOpeningHourOpeningHours) GetPeriodsOk ¶
func (o *SpecialOpeningHourOpeningHours) GetPeriodsOk() ([]OpenPeriod, bool)
GetPeriodsOk returns a tuple with the Periods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpecialOpeningHourOpeningHours) HasOpenPeriodType ¶
func (o *SpecialOpeningHourOpeningHours) HasOpenPeriodType() bool
HasOpenPeriodType returns a boolean if a field has been set.
func (*SpecialOpeningHourOpeningHours) HasPeriods ¶
func (o *SpecialOpeningHourOpeningHours) HasPeriods() bool
HasPeriods returns a boolean if a field has been set.
func (SpecialOpeningHourOpeningHours) MarshalJSON ¶
func (o SpecialOpeningHourOpeningHours) MarshalJSON() ([]byte, error)
func (*SpecialOpeningHourOpeningHours) SetOpenPeriodType ¶
func (o *SpecialOpeningHourOpeningHours) SetOpenPeriodType(v string)
SetOpenPeriodType gets a reference to the given string and assigns it to the OpenPeriodType field.
func (*SpecialOpeningHourOpeningHours) SetPeriods ¶
func (o *SpecialOpeningHourOpeningHours) SetPeriods(v []OpenPeriod)
SetPeriods gets a reference to the given []OpenPeriod and assigns it to the Periods field.
func (SpecialOpeningHourOpeningHours) ToMap ¶
func (o SpecialOpeningHourOpeningHours) ToMap() (map[string]interface{}, error)
func (*SpecialOpeningHourOpeningHours) UnmarshalJSON ¶
func (o *SpecialOpeningHourOpeningHours) UnmarshalJSON(data []byte) (err error)
type StoreHour ¶
type StoreHour struct { // An array of open periods. Maximum of 3 periods. Blank indicates store close. Mon []OpenPeriod `json:"mon"` // An array of open periods. Maximum of 3 periods. Blank indicates store close. Tue []OpenPeriod `json:"tue"` // An array of open periods. Maximum of 3 periods. Blank indicates store close. Wed []OpenPeriod `json:"wed"` // An array of open periods. Maximum of 3 periods. Blank indicates store close. Thu []OpenPeriod `json:"thu"` // An array of open periods. Maximum of 3 periods. Blank indicates store close. Fri []OpenPeriod `json:"fri"` // An array of open periods. Maximum of 3 periods. Blank indicates store close. Sat []OpenPeriod `json:"sat"` // An array of open periods. Maximum of 3 periods. Blank indicates store close. Sun []OpenPeriod `json:"sun"` AdditionalProperties map[string]interface{} }
StoreHour A JSON object that describes the store hour for each day.
func NewStoreHour ¶
func NewStoreHour(mon []OpenPeriod, tue []OpenPeriod, wed []OpenPeriod, thu []OpenPeriod, fri []OpenPeriod, sat []OpenPeriod, sun []OpenPeriod) *StoreHour
NewStoreHour instantiates a new StoreHour 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 NewStoreHourWithDefaults ¶
func NewStoreHourWithDefaults() *StoreHour
NewStoreHourWithDefaults instantiates a new StoreHour 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 (*StoreHour) GetFri ¶
func (o *StoreHour) GetFri() []OpenPeriod
GetFri returns the Fri field value
func (*StoreHour) GetFriOk ¶
func (o *StoreHour) GetFriOk() ([]OpenPeriod, bool)
GetFriOk returns a tuple with the Fri field value and a boolean to check if the value has been set.
func (*StoreHour) GetMon ¶
func (o *StoreHour) GetMon() []OpenPeriod
GetMon returns the Mon field value
func (*StoreHour) GetMonOk ¶
func (o *StoreHour) GetMonOk() ([]OpenPeriod, bool)
GetMonOk returns a tuple with the Mon field value and a boolean to check if the value has been set.
func (*StoreHour) GetSat ¶
func (o *StoreHour) GetSat() []OpenPeriod
GetSat returns the Sat field value
func (*StoreHour) GetSatOk ¶
func (o *StoreHour) GetSatOk() ([]OpenPeriod, bool)
GetSatOk returns a tuple with the Sat field value and a boolean to check if the value has been set.
func (*StoreHour) GetSun ¶
func (o *StoreHour) GetSun() []OpenPeriod
GetSun returns the Sun field value
func (*StoreHour) GetSunOk ¶
func (o *StoreHour) GetSunOk() ([]OpenPeriod, bool)
GetSunOk returns a tuple with the Sun field value and a boolean to check if the value has been set.
func (*StoreHour) GetThu ¶
func (o *StoreHour) GetThu() []OpenPeriod
GetThu returns the Thu field value
func (*StoreHour) GetThuOk ¶
func (o *StoreHour) GetThuOk() ([]OpenPeriod, bool)
GetThuOk returns a tuple with the Thu field value and a boolean to check if the value has been set.
func (*StoreHour) GetTue ¶
func (o *StoreHour) GetTue() []OpenPeriod
GetTue returns the Tue field value
func (*StoreHour) GetTueOk ¶
func (o *StoreHour) GetTueOk() ([]OpenPeriod, bool)
GetTueOk returns a tuple with the Tue field value and a boolean to check if the value has been set.
func (*StoreHour) GetWed ¶
func (o *StoreHour) GetWed() []OpenPeriod
GetWed returns the Wed field value
func (*StoreHour) GetWedOk ¶
func (o *StoreHour) GetWedOk() ([]OpenPeriod, bool)
GetWedOk returns a tuple with the Wed field value and a boolean to check if the value has been set.
func (StoreHour) MarshalJSON ¶
func (*StoreHour) UnmarshalJSON ¶
type StoreHourResponse ¶
type StoreHourResponse struct { DineInHour *StoreHour `json:"dineInHour,omitempty"` OpeningHour *StoreHour `json:"openingHour,omitempty"` // The store's special opening hours. SpecialOpeningHours []SpecialOpeningHour `json:"specialOpeningHours,omitempty"` AdditionalProperties map[string]interface{} }
StoreHourResponse Object contain store hour info
func NewStoreHourResponse ¶
func NewStoreHourResponse() *StoreHourResponse
NewStoreHourResponse instantiates a new StoreHourResponse 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 NewStoreHourResponseWithDefaults ¶
func NewStoreHourResponseWithDefaults() *StoreHourResponse
NewStoreHourResponseWithDefaults instantiates a new StoreHourResponse 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 (*StoreHourResponse) GetDineInHour ¶
func (o *StoreHourResponse) GetDineInHour() StoreHour
GetDineInHour returns the DineInHour field value if set, zero value otherwise.
func (*StoreHourResponse) GetDineInHourOk ¶
func (o *StoreHourResponse) GetDineInHourOk() (*StoreHour, bool)
GetDineInHourOk returns a tuple with the DineInHour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StoreHourResponse) GetOpeningHour ¶
func (o *StoreHourResponse) GetOpeningHour() StoreHour
GetOpeningHour returns the OpeningHour field value if set, zero value otherwise.
func (*StoreHourResponse) GetOpeningHourOk ¶
func (o *StoreHourResponse) GetOpeningHourOk() (*StoreHour, bool)
GetOpeningHourOk returns a tuple with the OpeningHour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StoreHourResponse) GetSpecialOpeningHours ¶
func (o *StoreHourResponse) GetSpecialOpeningHours() []SpecialOpeningHour
GetSpecialOpeningHours returns the SpecialOpeningHours field value if set, zero value otherwise.
func (*StoreHourResponse) GetSpecialOpeningHoursOk ¶
func (o *StoreHourResponse) GetSpecialOpeningHoursOk() ([]SpecialOpeningHour, bool)
GetSpecialOpeningHoursOk returns a tuple with the SpecialOpeningHours field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StoreHourResponse) HasDineInHour ¶
func (o *StoreHourResponse) HasDineInHour() bool
HasDineInHour returns a boolean if a field has been set.
func (*StoreHourResponse) HasOpeningHour ¶
func (o *StoreHourResponse) HasOpeningHour() bool
HasOpeningHour returns a boolean if a field has been set.
func (*StoreHourResponse) HasSpecialOpeningHours ¶
func (o *StoreHourResponse) HasSpecialOpeningHours() bool
HasSpecialOpeningHours returns a boolean if a field has been set.
func (StoreHourResponse) MarshalJSON ¶
func (o StoreHourResponse) MarshalJSON() ([]byte, error)
func (*StoreHourResponse) SetDineInHour ¶
func (o *StoreHourResponse) SetDineInHour(v StoreHour)
SetDineInHour gets a reference to the given StoreHour and assigns it to the DineInHour field.
func (*StoreHourResponse) SetOpeningHour ¶
func (o *StoreHourResponse) SetOpeningHour(v StoreHour)
SetOpeningHour gets a reference to the given StoreHour and assigns it to the OpeningHour field.
func (*StoreHourResponse) SetSpecialOpeningHours ¶
func (o *StoreHourResponse) SetSpecialOpeningHours(v []SpecialOpeningHour)
SetSpecialOpeningHours gets a reference to the given []SpecialOpeningHour and assigns it to the SpecialOpeningHours field.
func (StoreHourResponse) ToMap ¶
func (o StoreHourResponse) ToMap() (map[string]interface{}, error)
func (*StoreHourResponse) UnmarshalJSON ¶
func (o *StoreHourResponse) UnmarshalJSON(data []byte) (err error)
type StoreStatusResponse ¶
type StoreStatusResponse struct { // The code of store close reason. Blank indicates store is currently open. CloseReason string `json:"closeReason"` // Indicate whether the store is in special opening hour range. IsInSpecialOpeningHourRange bool `json:"isInSpecialOpeningHourRange"` // Indicate whether the store is open. IsOpen bool `json:"isOpen"` AdditionalProperties map[string]interface{} }
StoreStatusResponse Object contains store status info
func NewStoreStatusResponse ¶
func NewStoreStatusResponse(closeReason string, isInSpecialOpeningHourRange bool, isOpen bool) *StoreStatusResponse
NewStoreStatusResponse instantiates a new StoreStatusResponse 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 NewStoreStatusResponseWithDefaults ¶
func NewStoreStatusResponseWithDefaults() *StoreStatusResponse
NewStoreStatusResponseWithDefaults instantiates a new StoreStatusResponse 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 (*StoreStatusResponse) GetCloseReason ¶
func (o *StoreStatusResponse) GetCloseReason() string
GetCloseReason returns the CloseReason field value
func (*StoreStatusResponse) GetCloseReasonOk ¶
func (o *StoreStatusResponse) GetCloseReasonOk() (*string, bool)
GetCloseReasonOk returns a tuple with the CloseReason field value and a boolean to check if the value has been set.
func (*StoreStatusResponse) GetIsInSpecialOpeningHourRange ¶
func (o *StoreStatusResponse) GetIsInSpecialOpeningHourRange() bool
GetIsInSpecialOpeningHourRange returns the IsInSpecialOpeningHourRange field value
func (*StoreStatusResponse) GetIsInSpecialOpeningHourRangeOk ¶
func (o *StoreStatusResponse) GetIsInSpecialOpeningHourRangeOk() (*bool, bool)
GetIsInSpecialOpeningHourRangeOk returns a tuple with the IsInSpecialOpeningHourRange field value and a boolean to check if the value has been set.
func (*StoreStatusResponse) GetIsOpen ¶
func (o *StoreStatusResponse) GetIsOpen() bool
GetIsOpen returns the IsOpen field value
func (*StoreStatusResponse) GetIsOpenOk ¶
func (o *StoreStatusResponse) GetIsOpenOk() (*bool, bool)
GetIsOpenOk returns a tuple with the IsOpen field value and a boolean to check if the value has been set.
func (StoreStatusResponse) MarshalJSON ¶
func (o StoreStatusResponse) MarshalJSON() ([]byte, error)
func (*StoreStatusResponse) SetCloseReason ¶
func (o *StoreStatusResponse) SetCloseReason(v string)
SetCloseReason sets field value
func (*StoreStatusResponse) SetIsInSpecialOpeningHourRange ¶
func (o *StoreStatusResponse) SetIsInSpecialOpeningHourRange(v bool)
SetIsInSpecialOpeningHourRange sets field value
func (*StoreStatusResponse) SetIsOpen ¶
func (o *StoreStatusResponse) SetIsOpen(v bool)
SetIsOpen sets field value
func (StoreStatusResponse) ToMap ¶
func (o StoreStatusResponse) ToMap() (map[string]interface{}, error)
func (*StoreStatusResponse) UnmarshalJSON ¶
func (o *StoreStatusResponse) UnmarshalJSON(data []byte) (err error)
type SubmitOrderRequest ¶
type SubmitOrderRequest struct { // The order's ID that is returned from GrabFood. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). OrderID string `json:"orderID"` // The GrabFood short order number. This is unique for each merchant per day. Refer to FAQs for more details about [orderID and shortOrderNumber](#section/Order/What's-the-difference-between-orderID-and-shortOrderNumber). ShortOrderNumber string `json:"shortOrderNumber"` // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` // The merchant's ID that is on the partner's database. PartnerMerchantID *string `json:"partnerMerchantID,omitempty"` // The payment method used. Refer to FAQs for more details about [paymentType](#section/Order/Does-the-paymentType-affect-partners). PaymentType string `json:"paymentType"` // The boolean value to indicate whether cutlery are needed or not. Refer to FAQs for more details about [cutlery](#section/Order/What-do-the-true-or-false-values-mean-for-cutlery). Cutlery bool `json:"cutlery"` // The UTC time that a consumer places the order, based on ISO_8601/RFC3339. OrderTime string `json:"orderTime"` // The order submit time, based on ISO_8601/RFC3339. `null` in Submit Order payload. Only present in the [List Orders](#tag/list-order) response. SubmitTime *time.Time `json:"submitTime,omitempty"` // The order complete time, based on ISO_8601/RFC3339. `null` in Submit Order payload. Only present in the [List Orders](#tag/list-order) response. CompleteTime *time.Time `json:"completeTime,omitempty"` // The order scheduled time, based on ISO_8601/RFC3339. Empty for non-scheduled orders. ScheduledTime *string `json:"scheduledTime,omitempty"` // The state of the order. Empty in Submit Order payload. Only present in the [List Orders](#tag/list-order) response. Refer to [Order States](#section/Order-states). OrderState *string `json:"orderState,omitempty"` Currency Currency `json:"currency"` FeatureFlags OrderFeatureFlags `json:"featureFlags"` // The ordered items in an array of JSON Object. Items []OrderItem `json:"items"` // The campaigns that are applicable for the order. `null` when there is no campaign applied. Only campaigns that are funded by merchants will be sent. Campaigns []OrderCampaign `json:"campaigns,omitempty"` // An array of promotion objects. `null` when there is no promo code applied. Only promotions that are funded by merchants will be sent. Promos []OrderPromo `json:"promos,omitempty"` Price OrderPrice `json:"price"` DineIn NullableDineIn `json:"dineIn,omitempty"` Receiver NullableReceiver `json:"receiver,omitempty"` OrderReadyEstimation *OrderReadyEstimation `json:"orderReadyEstimation,omitempty"` // Membership ID for loyalty project. Only present for loyalty program partners. Empty if not applicable. MembershipID *string `json:"membershipID,omitempty"` AdditionalProperties map[string]interface{} }
SubmitOrderRequest A JSON object containing the order information.
func NewSubmitOrderRequest ¶
func NewSubmitOrderRequest(orderID string, shortOrderNumber string, merchantID string, paymentType string, cutlery bool, orderTime string, currency Currency, featureFlags OrderFeatureFlags, items []OrderItem, price OrderPrice) *SubmitOrderRequest
NewSubmitOrderRequest instantiates a new SubmitOrderRequest 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 NewSubmitOrderRequestWithDefaults ¶
func NewSubmitOrderRequestWithDefaults() *SubmitOrderRequest
NewSubmitOrderRequestWithDefaults instantiates a new SubmitOrderRequest 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 (*SubmitOrderRequest) GetCampaigns ¶
func (o *SubmitOrderRequest) GetCampaigns() []OrderCampaign
GetCampaigns returns the Campaigns field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SubmitOrderRequest) GetCampaignsOk ¶
func (o *SubmitOrderRequest) GetCampaignsOk() ([]OrderCampaign, bool)
GetCampaignsOk returns a tuple with the Campaigns field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SubmitOrderRequest) GetCompleteTime ¶
func (o *SubmitOrderRequest) GetCompleteTime() time.Time
GetCompleteTime returns the CompleteTime field value if set, zero value otherwise.
func (*SubmitOrderRequest) GetCompleteTimeOk ¶
func (o *SubmitOrderRequest) GetCompleteTimeOk() (*time.Time, bool)
GetCompleteTimeOk returns a tuple with the CompleteTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetCurrency ¶
func (o *SubmitOrderRequest) GetCurrency() Currency
GetCurrency returns the Currency field value
func (*SubmitOrderRequest) GetCurrencyOk ¶
func (o *SubmitOrderRequest) GetCurrencyOk() (*Currency, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetCutlery ¶
func (o *SubmitOrderRequest) GetCutlery() bool
GetCutlery returns the Cutlery field value
func (*SubmitOrderRequest) GetCutleryOk ¶
func (o *SubmitOrderRequest) GetCutleryOk() (*bool, bool)
GetCutleryOk returns a tuple with the Cutlery field value and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetDineIn ¶
func (o *SubmitOrderRequest) GetDineIn() DineIn
GetDineIn returns the DineIn field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SubmitOrderRequest) GetDineInOk ¶
func (o *SubmitOrderRequest) GetDineInOk() (*DineIn, bool)
GetDineInOk returns a tuple with the DineIn field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SubmitOrderRequest) GetFeatureFlags ¶
func (o *SubmitOrderRequest) GetFeatureFlags() OrderFeatureFlags
GetFeatureFlags returns the FeatureFlags field value
func (*SubmitOrderRequest) GetFeatureFlagsOk ¶
func (o *SubmitOrderRequest) GetFeatureFlagsOk() (*OrderFeatureFlags, bool)
GetFeatureFlagsOk returns a tuple with the FeatureFlags field value and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetItems ¶
func (o *SubmitOrderRequest) GetItems() []OrderItem
GetItems returns the Items field value
func (*SubmitOrderRequest) GetItemsOk ¶
func (o *SubmitOrderRequest) GetItemsOk() ([]OrderItem, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetMembershipID ¶
func (o *SubmitOrderRequest) GetMembershipID() string
GetMembershipID returns the MembershipID field value if set, zero value otherwise.
func (*SubmitOrderRequest) GetMembershipIDOk ¶
func (o *SubmitOrderRequest) GetMembershipIDOk() (*string, bool)
GetMembershipIDOk returns a tuple with the MembershipID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetMerchantID ¶
func (o *SubmitOrderRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*SubmitOrderRequest) GetMerchantIDOk ¶
func (o *SubmitOrderRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetOrderID ¶
func (o *SubmitOrderRequest) GetOrderID() string
GetOrderID returns the OrderID field value
func (*SubmitOrderRequest) GetOrderIDOk ¶
func (o *SubmitOrderRequest) GetOrderIDOk() (*string, bool)
GetOrderIDOk returns a tuple with the OrderID field value and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetOrderReadyEstimation ¶
func (o *SubmitOrderRequest) GetOrderReadyEstimation() OrderReadyEstimation
GetOrderReadyEstimation returns the OrderReadyEstimation field value if set, zero value otherwise.
func (*SubmitOrderRequest) GetOrderReadyEstimationOk ¶
func (o *SubmitOrderRequest) GetOrderReadyEstimationOk() (*OrderReadyEstimation, bool)
GetOrderReadyEstimationOk returns a tuple with the OrderReadyEstimation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetOrderState ¶
func (o *SubmitOrderRequest) GetOrderState() string
GetOrderState returns the OrderState field value if set, zero value otherwise.
func (*SubmitOrderRequest) GetOrderStateOk ¶
func (o *SubmitOrderRequest) GetOrderStateOk() (*string, bool)
GetOrderStateOk returns a tuple with the OrderState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetOrderTime ¶
func (o *SubmitOrderRequest) GetOrderTime() string
GetOrderTime returns the OrderTime field value
func (*SubmitOrderRequest) GetOrderTimeOk ¶
func (o *SubmitOrderRequest) GetOrderTimeOk() (*string, bool)
GetOrderTimeOk returns a tuple with the OrderTime field value and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetPartnerMerchantID ¶
func (o *SubmitOrderRequest) GetPartnerMerchantID() string
GetPartnerMerchantID returns the PartnerMerchantID field value if set, zero value otherwise.
func (*SubmitOrderRequest) GetPartnerMerchantIDOk ¶
func (o *SubmitOrderRequest) GetPartnerMerchantIDOk() (*string, bool)
GetPartnerMerchantIDOk returns a tuple with the PartnerMerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetPaymentType ¶
func (o *SubmitOrderRequest) GetPaymentType() string
GetPaymentType returns the PaymentType field value
func (*SubmitOrderRequest) GetPaymentTypeOk ¶
func (o *SubmitOrderRequest) GetPaymentTypeOk() (*string, bool)
GetPaymentTypeOk returns a tuple with the PaymentType field value and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetPrice ¶
func (o *SubmitOrderRequest) GetPrice() OrderPrice
GetPrice returns the Price field value
func (*SubmitOrderRequest) GetPriceOk ¶
func (o *SubmitOrderRequest) GetPriceOk() (*OrderPrice, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetPromos ¶
func (o *SubmitOrderRequest) GetPromos() []OrderPromo
GetPromos returns the Promos field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SubmitOrderRequest) GetPromosOk ¶
func (o *SubmitOrderRequest) GetPromosOk() ([]OrderPromo, bool)
GetPromosOk returns a tuple with the Promos field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SubmitOrderRequest) GetReceiver ¶
func (o *SubmitOrderRequest) GetReceiver() Receiver
GetReceiver returns the Receiver field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SubmitOrderRequest) GetReceiverOk ¶
func (o *SubmitOrderRequest) GetReceiverOk() (*Receiver, bool)
GetReceiverOk returns a tuple with the Receiver field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SubmitOrderRequest) GetScheduledTime ¶
func (o *SubmitOrderRequest) GetScheduledTime() string
GetScheduledTime returns the ScheduledTime field value if set, zero value otherwise.
func (*SubmitOrderRequest) GetScheduledTimeOk ¶
func (o *SubmitOrderRequest) GetScheduledTimeOk() (*string, bool)
GetScheduledTimeOk returns a tuple with the ScheduledTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetShortOrderNumber ¶
func (o *SubmitOrderRequest) GetShortOrderNumber() string
GetShortOrderNumber returns the ShortOrderNumber field value
func (*SubmitOrderRequest) GetShortOrderNumberOk ¶
func (o *SubmitOrderRequest) GetShortOrderNumberOk() (*string, bool)
GetShortOrderNumberOk returns a tuple with the ShortOrderNumber field value and a boolean to check if the value has been set.
func (*SubmitOrderRequest) GetSubmitTime ¶
func (o *SubmitOrderRequest) GetSubmitTime() time.Time
GetSubmitTime returns the SubmitTime field value if set, zero value otherwise.
func (*SubmitOrderRequest) GetSubmitTimeOk ¶
func (o *SubmitOrderRequest) GetSubmitTimeOk() (*time.Time, bool)
GetSubmitTimeOk returns a tuple with the SubmitTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubmitOrderRequest) HasCampaigns ¶
func (o *SubmitOrderRequest) HasCampaigns() bool
HasCampaigns returns a boolean if a field has been set.
func (*SubmitOrderRequest) HasCompleteTime ¶
func (o *SubmitOrderRequest) HasCompleteTime() bool
HasCompleteTime returns a boolean if a field has been set.
func (*SubmitOrderRequest) HasDineIn ¶
func (o *SubmitOrderRequest) HasDineIn() bool
HasDineIn returns a boolean if a field has been set.
func (*SubmitOrderRequest) HasMembershipID ¶
func (o *SubmitOrderRequest) HasMembershipID() bool
HasMembershipID returns a boolean if a field has been set.
func (*SubmitOrderRequest) HasOrderReadyEstimation ¶
func (o *SubmitOrderRequest) HasOrderReadyEstimation() bool
HasOrderReadyEstimation returns a boolean if a field has been set.
func (*SubmitOrderRequest) HasOrderState ¶
func (o *SubmitOrderRequest) HasOrderState() bool
HasOrderState returns a boolean if a field has been set.
func (*SubmitOrderRequest) HasPartnerMerchantID ¶
func (o *SubmitOrderRequest) HasPartnerMerchantID() bool
HasPartnerMerchantID returns a boolean if a field has been set.
func (*SubmitOrderRequest) HasPromos ¶
func (o *SubmitOrderRequest) HasPromos() bool
HasPromos returns a boolean if a field has been set.
func (*SubmitOrderRequest) HasReceiver ¶
func (o *SubmitOrderRequest) HasReceiver() bool
HasReceiver returns a boolean if a field has been set.
func (*SubmitOrderRequest) HasScheduledTime ¶
func (o *SubmitOrderRequest) HasScheduledTime() bool
HasScheduledTime returns a boolean if a field has been set.
func (*SubmitOrderRequest) HasSubmitTime ¶
func (o *SubmitOrderRequest) HasSubmitTime() bool
HasSubmitTime returns a boolean if a field has been set.
func (SubmitOrderRequest) MarshalJSON ¶
func (o SubmitOrderRequest) MarshalJSON() ([]byte, error)
func (*SubmitOrderRequest) SetCampaigns ¶
func (o *SubmitOrderRequest) SetCampaigns(v []OrderCampaign)
SetCampaigns gets a reference to the given []OrderCampaign and assigns it to the Campaigns field.
func (*SubmitOrderRequest) SetCompleteTime ¶
func (o *SubmitOrderRequest) SetCompleteTime(v time.Time)
SetCompleteTime gets a reference to the given time.Time and assigns it to the CompleteTime field.
func (*SubmitOrderRequest) SetCurrency ¶
func (o *SubmitOrderRequest) SetCurrency(v Currency)
SetCurrency sets field value
func (*SubmitOrderRequest) SetCutlery ¶
func (o *SubmitOrderRequest) SetCutlery(v bool)
SetCutlery sets field value
func (*SubmitOrderRequest) SetDineIn ¶
func (o *SubmitOrderRequest) SetDineIn(v DineIn)
SetDineIn gets a reference to the given NullableDineIn and assigns it to the DineIn field.
func (*SubmitOrderRequest) SetDineInNil ¶ added in v1.0.1
func (o *SubmitOrderRequest) SetDineInNil()
SetDineInNil sets the value for DineIn to be an explicit nil
func (*SubmitOrderRequest) SetFeatureFlags ¶
func (o *SubmitOrderRequest) SetFeatureFlags(v OrderFeatureFlags)
SetFeatureFlags sets field value
func (*SubmitOrderRequest) SetItems ¶
func (o *SubmitOrderRequest) SetItems(v []OrderItem)
SetItems sets field value
func (*SubmitOrderRequest) SetMembershipID ¶
func (o *SubmitOrderRequest) SetMembershipID(v string)
SetMembershipID gets a reference to the given string and assigns it to the MembershipID field.
func (*SubmitOrderRequest) SetMerchantID ¶
func (o *SubmitOrderRequest) SetMerchantID(v string)
SetMerchantID sets field value
func (*SubmitOrderRequest) SetOrderID ¶
func (o *SubmitOrderRequest) SetOrderID(v string)
SetOrderID sets field value
func (*SubmitOrderRequest) SetOrderReadyEstimation ¶
func (o *SubmitOrderRequest) SetOrderReadyEstimation(v OrderReadyEstimation)
SetOrderReadyEstimation gets a reference to the given OrderReadyEstimation and assigns it to the OrderReadyEstimation field.
func (*SubmitOrderRequest) SetOrderState ¶
func (o *SubmitOrderRequest) SetOrderState(v string)
SetOrderState gets a reference to the given string and assigns it to the OrderState field.
func (*SubmitOrderRequest) SetOrderTime ¶
func (o *SubmitOrderRequest) SetOrderTime(v string)
SetOrderTime sets field value
func (*SubmitOrderRequest) SetPartnerMerchantID ¶
func (o *SubmitOrderRequest) SetPartnerMerchantID(v string)
SetPartnerMerchantID gets a reference to the given string and assigns it to the PartnerMerchantID field.
func (*SubmitOrderRequest) SetPaymentType ¶
func (o *SubmitOrderRequest) SetPaymentType(v string)
SetPaymentType sets field value
func (*SubmitOrderRequest) SetPrice ¶
func (o *SubmitOrderRequest) SetPrice(v OrderPrice)
SetPrice sets field value
func (*SubmitOrderRequest) SetPromos ¶
func (o *SubmitOrderRequest) SetPromos(v []OrderPromo)
SetPromos gets a reference to the given []OrderPromo and assigns it to the Promos field.
func (*SubmitOrderRequest) SetReceiver ¶
func (o *SubmitOrderRequest) SetReceiver(v Receiver)
SetReceiver gets a reference to the given NullableReceiver and assigns it to the Receiver field.
func (*SubmitOrderRequest) SetReceiverNil ¶ added in v1.0.1
func (o *SubmitOrderRequest) SetReceiverNil()
SetReceiverNil sets the value for Receiver to be an explicit nil
func (*SubmitOrderRequest) SetScheduledTime ¶
func (o *SubmitOrderRequest) SetScheduledTime(v string)
SetScheduledTime gets a reference to the given string and assigns it to the ScheduledTime field.
func (*SubmitOrderRequest) SetShortOrderNumber ¶
func (o *SubmitOrderRequest) SetShortOrderNumber(v string)
SetShortOrderNumber sets field value
func (*SubmitOrderRequest) SetSubmitTime ¶
func (o *SubmitOrderRequest) SetSubmitTime(v time.Time)
SetSubmitTime gets a reference to the given time.Time and assigns it to the SubmitTime field.
func (SubmitOrderRequest) ToMap ¶
func (o SubmitOrderRequest) ToMap() (map[string]interface{}, error)
func (*SubmitOrderRequest) UnmarshalJSON ¶
func (o *SubmitOrderRequest) UnmarshalJSON(data []byte) (err error)
func (*SubmitOrderRequest) UnsetDineIn ¶ added in v1.0.1
func (o *SubmitOrderRequest) UnsetDineIn()
UnsetDineIn ensures that no value is present for DineIn, not even an explicit nil
func (*SubmitOrderRequest) UnsetReceiver ¶ added in v1.0.1
func (o *SubmitOrderRequest) UnsetReceiver()
UnsetReceiver ensures that no value is present for Receiver, not even an explicit nil
type TraceMenuSyncAPIService ¶
type TraceMenuSyncAPIService service
TraceMenuSyncAPIService TraceMenuSyncAPI service
func (*TraceMenuSyncAPIService) TraceMenuSync ¶
func (a *TraceMenuSyncAPIService) TraceMenuSync(ctx context.Context) ApiTraceMenuSyncRequest
TraceMenuSync Trace menu sync
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTraceMenuSyncRequest
func (*TraceMenuSyncAPIService) TraceMenuSyncExecute ¶
func (a *TraceMenuSyncAPIService) TraceMenuSyncExecute(r ApiTraceMenuSyncRequest) (*MenuSyncResponse, *http.Response, error)
Execute executes the request
@return MenuSyncResponse
type UnbindMembershipNativeRequest ¶
type UnbindMembershipNativeRequest struct { // The unique member ID on the partner's database. MemberID string `json:"memberID"` AdditionalProperties map[string]interface{} }
UnbindMembershipNativeRequest This request submits membership unbind request to partner.
func NewUnbindMembershipNativeRequest ¶
func NewUnbindMembershipNativeRequest(memberID string) *UnbindMembershipNativeRequest
NewUnbindMembershipNativeRequest instantiates a new UnbindMembershipNativeRequest 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 NewUnbindMembershipNativeRequestWithDefaults ¶
func NewUnbindMembershipNativeRequestWithDefaults() *UnbindMembershipNativeRequest
NewUnbindMembershipNativeRequestWithDefaults instantiates a new UnbindMembershipNativeRequest 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 (*UnbindMembershipNativeRequest) GetMemberID ¶
func (o *UnbindMembershipNativeRequest) GetMemberID() string
GetMemberID returns the MemberID field value
func (*UnbindMembershipNativeRequest) GetMemberIDOk ¶
func (o *UnbindMembershipNativeRequest) GetMemberIDOk() (*string, bool)
GetMemberIDOk returns a tuple with the MemberID field value and a boolean to check if the value has been set.
func (UnbindMembershipNativeRequest) MarshalJSON ¶
func (o UnbindMembershipNativeRequest) MarshalJSON() ([]byte, error)
func (*UnbindMembershipNativeRequest) SetMemberID ¶
func (o *UnbindMembershipNativeRequest) SetMemberID(v string)
SetMemberID sets field value
func (UnbindMembershipNativeRequest) ToMap ¶
func (o UnbindMembershipNativeRequest) ToMap() (map[string]interface{}, error)
func (*UnbindMembershipNativeRequest) UnmarshalJSON ¶
func (o *UnbindMembershipNativeRequest) UnmarshalJSON(data []byte) (err error)
type UnlinkMembershipWebviewRequest ¶
type UnlinkMembershipWebviewRequest struct { // The unique member ID on the partner's database. MemberID string `json:"memberID"` AdditionalProperties map[string]interface{} }
UnlinkMembershipWebviewRequest This request submits membership unbind request to partner.
func NewUnlinkMembershipWebviewRequest ¶
func NewUnlinkMembershipWebviewRequest(memberID string) *UnlinkMembershipWebviewRequest
NewUnlinkMembershipWebviewRequest instantiates a new UnlinkMembershipWebviewRequest 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 NewUnlinkMembershipWebviewRequestWithDefaults ¶
func NewUnlinkMembershipWebviewRequestWithDefaults() *UnlinkMembershipWebviewRequest
NewUnlinkMembershipWebviewRequestWithDefaults instantiates a new UnlinkMembershipWebviewRequest 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 (*UnlinkMembershipWebviewRequest) GetMemberID ¶
func (o *UnlinkMembershipWebviewRequest) GetMemberID() string
GetMemberID returns the MemberID field value
func (*UnlinkMembershipWebviewRequest) GetMemberIDOk ¶
func (o *UnlinkMembershipWebviewRequest) GetMemberIDOk() (*string, bool)
GetMemberIDOk returns a tuple with the MemberID field value and a boolean to check if the value has been set.
func (UnlinkMembershipWebviewRequest) MarshalJSON ¶
func (o UnlinkMembershipWebviewRequest) MarshalJSON() ([]byte, error)
func (*UnlinkMembershipWebviewRequest) SetMemberID ¶
func (o *UnlinkMembershipWebviewRequest) SetMemberID(v string)
SetMemberID sets field value
func (UnlinkMembershipWebviewRequest) ToMap ¶
func (o UnlinkMembershipWebviewRequest) ToMap() (map[string]interface{}, error)
func (*UnlinkMembershipWebviewRequest) UnmarshalJSON ¶
func (o *UnlinkMembershipWebviewRequest) UnmarshalJSON(data []byte) (err error)
type UpdateAdvancedPricing ¶
type UpdateAdvancedPricing struct { // Available service type. Key *string `json:"key,omitempty"` // Price in minor unit. Price *int64 `json:"price,omitempty"` AdditionalProperties map[string]interface{} }
UpdateAdvancedPricing struct for UpdateAdvancedPricing
func NewUpdateAdvancedPricing ¶
func NewUpdateAdvancedPricing() *UpdateAdvancedPricing
NewUpdateAdvancedPricing instantiates a new UpdateAdvancedPricing 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 NewUpdateAdvancedPricingWithDefaults ¶
func NewUpdateAdvancedPricingWithDefaults() *UpdateAdvancedPricing
NewUpdateAdvancedPricingWithDefaults instantiates a new UpdateAdvancedPricing 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 (*UpdateAdvancedPricing) GetKey ¶
func (o *UpdateAdvancedPricing) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*UpdateAdvancedPricing) GetKeyOk ¶
func (o *UpdateAdvancedPricing) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateAdvancedPricing) GetPrice ¶
func (o *UpdateAdvancedPricing) GetPrice() int64
GetPrice returns the Price field value if set, zero value otherwise.
func (*UpdateAdvancedPricing) GetPriceOk ¶
func (o *UpdateAdvancedPricing) GetPriceOk() (*int64, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateAdvancedPricing) HasKey ¶
func (o *UpdateAdvancedPricing) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*UpdateAdvancedPricing) HasPrice ¶
func (o *UpdateAdvancedPricing) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (UpdateAdvancedPricing) MarshalJSON ¶
func (o UpdateAdvancedPricing) MarshalJSON() ([]byte, error)
func (*UpdateAdvancedPricing) SetKey ¶
func (o *UpdateAdvancedPricing) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*UpdateAdvancedPricing) SetPrice ¶
func (o *UpdateAdvancedPricing) SetPrice(v int64)
SetPrice gets a reference to the given int64 and assigns it to the Price field.
func (UpdateAdvancedPricing) ToMap ¶
func (o UpdateAdvancedPricing) ToMap() (map[string]interface{}, error)
func (*UpdateAdvancedPricing) UnmarshalJSON ¶
func (o *UpdateAdvancedPricing) UnmarshalJSON(data []byte) (err error)
type UpdateCampaignAPIService ¶
type UpdateCampaignAPIService service
UpdateCampaignAPIService UpdateCampaignAPI service
func (*UpdateCampaignAPIService) UpdateCampaign ¶
func (a *UpdateCampaignAPIService) UpdateCampaign(ctx context.Context, campaignId string) ApiUpdateCampaignRequest
UpdateCampaign Update campaign
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param campaignId @return ApiUpdateCampaignRequest
func (*UpdateCampaignAPIService) UpdateCampaignExecute ¶
func (a *UpdateCampaignAPIService) UpdateCampaignExecute(r ApiUpdateCampaignRequest) (*http.Response, error)
Execute executes the request
type UpdateCampaignRequest ¶
type UpdateCampaignRequest struct { // The merchant's ID that is in GrabFood's database. MerchantID *string `json:"merchantID,omitempty"` // The campaign's name. Name *string `json:"name,omitempty"` Quotas *CampaignQuotas `json:"quotas,omitempty"` Conditions *CampaignConditions `json:"conditions,omitempty"` Discount *CampaignDiscount `json:"discount,omitempty"` // Specify the tag for custom bundle offer campaign. Only whitelisted partner is supported as of now. CustomTag *string `json:"customTag,omitempty"` AdditionalProperties map[string]interface{} }
UpdateCampaignRequest This request updates a campaign for your GrabFood store.
func NewUpdateCampaignRequest ¶
func NewUpdateCampaignRequest() *UpdateCampaignRequest
NewUpdateCampaignRequest instantiates a new UpdateCampaignRequest 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 NewUpdateCampaignRequestWithDefaults ¶
func NewUpdateCampaignRequestWithDefaults() *UpdateCampaignRequest
NewUpdateCampaignRequestWithDefaults instantiates a new UpdateCampaignRequest 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 (*UpdateCampaignRequest) GetConditions ¶
func (o *UpdateCampaignRequest) GetConditions() CampaignConditions
GetConditions returns the Conditions field value if set, zero value otherwise.
func (*UpdateCampaignRequest) GetConditionsOk ¶
func (o *UpdateCampaignRequest) GetConditionsOk() (*CampaignConditions, bool)
GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCampaignRequest) GetCustomTag ¶
func (o *UpdateCampaignRequest) GetCustomTag() string
GetCustomTag returns the CustomTag field value if set, zero value otherwise.
func (*UpdateCampaignRequest) GetCustomTagOk ¶
func (o *UpdateCampaignRequest) GetCustomTagOk() (*string, bool)
GetCustomTagOk returns a tuple with the CustomTag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCampaignRequest) GetDiscount ¶
func (o *UpdateCampaignRequest) GetDiscount() CampaignDiscount
GetDiscount returns the Discount field value if set, zero value otherwise.
func (*UpdateCampaignRequest) GetDiscountOk ¶
func (o *UpdateCampaignRequest) GetDiscountOk() (*CampaignDiscount, bool)
GetDiscountOk returns a tuple with the Discount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCampaignRequest) GetMerchantID ¶
func (o *UpdateCampaignRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value if set, zero value otherwise.
func (*UpdateCampaignRequest) GetMerchantIDOk ¶
func (o *UpdateCampaignRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCampaignRequest) GetName ¶
func (o *UpdateCampaignRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateCampaignRequest) GetNameOk ¶
func (o *UpdateCampaignRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCampaignRequest) GetQuotas ¶
func (o *UpdateCampaignRequest) GetQuotas() CampaignQuotas
GetQuotas returns the Quotas field value if set, zero value otherwise.
func (*UpdateCampaignRequest) GetQuotasOk ¶
func (o *UpdateCampaignRequest) GetQuotasOk() (*CampaignQuotas, bool)
GetQuotasOk returns a tuple with the Quotas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCampaignRequest) HasConditions ¶
func (o *UpdateCampaignRequest) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (*UpdateCampaignRequest) HasCustomTag ¶
func (o *UpdateCampaignRequest) HasCustomTag() bool
HasCustomTag returns a boolean if a field has been set.
func (*UpdateCampaignRequest) HasDiscount ¶
func (o *UpdateCampaignRequest) HasDiscount() bool
HasDiscount returns a boolean if a field has been set.
func (*UpdateCampaignRequest) HasMerchantID ¶
func (o *UpdateCampaignRequest) HasMerchantID() bool
HasMerchantID returns a boolean if a field has been set.
func (*UpdateCampaignRequest) HasName ¶
func (o *UpdateCampaignRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateCampaignRequest) HasQuotas ¶
func (o *UpdateCampaignRequest) HasQuotas() bool
HasQuotas returns a boolean if a field has been set.
func (UpdateCampaignRequest) MarshalJSON ¶
func (o UpdateCampaignRequest) MarshalJSON() ([]byte, error)
func (*UpdateCampaignRequest) SetConditions ¶
func (o *UpdateCampaignRequest) SetConditions(v CampaignConditions)
SetConditions gets a reference to the given CampaignConditions and assigns it to the Conditions field.
func (*UpdateCampaignRequest) SetCustomTag ¶
func (o *UpdateCampaignRequest) SetCustomTag(v string)
SetCustomTag gets a reference to the given string and assigns it to the CustomTag field.
func (*UpdateCampaignRequest) SetDiscount ¶
func (o *UpdateCampaignRequest) SetDiscount(v CampaignDiscount)
SetDiscount gets a reference to the given CampaignDiscount and assigns it to the Discount field.
func (*UpdateCampaignRequest) SetMerchantID ¶
func (o *UpdateCampaignRequest) SetMerchantID(v string)
SetMerchantID gets a reference to the given string and assigns it to the MerchantID field.
func (*UpdateCampaignRequest) SetName ¶
func (o *UpdateCampaignRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateCampaignRequest) SetQuotas ¶
func (o *UpdateCampaignRequest) SetQuotas(v CampaignQuotas)
SetQuotas gets a reference to the given CampaignQuotas and assigns it to the Quotas field.
func (UpdateCampaignRequest) ToMap ¶
func (o UpdateCampaignRequest) ToMap() (map[string]interface{}, error)
func (*UpdateCampaignRequest) UnmarshalJSON ¶
func (o *UpdateCampaignRequest) UnmarshalJSON(data []byte) (err error)
type UpdateDeliveryHourRequest ¶
type UpdateDeliveryHourRequest struct { OpeningHour StoreHour `json:"openingHour"` // To enable force update store delivery hours. Error will be returned if set to false while there is ongoing order. Force bool `json:"force"` AdditionalProperties map[string]interface{} }
UpdateDeliveryHourRequest Object contains store delivery hours.
func NewUpdateDeliveryHourRequest ¶
func NewUpdateDeliveryHourRequest(openingHour StoreHour, force bool) *UpdateDeliveryHourRequest
NewUpdateDeliveryHourRequest instantiates a new UpdateDeliveryHourRequest 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 NewUpdateDeliveryHourRequestWithDefaults ¶
func NewUpdateDeliveryHourRequestWithDefaults() *UpdateDeliveryHourRequest
NewUpdateDeliveryHourRequestWithDefaults instantiates a new UpdateDeliveryHourRequest 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 (*UpdateDeliveryHourRequest) GetForce ¶
func (o *UpdateDeliveryHourRequest) GetForce() bool
GetForce returns the Force field value
func (*UpdateDeliveryHourRequest) GetForceOk ¶
func (o *UpdateDeliveryHourRequest) GetForceOk() (*bool, bool)
GetForceOk returns a tuple with the Force field value and a boolean to check if the value has been set.
func (*UpdateDeliveryHourRequest) GetOpeningHour ¶
func (o *UpdateDeliveryHourRequest) GetOpeningHour() StoreHour
GetOpeningHour returns the OpeningHour field value
func (*UpdateDeliveryHourRequest) GetOpeningHourOk ¶
func (o *UpdateDeliveryHourRequest) GetOpeningHourOk() (*StoreHour, bool)
GetOpeningHourOk returns a tuple with the OpeningHour field value and a boolean to check if the value has been set.
func (UpdateDeliveryHourRequest) MarshalJSON ¶
func (o UpdateDeliveryHourRequest) MarshalJSON() ([]byte, error)
func (*UpdateDeliveryHourRequest) SetForce ¶
func (o *UpdateDeliveryHourRequest) SetForce(v bool)
SetForce sets field value
func (*UpdateDeliveryHourRequest) SetOpeningHour ¶
func (o *UpdateDeliveryHourRequest) SetOpeningHour(v StoreHour)
SetOpeningHour sets field value
func (UpdateDeliveryHourRequest) ToMap ¶
func (o UpdateDeliveryHourRequest) ToMap() (map[string]interface{}, error)
func (*UpdateDeliveryHourRequest) UnmarshalJSON ¶
func (o *UpdateDeliveryHourRequest) UnmarshalJSON(data []byte) (err error)
type UpdateDeliveryHourResponse ¶
type UpdateDeliveryHourResponse struct { // Error message when updating store delivery hour. `null` indicates no error. ErrorReasons []string `json:"errorReasons,omitempty"` // Total active order for the day. OrderCount int64 `json:"orderCount"` // Total scheduled order during store close period. ScheduledOrderCount int64 `json:"scheduledOrderCount"` // Indicate the store status after updating delivery hours. CloseImmediately bool `json:"closeImmediately"` AdditionalProperties map[string]interface{} }
UpdateDeliveryHourResponse Object contain update store delivery hour response
func NewUpdateDeliveryHourResponse ¶
func NewUpdateDeliveryHourResponse(orderCount int64, scheduledOrderCount int64, closeImmediately bool) *UpdateDeliveryHourResponse
NewUpdateDeliveryHourResponse instantiates a new UpdateDeliveryHourResponse 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 NewUpdateDeliveryHourResponseWithDefaults ¶
func NewUpdateDeliveryHourResponseWithDefaults() *UpdateDeliveryHourResponse
NewUpdateDeliveryHourResponseWithDefaults instantiates a new UpdateDeliveryHourResponse 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 (*UpdateDeliveryHourResponse) GetCloseImmediately ¶
func (o *UpdateDeliveryHourResponse) GetCloseImmediately() bool
GetCloseImmediately returns the CloseImmediately field value
func (*UpdateDeliveryHourResponse) GetCloseImmediatelyOk ¶
func (o *UpdateDeliveryHourResponse) GetCloseImmediatelyOk() (*bool, bool)
GetCloseImmediatelyOk returns a tuple with the CloseImmediately field value and a boolean to check if the value has been set.
func (*UpdateDeliveryHourResponse) GetErrorReasons ¶
func (o *UpdateDeliveryHourResponse) GetErrorReasons() []string
GetErrorReasons returns the ErrorReasons field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateDeliveryHourResponse) GetErrorReasonsOk ¶
func (o *UpdateDeliveryHourResponse) GetErrorReasonsOk() ([]string, bool)
GetErrorReasonsOk returns a tuple with the ErrorReasons field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateDeliveryHourResponse) GetOrderCount ¶
func (o *UpdateDeliveryHourResponse) GetOrderCount() int64
GetOrderCount returns the OrderCount field value
func (*UpdateDeliveryHourResponse) GetOrderCountOk ¶
func (o *UpdateDeliveryHourResponse) GetOrderCountOk() (*int64, bool)
GetOrderCountOk returns a tuple with the OrderCount field value and a boolean to check if the value has been set.
func (*UpdateDeliveryHourResponse) GetScheduledOrderCount ¶
func (o *UpdateDeliveryHourResponse) GetScheduledOrderCount() int64
GetScheduledOrderCount returns the ScheduledOrderCount field value
func (*UpdateDeliveryHourResponse) GetScheduledOrderCountOk ¶
func (o *UpdateDeliveryHourResponse) GetScheduledOrderCountOk() (*int64, bool)
GetScheduledOrderCountOk returns a tuple with the ScheduledOrderCount field value and a boolean to check if the value has been set.
func (*UpdateDeliveryHourResponse) HasErrorReasons ¶
func (o *UpdateDeliveryHourResponse) HasErrorReasons() bool
HasErrorReasons returns a boolean if a field has been set.
func (UpdateDeliveryHourResponse) MarshalJSON ¶
func (o UpdateDeliveryHourResponse) MarshalJSON() ([]byte, error)
func (*UpdateDeliveryHourResponse) SetCloseImmediately ¶
func (o *UpdateDeliveryHourResponse) SetCloseImmediately(v bool)
SetCloseImmediately sets field value
func (*UpdateDeliveryHourResponse) SetErrorReasons ¶
func (o *UpdateDeliveryHourResponse) SetErrorReasons(v []string)
SetErrorReasons gets a reference to the given []string and assigns it to the ErrorReasons field.
func (*UpdateDeliveryHourResponse) SetOrderCount ¶
func (o *UpdateDeliveryHourResponse) SetOrderCount(v int64)
SetOrderCount sets field value
func (*UpdateDeliveryHourResponse) SetScheduledOrderCount ¶
func (o *UpdateDeliveryHourResponse) SetScheduledOrderCount(v int64)
SetScheduledOrderCount sets field value
func (UpdateDeliveryHourResponse) ToMap ¶
func (o UpdateDeliveryHourResponse) ToMap() (map[string]interface{}, error)
func (*UpdateDeliveryHourResponse) UnmarshalJSON ¶
func (o *UpdateDeliveryHourResponse) UnmarshalJSON(data []byte) (err error)
type UpdateDeliveryStateAPIService ¶
type UpdateDeliveryStateAPIService service
UpdateDeliveryStateAPIService UpdateDeliveryStateAPI service
func (*UpdateDeliveryStateAPIService) UpdateDeliveryState ¶
func (a *UpdateDeliveryStateAPIService) UpdateDeliveryState(ctx context.Context) ApiUpdateDeliveryStateRequest
UpdateDeliveryState Update delivery state
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateDeliveryStateRequest
func (*UpdateDeliveryStateAPIService) UpdateDeliveryStateExecute ¶
func (a *UpdateDeliveryStateAPIService) UpdateDeliveryStateExecute(r ApiUpdateDeliveryStateRequest) (*http.Response, error)
Execute executes the request
type UpdateDineInHourRequest ¶
type UpdateDineInHourRequest struct { DineInHour StoreHour `json:"dineInHour"` AdditionalProperties map[string]interface{} }
UpdateDineInHourRequest Object contains store dine-in hours.
func NewUpdateDineInHourRequest ¶
func NewUpdateDineInHourRequest(dineInHour StoreHour) *UpdateDineInHourRequest
NewUpdateDineInHourRequest instantiates a new UpdateDineInHourRequest 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 NewUpdateDineInHourRequestWithDefaults ¶
func NewUpdateDineInHourRequestWithDefaults() *UpdateDineInHourRequest
NewUpdateDineInHourRequestWithDefaults instantiates a new UpdateDineInHourRequest 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 (*UpdateDineInHourRequest) GetDineInHour ¶
func (o *UpdateDineInHourRequest) GetDineInHour() StoreHour
GetDineInHour returns the DineInHour field value
func (*UpdateDineInHourRequest) GetDineInHourOk ¶
func (o *UpdateDineInHourRequest) GetDineInHourOk() (*StoreHour, bool)
GetDineInHourOk returns a tuple with the DineInHour field value and a boolean to check if the value has been set.
func (UpdateDineInHourRequest) MarshalJSON ¶
func (o UpdateDineInHourRequest) MarshalJSON() ([]byte, error)
func (*UpdateDineInHourRequest) SetDineInHour ¶
func (o *UpdateDineInHourRequest) SetDineInHour(v StoreHour)
SetDineInHour sets field value
func (UpdateDineInHourRequest) ToMap ¶
func (o UpdateDineInHourRequest) ToMap() (map[string]interface{}, error)
func (*UpdateDineInHourRequest) UnmarshalJSON ¶
func (o *UpdateDineInHourRequest) UnmarshalJSON(data []byte) (err error)
type UpdateDineInHourResponse ¶
type UpdateDineInHourResponse struct { // Error message when updating store dine-in hour. `null` indicates no error. ErrorReasons []string `json:"errorReasons,omitempty"` AdditionalProperties map[string]interface{} }
UpdateDineInHourResponse Object contain update store dine-in hour response
func NewUpdateDineInHourResponse ¶
func NewUpdateDineInHourResponse() *UpdateDineInHourResponse
NewUpdateDineInHourResponse instantiates a new UpdateDineInHourResponse 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 NewUpdateDineInHourResponseWithDefaults ¶
func NewUpdateDineInHourResponseWithDefaults() *UpdateDineInHourResponse
NewUpdateDineInHourResponseWithDefaults instantiates a new UpdateDineInHourResponse 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 (*UpdateDineInHourResponse) GetErrorReasons ¶
func (o *UpdateDineInHourResponse) GetErrorReasons() []string
GetErrorReasons returns the ErrorReasons field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateDineInHourResponse) GetErrorReasonsOk ¶
func (o *UpdateDineInHourResponse) GetErrorReasonsOk() ([]string, bool)
GetErrorReasonsOk returns a tuple with the ErrorReasons field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateDineInHourResponse) HasErrorReasons ¶
func (o *UpdateDineInHourResponse) HasErrorReasons() bool
HasErrorReasons returns a boolean if a field has been set.
func (UpdateDineInHourResponse) MarshalJSON ¶
func (o UpdateDineInHourResponse) MarshalJSON() ([]byte, error)
func (*UpdateDineInHourResponse) SetErrorReasons ¶
func (o *UpdateDineInHourResponse) SetErrorReasons(v []string)
SetErrorReasons gets a reference to the given []string and assigns it to the ErrorReasons field.
func (UpdateDineInHourResponse) ToMap ¶
func (o UpdateDineInHourResponse) ToMap() (map[string]interface{}, error)
func (*UpdateDineInHourResponse) UnmarshalJSON ¶
func (o *UpdateDineInHourResponse) UnmarshalJSON(data []byte) (err error)
type UpdateMenuItem ¶
type UpdateMenuItem struct { // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` // The record type that you want to update. Field string `json:"field"` // The record's ID on the partner system. For example, the item id in case type is ITEM. Id string `json:"id"` // The record's price in minor unit format. Price *int64 `json:"price,omitempty"` // The record's availableStatus. Note: In order to set an item as \"UNAVAILABLE\", it is required to update both the `availableStatus` and `maxStock` fields, whereby the `maxStock` value should be set to 0. AvailableStatus *string `json:"availableStatus,omitempty"` // Available stocks under inventory for this item. Auto reduce when there is order placed for this item. Note: It is necessary to set `maxStock` to 0 if the `availableStatus` of the item is \"UNAVAILABLE\". Item will be set to \"AVAILABLE\" if `maxStock` > 0. MaxStock *int64 `json:"maxStock,omitempty"` // Price configuration (in minor unit) for different service, order type and channel combination. If a service type does not have a specified price, it will utilize the default price of the item. AdvancedPricings []UpdateAdvancedPricing `json:"advancedPricings,omitempty"` // Purchasability is set to true by default for all service type, unless it is explicitly set to false. Modifier will reuse it’s item’s purchasability. Purchasabilities []UpdatePurchasability `json:"purchasabilities,omitempty"` AdditionalProperties map[string]interface{} }
UpdateMenuItem Information about the GrabFood client updating their food menu.
func NewUpdateMenuItem ¶
func NewUpdateMenuItem(merchantID string, field string, id string) *UpdateMenuItem
NewUpdateMenuItem instantiates a new UpdateMenuItem 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 NewUpdateMenuItemWithDefaults ¶
func NewUpdateMenuItemWithDefaults() *UpdateMenuItem
NewUpdateMenuItemWithDefaults instantiates a new UpdateMenuItem 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 (*UpdateMenuItem) GetAdvancedPricings ¶
func (o *UpdateMenuItem) GetAdvancedPricings() []UpdateAdvancedPricing
GetAdvancedPricings returns the AdvancedPricings field value if set, zero value otherwise.
func (*UpdateMenuItem) GetAdvancedPricingsOk ¶
func (o *UpdateMenuItem) GetAdvancedPricingsOk() ([]UpdateAdvancedPricing, bool)
GetAdvancedPricingsOk returns a tuple with the AdvancedPricings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMenuItem) GetAvailableStatus ¶
func (o *UpdateMenuItem) GetAvailableStatus() string
GetAvailableStatus returns the AvailableStatus field value if set, zero value otherwise.
func (*UpdateMenuItem) GetAvailableStatusOk ¶
func (o *UpdateMenuItem) GetAvailableStatusOk() (*string, bool)
GetAvailableStatusOk returns a tuple with the AvailableStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMenuItem) GetField ¶
func (o *UpdateMenuItem) GetField() string
GetField returns the Field field value
func (*UpdateMenuItem) GetFieldOk ¶
func (o *UpdateMenuItem) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*UpdateMenuItem) GetId ¶
func (o *UpdateMenuItem) GetId() string
GetId returns the Id field value
func (*UpdateMenuItem) GetIdOk ¶
func (o *UpdateMenuItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UpdateMenuItem) GetMaxStock ¶
func (o *UpdateMenuItem) GetMaxStock() int64
GetMaxStock returns the MaxStock field value if set, zero value otherwise.
func (*UpdateMenuItem) GetMaxStockOk ¶
func (o *UpdateMenuItem) GetMaxStockOk() (*int64, bool)
GetMaxStockOk returns a tuple with the MaxStock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMenuItem) GetMerchantID ¶
func (o *UpdateMenuItem) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*UpdateMenuItem) GetMerchantIDOk ¶
func (o *UpdateMenuItem) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*UpdateMenuItem) GetPrice ¶
func (o *UpdateMenuItem) GetPrice() int64
GetPrice returns the Price field value if set, zero value otherwise.
func (*UpdateMenuItem) GetPriceOk ¶
func (o *UpdateMenuItem) GetPriceOk() (*int64, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMenuItem) GetPurchasabilities ¶
func (o *UpdateMenuItem) GetPurchasabilities() []UpdatePurchasability
GetPurchasabilities returns the Purchasabilities field value if set, zero value otherwise.
func (*UpdateMenuItem) GetPurchasabilitiesOk ¶
func (o *UpdateMenuItem) GetPurchasabilitiesOk() ([]UpdatePurchasability, bool)
GetPurchasabilitiesOk returns a tuple with the Purchasabilities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMenuItem) HasAdvancedPricings ¶
func (o *UpdateMenuItem) HasAdvancedPricings() bool
HasAdvancedPricings returns a boolean if a field has been set.
func (*UpdateMenuItem) HasAvailableStatus ¶
func (o *UpdateMenuItem) HasAvailableStatus() bool
HasAvailableStatus returns a boolean if a field has been set.
func (*UpdateMenuItem) HasMaxStock ¶
func (o *UpdateMenuItem) HasMaxStock() bool
HasMaxStock returns a boolean if a field has been set.
func (*UpdateMenuItem) HasPrice ¶
func (o *UpdateMenuItem) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*UpdateMenuItem) HasPurchasabilities ¶
func (o *UpdateMenuItem) HasPurchasabilities() bool
HasPurchasabilities returns a boolean if a field has been set.
func (UpdateMenuItem) MarshalJSON ¶
func (o UpdateMenuItem) MarshalJSON() ([]byte, error)
func (*UpdateMenuItem) SetAdvancedPricings ¶
func (o *UpdateMenuItem) SetAdvancedPricings(v []UpdateAdvancedPricing)
SetAdvancedPricings gets a reference to the given []UpdateAdvancedPricing and assigns it to the AdvancedPricings field.
func (*UpdateMenuItem) SetAvailableStatus ¶
func (o *UpdateMenuItem) SetAvailableStatus(v string)
SetAvailableStatus gets a reference to the given string and assigns it to the AvailableStatus field.
func (*UpdateMenuItem) SetField ¶
func (o *UpdateMenuItem) SetField(v string)
SetField sets field value
func (*UpdateMenuItem) SetMaxStock ¶
func (o *UpdateMenuItem) SetMaxStock(v int64)
SetMaxStock gets a reference to the given int64 and assigns it to the MaxStock field.
func (*UpdateMenuItem) SetMerchantID ¶
func (o *UpdateMenuItem) SetMerchantID(v string)
SetMerchantID sets field value
func (*UpdateMenuItem) SetPrice ¶
func (o *UpdateMenuItem) SetPrice(v int64)
SetPrice gets a reference to the given int64 and assigns it to the Price field.
func (*UpdateMenuItem) SetPurchasabilities ¶
func (o *UpdateMenuItem) SetPurchasabilities(v []UpdatePurchasability)
SetPurchasabilities gets a reference to the given []UpdatePurchasability and assigns it to the Purchasabilities field.
func (UpdateMenuItem) ToMap ¶
func (o UpdateMenuItem) ToMap() (map[string]interface{}, error)
func (*UpdateMenuItem) UnmarshalJSON ¶
func (o *UpdateMenuItem) UnmarshalJSON(data []byte) (err error)
type UpdateMenuModifier ¶
type UpdateMenuModifier struct { // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` // The record type that you want to update. Field string `json:"field"` // The record's ID on the partner system. For example, the modifier id in case type is MODIFIER. Id string `json:"id"` // The record's price in minor unit format. Price *int64 `json:"price,omitempty"` // **Only required when updating modifiers.** The record's name. Used as identifier to locate the correct record. Name string `json:"name"` // The record's availableStatus. AvailableStatus *string `json:"availableStatus,omitempty"` // Allows the modifier's price to be explicitly set as zero. Possible values are as follows: * `isFree` && `price == 0` sets the modifier's price to zero. * `isFree` && `price > 0` returns an error message that \"price cannot be set to > 0, if modifier is free”. * `!isFree` && `price > 0` sets the modifier's price to the defined price. * `!isFree` && `price == 0` does not update the modifier's price and reuses the existing price. IsFree *bool `json:"isFree,omitempty"` // Price configuration (in minor unit) for different service, order type and channel combination. If a service type does not have a specified price, it will utilize the default price of the item. AdvancedPricings []UpdateAdvancedPricing `json:"advancedPricings,omitempty"` AdditionalProperties map[string]interface{} }
UpdateMenuModifier Information about the GrabFood client updating their food menu.
func NewUpdateMenuModifier ¶
func NewUpdateMenuModifier(merchantID string, field string, id string, name string) *UpdateMenuModifier
NewUpdateMenuModifier instantiates a new UpdateMenuModifier 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 NewUpdateMenuModifierWithDefaults ¶
func NewUpdateMenuModifierWithDefaults() *UpdateMenuModifier
NewUpdateMenuModifierWithDefaults instantiates a new UpdateMenuModifier 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 (*UpdateMenuModifier) GetAdvancedPricings ¶
func (o *UpdateMenuModifier) GetAdvancedPricings() []UpdateAdvancedPricing
GetAdvancedPricings returns the AdvancedPricings field value if set, zero value otherwise.
func (*UpdateMenuModifier) GetAdvancedPricingsOk ¶
func (o *UpdateMenuModifier) GetAdvancedPricingsOk() ([]UpdateAdvancedPricing, bool)
GetAdvancedPricingsOk returns a tuple with the AdvancedPricings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMenuModifier) GetAvailableStatus ¶
func (o *UpdateMenuModifier) GetAvailableStatus() string
GetAvailableStatus returns the AvailableStatus field value if set, zero value otherwise.
func (*UpdateMenuModifier) GetAvailableStatusOk ¶
func (o *UpdateMenuModifier) GetAvailableStatusOk() (*string, bool)
GetAvailableStatusOk returns a tuple with the AvailableStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMenuModifier) GetField ¶
func (o *UpdateMenuModifier) GetField() string
GetField returns the Field field value
func (*UpdateMenuModifier) GetFieldOk ¶
func (o *UpdateMenuModifier) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*UpdateMenuModifier) GetId ¶
func (o *UpdateMenuModifier) GetId() string
GetId returns the Id field value
func (*UpdateMenuModifier) GetIdOk ¶
func (o *UpdateMenuModifier) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UpdateMenuModifier) GetIsFree ¶
func (o *UpdateMenuModifier) GetIsFree() bool
GetIsFree returns the IsFree field value if set, zero value otherwise.
func (*UpdateMenuModifier) GetIsFreeOk ¶
func (o *UpdateMenuModifier) GetIsFreeOk() (*bool, bool)
GetIsFreeOk returns a tuple with the IsFree field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMenuModifier) GetMerchantID ¶
func (o *UpdateMenuModifier) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*UpdateMenuModifier) GetMerchantIDOk ¶
func (o *UpdateMenuModifier) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (*UpdateMenuModifier) GetName ¶
func (o *UpdateMenuModifier) GetName() string
GetName returns the Name field value
func (*UpdateMenuModifier) GetNameOk ¶
func (o *UpdateMenuModifier) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateMenuModifier) GetPrice ¶
func (o *UpdateMenuModifier) GetPrice() int64
GetPrice returns the Price field value if set, zero value otherwise.
func (*UpdateMenuModifier) GetPriceOk ¶
func (o *UpdateMenuModifier) GetPriceOk() (*int64, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMenuModifier) HasAdvancedPricings ¶
func (o *UpdateMenuModifier) HasAdvancedPricings() bool
HasAdvancedPricings returns a boolean if a field has been set.
func (*UpdateMenuModifier) HasAvailableStatus ¶
func (o *UpdateMenuModifier) HasAvailableStatus() bool
HasAvailableStatus returns a boolean if a field has been set.
func (*UpdateMenuModifier) HasIsFree ¶
func (o *UpdateMenuModifier) HasIsFree() bool
HasIsFree returns a boolean if a field has been set.
func (*UpdateMenuModifier) HasPrice ¶
func (o *UpdateMenuModifier) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (UpdateMenuModifier) MarshalJSON ¶
func (o UpdateMenuModifier) MarshalJSON() ([]byte, error)
func (*UpdateMenuModifier) SetAdvancedPricings ¶
func (o *UpdateMenuModifier) SetAdvancedPricings(v []UpdateAdvancedPricing)
SetAdvancedPricings gets a reference to the given []UpdateAdvancedPricing and assigns it to the AdvancedPricings field.
func (*UpdateMenuModifier) SetAvailableStatus ¶
func (o *UpdateMenuModifier) SetAvailableStatus(v string)
SetAvailableStatus gets a reference to the given string and assigns it to the AvailableStatus field.
func (*UpdateMenuModifier) SetField ¶
func (o *UpdateMenuModifier) SetField(v string)
SetField sets field value
func (*UpdateMenuModifier) SetId ¶
func (o *UpdateMenuModifier) SetId(v string)
SetId sets field value
func (*UpdateMenuModifier) SetIsFree ¶
func (o *UpdateMenuModifier) SetIsFree(v bool)
SetIsFree gets a reference to the given bool and assigns it to the IsFree field.
func (*UpdateMenuModifier) SetMerchantID ¶
func (o *UpdateMenuModifier) SetMerchantID(v string)
SetMerchantID sets field value
func (*UpdateMenuModifier) SetName ¶
func (o *UpdateMenuModifier) SetName(v string)
SetName sets field value
func (*UpdateMenuModifier) SetPrice ¶
func (o *UpdateMenuModifier) SetPrice(v int64)
SetPrice gets a reference to the given int64 and assigns it to the Price field.
func (UpdateMenuModifier) ToMap ¶
func (o UpdateMenuModifier) ToMap() (map[string]interface{}, error)
func (*UpdateMenuModifier) UnmarshalJSON ¶
func (o *UpdateMenuModifier) UnmarshalJSON(data []byte) (err error)
type UpdateMenuNotifRequest ¶
type UpdateMenuNotifRequest struct { // The merchant's ID that is in GrabFood's database. MerchantID string `json:"merchantID"` AdditionalProperties map[string]interface{} }
UpdateMenuNotifRequest This request notifies GrabFood about the partner's updated food menu.
func NewUpdateMenuNotifRequest ¶
func NewUpdateMenuNotifRequest(merchantID string) *UpdateMenuNotifRequest
NewUpdateMenuNotifRequest instantiates a new UpdateMenuNotifRequest 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 NewUpdateMenuNotifRequestWithDefaults ¶
func NewUpdateMenuNotifRequestWithDefaults() *UpdateMenuNotifRequest
NewUpdateMenuNotifRequestWithDefaults instantiates a new UpdateMenuNotifRequest 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 (*UpdateMenuNotifRequest) GetMerchantID ¶
func (o *UpdateMenuNotifRequest) GetMerchantID() string
GetMerchantID returns the MerchantID field value
func (*UpdateMenuNotifRequest) GetMerchantIDOk ¶
func (o *UpdateMenuNotifRequest) GetMerchantIDOk() (*string, bool)
GetMerchantIDOk returns a tuple with the MerchantID field value and a boolean to check if the value has been set.
func (UpdateMenuNotifRequest) MarshalJSON ¶
func (o UpdateMenuNotifRequest) MarshalJSON() ([]byte, error)
func (*UpdateMenuNotifRequest) SetMerchantID ¶
func (o *UpdateMenuNotifRequest) SetMerchantID(v string)
SetMerchantID sets field value
func (UpdateMenuNotifRequest) ToMap ¶
func (o UpdateMenuNotifRequest) ToMap() (map[string]interface{}, error)
func (*UpdateMenuNotifRequest) UnmarshalJSON ¶
func (o *UpdateMenuNotifRequest) UnmarshalJSON(data []byte) (err error)
type UpdateMenuNotificationAPIService ¶
type UpdateMenuNotificationAPIService service
UpdateMenuNotificationAPIService UpdateMenuNotificationAPI service
func (*UpdateMenuNotificationAPIService) UpdateMenuNotification ¶
func (a *UpdateMenuNotificationAPIService) UpdateMenuNotification(ctx context.Context) ApiUpdateMenuNotificationRequest
UpdateMenuNotification Notify Grab of updated menu
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateMenuNotificationRequest
func (*UpdateMenuNotificationAPIService) UpdateMenuNotificationExecute ¶
func (a *UpdateMenuNotificationAPIService) UpdateMenuNotificationExecute(r ApiUpdateMenuNotificationRequest) (*http.Response, error)
Execute executes the request
type UpdateMenuRecordAPIService ¶
type UpdateMenuRecordAPIService service
UpdateMenuRecordAPIService UpdateMenuRecordAPI service
func (*UpdateMenuRecordAPIService) BatchUpdateMenu ¶
func (a *UpdateMenuRecordAPIService) BatchUpdateMenu(ctx context.Context) ApiBatchUpdateMenuRequest
BatchUpdateMenu Batch Update Menu
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBatchUpdateMenuRequest
func (*UpdateMenuRecordAPIService) BatchUpdateMenuExecute ¶
func (a *UpdateMenuRecordAPIService) BatchUpdateMenuExecute(r ApiBatchUpdateMenuRequest) (*BatchUpdateMenuResponse, *http.Response, error)
Execute executes the request
@return BatchUpdateMenuResponse
func (*UpdateMenuRecordAPIService) UpdateMenu ¶
func (a *UpdateMenuRecordAPIService) UpdateMenu(ctx context.Context) ApiUpdateMenuRequest
UpdateMenu Update menu record
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateMenuRequest
func (*UpdateMenuRecordAPIService) UpdateMenuExecute ¶
func (a *UpdateMenuRecordAPIService) UpdateMenuExecute(r ApiUpdateMenuRequest) (*http.Response, error)
Execute executes the request
type UpdateMenuRequest ¶
type UpdateMenuRequest struct { UpdateMenuItem *UpdateMenuItem UpdateMenuModifier *UpdateMenuModifier }
UpdateMenuRequest - struct for UpdateMenuRequest
func UpdateMenuItemAsUpdateMenuRequest ¶
func UpdateMenuItemAsUpdateMenuRequest(v *UpdateMenuItem) UpdateMenuRequest
UpdateMenuItemAsUpdateMenuRequest is a convenience function that returns UpdateMenuItem wrapped in UpdateMenuRequest
func UpdateMenuModifierAsUpdateMenuRequest ¶
func UpdateMenuModifierAsUpdateMenuRequest(v *UpdateMenuModifier) UpdateMenuRequest
UpdateMenuModifierAsUpdateMenuRequest is a convenience function that returns UpdateMenuModifier wrapped in UpdateMenuRequest
func (*UpdateMenuRequest) GetActualInstance ¶
func (obj *UpdateMenuRequest) GetActualInstance() interface{}
Get the actual instance
func (UpdateMenuRequest) MarshalJSON ¶
func (src UpdateMenuRequest) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*UpdateMenuRequest) UnmarshalJSON ¶
func (dst *UpdateMenuRequest) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type UpdateOrderReadyTimeAPIService ¶
type UpdateOrderReadyTimeAPIService service
UpdateOrderReadyTimeAPIService UpdateOrderReadyTimeAPI service
func (*UpdateOrderReadyTimeAPIService) UpdateOrderReadyTime ¶
func (a *UpdateOrderReadyTimeAPIService) UpdateOrderReadyTime(ctx context.Context) ApiUpdateOrderReadyTimeRequest
UpdateOrderReadyTime Update new order ready time
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateOrderReadyTimeRequest
func (*UpdateOrderReadyTimeAPIService) UpdateOrderReadyTimeExecute ¶
func (a *UpdateOrderReadyTimeAPIService) UpdateOrderReadyTimeExecute(r ApiUpdateOrderReadyTimeRequest) (*http.Response, error)
Execute executes the request
type UpdatePurchasability ¶
type UpdatePurchasability struct { // Available service type. Key *string `json:"key,omitempty"` Purchasable *bool `json:"purchasable,omitempty"` AdditionalProperties map[string]interface{} }
UpdatePurchasability struct for UpdatePurchasability
func NewUpdatePurchasability ¶
func NewUpdatePurchasability() *UpdatePurchasability
NewUpdatePurchasability instantiates a new UpdatePurchasability 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 NewUpdatePurchasabilityWithDefaults ¶
func NewUpdatePurchasabilityWithDefaults() *UpdatePurchasability
NewUpdatePurchasabilityWithDefaults instantiates a new UpdatePurchasability 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 (*UpdatePurchasability) GetKey ¶
func (o *UpdatePurchasability) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*UpdatePurchasability) GetKeyOk ¶
func (o *UpdatePurchasability) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatePurchasability) GetPurchasable ¶
func (o *UpdatePurchasability) GetPurchasable() bool
GetPurchasable returns the Purchasable field value if set, zero value otherwise.
func (*UpdatePurchasability) GetPurchasableOk ¶
func (o *UpdatePurchasability) GetPurchasableOk() (*bool, bool)
GetPurchasableOk returns a tuple with the Purchasable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatePurchasability) HasKey ¶
func (o *UpdatePurchasability) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*UpdatePurchasability) HasPurchasable ¶
func (o *UpdatePurchasability) HasPurchasable() bool
HasPurchasable returns a boolean if a field has been set.
func (UpdatePurchasability) MarshalJSON ¶
func (o UpdatePurchasability) MarshalJSON() ([]byte, error)
func (*UpdatePurchasability) SetKey ¶
func (o *UpdatePurchasability) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*UpdatePurchasability) SetPurchasable ¶
func (o *UpdatePurchasability) SetPurchasable(v bool)
SetPurchasable gets a reference to the given bool and assigns it to the Purchasable field.
func (UpdatePurchasability) ToMap ¶
func (o UpdatePurchasability) ToMap() (map[string]interface{}, error)
func (*UpdatePurchasability) UnmarshalJSON ¶
func (o *UpdatePurchasability) UnmarshalJSON(data []byte) (err error)
type UpdateSpecialHourRequest ¶
type UpdateSpecialHourRequest struct { // An array of objects contain store special hours. Max. 3 array elements. SpecialOpeningHours []SpecialOpeningHour `json:"specialOpeningHours"` AdditionalProperties map[string]interface{} }
UpdateSpecialHourRequest Object contains store special hours.
func NewUpdateSpecialHourRequest ¶
func NewUpdateSpecialHourRequest(specialOpeningHours []SpecialOpeningHour) *UpdateSpecialHourRequest
NewUpdateSpecialHourRequest instantiates a new UpdateSpecialHourRequest 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 NewUpdateSpecialHourRequestWithDefaults ¶
func NewUpdateSpecialHourRequestWithDefaults() *UpdateSpecialHourRequest
NewUpdateSpecialHourRequestWithDefaults instantiates a new UpdateSpecialHourRequest 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 (*UpdateSpecialHourRequest) GetSpecialOpeningHours ¶
func (o *UpdateSpecialHourRequest) GetSpecialOpeningHours() []SpecialOpeningHour
GetSpecialOpeningHours returns the SpecialOpeningHours field value
func (*UpdateSpecialHourRequest) GetSpecialOpeningHoursOk ¶
func (o *UpdateSpecialHourRequest) GetSpecialOpeningHoursOk() ([]SpecialOpeningHour, bool)
GetSpecialOpeningHoursOk returns a tuple with the SpecialOpeningHours field value and a boolean to check if the value has been set.
func (UpdateSpecialHourRequest) MarshalJSON ¶
func (o UpdateSpecialHourRequest) MarshalJSON() ([]byte, error)
func (*UpdateSpecialHourRequest) SetSpecialOpeningHours ¶
func (o *UpdateSpecialHourRequest) SetSpecialOpeningHours(v []SpecialOpeningHour)
SetSpecialOpeningHours sets field value
func (UpdateSpecialHourRequest) ToMap ¶
func (o UpdateSpecialHourRequest) ToMap() (map[string]interface{}, error)
func (*UpdateSpecialHourRequest) UnmarshalJSON ¶
func (o *UpdateSpecialHourRequest) UnmarshalJSON(data []byte) (err error)
type UpdateSpecialHourResponse ¶
type UpdateSpecialHourResponse struct { // Error message when updating store delivery hour. `null` indicates no error. ErrorReasons []string `json:"errorReasons,omitempty"` // Total active order for the day. OrderCount int64 `json:"orderCount"` // Total scheduled order during store close period. ScheduledOrderCount int64 `json:"scheduledOrderCount"` // Indicate the store status after updating special hours. CloseImmediately bool `json:"closeImmediately"` AdditionalProperties map[string]interface{} }
UpdateSpecialHourResponse Object contain update store special hour response
func 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
func 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
func (*UpdateSpecialHourResponse) GetCloseImmediately ¶
func (o *UpdateSpecialHourResponse) GetCloseImmediately() bool
GetCloseImmediately returns the CloseImmediately field value
func (*UpdateSpecialHourResponse) GetCloseImmediatelyOk ¶
func (o *UpdateSpecialHourResponse) GetCloseImmediatelyOk() (*bool, bool)
GetCloseImmediatelyOk returns a tuple with the CloseImmediately field value and a boolean to check if the value has been set.
func (*UpdateSpecialHourResponse) GetErrorReasons ¶
func (o *UpdateSpecialHourResponse) GetErrorReasons() []string
GetErrorReasons returns the ErrorReasons field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateSpecialHourResponse) GetErrorReasonsOk ¶
func (o *UpdateSpecialHourResponse) GetErrorReasonsOk() ([]string, bool)
GetErrorReasonsOk returns a tuple with the ErrorReasons field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateSpecialHourResponse) GetOrderCount ¶
func (o *UpdateSpecialHourResponse) GetOrderCount() int64
GetOrderCount returns the OrderCount field value
func (*UpdateSpecialHourResponse) GetOrderCountOk ¶
func (o *UpdateSpecialHourResponse) GetOrderCountOk() (*int64, bool)
GetOrderCountOk returns a tuple with the OrderCount field value and a boolean to check if the value has been set.
func (*UpdateSpecialHourResponse) GetScheduledOrderCount ¶
func (o *UpdateSpecialHourResponse) GetScheduledOrderCount() int64
GetScheduledOrderCount returns the ScheduledOrderCount field value
func (*UpdateSpecialHourResponse) GetScheduledOrderCountOk ¶
func (o *UpdateSpecialHourResponse) GetScheduledOrderCountOk() (*int64, bool)
GetScheduledOrderCountOk returns a tuple with the ScheduledOrderCount field value and a boolean to check if the value has been set.
func (*UpdateSpecialHourResponse) HasErrorReasons ¶
func (o *UpdateSpecialHourResponse) HasErrorReasons() bool
HasErrorReasons returns a boolean if a field has been set.
func (UpdateSpecialHourResponse) MarshalJSON ¶
func (o UpdateSpecialHourResponse) MarshalJSON() ([]byte, error)
func (*UpdateSpecialHourResponse) SetCloseImmediately ¶
func (o *UpdateSpecialHourResponse) SetCloseImmediately(v bool)
SetCloseImmediately sets field value
func (*UpdateSpecialHourResponse) SetErrorReasons ¶
func (o *UpdateSpecialHourResponse) SetErrorReasons(v []string)
SetErrorReasons gets a reference to the given []string and assigns it to the ErrorReasons field.
func (*UpdateSpecialHourResponse) SetOrderCount ¶
func (o *UpdateSpecialHourResponse) SetOrderCount(v int64)
SetOrderCount sets field value
func (*UpdateSpecialHourResponse) SetScheduledOrderCount ¶
func (o *UpdateSpecialHourResponse) SetScheduledOrderCount(v int64)
SetScheduledOrderCount sets field value
func (UpdateSpecialHourResponse) ToMap ¶
func (o UpdateSpecialHourResponse) ToMap() (map[string]interface{}, error)
func (*UpdateSpecialHourResponse) UnmarshalJSON ¶
func (o *UpdateSpecialHourResponse) UnmarshalJSON(data []byte) (err error)
type UpdateStoreDeliveryHourAPIService ¶
type UpdateStoreDeliveryHourAPIService service
UpdateStoreDeliveryHourAPIService UpdateStoreDeliveryHourAPI service
func (*UpdateStoreDeliveryHourAPIService) UpdateStoreDeliveryHour ¶
func (a *UpdateStoreDeliveryHourAPIService) UpdateStoreDeliveryHour(ctx context.Context, merchantID string) ApiUpdateStoreDeliveryHourRequest
UpdateStoreDeliveryHour Update Store Delivery Hours
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param merchantID The merchant's ID that is in GrabFood's database. @return ApiUpdateStoreDeliveryHourRequest
func (*UpdateStoreDeliveryHourAPIService) UpdateStoreDeliveryHourExecute ¶
func (a *UpdateStoreDeliveryHourAPIService) UpdateStoreDeliveryHourExecute(r ApiUpdateStoreDeliveryHourRequest) (*UpdateDeliveryHourResponse, *http.Response, error)
Execute executes the request
@return UpdateDeliveryHourResponse
type UpdateStoreDineInHourAPIService ¶
type UpdateStoreDineInHourAPIService service
UpdateStoreDineInHourAPIService UpdateStoreDineInHourAPI service
func (*UpdateStoreDineInHourAPIService) UpdateStoreDineInHour ¶
func (a *UpdateStoreDineInHourAPIService) UpdateStoreDineInHour(ctx context.Context, merchantID string) ApiUpdateStoreDineInHourRequest
UpdateStoreDineInHour Update Store Dine-in Hours
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param merchantID The merchant's ID that is in GrabFood's database. @return ApiUpdateStoreDineInHourRequest
func (*UpdateStoreDineInHourAPIService) UpdateStoreDineInHourExecute ¶
func (a *UpdateStoreDineInHourAPIService) UpdateStoreDineInHourExecute(r ApiUpdateStoreDineInHourRequest) (*UpdateDineInHourResponse, *http.Response, error)
Execute executes the request
@return UpdateDineInHourResponse
type UpdateStoreSpecialHourAPIService ¶
type UpdateStoreSpecialHourAPIService service
UpdateStoreSpecialHourAPIService UpdateStoreSpecialHourAPI service
func (*UpdateStoreSpecialHourAPIService) UpdateStoreSpecialHour ¶
func (a *UpdateStoreSpecialHourAPIService) UpdateStoreSpecialHour(ctx context.Context, merchantID string) ApiUpdateStoreSpecialHourRequest
UpdateStoreSpecialHour Update Store Special Hours
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param merchantID The merchant's ID that is in GrabFood's database. @return ApiUpdateStoreSpecialHourRequest
func (*UpdateStoreSpecialHourAPIService) UpdateStoreSpecialHourExecute ¶
func (a *UpdateStoreSpecialHourAPIService) UpdateStoreSpecialHourExecute(r ApiUpdateStoreSpecialHourRequest) (*UpdateSpecialHourResponse, *http.Response, error)
Execute executes the request
@return UpdateSpecialHourResponse
type Voucher ¶
type Voucher struct { // The title of the voucher. Title *string `json:"title,omitempty"` // The amount paid after discount is applied in local currency. DiscountedPrice *string `json:"discountedPrice,omitempty"` // The original amount before discount is applied in local currency. OriginalPrice *string `json:"originalPrice,omitempty"` DescriptionInfo *VoucherDescriptionInfo `json:"descriptionInfo,omitempty"` // The type of the dine-in voucher. VoucherType *string `json:"voucherType,omitempty"` AdditionalProperties map[string]interface{} }
Voucher A JSON object containing dine-in voucher details.
func NewVoucher ¶
func NewVoucher() *Voucher
NewVoucher instantiates a new Voucher 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 NewVoucherWithDefaults ¶
func NewVoucherWithDefaults() *Voucher
NewVoucherWithDefaults instantiates a new Voucher 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 (*Voucher) GetDescriptionInfo ¶
func (o *Voucher) GetDescriptionInfo() VoucherDescriptionInfo
GetDescriptionInfo returns the DescriptionInfo field value if set, zero value otherwise.
func (*Voucher) GetDescriptionInfoOk ¶
func (o *Voucher) GetDescriptionInfoOk() (*VoucherDescriptionInfo, bool)
GetDescriptionInfoOk returns a tuple with the DescriptionInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Voucher) GetDiscountedPrice ¶
GetDiscountedPrice returns the DiscountedPrice field value if set, zero value otherwise.
func (*Voucher) GetDiscountedPriceOk ¶
GetDiscountedPriceOk returns a tuple with the DiscountedPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Voucher) GetOriginalPrice ¶
GetOriginalPrice returns the OriginalPrice field value if set, zero value otherwise.
func (*Voucher) GetOriginalPriceOk ¶
GetOriginalPriceOk returns a tuple with the OriginalPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Voucher) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Voucher) GetVoucherType ¶
GetVoucherType returns the VoucherType field value if set, zero value otherwise.
func (*Voucher) GetVoucherTypeOk ¶
GetVoucherTypeOk returns a tuple with the VoucherType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Voucher) HasDescriptionInfo ¶
HasDescriptionInfo returns a boolean if a field has been set.
func (*Voucher) HasDiscountedPrice ¶
HasDiscountedPrice returns a boolean if a field has been set.
func (*Voucher) HasOriginalPrice ¶
HasOriginalPrice returns a boolean if a field has been set.
func (*Voucher) HasVoucherType ¶
HasVoucherType returns a boolean if a field has been set.
func (Voucher) MarshalJSON ¶
func (*Voucher) SetDescriptionInfo ¶
func (o *Voucher) SetDescriptionInfo(v VoucherDescriptionInfo)
SetDescriptionInfo gets a reference to the given VoucherDescriptionInfo and assigns it to the DescriptionInfo field.
func (*Voucher) SetDiscountedPrice ¶
SetDiscountedPrice gets a reference to the given string and assigns it to the DiscountedPrice field.
func (*Voucher) SetOriginalPrice ¶
SetOriginalPrice gets a reference to the given string and assigns it to the OriginalPrice field.
func (*Voucher) SetTitle ¶
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*Voucher) SetVoucherType ¶
SetVoucherType gets a reference to the given string and assigns it to the VoucherType field.
func (*Voucher) UnmarshalJSON ¶
type VoucherDescriptionInfo ¶
type VoucherDescriptionInfo struct { // The description of the dine-in voucher. Text *string `json:"text,omitempty"` AdditionalProperties map[string]interface{} }
VoucherDescriptionInfo A JSON object containing dine-in voucher's description information.
func NewVoucherDescriptionInfo ¶
func NewVoucherDescriptionInfo() *VoucherDescriptionInfo
NewVoucherDescriptionInfo instantiates a new VoucherDescriptionInfo 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 NewVoucherDescriptionInfoWithDefaults ¶
func NewVoucherDescriptionInfoWithDefaults() *VoucherDescriptionInfo
NewVoucherDescriptionInfoWithDefaults instantiates a new VoucherDescriptionInfo 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 (*VoucherDescriptionInfo) GetText ¶
func (o *VoucherDescriptionInfo) GetText() string
GetText returns the Text field value if set, zero value otherwise.
func (*VoucherDescriptionInfo) GetTextOk ¶
func (o *VoucherDescriptionInfo) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VoucherDescriptionInfo) HasText ¶
func (o *VoucherDescriptionInfo) HasText() bool
HasText returns a boolean if a field has been set.
func (VoucherDescriptionInfo) MarshalJSON ¶
func (o VoucherDescriptionInfo) MarshalJSON() ([]byte, error)
func (*VoucherDescriptionInfo) SetText ¶
func (o *VoucherDescriptionInfo) SetText(v string)
SetText gets a reference to the given string and assigns it to the Text field.
func (VoucherDescriptionInfo) ToMap ¶
func (o VoucherDescriptionInfo) ToMap() (map[string]interface{}, error)
func (*VoucherDescriptionInfo) UnmarshalJSON ¶
func (o *VoucherDescriptionInfo) UnmarshalJSON(data []byte) (err error)
type WorkingHour ¶
type WorkingHour struct { Sun *WorkingHourDay `json:"sun,omitempty"` Mon *WorkingHourDay `json:"mon,omitempty"` Tue *WorkingHourDay `json:"tue,omitempty"` Wed *WorkingHourDay `json:"wed,omitempty"` Thu *WorkingHourDay `json:"thu,omitempty"` Fri *WorkingHourDay `json:"fri,omitempty"` Sat *WorkingHourDay `json:"sat,omitempty"` AdditionalProperties map[string]interface{} }
WorkingHour A JSON object that describes the workingHour for each day.
func NewWorkingHour ¶
func NewWorkingHour() *WorkingHour
NewWorkingHour instantiates a new WorkingHour 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 NewWorkingHourWithDefaults ¶
func NewWorkingHourWithDefaults() *WorkingHour
NewWorkingHourWithDefaults instantiates a new WorkingHour 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 (*WorkingHour) GetFri ¶
func (o *WorkingHour) GetFri() WorkingHourDay
GetFri returns the Fri field value if set, zero value otherwise.
func (*WorkingHour) GetFriOk ¶
func (o *WorkingHour) GetFriOk() (*WorkingHourDay, bool)
GetFriOk returns a tuple with the Fri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkingHour) GetMon ¶
func (o *WorkingHour) GetMon() WorkingHourDay
GetMon returns the Mon field value if set, zero value otherwise.
func (*WorkingHour) GetMonOk ¶
func (o *WorkingHour) GetMonOk() (*WorkingHourDay, bool)
GetMonOk returns a tuple with the Mon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkingHour) GetSat ¶
func (o *WorkingHour) GetSat() WorkingHourDay
GetSat returns the Sat field value if set, zero value otherwise.
func (*WorkingHour) GetSatOk ¶
func (o *WorkingHour) GetSatOk() (*WorkingHourDay, bool)
GetSatOk returns a tuple with the Sat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkingHour) GetSun ¶
func (o *WorkingHour) GetSun() WorkingHourDay
GetSun returns the Sun field value if set, zero value otherwise.
func (*WorkingHour) GetSunOk ¶
func (o *WorkingHour) GetSunOk() (*WorkingHourDay, bool)
GetSunOk returns a tuple with the Sun field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkingHour) GetThu ¶
func (o *WorkingHour) GetThu() WorkingHourDay
GetThu returns the Thu field value if set, zero value otherwise.
func (*WorkingHour) GetThuOk ¶
func (o *WorkingHour) GetThuOk() (*WorkingHourDay, bool)
GetThuOk returns a tuple with the Thu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkingHour) GetTue ¶
func (o *WorkingHour) GetTue() WorkingHourDay
GetTue returns the Tue field value if set, zero value otherwise.
func (*WorkingHour) GetTueOk ¶
func (o *WorkingHour) GetTueOk() (*WorkingHourDay, bool)
GetTueOk returns a tuple with the Tue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkingHour) GetWed ¶
func (o *WorkingHour) GetWed() WorkingHourDay
GetWed returns the Wed field value if set, zero value otherwise.
func (*WorkingHour) GetWedOk ¶
func (o *WorkingHour) GetWedOk() (*WorkingHourDay, bool)
GetWedOk returns a tuple with the Wed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkingHour) HasFri ¶
func (o *WorkingHour) HasFri() bool
HasFri returns a boolean if a field has been set.
func (*WorkingHour) HasMon ¶
func (o *WorkingHour) HasMon() bool
HasMon returns a boolean if a field has been set.
func (*WorkingHour) HasSat ¶
func (o *WorkingHour) HasSat() bool
HasSat returns a boolean if a field has been set.
func (*WorkingHour) HasSun ¶
func (o *WorkingHour) HasSun() bool
HasSun returns a boolean if a field has been set.
func (*WorkingHour) HasThu ¶
func (o *WorkingHour) HasThu() bool
HasThu returns a boolean if a field has been set.
func (*WorkingHour) HasTue ¶
func (o *WorkingHour) HasTue() bool
HasTue returns a boolean if a field has been set.
func (*WorkingHour) HasWed ¶
func (o *WorkingHour) HasWed() bool
HasWed returns a boolean if a field has been set.
func (WorkingHour) MarshalJSON ¶
func (o WorkingHour) MarshalJSON() ([]byte, error)
func (*WorkingHour) SetFri ¶
func (o *WorkingHour) SetFri(v WorkingHourDay)
SetFri gets a reference to the given WorkingHourDay and assigns it to the Fri field.
func (*WorkingHour) SetMon ¶
func (o *WorkingHour) SetMon(v WorkingHourDay)
SetMon gets a reference to the given WorkingHourDay and assigns it to the Mon field.
func (*WorkingHour) SetSat ¶
func (o *WorkingHour) SetSat(v WorkingHourDay)
SetSat gets a reference to the given WorkingHourDay and assigns it to the Sat field.
func (*WorkingHour) SetSun ¶
func (o *WorkingHour) SetSun(v WorkingHourDay)
SetSun gets a reference to the given WorkingHourDay and assigns it to the Sun field.
func (*WorkingHour) SetThu ¶
func (o *WorkingHour) SetThu(v WorkingHourDay)
SetThu gets a reference to the given WorkingHourDay and assigns it to the Thu field.
func (*WorkingHour) SetTue ¶
func (o *WorkingHour) SetTue(v WorkingHourDay)
SetTue gets a reference to the given WorkingHourDay and assigns it to the Tue field.
func (*WorkingHour) SetWed ¶
func (o *WorkingHour) SetWed(v WorkingHourDay)
SetWed gets a reference to the given WorkingHourDay and assigns it to the Wed field.
func (WorkingHour) ToMap ¶
func (o WorkingHour) ToMap() (map[string]interface{}, error)
func (*WorkingHour) UnmarshalJSON ¶
func (o *WorkingHour) UnmarshalJSON(data []byte) (err error)
type WorkingHourDay ¶
type WorkingHourDay struct { // An array of open periods. `null` if the campaign period is closed all day. Periods []OpenPeriod `json:"periods,omitempty"` AdditionalProperties map[string]interface{} }
WorkingHourDay A JSON object for workingHour for a day.
func NewWorkingHourDay ¶
func NewWorkingHourDay() *WorkingHourDay
NewWorkingHourDay instantiates a new WorkingHourDay 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 NewWorkingHourDayWithDefaults ¶
func NewWorkingHourDayWithDefaults() *WorkingHourDay
NewWorkingHourDayWithDefaults instantiates a new WorkingHourDay 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 (*WorkingHourDay) GetPeriods ¶
func (o *WorkingHourDay) GetPeriods() []OpenPeriod
GetPeriods returns the Periods field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WorkingHourDay) GetPeriodsOk ¶
func (o *WorkingHourDay) GetPeriodsOk() ([]OpenPeriod, bool)
GetPeriodsOk returns a tuple with the Periods field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*WorkingHourDay) HasPeriods ¶
func (o *WorkingHourDay) HasPeriods() bool
HasPeriods returns a boolean if a field has been set.
func (WorkingHourDay) MarshalJSON ¶
func (o WorkingHourDay) MarshalJSON() ([]byte, error)
func (*WorkingHourDay) SetPeriods ¶
func (o *WorkingHourDay) SetPeriods(v []OpenPeriod)
SetPeriods gets a reference to the given []OpenPeriod and assigns it to the Periods field.
func (WorkingHourDay) ToMap ¶
func (o WorkingHourDay) ToMap() (map[string]interface{}, error)
func (*WorkingHourDay) UnmarshalJSON ¶
func (o *WorkingHourDay) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_accept_reject_order.go
- api_cancel_order.go
- api_check_order_cancelable.go
- api_create_campaign.go
- api_create_self_serve_journey.go
- api_delete_campaign.go
- api_edit_order.go
- api_get_dinein_voucher.go
- api_get_oauth_grab.go
- api_get_store_hour.go
- api_get_store_status.go
- api_list_campaign.go
- api_list_orders.go
- api_mark_order_ready.go
- api_notify_membership_webview.go
- api_pause_store.go
- api_redeem_dinein_voucher.go
- api_trace_menu_sync.go
- api_update_campaign.go
- api_update_delivery_state.go
- api_update_menu_notification.go
- api_update_menu_record.go
- api_update_order_ready_time.go
- api_update_store_delivery_hour.go
- api_update_store_dine_in_hour.go
- api_update_store_special_hour.go
- client.go
- configuration.go
- model_accept_order_request.go
- model_address.go
- model_advanced_pricing.go
- model_batch_update_menu_item.go
- model_batch_update_menu_response.go
- model_bind_membership_native_request.go
- model_bind_membership_native_response.go
- model_campaign.go
- model_campaign_conditions.go
- model_campaign_discount.go
- model_campaign_quotas.go
- model_campaign_scope.go
- model_cancel_code.go
- model_cancel_order_limit_type.go
- model_cancel_order_request.go
- model_cancel_order_response.go
- model_cancel_reason.go
- model_check_order_cancelable_response.go
- model_coordinates.go
- model_create_campaign_request.go
- model_create_campaign_response.go
- model_create_self_serve_journey_request.go
- model_create_self_serve_journey_request_partner.go
- model_create_self_serve_journey_response.go
- model_currency.go
- model_dine_in.go
- model_edit_order_item.go
- model_edit_order_request.go
- model_error.go
- model_get_dine_in_voucher_response.go
- model_get_membership_native_response.go
- model_get_membership_native_response_point_info.go
- model_get_membership_request.go
- model_get_membership_webview_response.go
- model_get_menu_new_response.go
- model_get_menu_old_response.go
- model_get_reward_native_request.go
- model_get_reward_native_response.go
- model_grab_oauth_request.go
- model_grab_oauth_response.go
- model_list_campaign_response.go
- model_list_orders_response.go
- model_mark_order_request.go
- model_menu_category.go
- model_menu_entity.go
- model_menu_entity_error.go
- model_menu_item.go
- model_menu_modifier.go
- model_menu_section.go
- model_menu_section_category.go
- model_menu_section_category_item.go
- model_menu_sync_fail.go
- model_menu_sync_fail_category.go
- model_menu_sync_fail_item.go
- model_menu_sync_fail_modifier.go
- model_menu_sync_fail_modifier_group.go
- model_menu_sync_fail_service_hours.go
- model_menu_sync_response.go
- model_menu_sync_webhook_request.go
- model_modifier_group.go
- model_new_order_time_request.go
- model_notify_membership_webview_request.go
- model_open_period.go
- model_order.go
- model_order_campaign.go
- model_order_delivery_request.go
- model_order_feature_flags.go
- model_order_free_item.go
- model_order_item.go
- model_order_item_modifier.go
- model_order_price.go
- model_order_promo.go
- model_order_ready_estimation.go
- model_order_state_request.go
- model_out_of_stock_instruction.go
- model_partner_oauth_request.go
- model_partner_oauth_response.go
- model_pause_store_request.go
- model_purchasability.go
- model_push_integration_status_webhook_request.go
- model_receiver.go
- model_redeem_dine_in_voucher_request.go
- model_redeem_dine_in_voucher_response.go
- model_redeem_result.go
- model_register_membership_native_request.go
- model_register_membership_native_response.go
- model_reward_item.go
- model_selling_time.go
- model_service_hour.go
- model_service_hours.go
- model_special_opening_hour.go
- model_special_opening_hour_metadata.go
- model_special_opening_hour_opening_hours.go
- model_store_hour.go
- model_store_hour_response.go
- model_store_status_response.go
- model_submit_order_request.go
- model_unbind_membership_native_request.go
- model_unlink_membership_webview_request.go
- model_update_advanced_pricing.go
- model_update_campaign_request.go
- model_update_delivery_hour_request.go
- model_update_delivery_hour_response.go
- model_update_dine_in_hour_request.go
- model_update_dine_in_hour_response.go
- model_update_menu_item.go
- model_update_menu_modifier.go
- model_update_menu_notif_request.go
- model_update_menu_request.go
- model_update_purchasability.go
- model_update_special_hour_request.go
- model_update_special_hour_response.go
- model_voucher.go
- model_voucher_description_info.go
- model_working_hour.go
- model_working_hour_day.go
- response.go
- utils.go