import { Money } from "bigint-money/dist" ; import { NumberFormatter } from "../NumberFormatter" ; import { Fee } from "./Fee" ; export class FlatFee implements Fee { constructor ( private fee ) { } public calculateFor ( ) { return this . fee ; } public describe ( ) { const numberFormatter = new NumberFormatter ( ) ; return numberFormatter . formatMoney ( this . fee ) ; } public getExtendedDescription ( ) { return [ this . describe ( ) ] ; } }