class Falsify::DiscountCode

Discount codes to be applied to an order.

Attributes

amount[RW]

The value of the discount to be deducted from the order total. The `type` field determines how this value is calculated. After an order is created, this field returns the calculated amount. @return [String]

code[RW]

The discount code. @return [String]