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

An amount discounting the line that has been allocated by a discount. More...

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

Public Member Functions

 DiscountAllocation (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
MoneyV2 allocatedAmount ()
 Amount of discount allocated. More...
 
DiscountApplication discountApplication ()
 The discount this allocated amount originated from. 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

An amount discounting the line that has been allocated by a discount.

Constructor & Destructor Documentation

◆ DiscountAllocation()

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

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

Parameters
dataJSONDeserialized JSON data for DiscountAllocation

Member Function Documentation

◆ allocatedAmount()

MoneyV2 Shopify.Unity.DiscountAllocation.allocatedAmount ( )
inline

Amount of discount allocated.

◆ discountApplication()

DiscountApplication Shopify.Unity.DiscountAllocation.discountApplication ( )
inline

The discount this allocated amount originated from.


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