Stripe.Discount (stripity_stripe v2.17.3) View Source

Work with Stripe discounts.

Stripe API reference: https://stripe.com/docs/api#discounts

Link to this section Summary

Link to this section Types

Specs

t() :: %Stripe.Discount{
  coupon: Stripe.Coupon.t(),
  customer: Stripe.id() | Stripe.Customer.t() | nil,
  deleted: boolean() | nil,
  end: Stripe.timestamp() | nil,
  id: Stripe.id(),
  object: String.t(),
  promotion_code: Stripe.id() | nil,
  start: Stripe.timestamp(),
  subscription: Stripe.id() | nil
}