Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Referral ¶
type Referral struct {
mixin.Model
Type Event `json:"event"`
// User created by referral
UserId string `json:"userId"`
// Order created by referral
OrderId string `json:"orderId"`
// Referred by
Referrer Referrer `json:"referrer,omitempty"`
Fee Fee `json:"fee,omitempty"`
Client client.Client `json:"-"`
Blacklisted bool `json:"blacklisted,omitempty"`
Duplicate bool `json:"duplicate,omitempty"`
Revoked bool `json:"revoked"`
}
Click to show internal directories.
Click to hide internal directories.