Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PromoRule ¶
type PromoRule struct { ID *uint32 SkuID uint32 RequirementType string RequirementValue string RewardType string RewardValue int }
func NewPromoRule ¶
type Transaction ¶
type Transaction struct { ID *uint32 UserID uint32 SubTotal float64 Discount *float64 Total float64 Status string CreatedDate time.Time UpdatedDate *time.Time }
func NewTransaction ¶
func (*Transaction) Validate ¶
func (t *Transaction) Validate() error
Click to show internal directories.
Click to hide internal directories.