@lomray/microservice-payment-stripe
Version:
Stripe payment microservice based on NodeJS & inverted json.
74 lines (73 loc) • 1.59 kB
TypeScript
import { EntityManager } from 'typeorm';
import Account from "./account.js";
import ApplicationFee from "./application-fee.js";
import Charge from "./charge.js";
import Customer from "./customer.js";
import ExternalAccount from "./external-account.js";
import PaymentIntent from "./payment-intent.js";
import PaymentMethod from "./payment-method.js";
import Payout from "./payout.js";
import SetupIntent from "./setup-intent.js";
import Transfer from "./transfer.js";
/**
* Webhook handlers
* @description Webhook handlers for Stripe events
* @example charge.dispute.created - services should be charge
*/
declare class WebhookHandlers {
/**
* @public
*/
readonly customer: Customer;
/**
* @public
*/
readonly charge: Charge;
/**
* @public
*/
readonly applicationFee: ApplicationFee;
/**
* @public
*/
readonly paymentIntent: PaymentIntent;
/**
* @public
*/
readonly transfer: Transfer;
/**
* @public
*/
readonly paymentMethod: PaymentMethod;
/**
* @public
*/
readonly setupIntent: SetupIntent;
/**
* @public
*/
readonly account: Account;
/**
* @public
*/
readonly externalAccount: ExternalAccount;
/**
* @public
*/
readonly payout: Payout;
/**
* @constructor
*/
/**
* @constructor
*/
private constructor();
/**
* Init service
*/
/**
* Init service
*/
static init(manager: EntityManager): WebhookHandlers;
}
export { WebhookHandlers as default };