Models
ExtendedDemographic
- class q2_cores.Symitar.models.extended_demographic.AccountStatus[source]
Bases:
object- ACTIVE = 'Active'
- CLOSED = 'Closed'
- class q2_cores.Symitar.models.extended_demographic.RecordType[source]
Bases:
object- DOMESTIC = 'Domestic'
- INTERNATIONAL = 'International'
- class q2_cores.Symitar.models.extended_demographic.AddressRec(address_1, address_2, city, state, zipcode, address_type, country, country_code)[source]
Bases:
AddressAddressRec(address_1: Optional[str], address_2: Optional[str], city: Optional[str], state: Optional[str], zipcode: Optional[str], address_type: Optional[str], country: Optional[str], country_code: Optional[str])
-
address_1:
Optional[str]
-
address_2:
Optional[str]
-
city:
Optional[str]
-
state:
Optional[str]
-
zipcode:
Optional[str]
-
address_type:
Optional[str]
-
country:
Optional[str]
-
country_code:
Optional[str]
-
address_1:
- class q2_cores.Symitar.models.extended_demographic.Other(home_phone, mobile_phone, work_phone, work_phone_extension, phone_type, alternative_email, email)[source]
Bases:
objectOther(home_phone: str, mobile_phone: Optional[str], work_phone: Optional[str], work_phone_extension: Optional[str], phone_type: str, alternative_email: Optional[str], email: str)
-
home_phone:
str
-
mobile_phone:
Optional[str]
-
work_phone:
Optional[str]
-
work_phone_extension:
Optional[str]
-
phone_type:
str
-
alternative_email:
Optional[str]
-
email:
str
-
home_phone:
- class q2_cores.Symitar.models.extended_demographic.Account(memo_mode, account_type, account_number, account_close_date)[source]
Bases:
objectAccount(memo_mode: str, account_type: str, account_number: str, account_close_date: str)
-
memo_mode:
str
-
account_type:
str
-
account_number:
str
-
account_close_date:
str
-
memo_mode:
- class q2_cores.Symitar.models.extended_demographic.DemographicInfoExt(full_name, first_name, last_name, middle_name, mothers_maiden_name, date_of_birth, ssn, is_primary, primary_cif, account_type, account_close_date, drivers_license, core_specific, address_records, other_records)[source]
Bases:
objectDemographicInfoExt(full_name: str, first_name: str, last_name: str, middle_name: Optional[str], mothers_maiden_name: Optional[str], date_of_birth: str, ssn: str, is_primary: str, primary_cif: str, account_type: str, account_close_date: str, drivers_license: str, core_specific: dict, address_records: q2_cores.Symitar.models.extended_demographic.AddressRec, other_records: q2_cores.Symitar.models.extended_demographic.Other)
-
full_name:
str
-
first_name:
str
-
last_name:
str
-
middle_name:
Optional[str]
-
mothers_maiden_name:
Optional[str]
-
date_of_birth:
str
-
ssn:
str
-
is_primary:
str
-
primary_cif:
str
-
account_type:
str
-
account_close_date:
str
-
drivers_license:
str
-
core_specific:
dict
-
address_records:
AddressRec
-
full_name:
Message
- class q2_cores.Symitar.models.message.SymConnectMessage(raw, guid, message_type, status, payload=None, fields=None, error_number=None, error_message=None)[source]
Bases:
objectData structure of a SymConnect message
- class q2_cores.Symitar.models.message.SymXchangeMessage(raw, element, message_type)[source]
Bases:
objectData structure of a SymXchangeResponse message
Initialize a SymXchangeMessage object
- Parameters:
raw (
str) – The raw xml message (str)element (
Any) – The xml element as a lxml objectmessage_type (
SymXchangeMessageType) – The SymXchange message type
- property status: MessageStatus
- property message_type: SymXchangeMessageType
- property element: Any
- class q2_cores.Symitar.models.message.PowerOnMessage(raw, element, unescape)[source]
Bases:
SymXchangeMessageData structure of a PowerOnResponse message
Initialize a SymXchangeMessage object
- Parameters:
raw (
str) – The raw xml message (str)element (
Any) – The xml element as a lxml objectmessage_type – The SymXchange message type
- property user_defined_chr_parameters: List[str][source]
Returns the user defined character parameters
MessageStatus
MessageType
- class q2_cores.Symitar.models.message_type.MessageType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
EnumEnum for the different types of messages that can be received from Symitar SymConnect.
- IQ = 'IQ'
Inquiry Request
- RSIQ = 'RSIQ'
Inquiry Response
- RG = 'RG'
Report Generator Request
- RSRG = 'RSRG'
Report Generator Response
- FM = 'FM'
File Maintenance Request
- RSFM = 'RSFM'
File Maintenance Response
- TR = 'TR'
Transaction Request
- RSTR = 'RSTR'
Transaction Response
- AD = 'AD'
Administrative Request
- RSAD = 'RSAD'
Administrative Response
- HANDSHAKE = 'HANDSHAKE'
Handshake Request
- RSHANDSHAKE = 'RSHANDSHAKE'
Handshake Response
- RSWHAT = 'RSWHAT'
Unknown Request Type Response
- class q2_cores.Symitar.models.message_type.SymXchangeMessageType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
EnumEnum for the different types of messages that can be received from Symitar SymXchange.
- POWERON = '{http://www.symxchange.generated.symitar.com/poweron}executePowerOnResponse'
PowerOn Message Response
- GENERIC = ''
SymXchange Message type without a first class support
OpenAccount
- class q2_cores.Symitar.models.open_account_models.SymitarSubAccountDetails(share_id, share_desc, apy, maturity_date, div_rate, opening_amount)[source]
Bases:
BaseSubAccountDetails
Parser
- q2_cores.Symitar.models.parser.parse(message, unescape=True)[source]
Parse a Symitar message into a SymConnectMessage or a SymXchangeMessage object.
- Parameters:
message (
str) – The message to parseunescape (
bool) – Whether to unescape (xml) the message payload. Only relevant for SymXchange PowerOn message types.
- Return type:
Union[SymConnectMessage,Type[SymXchangeMessage]]