stripity_stripe v2.0.0-alpha.1 Stripe.Subscription
Work with Stripe subscription objects.
You can:
- Create a subscription
- Retrieve a subscription
- Update a subscription
- Delete a subscription
Stripe API reference: https://stripe.com/docs/api#subscription
Summary
Types
t()
t :: %Stripe.Subscription{application_fee_percent: term, cancel_at_period_end: term, canceled_at: term, created: term, current_period_end: term, current_period_start: term, customer: term, discount: term, ended_at: term, id: term, livemode: term, metadata: term, plan: term, quantity: term, source: term, start: term, status: term, tax_percent: term, trial_end: term, trial_start: term}
Functions
Create a subscription.
Delete a subscription.
Retrieve a subscription.
Update a subscription.
Takes the id and a map of changes.