Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fulfillment ¶
type Fulfillment struct {
mixin.Model[Fulfillment]
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:"-" orm:"default:[]"`
Items_ string `json:"-" datastore:",noindex"`
Labels []FulfillmentLabel `json:"labels" datastore:"-" orm:"default:[]"`
Labels_ string `json:"-" datastore:",noindex"`
Metadata Map `json:"metadata,omitempty" datastore:"-" orm:"default:{}"`
Metadata_ string `json:"-" datastore:",noindex"`
}
func New ¶
func New(db *datastore.Datastore) *Fulfillment
type FulfillmentItem ¶
type FulfillmentLabel ¶
Click to show internal directories.
Click to hide internal directories.