DeletedDiscount
Summary
Types
@type t() :: %Stripe.Resources.DeletedDiscount{ checkout_session: term(), customer: term(), customer_account: term(), deleted: term(), id: term(), invoice: term(), invoice_item: term(), object: term(), promotion_code: term(), source: term(), start: term(), subscription: term(), subscription_item: term() }
checkout_session- The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Not present for subscription mode. Max length: 5000. Nullable.customer- The ID of the customer associated with this discount. Nullable. Expandable.customer_account- The ID of the account representing the customer associated with this discount. Max length: 5000. Nullable.deleted- Always true for a deleted object Possible values:true.id- The ID of the discount object. Discounts can't be fetched by ID. Useexpand[]=discountsin API calls to expand discount IDs in an array. Max length: 5000.invoice- The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice. Max length: 5000. Nullable.invoice_item- The invoice itemid(or invoice line itemidfor 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. Max length: 5000. Nullable.object- String representing the object's type. Objects of the same type share the same value. Possible values:discount.promotion_code- The promotion code applied to create this discount. Nullable. Expandable.source- Expandable.start- Date that the coupon was applied. Format: Unix timestamp.subscription- The subscription that this coupon is applied to, if it is applied to a particular subscription. Max length: 5000. Nullable.subscription_item- The subscription item that this coupon is applied to, if it is applied to a particular subscription item. Max length: 5000. Nullable.