Discount Code
Represents an order discount code.
Typically this is some coupon or promo code entered by the user to apply the discount to their order.
Parameters
code
The discount code string.
amount
The discounted amount.
Constructors
Link copied to clipboard
Creates a DiscountCode instance.