orderitem

package
v0.0.0-...-05e3429 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the orderitem type in the database.
	Label = "order_item"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldOrderID holds the string denoting the order_id field in the database.
	FieldOrderID = "order_id"
	// FieldProductID holds the string denoting the product_id field in the database.
	FieldProductID = "product_id"
	// FieldProductColorID holds the string denoting the product_color_id field in the database.
	FieldProductColorID = "product_color_id"
	// FieldSrcUnitID holds the string denoting the src_unit_id field in the database.
	FieldSrcUnitID = "src_unit_id"
	// FieldDstUnitID holds the string denoting the dst_unit_id field in the database.
	FieldDstUnitID = "dst_unit_id"
	// FieldQty holds the string denoting the qty field in the database.
	FieldQty = "qty"
	// FieldPricePerUnit holds the string denoting the price_per_unit field in the database.
	FieldPricePerUnit = "price_per_unit"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// EdgeOrder holds the string denoting the order edge name in mutations.
	EdgeOrder = "order"
	// EdgeProduct holds the string denoting the product edge name in mutations.
	EdgeProduct = "product"
	// EdgeProductColor holds the string denoting the product_color edge name in mutations.
	EdgeProductColor = "product_color"
	// EdgeSourceWorkUnit holds the string denoting the source_work_unit edge name in mutations.
	EdgeSourceWorkUnit = "source_work_unit"
	// EdgeDestinationWorkUnit holds the string denoting the destination_work_unit edge name in mutations.
	EdgeDestinationWorkUnit = "destination_work_unit"
	// Table holds the table name of the orderitem in the database.
	Table = "order_items"
	// OrderTable is the table that holds the order relation/edge.
	OrderTable = "order_items"
	// OrderInverseTable is the table name for the Order entity.
	// It exists in this package in order to avoid circular dependency with the "order" package.
	OrderInverseTable = "orders"
	// OrderColumn is the table column denoting the order relation/edge.
	OrderColumn = "order_id"
	// ProductTable is the table that holds the product relation/edge.
	ProductTable = "order_items"
	// ProductInverseTable is the table name for the ProductInfo entity.
	// It exists in this package in order to avoid circular dependency with the "productinfo" package.
	ProductInverseTable = "product_info"
	// ProductColumn is the table column denoting the product relation/edge.
	ProductColumn = "product_id"
	// ProductColorTable is the table that holds the product_color relation/edge.
	ProductColorTable = "order_items"
	// ProductColorInverseTable is the table name for the ProductColor entity.
	// It exists in this package in order to avoid circular dependency with the "productcolor" package.
	ProductColorInverseTable = "product_color"
	// ProductColorColumn is the table column denoting the product_color relation/edge.
	ProductColorColumn = "product_color_id"
	// SourceWorkUnitTable is the table that holds the source_work_unit relation/edge.
	SourceWorkUnitTable = "order_items"
	// SourceWorkUnitInverseTable is the table name for the WorkUnitInfo entity.
	// It exists in this package in order to avoid circular dependency with the "workunitinfo" package.
	SourceWorkUnitInverseTable = "work_unit_info"
	// SourceWorkUnitColumn is the table column denoting the source_work_unit relation/edge.
	SourceWorkUnitColumn = "src_unit_id"
	// DestinationWorkUnitTable is the table that holds the destination_work_unit relation/edge.
	DestinationWorkUnitTable = "order_items"
	// DestinationWorkUnitInverseTable is the table name for the WorkUnitInfo entity.
	// It exists in this package in order to avoid circular dependency with the "workunitinfo" package.
	DestinationWorkUnitInverseTable = "work_unit_info"
	// DestinationWorkUnitColumn is the table column denoting the destination_work_unit relation/edge.
	DestinationWorkUnitColumn = "dst_unit_id"
)
View Source
const DefaultStatus = StatusInStock

StatusInStock is the default value of the Status enum.

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for orderitem fields.

Functions

func And

