Shopify SDK for Unity
Public Member Functions | List of all members
Shopify.Unity.GraphQL.ShopQuery Class Reference

Shop represents a collection of the general settings and information about the shop. More...

Public Member Functions

 ShopQuery (StringBuilder query)
 ShopQuery is used to build queries. Typically ShopQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery. More...
 
ShopQuery articles (ArticleConnectionDelegate buildQuery, long? first=null, string after=null, long? last=null, string before=null, bool? reverse=null, ArticleSortKeys? sortKey=null, string queryValue=null, string alias=null)
 List of the shop' articles. More...
 
ShopQuery blogs (BlogConnectionDelegate buildQuery, long? first=null, string after=null, long? last=null, string before=null, bool? reverse=null, BlogSortKeys? sortKey=null, string queryValue=null, string alias=null)
 List of the shop' blogs. More...
 
ShopQuery collectionByHandle (CollectionDelegate buildQuery, string handle, string alias=null)
 Find a collection by its handle. More...
 
ShopQuery collections (CollectionConnectionDelegate buildQuery, long? first=null, string after=null, long? last=null, string before=null, bool? reverse=null, CollectionSortKeys? sortKey=null, string queryValue=null, string alias=null)
 List of the shop’s collections. More...
 
ShopQuery currencyCode ()
 The three-letter code for the currency that the shop accepts. More...
 
ShopQuery description ()
 A description of the shop. More...
 
ShopQuery moneyFormat ()
 A string representing the way currency is formatted when the currency isn’t specified. More...
 
ShopQuery name ()
 The shop’s name. More...
 
ShopQuery paymentSettings (PaymentSettingsDelegate buildQuery)
 Settings related to payments. More...
 
ShopQuery primaryDomain (DomainDelegate buildQuery)
 The shop’s primary domain. More...
 
ShopQuery privacyPolicy (ShopPolicyDelegate buildQuery)
 The shop’s privacy policy. More...
 
ShopQuery productByHandle (ProductDelegate buildQuery, string handle, string alias=null)
 Find a product by its handle. More...
 
ShopQuery productTags (StringConnectionDelegate buildQuery, long first, string alias=null)
 A list of tags that have been added to products. Additional access scope required: unauthenticated_read_product_tags. More...
 
ShopQuery productTypes (StringConnectionDelegate buildQuery, long first, string alias=null)
 List of the shop’s product types. More...
 
ShopQuery products (ProductConnectionDelegate buildQuery, long? first=null, string after=null, long? last=null, string before=null, bool? reverse=null, ProductSortKeys? sortKey=null, string queryValue=null, string alias=null)
 List of the shop’s products. More...
 
ShopQuery refundPolicy (ShopPolicyDelegate buildQuery)
 The shop’s refund policy. More...
 
ShopQuery shipsToCountries ()
 Countries that the shop ships to. More...
 
ShopQuery shopifyPaymentsAccountId ()
 The shop’s Shopify Payments account id. More...
 
ShopQuery termsOfService (ShopPolicyDelegate buildQuery)
 The shop’s terms of service. More...
 

Detailed Description

Shop represents a collection of the general settings and information about the shop.

Constructor & Destructor Documentation

◆ ShopQuery()

Shopify.Unity.GraphQL.ShopQuery.ShopQuery ( StringBuilder  query)
inline

ShopQuery is used to build queries. Typically ShopQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery.

Member Function Documentation

◆ articles()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.articles ( ArticleConnectionDelegate  buildQuery,
long?  first = null,
string  after = null,
long?  last = null,
string  before = null,
bool?  reverse = null,
ArticleSortKeys sortKey = null,
string  queryValue = null,
string  alias = null 
)
inline

List of the shop' articles.

Deprecated:
Use QueryRoot.articles instead.
Parameters
firstReturns up to the first n elements from the list.
afterReturns the elements that come after the specified cursor.
lastReturns up to the last n elements from the list.
beforeReturns the elements that come before the specified cursor.
reverseReverse the order of the underlying list.
sortKeySort the underlying list by the given key.
querySupported filter parameters:
  • author
  • blog_title
  • created_at
  • tag
  • updated_at

See the detailed search syntax for more information about using filters.

◆ blogs()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.blogs ( BlogConnectionDelegate  buildQuery,
long?  first = null,
string  after = null,
long?  last = null,
string  before = null,
bool?  reverse = null,
BlogSortKeys sortKey = null,
string  queryValue = null,
string  alias = null 
)
inline

List of the shop' blogs.

