DiscountCoupon
public struct DiscountCoupon : Decodable
Holds information about a discount.
-
DiscountStatusof the current discountDeclaration
Swift
public let status: DisountCouponStatus -
The title or name of the
Discount. Explains what theDiscountis about.Declaration
Swift
public let title: String -
The Terms and Conditions URL for the
DiscountDeclaration
Swift
public let termsAndConditions: URL -
The amount of the
DiscountDeclaration
Swift
public let amount: Price -
The
DiscounttokenDeclaration
Swift
public let discountToken: String -
Declaration
Swift
public init(from decoder: Decoder) throws
DiscountCoupon Structure Reference