func And(predicates ...predicate.OrderItem) predicate.OrderItem

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.OrderItem

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.OrderItem

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.OrderItem

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.OrderItem

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.OrderItem

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.OrderItem

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OrderItem

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OrderItem

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.OrderItem

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DstUnitID

func DstUnitID(v uuid.UUID) predicate.OrderItem

DstUnitID applies equality check predicate on the "dst_unit_id" field. It's identical to DstUnitIDEQ.

func DstUnitIDEQ

func DstUnitIDEQ(v uuid.UUID) predicate.OrderItem

DstUnitIDEQ applies the EQ predicate on the "dst_unit_id" field.

func DstUnitIDIn

func DstUnitIDIn(vs ...uuid.UUID) predicate.OrderItem

DstUnitIDIn applies the In predicate on the "dst_unit_id" field.

func DstUnitIDIsNil

func DstUnitIDIsNil() predicate.OrderItem

DstUnitIDIsNil applies the IsNil predicate on the "dst_unit_id" field.

func DstUnitIDNEQ

func DstUnitIDNEQ(v uuid.UUID) predicate.OrderItem

DstUnitIDNEQ applies the NEQ predicate on the "dst_unit_id" field.

func DstUnitIDNotIn

func DstUnitIDNotIn(vs ...uuid.UUID) predicate.OrderItem

DstUnitIDNotIn applies the NotIn predicate on the "dst_unit_id" field.

func DstUnitIDNotNil

func DstUnitIDNotNil() predicate.OrderItem

DstUnitIDNotNil applies the NotNil predicate on the "dst_unit_id" field.

func HasDestinationWorkUnit

func HasDestinationWorkUnit() predicate.OrderItem

HasDestinationWorkUnit applies the HasEdge predicate on the "destination_work_unit" edge.

func HasDestinationWorkUnitWith

func HasDestinationWorkUnitWith(preds ...predicate.WorkUnitInfo) predicate.OrderItem

HasDestinationWorkUnitWith applies the HasEdge predicate on the "destination_work_unit" edge with a given conditions (other predicates).

func HasOrder

func HasOrder() predicate.OrderItem

HasOrder applies the HasEdge predicate on the "order" edge.

func HasOrderWith

func HasOrderWith(preds ...predicate.Order) predicate.OrderItem

HasOrderWith applies the HasEdge predicate on the "order" edge with a given conditions (other predicates).

func HasProduct

func HasProduct() predicate.OrderItem

HasProduct applies the HasEdge predicate on the "product" edge.

func HasProductColor

func HasProductColor() predicate.OrderItem

HasProductColor applies the HasEdge predicate on the "product_color" edge.

func HasProductColorWith

func HasProductColorWith(preds ...predicate.ProductColor) predicate.OrderItem

HasProductColorWith applies the HasEdge predicate on the "product_color" edge with a given conditions (other predicates).

func HasProductWith

func HasProductWith(preds ...predicate.ProductInfo) predicate.OrderItem

HasProductWith applies the HasEdge predicate on the "product" edge with a given conditions (other predicates).

func HasSourceWorkUnit

func HasSourceWorkUnit() predicate.OrderItem

HasSourceWorkUnit applies the HasEdge predicate on the "source_work_unit" edge.

func HasSourceWorkUnitWith

func HasSourceWorkUnitWith(preds ...predicate.WorkUnitInfo) predicate.OrderItem

HasSourceWorkUnitWith applies the HasEdge predicate on the "source_work_unit" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.OrderItem

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.OrderItem

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.OrderItem

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.OrderItem

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.OrderItem

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.OrderItem

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.OrderItem

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.OrderItem

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.OrderItem) predicate.OrderItem

Or groups predicates with the OR operator between them.

func OrderID

func OrderID(v uuid.UUID) predicate.OrderItem

OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.

func OrderIDEQ

func OrderIDEQ(v uuid.UUID) predicate.OrderItem

OrderIDEQ applies the EQ predicate on the "order_id" field.

