public class Query extends AbstractResponse<Query>
optimisticData, responseData| Constructor and Description |
|---|
Query() |
Query(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
__Schema |
__getSchema()
The root __schema field for introspection queries.
|
__Type |
__getType()
The root __type field for introspection queries.
|
List<StoreConfig> |
getAvailableStores()
Get a list of available store views and their config information.
|
Cart |
getCart()
Returns information about shopping cart
|
CategoryResult |
getCategories() |
CategoryTree |
getCategory()
Deprecated.
Use 'categoryList' query instead of 'category' query
|
List<CategoryTree> |
getCategoryList()
Returns an array of categories based on the specified filters.
|
List<CheckoutAgreement> |
getCheckoutAgreements()
The Checkout Agreements information
|
CmsBlocks |
getCmsBlocks()
The CMS block query returns information about CMS blocks
|
CmsPage |
getCmsPage()
The CMS page query returns information about a CMS page
|
CompareList |
getCompareList()
Return products that have been added to the specified compare list
|
List<Country> |
getCountries()
The countries query provides information for all countries.
|
Country |
getCountry()
The countries query provides information for a single country.
|
Currency |
getCurrency()
The currency query returns information about store currency.
|
CustomAttributeMetadata |
getCustomAttributeMetadata()
The customAttributeMetadata query returns the attribute type, given an attribute code and entity
type
|
Customer |
getCustomer()
The customer query returns information about a customer account
|
Cart |
getCustomerCart()
Returns information about the customer shopping cart
|
CustomerDownloadableProducts |
getCustomerDownloadableProducts()
The query returns the contents of a customer's downloadable products
|
CustomerOrders |
getCustomerOrders()
Deprecated.
Use orders from customer instead
|
CustomerPaymentTokens |
getCustomerPaymentTokens()
Return a list of customer payment tokens
|
HostedProUrl |
getGetHostedProUrl()
Retrieve secure PayPal url for Payments Pro Hosted Solution transaction.
|
PayflowLinkToken |
getGetPayflowLinkToken()
Retrieve payment credentials for transaction.
|
GiftCardAccount |
getGiftCardAccount()
Get information for gift card account by code
|
String |
getGraphQlTypeName() |
IsEmailAvailableOutput |
getIsEmailAvailable() |
PickupLocations |
getPickupLocations()
The pickup locations query searches for locations that match the search request requirements.
|
ProductReviewRatingsMetadata |
getProductReviewRatingsMetadata()
Retrieves metadata required by clients to render the Reviews section.
|
Products |
getProducts()
The products query searches for products that match the criteria specified in the search and filter
attributes.
|
StoreConfig |
getStoreConfig()
The store config query
|
EntityUrl |
getUrlResolver()
The urlResolver query returns the relative URL for a specified product, category or CMS page, using
as input a url_key appended by the url_suffix, if one exists
|
WishlistOutput |
getWishlist()
Deprecated.
Moved under `Customer` `wishlist`
|
Query |
setAvailableStores(List<StoreConfig> arg) |
Query |
setCart(Cart arg) |
Query |
setCategories(CategoryResult arg) |
Query |
setCategory(CategoryTree arg) |
Query |
setCategoryList(List<CategoryTree> arg) |
Query |
setCheckoutAgreements(List<CheckoutAgreement> arg) |
Query |
setCmsBlocks(CmsBlocks arg) |
Query |
setCmsPage(CmsPage arg) |
Query |
setCompareList(CompareList arg) |
Query |
setCountries(List<Country> arg) |
Query |
setCountry(Country arg) |
Query |
setCurrency(Currency arg) |
Query |
setCustomAttributeMetadata(CustomAttributeMetadata arg) |
Query |
setCustomer(Customer arg) |
Query |
setCustomerCart(Cart arg) |
Query |
setCustomerDownloadableProducts(CustomerDownloadableProducts arg) |
Query |
setCustomerOrders(CustomerOrders arg) |
Query |
setCustomerPaymentTokens(CustomerPaymentTokens arg) |
Query |
setGetHostedProUrl(HostedProUrl arg) |
Query |
setGetPayflowLinkToken(PayflowLinkToken arg) |
Query |
setGiftCardAccount(GiftCardAccount arg) |
Query |
setIsEmailAvailable(IsEmailAvailableOutput arg) |
Query |
setPickupLocations(PickupLocations arg) |
Query |
setProductReviewRatingsMetadata(ProductReviewRatingsMetadata arg) |
Query |
setProducts(Products arg) |
Query |
setStoreConfig(StoreConfig arg) |
Query |
setUrlResolver(EntityUrl arg) |
Query |
setWishlist(WishlistOutput arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic Query()
public Query(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public List<StoreConfig> getAvailableStores()
public Query setAvailableStores(List<StoreConfig> arg)
public Cart getCart()
public CategoryResult getCategories()
public Query setCategories(CategoryResult arg)
@Deprecated public CategoryTree getCategory()
public Query setCategory(CategoryTree arg)
public List<CategoryTree> getCategoryList()
public Query setCategoryList(List<CategoryTree> arg)
public List<CheckoutAgreement> getCheckoutAgreements()
public Query setCheckoutAgreements(List<CheckoutAgreement> arg)
public CmsBlocks getCmsBlocks()
public CmsPage getCmsPage()
public CompareList getCompareList()
public Query setCompareList(CompareList arg)
public List<Country> getCountries()
public Country getCountry()
public Currency getCurrency()
public CustomAttributeMetadata getCustomAttributeMetadata()
public Query setCustomAttributeMetadata(CustomAttributeMetadata arg)
public Customer getCustomer()
public Cart getCustomerCart()
public CustomerDownloadableProducts getCustomerDownloadableProducts()
public Query setCustomerDownloadableProducts(CustomerDownloadableProducts arg)
@Deprecated public CustomerOrders getCustomerOrders()
public Query setCustomerOrders(CustomerOrders arg)
public CustomerPaymentTokens getCustomerPaymentTokens()
public Query setCustomerPaymentTokens(CustomerPaymentTokens arg)
public HostedProUrl getGetHostedProUrl()
public Query setGetHostedProUrl(HostedProUrl arg)
public PayflowLinkToken getGetPayflowLinkToken()
public Query setGetPayflowLinkToken(PayflowLinkToken arg)
public GiftCardAccount getGiftCardAccount()
public Query setGiftCardAccount(GiftCardAccount arg)
public IsEmailAvailableOutput getIsEmailAvailable()
public Query setIsEmailAvailable(IsEmailAvailableOutput arg)
public PickupLocations getPickupLocations()
public Query setPickupLocations(PickupLocations arg)
public ProductReviewRatingsMetadata getProductReviewRatingsMetadata()
public Query setProductReviewRatingsMetadata(ProductReviewRatingsMetadata arg)
public Products getProducts()
public StoreConfig getStoreConfig()
public Query setStoreConfig(StoreConfig arg)
public EntityUrl getUrlResolver()
@Deprecated public WishlistOutput getWishlist()
public Query setWishlist(WishlistOutput arg)
public __Schema __getSchema()
public __Type __getType()
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<Query>Copyright © 2022 Adobe. All rights reserved.