TransType: Transaction Classification#
- class means.types.TransType.TransType(*values)#
The classification of a transaction by the kinds of accounts it connects.
I Inference#
- classmethod TransType.infer(data: object | Sequence[object]) TransType#
Infer the transaction type from the account types involved.
- Parameters:
data – A Transaction, or a sequence of posts, accounts, account types, or their names.
- Returns:
The inferred type, or
OTHERif the combination is not recognized.