Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ShippingProfile ¶
type ShippingProfile struct {
mixin.Model
Name string `json:"name"`
Type string `json:"type"` // "default", "gift_card", "custom"
Metadata Map `json:"metadata,omitempty" datastore:"-"`
Metadata_ string `json:"-" datastore:",noindex"`
}
func New ¶
func New(db *datastore.Datastore) *ShippingProfile
func (*ShippingProfile) Defaults ¶
func (s *ShippingProfile) Defaults()
func (*ShippingProfile) Init ¶
func (s *ShippingProfile) Init(db *datastore.Datastore)
func (ShippingProfile) Kind ¶
func (s ShippingProfile) Kind() string
Click to show internal directories.
Click to hide internal directories.