stripity_stripe v2.7.0 Stripe.Discount 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
Link to this type
t()
View Source
t()
View Source
t() :: %Stripe.Discount{
coupon: Stripe.Coupon.t(),
customer: Stripe.id() | Stripe.Customer.t() | nil,
deleted: boolean() | nil,
end: Stripe.timestamp() | nil,
object: String.t(),
start: Stripe.timestamp(),
subscription: Stripe.id() | nil
}
t() :: %Stripe.Discount{ coupon: Stripe.Coupon.t(), customer: Stripe.id() | Stripe.Customer.t() | nil, deleted: boolean() | nil, end: Stripe.timestamp() | nil, object: String.t(), start: Stripe.timestamp(), subscription: Stripe.id() | nil }