Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PricePreference ¶
type PricePreference struct {
mixin.Model
Attribute string `json:"attribute"`
Value string `json:"value"`
IsTaxInclusive bool `json:"isTaxInclusive"`
Metadata Map `json:"metadata,omitempty" datastore:"-"`
Metadata_ string `json:"-" datastore:",noindex"`
}
func New ¶
func New(db *datastore.Datastore) *PricePreference
func (*PricePreference) Defaults ¶
func (p *PricePreference) Defaults()
func (*PricePreference) Init ¶
func (p *PricePreference) Init(db *datastore.Datastore)
func (PricePreference) Kind ¶
func (p PricePreference) Kind() string
Click to show internal directories.
Click to hide internal directories.