Defines the object schema located at components.schemas.deleted_discount in the specification.
Constructors
DeletedDiscountdeletedDiscountCheckoutSession :: Maybe (Nullable Text)checkout_session: The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.
Constraints:
Maximum length of 5000
deletedDiscountCoupon :: Couponcoupon: A coupon contains information about a percent-off or amount-off discount you might want to apply to a customer. Coupons may be applied to subscriptions, invoices, checkout sessions, quotes, and more. Coupons do not work with conventional one-off charges or payment intents.
deletedDiscountCustomer :: Maybe (Nullable DeletedDiscountCustomer'NonNullableVariants)customer: The ID of the customer associated with this discount.
deletedDiscountId :: Textid: The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array.
Constraints:
Maximum length of 5000
deletedDiscountInvoice :: Maybe (Nullable Text)invoice: The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.
Constraints:
Maximum length of 5000
deletedDiscountInvoiceItem :: Maybe (Nullable Text)invoice_item: The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item.
Constraints:
Maximum length of 5000
deletedDiscountPromotionCode :: Maybe (Nullable DeletedDiscountPromotionCode'NonNullableVariants)promotion_code: The promotion code applied to create this discount.
deletedDiscountStart :: Intstart: Date that the coupon was applied.
deletedDiscountSubscription :: Maybe (Nullable Text)subscription: The subscription that this coupon is applied to, if it is applied to a particular subscription.
Constraints:
Maximum length of 5000
Instances4Eq, Show, FromJSON, ToJSON
Eq DeletedDiscountDefined in stripeapi-3.0.0.0 · StripeAPI.Types.DeletedDiscountShow DeletedDiscountDefined in stripeapi-3.0.0.0 · StripeAPI.Types.DeletedDiscountFromJSON DeletedDiscountDefined in stripeapi-3.0.0.0 · StripeAPI.Types.DeletedDiscountToJSON DeletedDiscountDefined in stripeapi-3.0.0.0 · StripeAPI.Types.DeletedDiscount