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