MambuPy.api.mambutransaction

MambuTransaction entity: a MambuEntity struct for credit Transactions.

Classes

MambuTransaction(**kwargs)

MambuTransaction entity

class MambuPy.api.mambutransaction.MambuTransaction(**kwargs)[source]

Bases: MambuEntity, MambuEntitySearchable

MambuTransaction entity

__abstractmethods__ = frozenset({})
__module__ = 'MambuPy.api.mambutransaction'
_abc_impl = <_abc_data object>
_filter_keys = []

allowed filters for get_all filtering

_prefix = 'loans/transactions'

prefix constant for connections to Mambu

_sortBy_fields = []

allowed fields for get_all sorting

adjust(notes)[source]

Request to adjust a loan transaction.

Parameters:

notes (str) – notes to attach to the adjusting transaction.

classmethod get_all(loanAccountId, offset=None, limit=None, paginationDetails='OFF', detailsLevel='BASIC', **kwargs)[source]

get_all, several transactions, filtering allowed

Parameters:
  • loanAccountId (str) – the id or encodedkey of the loan account

  • offset (int) – pagination, index to start searching

  • limit (int) – pagination, number of elements to retrieve

  • paginationDetails (str ON/OFF) – ask for details on pagination

  • detailsLevel (str BASIC/FULL) – ask for extra details or not

Returns:

list of instances of a transaction with data from Mambu