Deprecated:
Use QueryRoot.blogs instead.
Parameters
firstReturns up to the first n elements from the list.
afterReturns the elements that come after the specified cursor.
lastReturns up to the last n elements from the list.
beforeReturns the elements that come before the specified cursor.
reverseReverse the order of the underlying list.
sortKeySort the underlying list by the given key.
querySupported filter parameters:
  • created_at
  • handle
  • title
  • updated_at

See the detailed search syntax for more information about using filters.

◆ collectionByHandle()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.collectionByHandle ( CollectionDelegate  buildQuery,
string  handle,
string  alias = null 
)
inline

Find a collection by its handle.

Deprecated:
Use QueryRoot.collectionByHandle instead.
Parameters
handleThe handle of the collection.

◆ collections()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.collections ( CollectionConnectionDelegate  buildQuery,
long?  first = null,
string  after = null,
long?  last = null,
string  before = null,
bool?  reverse = null,
CollectionSortKeys sortKey = null,
string  queryValue = null,
string  alias = null 
)
inline

List of the shop’s collections.

Deprecated:
Use QueryRoot.collections instead.
Parameters
firstReturns up to the first n elements from the list.
afterReturns the elements that come after the specified cursor.
lastReturns up to the last n elements from the list.
beforeReturns the elements that come before the specified cursor.
reverseReverse the order of the underlying list.
sortKeySort the underlying list by the given key.
querySupported filter parameters:
  • collection_type
  • title
  • updated_at

See the detailed search syntax for more information about using filters.

◆ currencyCode()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.currencyCode ( )
inline

The three-letter code for the currency that the shop accepts.

Deprecated:
Use paymentSettings instead

◆ description()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.description ( )
inline

A description of the shop.

◆ moneyFormat()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.moneyFormat ( )
inline

A string representing the way currency is formatted when the currency isn’t specified.

◆ name()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.name ( )
inline

The shop’s name.

◆ paymentSettings()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.paymentSettings ( PaymentSettingsDelegate  buildQuery)
inline

Settings related to payments.

◆ primaryDomain()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.primaryDomain ( DomainDelegate  buildQuery)
inline

The shop’s primary domain.

◆ privacyPolicy()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.privacyPolicy ( ShopPolicyDelegate  buildQuery)
inline

The shop’s privacy policy.

◆ productByHandle()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.productByHandle ( ProductDelegate  buildQuery,
string  handle,
string  alias = null 
)
inline

Find a product by its handle.

Deprecated:
Use QueryRoot.productByHandle instead.
Parameters
handleThe handle of the product.

◆ products()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.products ( ProductConnectionDelegate  buildQuery,
long?  first = null,
string  after = null,
long?  last = null,
string  before = null,
bool?  reverse = null,
ProductSortKeys sortKey = null,
string  queryValue = null,
string  alias = null 
)
inline

List of the shop’s products.

Deprecated:
Use QueryRoot.products instead.
Parameters
firstReturns up to the first n elements from the list.
afterReturns the elements that come after the specified cursor.
lastReturns up to the last n elements from the list.
beforeReturns the elements that come before the specified cursor.
reverseReverse the order of the underlying list.
sortKeySort the underlying list by the given key.
querySupported filter parameters:
  • available_for_sale
  • created_at
  • product_type
  • tag
  • title
  • updated_at
  • variants.price
  • vendor

See the detailed search syntax for more information about using filters.

◆ productTags()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.productTags ( StringConnectionDelegate  buildQuery,
long  first,
string  alias = null 
)
inline

A list of tags that have been added to products. Additional access scope required: unauthenticated_read_product_tags.

Deprecated:
Use QueryRoot.productTags instead.
Parameters
firstReturns up to the first n elements from the list.

◆ productTypes()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.productTypes ( StringConnectionDelegate  buildQuery,
long  first,
string  alias = null 
)
inline

List of the shop’s product types.

Deprecated:
Use QueryRoot.productTypes instead.
Parameters
firstReturns up to the first n elements from the list.

◆ refundPolicy()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.refundPolicy ( ShopPolicyDelegate  buildQuery)
inline

The shop’s refund policy.

◆ shipsToCountries()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.shipsToCountries ( )
inline

Countries that the shop ships to.

◆ shopifyPaymentsAccountId()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.shopifyPaymentsAccountId ( )
inline

The shop’s Shopify Payments account id.

Deprecated:
Use paymentSettings instead

◆ termsOfService()

ShopQuery Shopify.Unity.GraphQL.ShopQuery.termsOfService ( ShopPolicyDelegate  buildQuery)
inline

The shop’s terms of service.


The documentation for this class was generated from the following file: