(subscriptionId: string, params: Stripe.SubscriptionUpdateParams)
| 90 | |
| 91 | // use it to update quantity |
| 92 | function updateSubscription(subscriptionId: string, params: Stripe.SubscriptionUpdateParams) { |
| 93 | logger.debug('updating subscription' + subscriptionId + params); |
| 94 | return stripeInstance.subscriptions.update(subscriptionId, params); |
| 95 | } |
| 96 | |
| 97 | function getListOfInvoicesFromStripe({ customerId, subscriptionId }) { |
| 98 | logger.debug('getting list of invoices for customer' + customerId + subscriptionId); |
no outgoing calls
no test coverage detected