DecideSuspectGt module

DecideSuspectGt

class q2_sdk.hq.hq_api.backoffice.DecideSuspectGt.ParamsObj(logger, hq_credentials, transaction_id, gt_case_decision_reason_id, note, authorize_transaction)[source]

Bases: BackOfficeAuthenticatedParamsObj

Parameters definition for DecideSuspectGt

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

  • transaction_id (int) – The transaction ID of the suspect transaction

  • gt_case_decision_reason_id (int) – The id of the case decision reason (See DB Object)

  • note (str) – Note on the decision

  • authorize_transaction (bool) – Boolean for authorizing the transaction

  • hq_credentials (BackOfficeHqCredentials) – BackOfficeHqCredentials instance

async q2_sdk.hq.hq_api.backoffice.DecideSuspectGt.execute(params_obj, **kwargs)[source]
Parameters:

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

Return type:

HqResponse