FiservCommunicatorSignature
Core
- class q2_cores.FiservCommunicatorSignature.core.Core(logger, core_user, hq_credentials=None, **kwargs)[source]
Bases:
BaseCore
- Summary Flow:
Uses an initial search system if a CIF isn’t provided, using the user’s social security to retrieve cif information prior to attempting the demographic information core request
All cores will inherit from this common base class. This contains a self.configured_user property, which is an instance of
q2_sdk.models.cores.models.core_user.CoreUser
.- CONFIG_FILE_NAME = 'FiservCommunicatorSignature_Core'
- REQUIRED_CONFIGURATIONS = {'CLIENTAPPKEY': '', 'CUSTLOGINID': '', 'ENVIRONMENTNAME': '', 'INSTITUTIONCODE': '', 'PSWD': ''}
- OPTIONAL_CONFIGURATIONS = {'SECRET_OVERRIDE_DEMO_ATTR': '', 'THROW_ERROR_ON_MULTIPLE_CUSTPERM_ID': False}
- async build_initial_search()[source]
Builds an initial search query to retrieve customer CIF. Uses SSN (tax ID) as the identifier.
- Return type:
- async build_demographic_info(cif=None)[source]
Builds a request to the core to retrieve customer’s demographic information using CIF.
- Parameters:
cif – a string of the customer’s permanent ID, defaults to None (if no CIF is provided, method will attempt to grab the CIF from online user. If not found, a call will be made to begin the initial search to query CIF). Once a CIF is found, a call is made to retrieve demographic information from the core.
- Return type: