def _determine_monetary_account_id(cls, monetary_account_id=None):
        """
        :type monetary_account_id: int

        :rtype: int
        """

        if monetary_account_id is None:
            return context.BunqContext.user_context().primary_monetary_account.id_

        return monetary_account_id
def _determine_monetary_account_id ( cls , monetary_account_id = None ) : if monetary_account_id is None : return context . BunqContext . user_context ( ) . primary_monetary_account . id_ return monetary_account_id
:type monetary_account_id: int

        :rtype: int