@torchlabs/transactions
Version:
Package to calculate profit made through client sales
7 lines • 444 B
TypeScript
import { SellingPlans, GwPlans, PaidStatus } from "./types";
export declare function calcTransFees(plan_name: GwPlans & SellingPlans, paid: string, paid_status: PaidStatus, price: string, count: string): number;
export declare function calcTransFeesWithFees(plan_name: GwPlans & SellingPlans, paid: string, paid_status: PaidStatus, price: string, count: string): {
net_total: number;
fees: number;
};
//# sourceMappingURL=index.d.ts.map