Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IgnoreFieldMismatch = datastore.IgnoreFieldMismatch
Functions ¶
Types ¶
type Plan ¶
type Plan struct {
mixin.Model[Plan]
// Unique human readable id
Slug string `json:"slug"`
// Internal id
SKU string `json:"sku"`
// Human readable name
Name string `json:"name"`
Description string `json:"description"`
Price currency.Cents `json:"price"`
Currency currency.Type `json:"currency"`
Interval Interval `json:"interval"`
IntervalCount int `json:"intervalCount"`
TrialPeriodDays int `json:"trialPeriodDays"`
Metadata Map `json:"metadata" datastore:"-"`
Metadata_ string `json:"-" datastore:"-"`
Ref refs.EcommerceRef `json:"ref,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.