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

Discount code applications capture the intentions of a discount code at the time that it is applied. More...

Public Member Functions

 DiscountCodeApplicationQuery (StringBuilder query)
 DiscountCodeApplicationQuery is used to build queries. Typically DiscountCodeApplicationQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery. More...
 
DiscountCodeApplicationQuery allocationMethod ()
 The method by which the discount's value is allocated to its entitled items. More...
 
DiscountCodeApplicationQuery applicable ()
 Specifies whether the discount code was applied successfully. More...
 
DiscountCodeApplicationQuery code ()
 The string identifying the discount code that was used at the time of application. More...
 
DiscountCodeApplicationQuery targetSelection ()
 Which lines of targetType that the discount is allocated over. More...
 
DiscountCodeApplicationQuery targetType ()
 The type of line that the discount is applicable towards. More...
 
DiscountCodeApplicationQuery value (PricingValueDelegate buildQuery)
 The value of the discount application. More...
 

Detailed Description

Discount code applications capture the intentions of a discount code at the time that it is applied.

Constructor & Destructor Documentation

◆ DiscountCodeApplicationQuery()

Shopify.Unity.GraphQL.DiscountCodeApplicationQuery.DiscountCodeApplicationQuery ( StringBuilder  query)
inline

DiscountCodeApplicationQuery is used to build queries. Typically DiscountCodeApplicationQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery.

Member Function Documentation

◆ allocationMethod()

DiscountCodeApplicationQuery Shopify.Unity.GraphQL.DiscountCodeApplicationQuery.allocationMethod ( )
inline

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

◆ applicable()

DiscountCodeApplicationQuery Shopify.Unity.GraphQL.DiscountCodeApplicationQuery.applicable ( )
inline

Specifies whether the discount code was applied successfully.

◆ code()

DiscountCodeApplicationQuery Shopify.Unity.GraphQL.DiscountCodeApplicationQuery.code ( )
inline

The string identifying the discount code that was used at the time of application.

◆ targetSelection()

DiscountCodeApplicationQuery Shopify.Unity.GraphQL.DiscountCodeApplicationQuery.targetSelection ( )
inline

Which lines of targetType that the discount is allocated over.

◆ targetType()

DiscountCodeApplicationQuery Shopify.Unity.GraphQL.DiscountCodeApplicationQuery.targetType ( )
inline

The type of line that the discount is applicable towards.

◆ value()

DiscountCodeApplicationQuery Shopify.Unity.GraphQL.DiscountCodeApplicationQuery.value ( PricingValueDelegate  buildQuery)
inline

The value of the discount application.


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