public class ProductLinksQuery extends AbstractQuery<ProductLinksQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
ProductLinksQuery |
addFragmentReference(Fragment<ProductLinksQuery> fragment)
Adds a
ProductLinksQuery fragment reference at the current position of the query. |
ProductLinksQuery |
addProductLinksInterfaceFragmentReference(Fragment<ProductLinksInterfaceQuery> fragment)
Adds a
ProductLinksInterfaceQuery fragment reference at the current position of the query. |
static Fragment<ProductLinksQuery> |
createFragment(String name,
ProductLinksQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
ProductLinksQuery |
linkedProductSku()
The SKU of the linked product.
|
ProductLinksQuery |
linkedProductType()
The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable).
|
ProductLinksQuery |
linkType()
One of related, associated, upsell, or crosssell.
|
ProductLinksQuery |
position()
The position within the list of product links.
|
ProductLinksQuery |
sku()
The identifier of the linked product.
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic ProductLinksQuery linkType()
public ProductLinksQuery linkedProductSku()
public ProductLinksQuery linkedProductType()
public ProductLinksQuery position()
public ProductLinksQuery sku()
public static Fragment<ProductLinksQuery> createFragment(String name, ProductLinksQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public ProductLinksQuery addFragmentReference(Fragment<ProductLinksQuery> fragment)
ProductLinksQuery 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.public ProductLinksQuery addProductLinksInterfaceFragmentReference(Fragment<ProductLinksInterfaceQuery> fragment)
ProductLinksInterfaceQuery 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.fragment - The fragment to reference.Copyright © 2022 Adobe. All rights reserved.