Phoenix

Core

class q2_cores.Phoenix.core.Core(logger, core_user, hq_credentials=None, **kwargs)[source]

Bases: BaseCore

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 = 'Phoenix_Core'
REQUIRED_CONFIGURATIONS = {'EMP_ID': 0, 'SERVICE_ID': 0}
OPTIONAL_CONFIGURATIONS = {'BUILD_DEMOGRAPHIC_WITH_ACC_NUM': False}
async build_demographic_info()[source]

Build a core request to get demographic information for a customer, using either SSN or the account number as the identifier.

Return type:

DemographicInfoMapper

Returns:

a DemographicInfoMapper object

Builds an initial search request to the core using SSN as the identifier.

Return type:

InitialSearchMapper

Returns:

an InitialSearchMapper object