HQ Commands

class q2_sdk.hq.models.hq_commands.HqCommands(reload_type, accounts_to_reload, force_success_response=False, disclaimer_id_to_skip=None)[source]

For use with sending special instructions to HQ via an execute_request_as_xml response

Parameters:
  • reload_type (AccountReloadType) – Reload from either Q2’s database or the Host Adapter

  • accounts_to_reload (list) – List of account numbers (host account ids HAIDs). If blank, will reload ALL accounts (This can be expensive and is not recommended)

  • force_success_response – Must be set to True to allow Disclaimers to move on with their flow

  • disclaimer_id_to_skip (Optional[int]) – Q2_DisclaimerFormData.DisclaimerFormDataID. If set, will mark the disclaimer viewed for the duration of the online session

AccountReloadType

class q2_sdk.hq.models.hq_commands.HqCommands.AccountReloadType