UNPKG

@experts_hub/shared

Version:

Shared DTOs, interfaces, and utilities for experts hub applications

19 lines (18 loc) 584 B
import { BaseEntity } from "./base.entity"; import { User } from "./user.entity"; import { StripeWalletTransaction } from "./stripe-wallet-transaction.entity"; declare enum StripeWalletAccountTypeEnum { BUSINESS = "BUSINESS", FREELANCER = "FREELANCER" } export declare class StripeWallet extends BaseEntity { userId: number; user: User; accountType: StripeWalletAccountTypeEnum; stripeAccountId: string; stripeCustomerId: string; walletBalance: number; stripeMetadata: Record<string, any>; transactions: StripeWalletTransaction[]; } export {};