public class InvoiceTotalQuery extends AbstractQuery<InvoiceTotalQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
InvoiceTotalQuery |
addFragmentReference(Fragment<InvoiceTotalQuery> fragment)
Adds a
InvoiceTotalQuery fragment reference at the current position of the query. |
InvoiceTotalQuery |
baseGrandTotal(MoneyQueryDefinition queryDef)
The final base grand total amount in the base currency
|
static Fragment<InvoiceTotalQuery> |
createFragment(String name,
InvoiceTotalQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
InvoiceTotalQuery |
discounts(DiscountQueryDefinition queryDef)
The applied discounts to the invoice
|
InvoiceTotalQuery |
grandTotal(MoneyQueryDefinition queryDef)
The final total amount, including shipping, discounts, and taxes
|
InvoiceTotalQuery |
shippingHandling(ShippingHandlingQueryDefinition queryDef)
Contains details about the shipping and handling costs for the invoice
|
InvoiceTotalQuery |
subtotal(MoneyQueryDefinition queryDef)
The subtotal of the invoice, excluding shipping, discounts, and taxes
|
InvoiceTotalQuery |
taxes(TaxItemQueryDefinition queryDef)
The invoice tax details
|
InvoiceTotalQuery |
totalShipping(MoneyQueryDefinition queryDef)
The shipping amount for the invoice
|
InvoiceTotalQuery |
totalTax(MoneyQueryDefinition queryDef)
The amount of tax applied to the invoice
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic InvoiceTotalQuery baseGrandTotal(MoneyQueryDefinition queryDef)
public InvoiceTotalQuery discounts(DiscountQueryDefinition queryDef)
public InvoiceTotalQuery grandTotal(MoneyQueryDefinition queryDef)
public InvoiceTotalQuery shippingHandling(ShippingHandlingQueryDefinition queryDef)
public InvoiceTotalQuery subtotal(MoneyQueryDefinition queryDef)
public InvoiceTotalQuery taxes(TaxItemQueryDefinition queryDef)
public InvoiceTotalQuery totalShipping(MoneyQueryDefinition queryDef)
public InvoiceTotalQuery totalTax(MoneyQueryDefinition queryDef)
public static Fragment<InvoiceTotalQuery> createFragment(String name, InvoiceTotalQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public InvoiceTotalQuery addFragmentReference(Fragment<InvoiceTotalQuery> fragment)
InvoiceTotalQuery 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.