GetAccountHistoryByOnlineUserLogonNameWithRunningBalance module

Get host account history by OnlineUserLogonincluding Running Balance

class q2_sdk.hq.hq_api.q2_api.GetAccountHistoryByOnlineUserLogonNameWithRunningBalance.ParamsObj(logger, host_account_id, page_size, page_number, perform_history_lookup, perform_memo_lookup, perform_nsf_lookup, online_user_logon_name, online_user_password, hq_credentials=None)[source]

Bases: Q2ApiParamsObj

Parameters definition for GetAccountHistoryByOnlineUserLogonNameWithRunningBalance

Parameters:
  • logger (TypeAliasType) – Reference to calling request’s logger (self.logger in your extension)

  • host_account_id (int) – Q2_HostAccount.HostAccountID

  • page_size (int) – The number of results to return per page

  • page_number (int) – The starting point of the page

  • perform_history_lookup (bool) – If True the account information will be retrieved

  • perform_memo_lookup (bool)

  • perform_nsf_lookup (bool)

  • online_user_logon_name (str)

  • online_user_password (str)

  • hq_credentials (Optional[HqCredentials]) – Defaults to settings.HQ_CREDENTIALS

async q2_sdk.hq.hq_api.q2_api.GetAccountHistoryByOnlineUserLogonNameWithRunningBalance.execute(params_obj, use_json=False, **kwargs)[source]

This is the default way to submit the request to HQ. In theory, both json and soap payloads are equally accepted by HQ, though several variables may affect that (HQ version, Q2SDK implementation bugs, etc). This should not affect anything about the way your code deals with the data. In fact, the only difference to consuming extensions is the logging. Basically, call this with default parameters unless you find a compelling reason not to.

Parameters:
  • params_obj (ParamsObj) – Object containing everything necessary to call this HQ endpoint

  • use_json – If True, will call HQ’s .ashx (json) endpoint instead of .asmx (soap)

Return type:

HqResponse

async q2_sdk.hq.hq_api.q2_api.GetAccountHistoryByOnlineUserLogonNameWithRunningBalance.get_soap(params_obj, **kwargs)[source]

Deprecated. Please use execute instead

Return type:

HqResponse

async q2_sdk.hq.hq_api.q2_api.GetAccountHistoryByOnlineUserLogonNameWithRunningBalance.get_json(params_obj, **kwargs)[source]

Deprecated. Please use execute instead

Return type:

HqResponse

q2_sdk.hq.hq_api.q2_api.GetAccountHistoryByOnlineUserLogonNameWithRunningBalance.build_json(params_obj)[source]
q2_sdk.hq.hq_api.q2_api.GetAccountHistoryByOnlineUserLogonNameWithRunningBalance.build_soap(params_obj)[source]