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

The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml). More...

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

Public Member Functions

 UnitPriceMeasurement (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
UnitPriceMeasurementMeasuredTypemeasuredType ()
 The type of unit of measurement for the unit price measurement. More...
 
UnitPriceMeasurementMeasuredUnitquantityUnit ()
 The quantity unit for the unit price measurement. More...
 
double quantityValue ()
 The quantity value for the unit price measurement. More...
 
UnitPriceMeasurementMeasuredUnitreferenceUnit ()
 The reference unit for the unit price measurement. More...
 
long referenceValue ()
 The reference value for the unit price measurement. 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 measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).

Constructor & Destructor Documentation

◆ UnitPriceMeasurement()

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

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

Parameters
dataJSONDeserialized JSON data for UnitPriceMeasurement

Member Function Documentation

◆ measuredType()

UnitPriceMeasurementMeasuredType? Shopify.Unity.UnitPriceMeasurement.measuredType ( )
inline

The type of unit of measurement for the unit price measurement.

◆ quantityUnit()

UnitPriceMeasurementMeasuredUnit? Shopify.Unity.UnitPriceMeasurement.quantityUnit ( )
inline

The quantity unit for the unit price measurement.

◆ quantityValue()

double Shopify.Unity.UnitPriceMeasurement.quantityValue ( )
inline

The quantity value for the unit price measurement.

◆ referenceUnit()

UnitPriceMeasurementMeasuredUnit? Shopify.Unity.UnitPriceMeasurement.referenceUnit ( )
inline

The reference unit for the unit price measurement.

◆ referenceValue()

long Shopify.Unity.UnitPriceMeasurement.referenceValue ( )
inline

The reference value for the unit price measurement.


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