(customerId: string, email: string)
| 271 | } |
| 272 | |
| 273 | public async updateCustomerEmail(customerId: string, email: string) { |
| 274 | if (!this.stripe) throw new Error('Stripe is not initialized') |
| 275 | await this.stripe.customers.update(customerId, { email }) |
| 276 | } |
| 277 | |
| 278 | public async getAdditionalSeatsProration(subscriptionId: string, quantity: number) { |
| 279 | if (!this.stripe) { |
no test coverage detected