Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApplicationMethod ¶
type ApplicationMethod struct {
mixin.Model[ApplicationMethod]
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
Click to show internal directories.
Click to hide internal directories.