public class WishlistItemQuery extends AbstractQuery<WishlistItemQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
WishlistItemQuery |
addedAt()
The time when the customer added the item to the wish list
|
WishlistItemQuery |
addFragmentReference(Fragment<WishlistItemQuery> fragment)
Adds a
WishlistItemQuery fragment reference at the current position of the query. |
static Fragment<WishlistItemQuery> |
createFragment(String name,
WishlistItemQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
WishlistItemQuery |
description()
The customer's comment about this item
|
WishlistItemQuery |
id()
The unique ID for a `WishlistItem` object
|
WishlistItemQuery |
product(ProductInterfaceQueryDefinition queryDef) |
WishlistItemQuery |
qty()
The quantity of this wish list item
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic WishlistItemQuery addedAt()
public WishlistItemQuery description()
public WishlistItemQuery id()
public WishlistItemQuery product(ProductInterfaceQueryDefinition queryDef)
public WishlistItemQuery qty()
public static Fragment<WishlistItemQuery> createFragment(String name, WishlistItemQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public WishlistItemQuery addFragmentReference(Fragment<WishlistItemQuery> fragment)
WishlistItemQuery 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.