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

UnknownDiscountApplication is a response object. With UnknownDiscountApplication.Create you'll be able instantiate objects implementing DiscountApplication. UnknownDiscountApplication.Create will return one of the following types:

More...

Inheritance diagram for Shopify.Unity.UnknownDiscountApplication:
Shopify.Unity.SDK.AbstractResponse Shopify.Unity.DiscountApplication

Public Member Functions

 UnknownDiscountApplication (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...
 
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 ()
 

Static Public Member Functions

static DiscountApplication Create (Dictionary< string, object > dataJSON)
 Instantiate objects implementing DiscountApplication. Possible types are:

More...
 

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

UnknownDiscountApplication is a response object. With UnknownDiscountApplication.Create you'll be able instantiate objects implementing DiscountApplication. UnknownDiscountApplication.Create will return one of the following types:

Constructor & Destructor Documentation

◆ UnknownDiscountApplication()

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

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

Parameters
dataJSONDeserialized JSON data for DiscountApplication

Member Function Documentation

◆ allocationMethod()

DiscountApplicationAllocationMethod Shopify.Unity.UnknownDiscountApplication.allocationMethod ( )
inline

The method by which the discount's value is allocated to its entitled items.

Implements Shopify.Unity.DiscountApplication.

◆ Create()

static DiscountApplication Shopify.Unity.UnknownDiscountApplication.Create ( Dictionary< string, object >  dataJSON)
inlinestatic

◆ targetSelection()

DiscountApplicationTargetSelection Shopify.Unity.UnknownDiscountApplication.targetSelection ( )
inline

Which lines of targetType that the discount is allocated over.

Implements Shopify.Unity.DiscountApplication.

◆ targetType()

DiscountApplicationTargetType Shopify.Unity.UnknownDiscountApplication.targetType ( )
inline

The type of line that the discount is applicable towards.

Implements Shopify.Unity.DiscountApplication.

◆ value()

PricingValue Shopify.Unity.UnknownDiscountApplication.value ( )
inline

The value of the discount application.

Implements Shopify.Unity.DiscountApplication.


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