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

The compare-at price and price of a variant sharing a currency. More...

Inheritance diagram for Shopify.Unity.ProductVariantPricePair:
Shopify.Unity.SDK.AbstractResponse

Public Member Functions

 ProductVariantPricePair (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
MoneyV2 compareAtPrice ()
 The compare-at price of the variant with associated currency. More...
 
MoneyV2 price ()
 The price of the variant with associated currency. More...
 
object Clone ()
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.AbstractResponse
Get< T > (string field, string alias=null)
 
- Protected Attributes inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > Data
 
- Properties inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > DataJSON [get, protected set]
 

Detailed Description

The compare-at price and price of a variant sharing a currency.

Constructor & Destructor Documentation

◆ ProductVariantPricePair()

Shopify.Unity.ProductVariantPricePair.ProductVariantPricePair ( Dictionary< string, object >  dataJSON)
inline

Accepts deserialized json data. Will further parse passed in data.

Parameters
dataJSONDeserialized JSON data for ProductVariantPricePair

Member Function Documentation

◆ compareAtPrice()

MoneyV2 Shopify.Unity.ProductVariantPricePair.compareAtPrice ( )
inline

The compare-at price of the variant with associated currency.

◆ price()

MoneyV2 Shopify.Unity.ProductVariantPricePair.price ( )
inline

The price of the variant with associated currency.


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