public class ProductPriceQuery extends AbstractQuery<ProductPriceQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
ProductPriceQuery |
addFragmentReference(Fragment<ProductPriceQuery> fragment)
Adds a
ProductPriceQuery fragment reference at the current position of the query. |
static Fragment<ProductPriceQuery> |
createFragment(String name,
ProductPriceQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
ProductPriceQuery |
discount(ProductDiscountQueryDefinition queryDef)
The price discount.
|
ProductPriceQuery |
finalPrice(MoneyQueryDefinition queryDef)
The final price of the product after discounts applied.
|
ProductPriceQuery |
fixedProductTaxes(FixedProductTaxQueryDefinition queryDef)
The multiple FPTs that can be applied to a product price.
|
ProductPriceQuery |
regularPrice(MoneyQueryDefinition queryDef)
The regular price of the product.
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic ProductPriceQuery discount(ProductDiscountQueryDefinition queryDef)
public ProductPriceQuery finalPrice(MoneyQueryDefinition queryDef)
public ProductPriceQuery fixedProductTaxes(FixedProductTaxQueryDefinition queryDef)
public ProductPriceQuery regularPrice(MoneyQueryDefinition queryDef)
public static Fragment<ProductPriceQuery> createFragment(String name, ProductPriceQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public ProductPriceQuery addFragmentReference(Fragment<ProductPriceQuery> fragment)
ProductPriceQuery 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.