|
Shopify SDK for Unity
|
A product variant represents a different version of a product, such as differing sizes or differing colors. More...
Public Member Functions | |
| ProductVariantQuery (StringBuilder query) | |
| ProductVariantQuery is used to build queries. Typically ProductVariantQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery. More... | |
| ProductVariantQuery | available () |
| Indicates if the product variant is in stock. More... | |
| ProductVariantQuery | availableForSale () |
| Indicates if the product variant is available for sale. More... | |
| ProductVariantQuery | compareAtPrice () |
The compare at price of the variant. This can be used to mark a variant as on sale, when compareAtPrice is higher than price. More... | |
| ProductVariantQuery | compareAtPriceV2 (MoneyV2Delegate buildQuery) |
The compare at price of the variant. This can be used to mark a variant as on sale, when compareAtPriceV2 is higher than priceV2. More... | |
| ProductVariantQuery | id () |
| Globally unique identifier. More... | |
| ProductVariantQuery | image (ImageDelegate buildQuery, long? maxWidth=null, long? maxHeight=null, CropRegion? crop=null, long? scale=null, string alias=null) |
| Image associated with the product variant. This field falls back to the product image if no image is available. More... | |
| ProductVariantQuery | metafield (MetafieldDelegate buildQuery, string namespaceValue, string key, string alias=null) |
| The metafield associated with the resource. More... | |
| ProductVariantQuery | metafields (MetafieldConnectionDelegate buildQuery, string namespaceValue=null, long? first=null, string after=null, long? last=null, string before=null, bool? reverse=null, string alias=null) |
| A paginated list of metafields associated with the resource. More... | |
| ProductVariantQuery | presentmentPrices (ProductVariantPricePairConnectionDelegate buildQuery, List< CurrencyCode > presentmentCurrencies=null, long? first=null, string after=null, long? last=null, string before=null, bool? reverse=null, string alias=null) |
| List of prices and compare-at prices in the presentment currencies for this shop. More... | |
| ProductVariantQuery | presentmentUnitPrices (MoneyV2connectionDelegate buildQuery, List< CurrencyCode > presentmentCurrencies=null, long? first=null, string after=null, long? last=null, string before=null, bool? reverse=null, string alias=null) |
| List of unit prices in the presentment currencies for this shop. More... | |
| ProductVariantQuery | price () |
| The product variant’s price. More... | |
| ProductVariantQuery | priceV2 (MoneyV2Delegate buildQuery) |
| The product variant’s price. More... | |
| ProductVariantQuery | product (ProductDelegate buildQuery) |
| The product object that the product variant belongs to. More... | |
| ProductVariantQuery | requiresShipping () |
| Whether a customer needs to provide a shipping address when placing an order for the product variant. More... | |
| ProductVariantQuery | selectedOptions (SelectedOptionDelegate buildQuery) |
| List of product options applied to the variant. More... | |
| ProductVariantQuery | sku () |
| The SKU (stock keeping unit) associated with the variant. More... | |
| ProductVariantQuery | title () |
| The product variant’s title. More... | |
| ProductVariantQuery | unitPrice (MoneyV2Delegate buildQuery) |
| The unit price value for the variant based on the variant's measurement. More... | |
| ProductVariantQuery | unitPriceMeasurement (UnitPriceMeasurementDelegate buildQuery) |
| The unit price measurement for the variant. More... | |
| ProductVariantQuery | weight () |
The weight of the product variant in the unit system specified with weight_unit. More... | |
| ProductVariantQuery | weightUnit () |
| Unit of measurement for weight. More... | |
A product variant represents a different version of a product, such as differing sizes or differing colors.
|
inline |
ProductVariantQuery is used to build queries. Typically ProductVariantQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery.
|
inline |
Indicates if the product variant is in stock.
availableForSale instead
|
inline |
Indicates if the product variant is available for sale.
|
inline |
The compare at price of the variant. This can be used to mark a variant as on sale, when compareAtPrice is higher than price.
compareAtPriceV2 instead
|
inline |
The compare at price of the variant. This can be used to mark a variant as on sale, when compareAtPriceV2 is higher than priceV2.
|
inline |
Globally unique identifier.
|
inline |
Image associated with the product variant. This field falls back to the product image if no image is available.
| maxWidth | Image width in pixels between 1 and 2048. This argument is deprecated: Use maxWidth on Image.transformedSrc instead. |
| maxHeight | Image height in pixels between 1 and 2048. This argument is deprecated: Use maxHeight on Image.transformedSrc instead. |
| crop | Crops the image according to the specified region. This argument is deprecated: Use crop on Image.transformedSrc instead. |
| scale | Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use scale on Image.transformedSrc instead. |
|
inline |
The metafield associated with the resource.
| namespace | Container for a set of metafields (maximum of 20 characters). |
| key | Identifier for the metafield (maximum of 30 characters). |
|
inline |
A paginated list of metafields associated with the resource.
| namespace | Container for a set of metafields (maximum of 20 characters). |
| first | Returns up to the first n elements from the list. |
| after | Returns the elements that come after the specified cursor. |
| last | Returns up to the last n elements from the list. |
| before | Returns the elements that come before the specified cursor. |
| reverse | Reverse the order of the underlying list. |
|
inline |
List of prices and compare-at prices in the presentment currencies for this shop.
| presentmentCurrencies | The presentment currencies prices should return in. |
| first | Returns up to the first n elements from the list. |
| after | Returns the elements that come after the specified cursor. |
| last | Returns up to the last n elements from the list. |
| before | Returns the elements that come before the specified cursor. |
| reverse | Reverse the order of the underlying list. |
|
inline |
List of unit prices in the presentment currencies for this shop.
| presentmentCurrencies | Specify the currencies in which to return presentment unit prices. |
| first | Returns up to the first n elements from the list. |
| after | Returns the elements that come after the specified cursor. |
| last | Returns up to the last n elements from the list. |
| before | Returns the elements that come before the specified cursor. |
| reverse | Reverse the order of the underlying list. |
|
inline |
The product variant’s price.
priceV2 instead
|
inline |
The product variant’s price.
|
inline |
The product object that the product variant belongs to.
|
inline |
Whether a customer needs to provide a shipping address when placing an order for the product variant.
|
inline |
List of product options applied to the variant.
|
inline |
The SKU (stock keeping unit) associated with the variant.
|
inline |
The product variant’s title.
|
inline |
The unit price value for the variant based on the variant's measurement.
|
inline |
The unit price measurement for the variant.
|
inline |
The weight of the product variant in the unit system specified with weight_unit.
|
inline |
Unit of measurement for weight.