Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category string
Category determines the 'category' of a product
const ( //CategoryCereals represents cereals product type CategoryCereals Category = "CEREALS" // CategoryMedicine represents the medicine product category type CategoryMedicine Category = "MEDICINE" // CategoryFoodStuff represents the food stuff category type CategoryFoodStuff Category = "FOOD_STUFF" )
func (Category) MarshalGQL ¶
MarshalGQL writes the Category type to the supplied
func (*Category) UnmarshalGQL ¶
UnmarshalGQL converts the supplied value to a category type.
type Flavour ¶
type Flavour string
Flavour is a list of application types.
func (Flavour) MarshalGQL ¶
MarshalGQL writes the flavour type to the supplied
func (*Flavour) UnmarshalGQL ¶
UnmarshalGQL converts the supplied value to a flavour type.
type Unit ¶
type Unit string
Unit determines the 'unit' of sale of a product
const ( //UnitSingle represents the admin app UnitSingle Unit = "ONE" // UnitHalfDozen represents the half dozen unit of ocean UnitHalfDozen Unit = "HALF_DOZEN" // UnitDozen represents product dozen unit UnitDozen Unit = "DOZEN" // UnitOuter represents product outer unit UnitOuter Unit = "OUTER" // UnitCarton represents product carton unit UnitCarton Unit = "CARTON" // UnitBale represents product bale unit UnitBale Unit = "BALE" // UnitBag represents product bag unit UnitBag Unit = "BAG" // UnitPacket represents product packet unit UnitPacket Unit = "PACKET" )
func (Unit) MarshalGQL ¶
MarshalGQL writes the Unit type to the supplied
func (*Unit) UnmarshalGQL ¶
UnmarshalGQL converts the supplied value to a Unit type.
Click to show internal directories.
Click to hide internal directories.