function feeLineItems feeLineItems<Item>(subtotal: number,currency: string,build: (amount: number,currency: string) => Item): Item[] Build a provider fee line-item array from the configured booking fee. Returns [] when the fee is zero, else a single item shaped by build. Type Parameters Item Parameters subtotal: number currency: string build: (amount: number,currency: string) => Item Return Type Item[]