UNPKG

@lomray/microservice-payment-stripe

Version:

Stripe payment microservice based on NodeJS & inverted json.

38 lines (37 loc) 842 B
import StripeSdk from 'stripe'; import { EntityManager } from 'typeorm'; /** * Application fee webhook handlers */ declare class ApplicationFee { /** * @private */ private readonly manager; /** * @private */ private readonly transactionRepository; /** * @constructor */ /** * @constructor */ constructor(manager: EntityManager); /** * Handles application fee refund updated */ /** * Handles application fee refund updated */ handleApplicationFeeRefundUpdated(event: StripeSdk.Event, sdk: StripeSdk): Promise<void>; /** * Handles application fee refunded */ /** * Handles application fee refunded */ handleApplicationFeeRefunded(event: StripeSdk.Event): Promise<void>; } export { ApplicationFee as default };