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

A collection of available shipping rates for a checkout. More...

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

Public Member Functions

 AvailableShippingRates (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
bool ready ()
 Whether or not the shipping rates are ready. The shippingRates field is null when this value is false. This field should be polled until its value becomes true. More...
 
List< ShippingRateshippingRates ()
 The fetched shipping rates. null until the ready field is true. 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 collection of available shipping rates for a checkout.

Constructor & Destructor Documentation

◆ AvailableShippingRates()

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

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

Parameters
dataJSONDeserialized JSON data for AvailableShippingRates

Member Function Documentation

◆ ready()

bool Shopify.Unity.AvailableShippingRates.ready ( )
inline

Whether or not the shipping rates are ready. The shippingRates field is null when this value is false. This field should be polled until its value becomes true.

◆ shippingRates()

List<ShippingRate> Shopify.Unity.AvailableShippingRates.shippingRates ( )
inline

The fetched shipping rates. null until the ready field is true.


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