func OrderIDIn

func OrderIDIn(vs ...uuid.UUID) predicate.OrderItem

OrderIDIn applies the In predicate on the "order_id" field.

func OrderIDNEQ

func OrderIDNEQ(v uuid.UUID) predicate.OrderItem

OrderIDNEQ applies the NEQ predicate on the "order_id" field.

func OrderIDNotIn

func OrderIDNotIn(vs ...uuid.UUID) predicate.OrderItem

OrderIDNotIn applies the NotIn predicate on the "order_id" field.

func PricePerUnit

func PricePerUnit(v decimal.Decimal) predicate.OrderItem

PricePerUnit applies equality check predicate on the "price_per_unit" field. It's identical to PricePerUnitEQ.

func PricePerUnitEQ

func PricePerUnitEQ(v decimal.Decimal) predicate.OrderItem

PricePerUnitEQ applies the EQ predicate on the "price_per_unit" field.

func PricePerUnitGT

func PricePerUnitGT(v decimal.Decimal) predicate.OrderItem

PricePerUnitGT applies the GT predicate on the "price_per_unit" field.

func PricePerUnitGTE

func PricePerUnitGTE(v decimal.Decimal) predicate.OrderItem

PricePerUnitGTE applies the GTE predicate on the "price_per_unit" field.

func PricePerUnitIn

func PricePerUnitIn(vs ...decimal.Decimal) predicate.OrderItem

PricePerUnitIn applies the In predicate on the "price_per_unit" field.

func PricePerUnitLT

func PricePerUnitLT(v decimal.Decimal) predicate.OrderItem

PricePerUnitLT applies the LT predicate on the "price_per_unit" field.

func PricePerUnitLTE

func PricePerUnitLTE(v decimal.Decimal) predicate.OrderItem

PricePerUnitLTE applies the LTE predicate on the "price_per_unit" field.

func PricePerUnitNEQ

func PricePerUnitNEQ(v decimal.Decimal) predicate.OrderItem

PricePerUnitNEQ applies the NEQ predicate on the "price_per_unit" field.

func PricePerUnitNotIn

func PricePerUnitNotIn(vs ...decimal.Decimal) predicate.OrderItem

PricePerUnitNotIn applies the NotIn predicate on the "price_per_unit" field.

func ProductColorID

func ProductColorID(v string) predicate.OrderItem

ProductColorID applies equality check predicate on the "product_color_id" field. It's identical to ProductColorIDEQ.

func ProductColorIDContains

func ProductColorIDContains(v string) predicate.OrderItem

ProductColorIDContains applies the Contains predicate on the "product_color_id" field.

func ProductColorIDContainsFold

func ProductColorIDContainsFold(v string) predicate.OrderItem

ProductColorIDContainsFold applies the ContainsFold predicate on the "product_color_id" field.

func ProductColorIDEQ

func ProductColorIDEQ(v string) predicate.OrderItem

ProductColorIDEQ applies the EQ predicate on the "product_color_id" field.

func ProductColorIDEqualFold

func ProductColorIDEqualFold(v string) predicate.OrderItem

ProductColorIDEqualFold applies the EqualFold predicate on the "product_color_id" field.

func ProductColorIDGT

func ProductColorIDGT(v string) predicate.OrderItem

ProductColorIDGT applies the GT predicate on the "product_color_id" field.

func ProductColorIDGTE

func ProductColorIDGTE(v string) predicate.OrderItem

ProductColorIDGTE applies the GTE predicate on the "product_color_id" field.

func ProductColorIDHasPrefix

func ProductColorIDHasPrefix(v string) predicate.OrderItem

ProductColorIDHasPrefix applies the HasPrefix predicate on the "product_color_id" field.

func ProductColorIDHasSuffix

func ProductColorIDHasSuffix(v string) predicate.OrderItem

ProductColorIDHasSuffix applies the HasSuffix predicate on the "product_color_id" field.

