Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ShippingRates ¶
type ShippingRates struct {
mixin.Model[ShippingRates]
StoreId string `json:"storeId"`
GeoRates []GeoRate `json:"geoRates" orm:"default:[]"`
}
func New ¶
func New(db *datastore.Datastore) *ShippingRates
New creates a new ShippingRates wired to the given datastore.
func (ShippingRates) GetGeoRates ¶
func (t ShippingRates) GetGeoRates() []georate.GeoRate
Click to show internal directories.
Click to hide internal directories.