class Falsify::DiscountApplication

An ordered list of stacked discount applications. The `discount_applications` property includes 3 types: `discount_code`, `manual`, and `script`. All 3 types share a common structure and have some type specific attributes.

Attributes

code[RW]

The discount code that was used to apply the discount. Available only for discount code applications. @return [String]

description[RW]

The description of the discount application, as defined by the merchant or the Shopify Script. Available only for manual and script discount applications. @return [String]

title[RW]

The title of the discount application, as defined by the merchant. Available only for manual discount applications. @return [String]

value[RW]

The value of the discount application as a decimal. This represents the intention of the discount application. For example, if the intent was to apply a 20% discount, then the value will be `20.0`. If the intent was to apply a $15 discount, then the value will be `15.0`. @return [String]