func ProductColorIDIn

func ProductColorIDIn(vs ...string) predicate.OrderItem

ProductColorIDIn applies the In predicate on the "product_color_id" field.

func ProductColorIDLT

func ProductColorIDLT(v string) predicate.OrderItem

ProductColorIDLT applies the LT predicate on the "product_color_id" field.

func ProductColorIDLTE

func ProductColorIDLTE(v string) predicate.OrderItem

ProductColorIDLTE applies the LTE predicate on the "product_color_id" field.

func ProductColorIDNEQ

func ProductColorIDNEQ(v string) predicate.OrderItem

ProductColorIDNEQ applies the NEQ predicate on the "product_color_id" field.

func ProductColorIDNotIn

func ProductColorIDNotIn(vs ...string) predicate.OrderItem

ProductColorIDNotIn applies the NotIn predicate on the "product_color_id" field.

func ProductID

func ProductID(v string) predicate.OrderItem

ProductID applies equality check predicate on the "product_id" field. It's identical to ProductIDEQ.

func ProductIDContains

func ProductIDContains(v string) predicate.OrderItem

ProductIDContains applies the Contains predicate on the "product_id" field.

func ProductIDContainsFold

func ProductIDContainsFold(v string) predicate.OrderItem

ProductIDContainsFold applies the ContainsFold predicate on the "product_id" field.

func ProductIDEQ

func ProductIDEQ(v string) predicate.OrderItem

ProductIDEQ applies the EQ predicate on the "product_id" field.

func ProductIDEqualFold

func ProductIDEqualFold(v string) predicate.OrderItem

ProductIDEqualFold applies the EqualFold predicate on the "product_id" field.

func ProductIDGT

func ProductIDGT(v string) predicate.OrderItem

ProductIDGT applies the GT predicate on the "product_id" field.

func ProductIDGTE

func ProductIDGTE(v string) predicate.OrderItem

ProductIDGTE applies the GTE predicate on the "product_id" field.

func ProductIDHasPrefix

func ProductIDHasPrefix(v string) predicate.OrderItem

ProductIDHasPrefix applies the HasPrefix predicate on the "product_id" field.

func ProductIDHasSuffix

func ProductIDHasSuffix(v string) predicate.OrderItem

ProductIDHasSuffix applies the HasSuffix predicate on the "product_id" field.

func ProductIDIn

func ProductIDIn(vs ...string) predicate.OrderItem

ProductIDIn applies the In predicate on the "product_id" field.

func ProductIDLT

func ProductIDLT(v string) predicate.OrderItem

ProductIDLT applies the LT predicate on the "product_id" field.

func ProductIDLTE

func ProductIDLTE(v string) predicate.OrderItem

ProductIDLTE applies the LTE predicate on the "product_id" field.

func ProductIDNEQ

func ProductIDNEQ(v string) predicate.OrderItem

ProductIDNEQ applies the NEQ predicate on the "product_id" field.

func ProductIDNotIn

func ProductIDNotIn(vs ...string) predicate.OrderItem

ProductIDNotIn applies the NotIn predicate on the "product_id" field.

func Qty

Qty applies equality check predicate on the "qty" field. It's identical to QtyEQ.

func QtyEQ

QtyEQ applies the EQ predicate on the "qty" field.

func QtyGT

QtyGT applies the GT predicate on the "qty" field.

func QtyGTE

QtyGTE applies the GTE predicate on the "qty" field.

func QtyIn

func QtyIn(vs ...decimal.Decimal) predicate.OrderItem

QtyIn applies the In predicate on the "qty" field.

func QtyLT

QtyLT applies the LT predicate on the "qty" field.

func QtyLTE

QtyLTE applies the LTE predicate on the "qty" field.

func QtyNEQ

QtyNEQ applies the NEQ predicate on the "qty" field.

func QtyNotIn

func QtyNotIn(vs ...decimal.Decimal) predicate.OrderItem

QtyNotIn applies the NotIn predicate on the "qty" field.

