AddRecurringDomesticWireByCount module

Add recurring Domestic Wire by number of occurrences

class q2_sdk.hq.hq_api.wedge_online_banking.AddRecurringDomesticWireByCount.Q2NameValuePair(name=None, value=None)[source]

Bases: BaseParameter

serialize_as_xml()[source]
serialize_as_json()[source]
class q2_sdk.hq.hq_api.wedge_online_banking.AddRecurringDomesticWireByCount.Pairs(q2_name_value_pair=None)[source]

Bases: BaseParameter

serialize_as_xml()[source]
serialize_as_json()[source]
class q2_sdk.hq.hq_api.wedge_online_banking.AddRecurringDomesticWireByCount.Item(name=None, value=None)[source]

Bases: BaseParameter

serialize_as_xml()[source]
serialize_as_json()[source]
class q2_sdk.hq.hq_api.wedge_online_banking.AddRecurringDomesticWireByCount.GtData(count, item=None, pairs=None)[source]

Bases: BaseParameter

serialize_as_xml()[source]
serialize_as_json()[source]
class q2_sdk.hq.hq_api.wedge_online_banking.AddRecurringDomesticWireByCount.ParamsObj(logger, hq_credentials, originating_account_id, process_date, transaction_amount, currency_code_id, recip_country_id, subsidiary_id, recip_fi_country_id, intermed_country_id, every_xweeks_or_months, frequency_bit_flags, start_date, number_of_occurrences, description=None, to_account=None, to_account_type=None, recip_name=None, recip_address1=None, recip_address2=None, recip_city=None, recip_state=None, recip_postal_code=None, recip_address3=None, email_address=None, recip_fi_aba=None, recip_fi_name=None, recip_fi_address1=None, recip_fi_address2=None, recip_fi_city=None, recip_fi_state=None, recip_fi_postal_code=None, intermed_aba=None, intermed_name=None, intermed_address1=None, intermed_address2=None, intermed_city=None, intermed_state=None, intermed_postal_code=None, orig_to_benf_info=None, recurring_transaction_type=None, fi_to_fi_info=None, purpose_of_wire=None, gt_data=None)[source]

Bases: WedgeOnlineBankingParamsObj

Parameters definition for AddRecurringDomesticWireByCount

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

  • hq_credentials (HqCredentials) – HqCredentials instance with an hq_url and auth_token

  • originating_account_id (int) – Q2_HostAccount.HostAccountID

  • process_date (str) – ex. 1980-10-23. Some HQ endpoints require a timestamp as well (1980-10-23T00:00:00)

  • transaction_amount (float) – ex. 2.43

  • currency_code_id (int) – Q2_CurrentyCode.CurrencyCodeID

  • recip_country_id (int)

  • subsidiary_id (int) – Q2_Subsidiary.SubsidiaryID

  • recip_fi_country_id (int) – Q2_Country.CountryID

  • intermed_country_id (int)

  • every_xweeks_or_months (int) – Applies to Weeks or Months based on the value in recurring_transaction_type

  • frequency_bit_flags (int) – Calculated using q2_sdk.hq.api_helpers.get_frequency_bit_flags

  • start_date (str) – ex. 1980-10-23. Some HQ endpoints require a timestamp as well (1980-10-23T00:00:00)

  • number_of_occurrences (int)

  • description (Optional[str]) – Free form text

  • to_account (Optional[str]) – Q2_HostAccount.HostAccountID

  • to_account_type (Optional[str])

  • recip_name (Optional[str]) – Friendly name of Recipient

  • recip_address1 (Optional[str]) – Recipient’s Address1 Line

  • recip_address2 (Optional[str]) – Recipient’s Address2 Line

  • recip_city (Optional[str])

  • recip_state (Optional[str])

  • recip_postal_code (Optional[str])

  • recip_address3 (Optional[str]) – Recipient’s Address3 Line

  • email_address (Optional[str]) – ex. test@q2ebanking.com

  • recip_fi_aba (Optional[str])

  • recip_fi_name (Optional[str]) – Name of Recipient’s FI

  • recip_fi_address1 (Optional[str]) – Address1 Line of Recipient’s FI

  • recip_fi_address2 (Optional[str]) – Address2 Line of Recipient’s FI

  • recip_fi_city (Optional[str])

  • recip_fi_state (Optional[str])

  • recip_fi_postal_code (Optional[str])

  • intermed_aba (Optional[str])

  • intermed_name (Optional[str])

  • intermed_address1 (Optional[str])

  • intermed_address2 (Optional[str])

  • intermed_city (Optional[str])

  • intermed_state (Optional[str])

  • intermed_postal_code (Optional[str])

  • orig_to_benf_info (Optional[str])

  • recurring_transaction_type (Optional[str]) – Value from q2_sdk.hq.models.transaction_info.RecurringTransactionType

  • fi_to_fi_info (Optional[str])

  • purpose_of_wire (Optional[str])

  • gt_data (Optional[GtData])

async q2_sdk.hq.hq_api.wedge_online_banking.AddRecurringDomesticWireByCount.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.wedge_online_banking.AddRecurringDomesticWireByCount.get_soap(params_obj, **kwargs)[source]

Deprecated. Please use execute instead

Return type:

HqResponse

async q2_sdk.hq.hq_api.wedge_online_banking.AddRecurringDomesticWireByCount.get_json(params_obj, **kwargs)[source]

Deprecated. Please use execute instead

Return type:

HqResponse

q2_sdk.hq.hq_api.wedge_online_banking.AddRecurringDomesticWireByCount.build_json(params_obj)[source]
q2_sdk.hq.hq_api.wedge_online_banking.AddRecurringDomesticWireByCount.build_soap(params_obj)[source]