public class InvoiceItemQuery extends AbstractQuery<InvoiceItemQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
InvoiceItemQuery |
addFragmentReference(Fragment<InvoiceItemQuery> fragment)
Adds a
InvoiceItemQuery fragment reference at the current position of the query. |
InvoiceItemQuery |
addInvoiceItemInterfaceFragmentReference(Fragment<InvoiceItemInterfaceQuery> fragment)
Adds a
InvoiceItemInterfaceQuery fragment reference at the current position of the query. |
static Fragment<InvoiceItemQuery> |
createFragment(String name,
InvoiceItemQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
InvoiceItemQuery |
discounts(DiscountQueryDefinition queryDef)
Contains information about the final discount amount for the base product, including discounts on
options
|
InvoiceItemQuery |
id()
The unique ID for a `InvoiceItemInterface` object
|
InvoiceItemQuery |
orderItem(OrderItemInterfaceQueryDefinition queryDef)
Contains details about an individual order item
|
InvoiceItemQuery |
productName()
The name of the base product
|
InvoiceItemQuery |
productSalePrice(MoneyQueryDefinition queryDef)
The sale price for the base product including selected options
|
InvoiceItemQuery |
productSku()
The SKU of the base product
|
InvoiceItemQuery |
quantityInvoiced()
The number of invoiced items
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic InvoiceItemQuery discounts(DiscountQueryDefinition queryDef)
public InvoiceItemQuery id()
public InvoiceItemQuery orderItem(OrderItemInterfaceQueryDefinition queryDef)
public InvoiceItemQuery productName()
public InvoiceItemQuery productSalePrice(MoneyQueryDefinition queryDef)
public InvoiceItemQuery productSku()
public InvoiceItemQuery quantityInvoiced()
public static Fragment<InvoiceItemQuery> createFragment(String name, InvoiceItemQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public InvoiceItemQuery addFragmentReference(Fragment<InvoiceItemQuery> fragment)
InvoiceItemQuery 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 InvoiceItemQuery addInvoiceItemInterfaceFragmentReference(Fragment<InvoiceItemInterfaceQuery> fragment)
InvoiceItemInterfaceQuery 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.