Discount represents an object describing discounts.
Returns discount amount. Depending on discount_type, the amount is either percentage or a fixed net discount.
Returns to what discount applies to. Values can be "products", "categories", "cart", "shipping" or "cart_and_shipping".
Returns discount redemption code.
Returns discount currency.
Returns discount type. Values can be "percentage" or "fixed".