code: def from_dict(data, ctx):
          
  
          data = data.copy()
  
          if data.get('amount') is not None:
              data['amount'] = ctx.convert_decimal_number(
                  data.get('amount')
              )
  
          return TransferFundsRejectTransaction(**data)
docs: Instantiate a new TransferFundsRejectTransaction from a dict (generally
          from loading a JSON response). The data used to instantiate the
          TransferFundsRejectTransaction is a shallow copy of the dict passed in,
          with any complex child types instantiated appropriately.