Product

Type
Class
Namespace
craft\commerce\gql\queries
Inherits
craft\commerce\gql\queries\Product ยป craft\gql\base\Query (opens new window)
Uses traits
craft\gql\base\GqlTypeTrait (opens new window)
Since
3.0

Class Product

View source (opens new window)

# Public Methods

Method Description
getFieldDefinitions() (opens new window) List of fields for this type.
getQueries() Returns the queries defined by the class as an array.
getType() (opens new window) Returns an instance of this schema object's type as provided by entity registry

# getQueries()

Returns the queries defined by the class as an array.

View source (opens new window)

Arguments

Returns

array (opens new window)

# Protected Methods

Method Description
getConditionalFields() (opens new window) Return conditional fields for this type.