UNPKG

@lomray/microservice-payment-stripe

Version:

Stripe payment microservice based on NodeJS & inverted json.

27 lines (26 loc) 528 B
import StripeSdk from 'stripe'; import { EntityManager } from 'typeorm'; /** * Customer webhook handlers */ declare class Customer { /** * @private */ private readonly manager; /** * @constructor */ /** * @constructor */ constructor(manager: EntityManager); /** * Handles customer update */ /** * Handles customer update */ handleCustomerUpdated(event: StripeSdk.Event, manager: EntityManager): Promise<void>; } export { Customer as default };