dmjio / stripe

:moneybag: Stripe API
http://hackage.haskell.org/package/stripe-haskell
177 stars 74 forks source link

Retrieve all subscriptions #86

Closed nmattia closed 6 years ago

nmattia commented 6 years ago

This renames the current getSubscriptions to getSubscriptionsByCustomerId and introduces a new getSubscriptions:

-- | Retrieve all active `Subscription`s
getSubscriptions
    :: StripeRequest GetSubscriptions

which retrieves all the subscriptions (for all customers). Fixes #83

dmjio commented 6 years ago

@nmattia Thanks 🍻 !

dmjio commented 6 years ago

@nmattia your changes are live on 2.3.0, if there's anything else you need, don't hesitate to ask.

nmattia commented 6 years ago

@dmjio thanks a lot for the fast reaction, and for the great library!

dmjio commented 6 years ago

@nmattia thanks for using it 👍

nmattia commented 6 years ago

Ah, I actually came up with some items (since you asked :) )

Will be happy to pay in :beers: if you swing by https://zurihac.info/

dmjio commented 6 years ago

I unfortunately won't be at ZuriHac, but I do accept payment in other forms as well 😄