SaleType

Type
Class
Namespace
craft\commerce\gql\types
Inherits
craft\commerce\gql\types\SaleType » craft\gql\base\ObjectType (opens new window) » GraphQL\Type\Definition\ObjectType
Since
3.1.10

Class SaleType

View source (opens new window)

# Public Methods

Method Description
__construct() (opens new window)
getFieldDefinitions()
getName()
getType()
resolveWithDirectives() (opens new window) Resolve a value with the directives that apply to it.

# getFieldDefinitions()

View source (opens new window)

Returns

array (opens new window)

# getName()

View source (opens new window)

Returns

string (opens new window), null (opens new window)

# getType()

View source (opens new window)

Returns

\GraphQL\Type\Definition\Type

# Protected Methods

Method Description
resolve() (opens new window) Resolve a field value with arguments, context and resolve information.