public class ConfigurableProductOptionsQuery extends AbstractQuery<ConfigurableProductOptionsQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
ConfigurableProductOptionsQuery |
addFragmentReference(Fragment<ConfigurableProductOptionsQuery> fragment)
Adds a
ConfigurableProductOptionsQuery fragment reference at the current position of the query. |
ConfigurableProductOptionsQuery |
attributeCode()
A string that identifies the attribute
|
ConfigurableProductOptionsQuery |
attributeId()
Deprecated.
Use attribute_uid instead
|
ConfigurableProductOptionsQuery |
attributeIdV2()
Deprecated.
Use attribute_uid instead
|
ConfigurableProductOptionsQuery |
attributeUid()
The unique ID for a `Attribute` object
|
static Fragment<ConfigurableProductOptionsQuery> |
createFragment(String name,
ConfigurableProductOptionsQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
ConfigurableProductOptionsQuery |
id()
Deprecated.
Use uid instead
|
ConfigurableProductOptionsQuery |
label()
A string that describes the configurable product option, which is displayed on the UI
|
ConfigurableProductOptionsQuery |
position()
A number that indicates the order in which the attribute is displayed
|
ConfigurableProductOptionsQuery |
productId()
Deprecated.
`product_id` is not needed and can be obtained from it's parent
|
ConfigurableProductOptionsQuery |
uid()
The unique ID for a `ConfigurableProductOptions` object
|
ConfigurableProductOptionsQuery |
useDefault()
Indicates whether the option is the default
|
ConfigurableProductOptionsQuery |
values(ConfigurableProductOptionsValuesQueryDefinition queryDef)
An array that defines the value_index codes assigned to the configurable product
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic ConfigurableProductOptionsQuery attributeCode()
@Deprecated public ConfigurableProductOptionsQuery attributeId()
@Deprecated public ConfigurableProductOptionsQuery attributeIdV2()
public ConfigurableProductOptionsQuery attributeUid()
@Deprecated public ConfigurableProductOptionsQuery id()
public ConfigurableProductOptionsQuery label()
public ConfigurableProductOptionsQuery position()
@Deprecated public ConfigurableProductOptionsQuery productId()
public ConfigurableProductOptionsQuery uid()
public ConfigurableProductOptionsQuery useDefault()
public ConfigurableProductOptionsQuery values(ConfigurableProductOptionsValuesQueryDefinition queryDef)
public static Fragment<ConfigurableProductOptionsQuery> createFragment(String name, ConfigurableProductOptionsQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public ConfigurableProductOptionsQuery addFragmentReference(Fragment<ConfigurableProductOptionsQuery> fragment)
ConfigurableProductOptionsQuery fragment reference at the current position of the query.
For example for a fragment named test, calling this method will add the
reference ...test in the query. For GraphQL types implementing an interface, there
will be some similar methods using the Query type of each implemented interface.fragment - The fragment to reference.Copyright © 2022 Adobe. All rights reserved.