Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fulfillment ¶
type Fulfillment struct {
mixin.Model
OrderId string `json:"orderId"`
ShippingOptionId string `json:"shippingOptionId"`
ProviderId string `json:"providerId"`
LocationId string `json:"locationId"`
PackedAt *time.Time `json:"packedAt,omitempty"`
ShippedAt *time.Time `json:"shippedAt,omitempty"`
DeliveredAt *time.Time `json:"deliveredAt,omitempty"`
CanceledAt *time.Time `json:"canceledAt,omitempty"`
Items []FulfillmentItem `json:"items" datastore:"-"`
Items_ string `json:"-" datastore:",noindex"`
Labels []FulfillmentLabel `json:"labels" datastore:"-"`
Labels_ string `json:"-" datastore:",noindex"`
Metadata Map `json:"metadata,omitempty" datastore:"-"`
Metadata_ string `json:"-" datastore:",noindex"`
}
func New ¶
func New(db *datastore.Datastore) *Fulfillment
func (*Fulfillment) Defaults ¶
func (f *Fulfillment) Defaults()
func (*Fulfillment) Init ¶
func (f *Fulfillment) Init(db *datastore.Datastore)
func (Fulfillment) Kind ¶
func (f Fulfillment) Kind() string
type FulfillmentItem ¶
type FulfillmentLabel ¶
Click to show internal directories.
Click to hide internal directories.