def from_dict(data, ctx):
        """
        Instantiate a new TransferFundsTransaction from a dict (generally from
        loading a JSON response). The data used to instantiate the
        TransferFundsTransaction is a shallow copy of the dict passed in, with
        any complex child types instantiated appropriately.
        """

        data = data.copy()

        if data.get('amount') is not None:
            data['amount'] = ctx.convert_decimal_number(
                data.get('amount')
            )

        if data.get('accountBalance') is not None:
            data['accountBalance'] = ctx.convert_decimal_number(
                data.get('accountBalance')
            )

        return TransferFundsTransaction(**data)
Instantiate a new TransferFundsTransaction from a dict (generally from
        loading a JSON response). The data used to instantiate the
        TransferFundsTransaction is a shallow copy of the dict passed in, with
        any complex child types instantiated appropriately.