public class BundleItemOptionQuery extends AbstractQuery<BundleItemOptionQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
BundleItemOptionQuery |
addFragmentReference(Fragment<BundleItemOptionQuery> fragment)
Adds a
BundleItemOptionQuery fragment reference at the current position of the query. |
BundleItemOptionQuery |
canChangeQuantity()
Indicates whether the customer can change the number of items for this option.
|
static Fragment<BundleItemOptionQuery> |
createFragment(String name,
BundleItemOptionQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
BundleItemOptionQuery |
id()
Deprecated.
Use `uid` instead
|
BundleItemOptionQuery |
isDefault()
Indicates whether this option is the default option.
|
BundleItemOptionQuery |
label()
The text that identifies the bundled item option.
|
BundleItemOptionQuery |
position()
When a bundle item contains multiple options, the relative position of this option compared to the
other options.
|
BundleItemOptionQuery |
price()
The price of the selected option.
|
BundleItemOptionQuery |
priceType()
One of FIXED, PERCENT, or DYNAMIC.
|
BundleItemOptionQuery |
product(ProductInterfaceQueryDefinition queryDef)
Contains details about this product option.
|
BundleItemOptionQuery |
qty()
Deprecated.
The `qty` is deprecated. Use `quantity` instead.
|
BundleItemOptionQuery |
quantity()
Indicates the quantity of this specific bundle item.
|
BundleItemOptionQuery |
uid()
The unique ID for a `BundleItemOption` object.
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic BundleItemOptionQuery canChangeQuantity()
@Deprecated public BundleItemOptionQuery id()
public BundleItemOptionQuery isDefault()
public BundleItemOptionQuery label()
public BundleItemOptionQuery position()
public BundleItemOptionQuery price()
public BundleItemOptionQuery priceType()
public BundleItemOptionQuery product(ProductInterfaceQueryDefinition queryDef)
@Deprecated public BundleItemOptionQuery qty()
public BundleItemOptionQuery quantity()
public BundleItemOptionQuery uid()
public static Fragment<BundleItemOptionQuery> createFragment(String name, BundleItemOptionQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public BundleItemOptionQuery addFragmentReference(Fragment<BundleItemOptionQuery> fragment)
BundleItemOptionQuery 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.