Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Redemption ¶
type Redemption struct {
mixin.BaseModel
// Coupon code (need not be unique).
Code string `json:"code"`
}
func Fake ¶
func Fake(db *datastore.Datastore) *Redemption
func New ¶
func New(db *datastore.Datastore) *Redemption
func (*Redemption) Defaults ¶
func (r *Redemption) Defaults()
func (*Redemption) Init ¶
func (r *Redemption) Init(db *datastore.Datastore)
func (Redemption) Kind ¶
func (r Redemption) Kind() string
Click to show internal directories.
Click to hide internal directories.