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

A shipping rate to be applied to a checkout. More...

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

Public Member Functions

 ShippingRate (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
string handle ()
 Human-readable unique identifier for this shipping rate. More...
 
decimal price ()
 Price of this shipping rate. More...
 
MoneyV2 priceV2 ()
 Price of this shipping rate. More...
 
string title ()
 Title of this shipping rate. 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

A shipping rate to be applied to a checkout.

Constructor & Destructor Documentation

◆ ShippingRate()

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

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

Parameters
dataJSONDeserialized JSON data for ShippingRate

Member Function Documentation

◆ handle()

string Shopify.Unity.ShippingRate.handle ( )
inline

Human-readable unique identifier for this shipping rate.

◆ price()

decimal Shopify.Unity.ShippingRate.price ( )
inline

Price of this shipping rate.

Deprecated:
Use priceV2 instead

◆ priceV2()

MoneyV2 Shopify.Unity.ShippingRate.priceV2 ( )
inline

Price of this shipping rate.

◆ title()

string Shopify.Unity.ShippingRate.title ( )
inline

Title of this shipping rate.


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