revenueWindow
revenueWindow(
entries,from,to,currency,options?):RevenueWindow
The ledger between from and to, in currency. gross counts sales only (what came
in before refunds and disputes); otherwise refunds and disputes come off, which is
what’s actually yours.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entries |
readonly LedgerEntry[] |
from |
Date |
to |
Date |
currency |
string |
options |
{ gross?: boolean; } |
options.gross? |
boolean |