View Source Stripe.DeletedDiscount (stripity_stripe v3.2.0)
Summary
Types
@type t() :: %Stripe.DeletedDiscount{ checkout_session: binary() | nil, coupon: Stripe.Coupon.t(), customer: (binary() | Stripe.Customer.t() | Stripe.DeletedCustomer.t()) | nil, deleted: boolean(), id: binary(), invoice: binary() | nil, invoice_item: binary() | nil, object: binary(), promotion_code: (binary() | Stripe.PromotionCode.t()) | nil, start: integer(), subscription: binary() | nil }
The deleted_discount type.
checkout_sessionThe 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.couponcustomerThe ID of the customer associated with this discount.deletedAlways true for a deleted objectidThe ID of the discount object. Discounts cannot be fetched by ID. Useexpand[]=discountsin API calls to expand discount IDs in an array.invoiceThe invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.invoice_itemThe 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.objectString representing the object's type. Objects of the same type share the same value.promotion_codeThe promotion code applied to create this discount.startDate that the coupon was applied.subscriptionThe subscription that this coupon is applied to, if it is applied to a particular subscription.