/** * Magento Community * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 2.2 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { SalesRuleDataCouponExtensionInterface } from './salesRuleDataCouponExtensionInterface'; /** * Interface CouponInterface */ export interface SalesRuleDataCouponInterface { /** * Coupon id */ couponId?: number; /** * The id of the rule associated with the coupon */ ruleId: number; /** * Coupon code */ code?: string; /** * Usage limit */ usageLimit?: number; /** * Usage limit per customer */ usagePerCustomer?: number; /** * The number of times the coupon has been used */ timesUsed: number; /** * Expiration date */ expirationDate?: string; /** * The coupon is primary coupon for the rule that it's associated with */ isPrimary: boolean; /** * When the coupon is created */ createdAt?: string; /** * Of coupon */ type?: number; extensionAttributes?: SalesRuleDataCouponExtensionInterface; }