Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApplicationMethod ¶
type ApplicationMethod struct {
mixin.Model
PromotionId string `json:"promotionId"`
Value int `json:"value"`
CurrencyCode string `json:"currencyCode"`
MaxQuantity int `json:"maxQuantity"`
Type string `json:"type"`
TargetType string `json:"targetType"`
Allocation string `json:"allocation"`
Metadata Map `json:"metadata,omitempty" datastore:"-"`
Metadata_ string `json:"-" datastore:",noindex"`
}
func New ¶
func New(db *datastore.Datastore) *ApplicationMethod
func (*ApplicationMethod) Defaults ¶
func (a *ApplicationMethod) Defaults()
func (*ApplicationMethod) Init ¶
func (a *ApplicationMethod) Init(db *datastore.Datastore)
func (ApplicationMethod) Kind ¶
func (a ApplicationMethod) Kind() string
Click to show internal directories.
Click to hide internal directories.