Skip to content

HasStoreInterface ​

Type
Interface
Namespace
craft\commerce\base
Implemented by
craft\commerce\base\Purchasable, craft\commerce\base\ShippingMethod, craft\commerce\base\Stat, craft\commerce\base\Zone, craft\commerce\elements\Donation, craft\commerce\elements\Order, craft\commerce\elements\Product, craft\commerce\elements\Variant, craft\commerce\elements\conditions\orders\DiscountOrderCondition, craft\commerce\elements\conditions\orders\ShippingMethodOrderCondition, craft\commerce\elements\conditions\orders\ShippingRuleOrderCondition, craft\commerce\models\CatalogPricing, craft\commerce\models\CatalogPricingRule, craft\commerce\models\Discount, craft\commerce\models\Email, craft\commerce\models\LineItemStatus, craft\commerce\models\OrderStatus, craft\commerce\models\Pdf, craft\commerce\models\ShippingAddressZone, craft\commerce\models\ShippingCategory, craft\commerce\models\ShippingMethod, craft\commerce\models\ShippingMethodOption, craft\commerce\models\ShippingRule, craft\commerce\models\SiteStore, craft\commerce\models\TaxAddressZone, craft\commerce\models\TaxRate, craft\commerce\stats\AverageOrderTotal, craft\commerce\stats\NewCustomers, craft\commerce\stats\RepeatCustomers, craft\commerce\stats\TopCustomers, craft\commerce\stats\TopProductTypes, craft\commerce\stats\TopProducts, craft\commerce\stats\TopPurchasables, craft\commerce\stats\TotalOrders, craft\commerce\stats\TotalOrdersByCountry, craft\commerce\stats\TotalRevenue, craft\commerce\test\mockclasses\Purchasable
Since
5.0.0

This interface provides a store

View source

Public Methods ​

MethodDescription
getStore()

getStore() ​

View source

Returns ​

craft\commerce\models\Store