|
Shopify SDK for Unity
|
Discount code applications capture the intentions of a discount code at the time that it is applied. More...
Public Member Functions | |
| DiscountCodeApplication (Dictionary< string, object > dataJSON) | |
| Accepts deserialized json data. Will further parse passed in data. More... | |
| DiscountApplicationAllocationMethod | allocationMethod () |
| The method by which the discount's value is allocated to its entitled items. More... | |
| bool | applicable () |
| Specifies whether the discount code was applied successfully. More... | |
| string | code () |
| The string identifying the discount code that was used at the time of application. More... | |
| DiscountApplicationTargetSelection | targetSelection () |
| Which lines of targetType that the discount is allocated over. More... | |
| DiscountApplicationTargetType | targetType () |
| The type of line that the discount is applicable towards. More... | |
| PricingValue | value () |
| The value of the discount application. More... | |
| object | Clone () |
Additional Inherited Members | |
Protected Member Functions inherited from Shopify.Unity.SDK.AbstractResponse | |
| T | 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] |
Discount code applications capture the intentions of a discount code at the time that it is applied.
|
inline |
Accepts deserialized json data. Will further parse passed in data.
| dataJSON | Deserialized JSON data for DiscountCodeApplication |
|
inline |
The method by which the discount's value is allocated to its entitled items.
Implements Shopify.Unity.DiscountApplication.
|
inline |
Specifies whether the discount code was applied successfully.
|
inline |
The string identifying the discount code that was used at the time of application.
|
inline |
Which lines of targetType that the discount is allocated over.
Implements Shopify.Unity.DiscountApplication.
|
inline |
The type of line that the discount is applicable towards.
Implements Shopify.Unity.DiscountApplication.
|
inline |
The value of the discount application.
Implements Shopify.Unity.DiscountApplication.