func SrcUnitID

func SrcUnitID(v uuid.UUID) predicate.OrderItem

SrcUnitID applies equality check predicate on the "src_unit_id" field. It's identical to SrcUnitIDEQ.

func SrcUnitIDEQ

func SrcUnitIDEQ(v uuid.UUID) predicate.OrderItem

SrcUnitIDEQ applies the EQ predicate on the "src_unit_id" field.

func SrcUnitIDIn

func SrcUnitIDIn(vs ...uuid.UUID) predicate.OrderItem

SrcUnitIDIn applies the In predicate on the "src_unit_id" field.

func SrcUnitIDIsNil

func SrcUnitIDIsNil() predicate.OrderItem

SrcUnitIDIsNil applies the IsNil predicate on the "src_unit_id" field.

func SrcUnitIDNEQ

func SrcUnitIDNEQ(v uuid.UUID) predicate.OrderItem

SrcUnitIDNEQ applies the NEQ predicate on the "src_unit_id" field.

func SrcUnitIDNotIn

func SrcUnitIDNotIn(vs ...uuid.UUID) predicate.OrderItem

SrcUnitIDNotIn applies the NotIn predicate on the "src_unit_id" field.

func SrcUnitIDNotNil

func SrcUnitIDNotNil() predicate.OrderItem

SrcUnitIDNotNil applies the NotNil predicate on the "src_unit_id" field.

func StatusEQ

func StatusEQ(v Status) predicate.OrderItem

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...Status) predicate.OrderItem

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v Status) predicate.OrderItem

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.OrderItem

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.OrderItem

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.OrderItem

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.OrderItem

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.OrderItem

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.OrderItem

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.OrderItem

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.OrderItem

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.OrderItem

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.OrderItem

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the OrderItem queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDestinationWorkUnitField

func ByDestinationWorkUnitField(field string, opts ...sql.OrderTermOption) OrderOption

ByDestinationWorkUnitField orders the results by destination_work_unit field.

func ByDstUnitID

func ByDstUnitID(opts ...sql.OrderTermOption) OrderOption

ByDstUnitID orders the results by the dst_unit_id field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByOrderField

func ByOrderField(field string, opts ...sql.OrderTermOption) OrderOption

ByOrderField orders the results by order field.

func ByOrderID

func ByOrderID(opts ...sql.OrderTermOption) OrderOption

ByOrderID orders the results by the order_id field.

func ByPricePerUnit

func ByPricePerUnit(opts ...sql.OrderTermOption) OrderOption

ByPricePerUnit orders the results by the price_per_unit field.

func ByProductColorField

func ByProductColorField(field string, opts ...sql.OrderTermOption) OrderOption

ByProductColorField orders the results by product_color field.

func ByProductColorID

func ByProductColorID(opts ...sql.OrderTermOption) OrderOption

ByProductColorID orders the results by the product_color_id field.

func ByProductField

func ByProductField(field string, opts ...sql.OrderTermOption) OrderOption

ByProductField orders the results by product field.

func ByProductID

func ByProductID(opts ...sql.OrderTermOption) OrderOption

ByProductID orders the results by the product_id field.

func ByQty

func ByQty(opts ...sql.OrderTermOption) OrderOption

ByQty orders the results by the qty field.

func BySourceWorkUnitField

func BySourceWorkUnitField(field string, opts ...sql.OrderTermOption) OrderOption

BySourceWorkUnitField orders the results by source_work_unit field.

func BySrcUnitID

func BySrcUnitID(opts ...sql.OrderTermOption) OrderOption

BySrcUnitID orders the results by the src_unit_id field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusDelivered          Status = "DELIVERED"
	StatusOutOfStock         Status = "OUT_OF_STOCK"
	StatusInTransit          Status = "IN_TRANSIT"
	StatusInStock            Status = "IN_STOCK"
	StatusPartiallyDelivered Status = "PARTIALLY_DELIVERED"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL