Trendsic Platform Service

<back to all web services

FactFinderConfigRequest

Requires Authentication
The following routes are available for this service:
GET,POST,OPTIONS/v1/FactFinderConfig
<?php namespace dtos;

use DateTime;
use Exception;
use DateInterval;
use JsonSerializable;
use ServiceStack\{IReturn,IReturnVoid,IGet,IPost,IPut,IDelete,IPatch,IMeta,IHasSessionId,IHasBearerToken,IHasVersion};
use ServiceStack\{ICrud,ICreateDb,IUpdateDb,IPatchDb,IDeleteDb,ISaveDb,AuditBase,QueryDb,QueryDb2,QueryData,QueryData2,QueryResponse};
use ServiceStack\{ResponseStatus,ResponseError,EmptyResponse,IdResponse,ArrayList,KeyValuePair2,StringResponse,StringsResponse,Tuple2,Tuple3,ByteArray};
use ServiceStack\{JsonConverters,Returns,TypeContext};


class FactFinderConfig implements JsonSerializable
{
    public function __construct(
        /** @var bool|null */
        public ?bool $ei_lastName=null,
        /** @var bool|null */
        public ?bool $ei_firstname=null,
        /** @var bool|null */
        public ?bool $ei_mi=null,
        /** @var bool|null */
        public ?bool $ei_dob=null,
        /** @var bool|null */
        public ?bool $ei_age=null,
        /** @var bool|null */
        public ?bool $ei_district=null,
        /** @var bool|null */
        public ?bool $ei_school=null,
        /** @var bool|null */
        public ?bool $ei_room=null,
        /** @var bool|null */
        public ?bool $ei_position=null,
        /** @var bool|null */
        public ?bool $ei_yearswdist=null,
        /** @var bool|null */
        public ?bool $ei_yearswodist=null,
        /** @var bool|null */
        public ?bool $ei_pastocc=null,
        /** @var bool|null */
        public ?bool $ei_address=null,
        /** @var bool|null */
        public ?bool $ei_city=null,
        /** @var bool|null */
        public ?bool $ei_state=null,
        /** @var bool|null */
        public ?bool $ei_zip=null,
        /** @var bool|null */
        public ?bool $ei_cellphone=null,
        /** @var bool|null */
        public ?bool $ei_workphone=null,
        /** @var bool|null */
        public ?bool $ei_personalemail=null,
        /** @var bool|null */
        public ?bool $ei_workemail=null,
        /** @var bool|null */
        public ?bool $ei_spousename=null,
        /** @var bool|null */
        public ?bool $ei_spousedob=null,
        /** @var bool|null */
        public ?bool $ei_spouseage=null,
        /** @var bool|null */
        public ?bool $ei_spousecellphone=null,
        /** @var bool|null */
        public ?bool $ei_spouseemail=null,
        /** @var bool|null */
        public ?bool $ei_spouseoccupation=null,
        /** @var bool|null */
        public ?bool $ei_spouseposition=null,
        /** @var bool|null */
        public ?bool $ei_spouseyears=null,
        /** @var bool|null */
        public ?bool $ei_spousepastocc=null,
        /** @var bool|null */
        public ?bool $ei_reasonmeeting=null,
        /** @var bool|null */
        public ?bool $emt_workstatus=null,
        /** @var bool|null */
        public ?bool $emt_unusedsickdays=null,
        /** @var bool|null */
        public ?bool $emt_unusedsickhours=null,
        /** @var bool|null */
        public ?bool $emt_cbsdays=null,
        /** @var bool|null */
        public ?bool $emt_cbshours=null,
        /** @var bool|null */
        public ?bool $emt_dpw=null,
        /** @var bool|null */
        public ?bool $emt_hpw=null,
        /** @var bool|null */
        public ?bool $emt_mpy=null,
        /** @var bool|null */
        public ?bool $emt_numpretaxchecks=null,
        /** @var bool|null */
        public ?bool $fin_clientgross=null,
        /** @var bool|null */
        public ?bool $fin_clientnet=null,
        /** @var bool|null */
        public ?bool $fin_householdgross=null,
        /** @var bool|null */
        public ?bool $fin_householdnet=null,
        /** @var bool|null */
        public ?bool $fin_desiredretincome=null,
        /** @var bool|null */
        public ?bool $fin_estexpenses=null,
        /** @var bool|null */
        public ?bool $fin_discincome=null,
        /** @var bool|null */
        public ?bool $fin_exptype=null,
        /** @var bool|null */
        public ?bool $fin_desc=null,
        /** @var bool|null */
        public ?bool $fin_balance=null,
        /** @var bool|null */
        public ?bool $fin_interestrate=null,
        /** @var bool|null */
        public ?bool $fin_minpayment=null,
        /** @var bool|null */
        public ?bool $fin_monthlypayment=null,
        /** @var bool|null */
        public ?bool $pen_pensystem=null,
        /** @var bool|null */
        public ?bool $pen_penstart=null,
        /** @var bool|null */
        public ?bool $pen_servicecredit=null,
        /** @var bool|null */
        public ?bool $pen_servicecreditasofdate=null,
        /** @var bool|null */
        public ?bool $pen_desiredretdate=null,
        /** @var bool|null */
        public ?bool $pen_desiredretage=null,
        /** @var bool|null */
        public ?bool $pen_spousalbenefitdesired=null,
        /** @var bool|null */
        public ?bool $pen_formula=null,
        /** @var bool|null */
        public ?bool $pen_defbalance=null,
        /** @var bool|null */
        public ?bool $pen_defspousebalance=null,
        /** @var bool|null */
        public ?bool $prot_plife=null,
        /** @var bool|null */
        public ?bool $prot_pcarrier=null,
        /** @var bool|null */
        public ?bool $prot_pfaceamount=null,
        /** @var bool|null */
        public ?bool $prot_pissuedate=null,
        /** @var bool|null */
        public ?bool $prot_plifepremium=null,
        /** @var bool|null */
        public ?bool $prot_ptype=null,
        /** @var bool|null */
        public ?bool $prot_ptypeof=null,
        /** @var bool|null */
        public ?bool $prot_pcashvalue=null,
        /** @var bool|null */
        public ?bool $prot_slife=null,
        /** @var bool|null */
        public ?bool $prot_scarrier=null,
        /** @var bool|null */
        public ?bool $prot_sfaceamount=null,
        /** @var bool|null */
        public ?bool $prot_sissuedate=null,
        /** @var bool|null */
        public ?bool $prot_slifepremium=null,
        /** @var bool|null */
        public ?bool $prot_stype=null,
        /** @var bool|null */
        public ?bool $prot_stypeof=null,
        /** @var bool|null */
        public ?bool $prot_scashvalue=null,
        /** @var bool|null */
        public ?bool $prot_pltc=null,
        /** @var bool|null */
        public ?bool $prot_pltcpremium=null,
        /** @var bool|null */
        public ?bool $prot_pdisability=null,
        /** @var bool|null */
        public ?bool $prot_pdisabilitypremium=null,
        /** @var bool|null */
        public ?bool $prot_sltc=null,
        /** @var bool|null */
        public ?bool $prot_sltcpremium=null,
        /** @var bool|null */
        public ?bool $prot_sdisability=null,
        /** @var bool|null */
        public ?bool $prot_sdisabilitypremium=null,
        /** @var bool|null */
        public ?bool $efi_monthlycontrib=null,
        /** @var bool|null */
        public ?bool $efi_fundbalance=null,
        /** @var bool|null */
        public ?bool $efi_isthreetosixmonths=null,
        /** @var bool|null */
        public ?bool $lta_haveretiresavings=null,
        /** @var bool|null */
        public ?bool $lta_priorretireplan=null,
        /** @var bool|null */
        public ?bool $lta_havedistplan=null,
        /** @var bool|null */
        public ?bool $lta_plantype=null,
        /** @var bool|null */
        public ?bool $lta_company=null,
        /** @var bool|null */
        public ?bool $lta_contrib=null,
        /** @var bool|null */
        public ?bool $lta_balance=null,
        /** @var bool|null */
        public ?bool $ira_acctowner=null,
        /** @var bool|null */
        public ?bool $ira_company=null,
        /** @var bool|null */
        public ?bool $ira_taxcode=null,
        /** @var bool|null */
        public ?bool $ira_accounttype=null,
        /** @var bool|null */
        public ?bool $ira_acctnumber=null,
        /** @var bool|null */
        public ?bool $ira_inception=null,
        /** @var bool|null */
        public ?bool $ira_currentvalue=null,
        /** @var bool|null */
        public ?bool $ira_monthlycontrib=null,
        /** @var bool|null */
        public ?bool $ira_surrcharge=null,
        /** @var bool|null */
        public ?bool $ira_surrvalue=null,
        /** @var bool|null */
        public ?bool $ira_totalfees=null,
        /** @var bool|null */
        public ?bool $ira_tpaok=null,
        /** @var bool|null */
        public ?bool $ira_addlformsreq=null,
        /** @var bool|null */
        public ?bool $ira_sigreq=null,
        /** @var bool|null */
        public ?bool $ira_outstandingloans=null,
        /** @var bool|null */
        public ?bool $ira_originalformsreq=null,
        /** @var bool|null */
        public ?bool $ira_faxaccepted=null,
        /** @var bool|null */
        public ?bool $ira_faxnumber=null,
        /** @var bool|null */
        public ?bool $ira_notes=null,
        /** @var bool|null */
        public ?bool $ira_mailaddr=null,
        /** @var bool|null */
        public ?bool $ira_mailcity=null,
        /** @var bool|null */
        public ?bool $ira_mailstate=null,
        /** @var bool|null */
        public ?bool $ira_mailzip=null,
        /** @var bool|null */
        public ?bool $kcf_name=null,
        /** @var bool|null */
        public ?bool $kcf_dob=null,
        /** @var bool|null */
        public ?bool $kcf_age=null,
        /** @var bool|null */
        public ?bool $kcf_fund=null,
        /** @var bool|null */
        public ?bool $kcf_contribution=null,
        /** @var bool|null */
        public ?bool $kcf_balance=null,
        /** @var bool|null */
        public ?bool $an_notes=null,
        /** @var bool|null */
        public ?bool $cr_name=null,
        /** @var bool|null */
        public ?bool $cr_campus=null,
        /** @var bool|null */
        public ?bool $cr_room=null,
        /** @var bool|null */
        public ?bool $cr_phone=null
    ) {
    }

    /** @throws Exception */
    public function fromMap($o): void {
        if (isset($o['ei_lastName'])) $this->ei_lastName = $o['ei_lastName'];
        if (isset($o['ei_firstname'])) $this->ei_firstname = $o['ei_firstname'];
        if (isset($o['ei_mi'])) $this->ei_mi = $o['ei_mi'];
        if (isset($o['ei_dob'])) $this->ei_dob = $o['ei_dob'];
        if (isset($o['ei_age'])) $this->ei_age = $o['ei_age'];
        if (isset($o['ei_district'])) $this->ei_district = $o['ei_district'];
        if (isset($o['ei_school'])) $this->ei_school = $o['ei_school'];
        if (isset($o['ei_room'])) $this->ei_room = $o['ei_room'];
        if (isset($o['ei_position'])) $this->ei_position = $o['ei_position'];
        if (isset($o['ei_yearswdist'])) $this->ei_yearswdist = $o['ei_yearswdist'];
        if (isset($o['ei_yearswodist'])) $this->ei_yearswodist = $o['ei_yearswodist'];
        if (isset($o['ei_pastocc'])) $this->ei_pastocc = $o['ei_pastocc'];
        if (isset($o['ei_address'])) $this->ei_address = $o['ei_address'];
        if (isset($o['ei_city'])) $this->ei_city = $o['ei_city'];
        if (isset($o['ei_state'])) $this->ei_state = $o['ei_state'];
        if (isset($o['ei_zip'])) $this->ei_zip = $o['ei_zip'];
        if (isset($o['ei_cellphone'])) $this->ei_cellphone = $o['ei_cellphone'];
        if (isset($o['ei_workphone'])) $this->ei_workphone = $o['ei_workphone'];
        if (isset($o['ei_personalemail'])) $this->ei_personalemail = $o['ei_personalemail'];
        if (isset($o['ei_workemail'])) $this->ei_workemail = $o['ei_workemail'];
        if (isset($o['ei_spousename'])) $this->ei_spousename = $o['ei_spousename'];
        if (isset($o['ei_spousedob'])) $this->ei_spousedob = $o['ei_spousedob'];
        if (isset($o['ei_spouseage'])) $this->ei_spouseage = $o['ei_spouseage'];
        if (isset($o['ei_spousecellphone'])) $this->ei_spousecellphone = $o['ei_spousecellphone'];
        if (isset($o['ei_spouseemail'])) $this->ei_spouseemail = $o['ei_spouseemail'];
        if (isset($o['ei_spouseoccupation'])) $this->ei_spouseoccupation = $o['ei_spouseoccupation'];
        if (isset($o['ei_spouseposition'])) $this->ei_spouseposition = $o['ei_spouseposition'];
        if (isset($o['ei_spouseyears'])) $this->ei_spouseyears = $o['ei_spouseyears'];
        if (isset($o['ei_spousepastocc'])) $this->ei_spousepastocc = $o['ei_spousepastocc'];
        if (isset($o['ei_reasonmeeting'])) $this->ei_reasonmeeting = $o['ei_reasonmeeting'];
        if (isset($o['emt_workstatus'])) $this->emt_workstatus = $o['emt_workstatus'];
        if (isset($o['emt_unusedsickdays'])) $this->emt_unusedsickdays = $o['emt_unusedsickdays'];
        if (isset($o['emt_unusedsickhours'])) $this->emt_unusedsickhours = $o['emt_unusedsickhours'];
        if (isset($o['emt_cbsdays'])) $this->emt_cbsdays = $o['emt_cbsdays'];
        if (isset($o['emt_cbshours'])) $this->emt_cbshours = $o['emt_cbshours'];
        if (isset($o['emt_dpw'])) $this->emt_dpw = $o['emt_dpw'];
        if (isset($o['emt_hpw'])) $this->emt_hpw = $o['emt_hpw'];
        if (isset($o['emt_mpy'])) $this->emt_mpy = $o['emt_mpy'];
        if (isset($o['emt_numpretaxchecks'])) $this->emt_numpretaxchecks = $o['emt_numpretaxchecks'];
        if (isset($o['fin_clientgross'])) $this->fin_clientgross = $o['fin_clientgross'];
        if (isset($o['fin_clientnet'])) $this->fin_clientnet = $o['fin_clientnet'];
        if (isset($o['fin_householdgross'])) $this->fin_householdgross = $o['fin_householdgross'];
        if (isset($o['fin_householdnet'])) $this->fin_householdnet = $o['fin_householdnet'];
        if (isset($o['fin_desiredretincome'])) $this->fin_desiredretincome = $o['fin_desiredretincome'];
        if (isset($o['fin_estexpenses'])) $this->fin_estexpenses = $o['fin_estexpenses'];
        if (isset($o['fin_discincome'])) $this->fin_discincome = $o['fin_discincome'];
        if (isset($o['fin_exptype'])) $this->fin_exptype = $o['fin_exptype'];
        if (isset($o['fin_desc'])) $this->fin_desc = $o['fin_desc'];
        if (isset($o['fin_balance'])) $this->fin_balance = $o['fin_balance'];
        if (isset($o['fin_interestrate'])) $this->fin_interestrate = $o['fin_interestrate'];
        if (isset($o['fin_minpayment'])) $this->fin_minpayment = $o['fin_minpayment'];
        if (isset($o['fin_monthlypayment'])) $this->fin_monthlypayment = $o['fin_monthlypayment'];
        if (isset($o['pen_pensystem'])) $this->pen_pensystem = $o['pen_pensystem'];
        if (isset($o['pen_penstart'])) $this->pen_penstart = $o['pen_penstart'];
        if (isset($o['pen_servicecredit'])) $this->pen_servicecredit = $o['pen_servicecredit'];
        if (isset($o['pen_servicecreditasofdate'])) $this->pen_servicecreditasofdate = $o['pen_servicecreditasofdate'];
        if (isset($o['pen_desiredretdate'])) $this->pen_desiredretdate = $o['pen_desiredretdate'];
        if (isset($o['pen_desiredretage'])) $this->pen_desiredretage = $o['pen_desiredretage'];
        if (isset($o['pen_spousalbenefitdesired'])) $this->pen_spousalbenefitdesired = $o['pen_spousalbenefitdesired'];
        if (isset($o['pen_formula'])) $this->pen_formula = $o['pen_formula'];
        if (isset($o['pen_defbalance'])) $this->pen_defbalance = $o['pen_defbalance'];
        if (isset($o['pen_defspousebalance'])) $this->pen_defspousebalance = $o['pen_defspousebalance'];
        if (isset($o['prot_plife'])) $this->prot_plife = $o['prot_plife'];
        if (isset($o['prot_pcarrier'])) $this->prot_pcarrier = $o['prot_pcarrier'];
        if (isset($o['prot_pfaceamount'])) $this->prot_pfaceamount = $o['prot_pfaceamount'];
        if (isset($o['prot_pissuedate'])) $this->prot_pissuedate = $o['prot_pissuedate'];
        if (isset($o['prot_plifepremium'])) $this->prot_plifepremium = $o['prot_plifepremium'];
        if (isset($o['prot_ptype'])) $this->prot_ptype = $o['prot_ptype'];
        if (isset($o['prot_ptypeof'])) $this->prot_ptypeof = $o['prot_ptypeof'];
        if (isset($o['prot_pcashvalue'])) $this->prot_pcashvalue = $o['prot_pcashvalue'];
        if (isset($o['prot_slife'])) $this->prot_slife = $o['prot_slife'];
        if (isset($o['prot_scarrier'])) $this->prot_scarrier = $o['prot_scarrier'];
        if (isset($o['prot_sfaceamount'])) $this->prot_sfaceamount = $o['prot_sfaceamount'];
        if (isset($o['prot_sissuedate'])) $this->prot_sissuedate = $o['prot_sissuedate'];
        if (isset($o['prot_slifepremium'])) $this->prot_slifepremium = $o['prot_slifepremium'];
        if (isset($o['prot_stype'])) $this->prot_stype = $o['prot_stype'];
        if (isset($o['prot_stypeof'])) $this->prot_stypeof = $o['prot_stypeof'];
        if (isset($o['prot_scashvalue'])) $this->prot_scashvalue = $o['prot_scashvalue'];
        if (isset($o['prot_pltc'])) $this->prot_pltc = $o['prot_pltc'];
        if (isset($o['prot_pltcpremium'])) $this->prot_pltcpremium = $o['prot_pltcpremium'];
        if (isset($o['prot_pdisability'])) $this->prot_pdisability = $o['prot_pdisability'];
        if (isset($o['prot_pdisabilitypremium'])) $this->prot_pdisabilitypremium = $o['prot_pdisabilitypremium'];
        if (isset($o['prot_sltc'])) $this->prot_sltc = $o['prot_sltc'];
        if (isset($o['prot_sltcpremium'])) $this->prot_sltcpremium = $o['prot_sltcpremium'];
        if (isset($o['prot_sdisability'])) $this->prot_sdisability = $o['prot_sdisability'];
        if (isset($o['prot_sdisabilitypremium'])) $this->prot_sdisabilitypremium = $o['prot_sdisabilitypremium'];
        if (isset($o['efi_monthlycontrib'])) $this->efi_monthlycontrib = $o['efi_monthlycontrib'];
        if (isset($o['efi_fundbalance'])) $this->efi_fundbalance = $o['efi_fundbalance'];
        if (isset($o['efi_isthreetosixmonths'])) $this->efi_isthreetosixmonths = $o['efi_isthreetosixmonths'];
        if (isset($o['lta_haveretiresavings'])) $this->lta_haveretiresavings = $o['lta_haveretiresavings'];
        if (isset($o['lta_priorretireplan'])) $this->lta_priorretireplan = $o['lta_priorretireplan'];
        if (isset($o['lta_havedistplan'])) $this->lta_havedistplan = $o['lta_havedistplan'];
        if (isset($o['lta_plantype'])) $this->lta_plantype = $o['lta_plantype'];
        if (isset($o['lta_company'])) $this->lta_company = $o['lta_company'];
        if (isset($o['lta_contrib'])) $this->lta_contrib = $o['lta_contrib'];
        if (isset($o['lta_balance'])) $this->lta_balance = $o['lta_balance'];
        if (isset($o['ira_acctowner'])) $this->ira_acctowner = $o['ira_acctowner'];
        if (isset($o['ira_company'])) $this->ira_company = $o['ira_company'];
        if (isset($o['ira_taxcode'])) $this->ira_taxcode = $o['ira_taxcode'];
        if (isset($o['ira_accounttype'])) $this->ira_accounttype = $o['ira_accounttype'];
        if (isset($o['ira_acctnumber'])) $this->ira_acctnumber = $o['ira_acctnumber'];
        if (isset($o['ira_inception'])) $this->ira_inception = $o['ira_inception'];
        if (isset($o['ira_currentvalue'])) $this->ira_currentvalue = $o['ira_currentvalue'];
        if (isset($o['ira_monthlycontrib'])) $this->ira_monthlycontrib = $o['ira_monthlycontrib'];
        if (isset($o['ira_surrcharge'])) $this->ira_surrcharge = $o['ira_surrcharge'];
        if (isset($o['ira_surrvalue'])) $this->ira_surrvalue = $o['ira_surrvalue'];
        if (isset($o['ira_totalfees'])) $this->ira_totalfees = $o['ira_totalfees'];
        if (isset($o['ira_tpaok'])) $this->ira_tpaok = $o['ira_tpaok'];
        if (isset($o['ira_addlformsreq'])) $this->ira_addlformsreq = $o['ira_addlformsreq'];
        if (isset($o['ira_sigreq'])) $this->ira_sigreq = $o['ira_sigreq'];
        if (isset($o['ira_outstandingloans'])) $this->ira_outstandingloans = $o['ira_outstandingloans'];
        if (isset($o['ira_originalformsreq'])) $this->ira_originalformsreq = $o['ira_originalformsreq'];
        if (isset($o['ira_faxaccepted'])) $this->ira_faxaccepted = $o['ira_faxaccepted'];
        if (isset($o['ira_faxnumber'])) $this->ira_faxnumber = $o['ira_faxnumber'];
        if (isset($o['ira_notes'])) $this->ira_notes = $o['ira_notes'];
        if (isset($o['ira_mailaddr'])) $this->ira_mailaddr = $o['ira_mailaddr'];
        if (isset($o['ira_mailcity'])) $this->ira_mailcity = $o['ira_mailcity'];
        if (isset($o['ira_mailstate'])) $this->ira_mailstate = $o['ira_mailstate'];
        if (isset($o['ira_mailzip'])) $this->ira_mailzip = $o['ira_mailzip'];
        if (isset($o['kcf_name'])) $this->kcf_name = $o['kcf_name'];
        if (isset($o['kcf_dob'])) $this->kcf_dob = $o['kcf_dob'];
        if (isset($o['kcf_age'])) $this->kcf_age = $o['kcf_age'];
        if (isset($o['kcf_fund'])) $this->kcf_fund = $o['kcf_fund'];
        if (isset($o['kcf_contribution'])) $this->kcf_contribution = $o['kcf_contribution'];
        if (isset($o['kcf_balance'])) $this->kcf_balance = $o['kcf_balance'];
        if (isset($o['an_notes'])) $this->an_notes = $o['an_notes'];
        if (isset($o['cr_name'])) $this->cr_name = $o['cr_name'];
        if (isset($o['cr_campus'])) $this->cr_campus = $o['cr_campus'];
        if (isset($o['cr_room'])) $this->cr_room = $o['cr_room'];
        if (isset($o['cr_phone'])) $this->cr_phone = $o['cr_phone'];
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = [];
        if (isset($this->ei_lastName)) $o['ei_lastName'] = $this->ei_lastName;
        if (isset($this->ei_firstname)) $o['ei_firstname'] = $this->ei_firstname;
        if (isset($this->ei_mi)) $o['ei_mi'] = $this->ei_mi;
        if (isset($this->ei_dob)) $o['ei_dob'] = $this->ei_dob;
        if (isset($this->ei_age)) $o['ei_age'] = $this->ei_age;
        if (isset($this->ei_district)) $o['ei_district'] = $this->ei_district;
        if (isset($this->ei_school)) $o['ei_school'] = $this->ei_school;
        if (isset($this->ei_room)) $o['ei_room'] = $this->ei_room;
        if (isset($this->ei_position)) $o['ei_position'] = $this->ei_position;
        if (isset($this->ei_yearswdist)) $o['ei_yearswdist'] = $this->ei_yearswdist;
        if (isset($this->ei_yearswodist)) $o['ei_yearswodist'] = $this->ei_yearswodist;
        if (isset($this->ei_pastocc)) $o['ei_pastocc'] = $this->ei_pastocc;
        if (isset($this->ei_address)) $o['ei_address'] = $this->ei_address;
        if (isset($this->ei_city)) $o['ei_city'] = $this->ei_city;
        if (isset($this->ei_state)) $o['ei_state'] = $this->ei_state;
        if (isset($this->ei_zip)) $o['ei_zip'] = $this->ei_zip;
        if (isset($this->ei_cellphone)) $o['ei_cellphone'] = $this->ei_cellphone;
        if (isset($this->ei_workphone)) $o['ei_workphone'] = $this->ei_workphone;
        if (isset($this->ei_personalemail)) $o['ei_personalemail'] = $this->ei_personalemail;
        if (isset($this->ei_workemail)) $o['ei_workemail'] = $this->ei_workemail;
        if (isset($this->ei_spousename)) $o['ei_spousename'] = $this->ei_spousename;
        if (isset($this->ei_spousedob)) $o['ei_spousedob'] = $this->ei_spousedob;
        if (isset($this->ei_spouseage)) $o['ei_spouseage'] = $this->ei_spouseage;
        if (isset($this->ei_spousecellphone)) $o['ei_spousecellphone'] = $this->ei_spousecellphone;
        if (isset($this->ei_spouseemail)) $o['ei_spouseemail'] = $this->ei_spouseemail;
        if (isset($this->ei_spouseoccupation)) $o['ei_spouseoccupation'] = $this->ei_spouseoccupation;
        if (isset($this->ei_spouseposition)) $o['ei_spouseposition'] = $this->ei_spouseposition;
        if (isset($this->ei_spouseyears)) $o['ei_spouseyears'] = $this->ei_spouseyears;
        if (isset($this->ei_spousepastocc)) $o['ei_spousepastocc'] = $this->ei_spousepastocc;
        if (isset($this->ei_reasonmeeting)) $o['ei_reasonmeeting'] = $this->ei_reasonmeeting;
        if (isset($this->emt_workstatus)) $o['emt_workstatus'] = $this->emt_workstatus;
        if (isset($this->emt_unusedsickdays)) $o['emt_unusedsickdays'] = $this->emt_unusedsickdays;
        if (isset($this->emt_unusedsickhours)) $o['emt_unusedsickhours'] = $this->emt_unusedsickhours;
        if (isset($this->emt_cbsdays)) $o['emt_cbsdays'] = $this->emt_cbsdays;
        if (isset($this->emt_cbshours)) $o['emt_cbshours'] = $this->emt_cbshours;
        if (isset($this->emt_dpw)) $o['emt_dpw'] = $this->emt_dpw;
        if (isset($this->emt_hpw)) $o['emt_hpw'] = $this->emt_hpw;
        if (isset($this->emt_mpy)) $o['emt_mpy'] = $this->emt_mpy;
        if (isset($this->emt_numpretaxchecks)) $o['emt_numpretaxchecks'] = $this->emt_numpretaxchecks;
        if (isset($this->fin_clientgross)) $o['fin_clientgross'] = $this->fin_clientgross;
        if (isset($this->fin_clientnet)) $o['fin_clientnet'] = $this->fin_clientnet;
        if (isset($this->fin_householdgross)) $o['fin_householdgross'] = $this->fin_householdgross;
        if (isset($this->fin_householdnet)) $o['fin_householdnet'] = $this->fin_householdnet;
        if (isset($this->fin_desiredretincome)) $o['fin_desiredretincome'] = $this->fin_desiredretincome;
        if (isset($this->fin_estexpenses)) $o['fin_estexpenses'] = $this->fin_estexpenses;
        if (isset($this->fin_discincome)) $o['fin_discincome'] = $this->fin_discincome;
        if (isset($this->fin_exptype)) $o['fin_exptype'] = $this->fin_exptype;
        if (isset($this->fin_desc)) $o['fin_desc'] = $this->fin_desc;
        if (isset($this->fin_balance)) $o['fin_balance'] = $this->fin_balance;
        if (isset($this->fin_interestrate)) $o['fin_interestrate'] = $this->fin_interestrate;
        if (isset($this->fin_minpayment)) $o['fin_minpayment'] = $this->fin_minpayment;
        if (isset($this->fin_monthlypayment)) $o['fin_monthlypayment'] = $this->fin_monthlypayment;
        if (isset($this->pen_pensystem)) $o['pen_pensystem'] = $this->pen_pensystem;
        if (isset($this->pen_penstart)) $o['pen_penstart'] = $this->pen_penstart;
        if (isset($this->pen_servicecredit)) $o['pen_servicecredit'] = $this->pen_servicecredit;
        if (isset($this->pen_servicecreditasofdate)) $o['pen_servicecreditasofdate'] = $this->pen_servicecreditasofdate;
        if (isset($this->pen_desiredretdate)) $o['pen_desiredretdate'] = $this->pen_desiredretdate;
        if (isset($this->pen_desiredretage)) $o['pen_desiredretage'] = $this->pen_desiredretage;
        if (isset($this->pen_spousalbenefitdesired)) $o['pen_spousalbenefitdesired'] = $this->pen_spousalbenefitdesired;
        if (isset($this->pen_formula)) $o['pen_formula'] = $this->pen_formula;
        if (isset($this->pen_defbalance)) $o['pen_defbalance'] = $this->pen_defbalance;
        if (isset($this->pen_defspousebalance)) $o['pen_defspousebalance'] = $this->pen_defspousebalance;
        if (isset($this->prot_plife)) $o['prot_plife'] = $this->prot_plife;
        if (isset($this->prot_pcarrier)) $o['prot_pcarrier'] = $this->prot_pcarrier;
        if (isset($this->prot_pfaceamount)) $o['prot_pfaceamount'] = $this->prot_pfaceamount;
        if (isset($this->prot_pissuedate)) $o['prot_pissuedate'] = $this->prot_pissuedate;
        if (isset($this->prot_plifepremium)) $o['prot_plifepremium'] = $this->prot_plifepremium;
        if (isset($this->prot_ptype)) $o['prot_ptype'] = $this->prot_ptype;
        if (isset($this->prot_ptypeof)) $o['prot_ptypeof'] = $this->prot_ptypeof;
        if (isset($this->prot_pcashvalue)) $o['prot_pcashvalue'] = $this->prot_pcashvalue;
        if (isset($this->prot_slife)) $o['prot_slife'] = $this->prot_slife;
        if (isset($this->prot_scarrier)) $o['prot_scarrier'] = $this->prot_scarrier;
        if (isset($this->prot_sfaceamount)) $o['prot_sfaceamount'] = $this->prot_sfaceamount;
        if (isset($this->prot_sissuedate)) $o['prot_sissuedate'] = $this->prot_sissuedate;
        if (isset($this->prot_slifepremium)) $o['prot_slifepremium'] = $this->prot_slifepremium;
        if (isset($this->prot_stype)) $o['prot_stype'] = $this->prot_stype;
        if (isset($this->prot_stypeof)) $o['prot_stypeof'] = $this->prot_stypeof;
        if (isset($this->prot_scashvalue)) $o['prot_scashvalue'] = $this->prot_scashvalue;
        if (isset($this->prot_pltc)) $o['prot_pltc'] = $this->prot_pltc;
        if (isset($this->prot_pltcpremium)) $o['prot_pltcpremium'] = $this->prot_pltcpremium;
        if (isset($this->prot_pdisability)) $o['prot_pdisability'] = $this->prot_pdisability;
        if (isset($this->prot_pdisabilitypremium)) $o['prot_pdisabilitypremium'] = $this->prot_pdisabilitypremium;
        if (isset($this->prot_sltc)) $o['prot_sltc'] = $this->prot_sltc;
        if (isset($this->prot_sltcpremium)) $o['prot_sltcpremium'] = $this->prot_sltcpremium;
        if (isset($this->prot_sdisability)) $o['prot_sdisability'] = $this->prot_sdisability;
        if (isset($this->prot_sdisabilitypremium)) $o['prot_sdisabilitypremium'] = $this->prot_sdisabilitypremium;
        if (isset($this->efi_monthlycontrib)) $o['efi_monthlycontrib'] = $this->efi_monthlycontrib;
        if (isset($this->efi_fundbalance)) $o['efi_fundbalance'] = $this->efi_fundbalance;
        if (isset($this->efi_isthreetosixmonths)) $o['efi_isthreetosixmonths'] = $this->efi_isthreetosixmonths;
        if (isset($this->lta_haveretiresavings)) $o['lta_haveretiresavings'] = $this->lta_haveretiresavings;
        if (isset($this->lta_priorretireplan)) $o['lta_priorretireplan'] = $this->lta_priorretireplan;
        if (isset($this->lta_havedistplan)) $o['lta_havedistplan'] = $this->lta_havedistplan;
        if (isset($this->lta_plantype)) $o['lta_plantype'] = $this->lta_plantype;
        if (isset($this->lta_company)) $o['lta_company'] = $this->lta_company;
        if (isset($this->lta_contrib)) $o['lta_contrib'] = $this->lta_contrib;
        if (isset($this->lta_balance)) $o['lta_balance'] = $this->lta_balance;
        if (isset($this->ira_acctowner)) $o['ira_acctowner'] = $this->ira_acctowner;
        if (isset($this->ira_company)) $o['ira_company'] = $this->ira_company;
        if (isset($this->ira_taxcode)) $o['ira_taxcode'] = $this->ira_taxcode;
        if (isset($this->ira_accounttype)) $o['ira_accounttype'] = $this->ira_accounttype;
        if (isset($this->ira_acctnumber)) $o['ira_acctnumber'] = $this->ira_acctnumber;
        if (isset($this->ira_inception)) $o['ira_inception'] = $this->ira_inception;
        if (isset($this->ira_currentvalue)) $o['ira_currentvalue'] = $this->ira_currentvalue;
        if (isset($this->ira_monthlycontrib)) $o['ira_monthlycontrib'] = $this->ira_monthlycontrib;
        if (isset($this->ira_surrcharge)) $o['ira_surrcharge'] = $this->ira_surrcharge;
        if (isset($this->ira_surrvalue)) $o['ira_surrvalue'] = $this->ira_surrvalue;
        if (isset($this->ira_totalfees)) $o['ira_totalfees'] = $this->ira_totalfees;
        if (isset($this->ira_tpaok)) $o['ira_tpaok'] = $this->ira_tpaok;
        if (isset($this->ira_addlformsreq)) $o['ira_addlformsreq'] = $this->ira_addlformsreq;
        if (isset($this->ira_sigreq)) $o['ira_sigreq'] = $this->ira_sigreq;
        if (isset($this->ira_outstandingloans)) $o['ira_outstandingloans'] = $this->ira_outstandingloans;
        if (isset($this->ira_originalformsreq)) $o['ira_originalformsreq'] = $this->ira_originalformsreq;
        if (isset($this->ira_faxaccepted)) $o['ira_faxaccepted'] = $this->ira_faxaccepted;
        if (isset($this->ira_faxnumber)) $o['ira_faxnumber'] = $this->ira_faxnumber;
        if (isset($this->ira_notes)) $o['ira_notes'] = $this->ira_notes;
        if (isset($this->ira_mailaddr)) $o['ira_mailaddr'] = $this->ira_mailaddr;
        if (isset($this->ira_mailcity)) $o['ira_mailcity'] = $this->ira_mailcity;
        if (isset($this->ira_mailstate)) $o['ira_mailstate'] = $this->ira_mailstate;
        if (isset($this->ira_mailzip)) $o['ira_mailzip'] = $this->ira_mailzip;
        if (isset($this->kcf_name)) $o['kcf_name'] = $this->kcf_name;
        if (isset($this->kcf_dob)) $o['kcf_dob'] = $this->kcf_dob;
        if (isset($this->kcf_age)) $o['kcf_age'] = $this->kcf_age;
        if (isset($this->kcf_fund)) $o['kcf_fund'] = $this->kcf_fund;
        if (isset($this->kcf_contribution)) $o['kcf_contribution'] = $this->kcf_contribution;
        if (isset($this->kcf_balance)) $o['kcf_balance'] = $this->kcf_balance;
        if (isset($this->an_notes)) $o['an_notes'] = $this->an_notes;
        if (isset($this->cr_name)) $o['cr_name'] = $this->cr_name;
        if (isset($this->cr_campus)) $o['cr_campus'] = $this->cr_campus;
        if (isset($this->cr_room)) $o['cr_room'] = $this->cr_room;
        if (isset($this->cr_phone)) $o['cr_phone'] = $this->cr_phone;
        return empty($o) ? new class(){} : $o;
    }
}

class FactFinderConfigRequest implements JsonSerializable
{
    public function __construct(
        /** @var FactFinderConfig|null */
        public ?FactFinderConfig $Config=null
    ) {
    }

    /** @throws Exception */
    public function fromMap($o): void {
        if (isset($o['Config'])) $this->Config = JsonConverters::from('FactFinderConfig', $o['Config']);
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = [];
        if (isset($this->Config)) $o['Config'] = JsonConverters::to('FactFinderConfig', $this->Config);
        return empty($o) ? new class(){} : $o;
    }
}

PHP FactFinderConfigRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/FactFinderConfig HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<FactFinderConfigRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <Config>
    <an_notes>false</an_notes>
    <cr_campus>false</cr_campus>
    <cr_name>false</cr_name>
    <cr_phone>false</cr_phone>
    <cr_room>false</cr_room>
    <efi_fundbalance>false</efi_fundbalance>
    <efi_isthreetosixmonths>false</efi_isthreetosixmonths>
    <efi_monthlycontrib>false</efi_monthlycontrib>
    <ei_address>false</ei_address>
    <ei_age>false</ei_age>
    <ei_cellphone>false</ei_cellphone>
    <ei_city>false</ei_city>
    <ei_district>false</ei_district>
    <ei_dob>false</ei_dob>
    <ei_firstname>false</ei_firstname>
    <ei_lastName>false</ei_lastName>
    <ei_mi>false</ei_mi>
    <ei_pastocc>false</ei_pastocc>
    <ei_personalemail>false</ei_personalemail>
    <ei_position>false</ei_position>
    <ei_reasonmeeting>false</ei_reasonmeeting>
    <ei_room>false</ei_room>
    <ei_school>false</ei_school>
    <ei_spouseage>false</ei_spouseage>
    <ei_spousecellphone>false</ei_spousecellphone>
    <ei_spousedob>false</ei_spousedob>
    <ei_spouseemail>false</ei_spouseemail>
    <ei_spousename>false</ei_spousename>
    <ei_spouseoccupation>false</ei_spouseoccupation>
    <ei_spousepastocc>false</ei_spousepastocc>
    <ei_spouseposition>false</ei_spouseposition>
    <ei_spouseyears>false</ei_spouseyears>
    <ei_state>false</ei_state>
    <ei_workemail>false</ei_workemail>
    <ei_workphone>false</ei_workphone>
    <ei_yearswdist>false</ei_yearswdist>
    <ei_yearswodist>false</ei_yearswodist>
    <ei_zip>false</ei_zip>
    <emt_cbsdays>false</emt_cbsdays>
    <emt_cbshours>false</emt_cbshours>
    <emt_dpw>false</emt_dpw>
    <emt_hpw>false</emt_hpw>
    <emt_mpy>false</emt_mpy>
    <emt_numpretaxchecks>false</emt_numpretaxchecks>
    <emt_unusedsickdays>false</emt_unusedsickdays>
    <emt_unusedsickhours>false</emt_unusedsickhours>
    <emt_workstatus>false</emt_workstatus>
    <fin_balance>false</fin_balance>
    <fin_clientgross>false</fin_clientgross>
    <fin_clientnet>false</fin_clientnet>
    <fin_desc>false</fin_desc>
    <fin_desiredretincome>false</fin_desiredretincome>
    <fin_discincome>false</fin_discincome>
    <fin_estexpenses>false</fin_estexpenses>
    <fin_exptype>false</fin_exptype>
    <fin_householdgross>false</fin_householdgross>
    <fin_householdnet>false</fin_householdnet>
    <fin_interestrate>false</fin_interestrate>
    <fin_minpayment>false</fin_minpayment>
    <fin_monthlypayment>false</fin_monthlypayment>
    <ira_accounttype>false</ira_accounttype>
    <ira_acctnumber>false</ira_acctnumber>
    <ira_acctowner>false</ira_acctowner>
    <ira_addlformsreq>false</ira_addlformsreq>
    <ira_company>false</ira_company>
    <ira_currentvalue>false</ira_currentvalue>
    <ira_faxaccepted>false</ira_faxaccepted>
    <ira_faxnumber>false</ira_faxnumber>
    <ira_inception>false</ira_inception>
    <ira_mailaddr>false</ira_mailaddr>
    <ira_mailcity>false</ira_mailcity>
    <ira_mailstate>false</ira_mailstate>
    <ira_mailzip>false</ira_mailzip>
    <ira_monthlycontrib>false</ira_monthlycontrib>
    <ira_notes>false</ira_notes>
    <ira_originalformsreq>false</ira_originalformsreq>
    <ira_outstandingloans>false</ira_outstandingloans>
    <ira_sigreq>false</ira_sigreq>
    <ira_surrcharge>false</ira_surrcharge>
    <ira_surrvalue>false</ira_surrvalue>
    <ira_taxcode>false</ira_taxcode>
    <ira_totalfees>false</ira_totalfees>
    <ira_tpaok>false</ira_tpaok>
    <kcf_age>false</kcf_age>
    <kcf_balance>false</kcf_balance>
    <kcf_contribution>false</kcf_contribution>
    <kcf_dob>false</kcf_dob>
    <kcf_fund>false</kcf_fund>
    <kcf_name>false</kcf_name>
    <lta_balance>false</lta_balance>
    <lta_company>false</lta_company>
    <lta_contrib>false</lta_contrib>
    <lta_havedistplan>false</lta_havedistplan>
    <lta_haveretiresavings>false</lta_haveretiresavings>
    <lta_plantype>false</lta_plantype>
    <lta_priorretireplan>false</lta_priorretireplan>
    <pen_defbalance>false</pen_defbalance>
    <pen_defspousebalance>false</pen_defspousebalance>
    <pen_desiredretage>false</pen_desiredretage>
    <pen_desiredretdate>false</pen_desiredretdate>
    <pen_formula>false</pen_formula>
    <pen_penstart>false</pen_penstart>
    <pen_pensystem>false</pen_pensystem>
    <pen_servicecredit>false</pen_servicecredit>
    <pen_servicecreditasofdate>false</pen_servicecreditasofdate>
    <pen_spousalbenefitdesired>false</pen_spousalbenefitdesired>
    <prot_pcarrier>false</prot_pcarrier>
    <prot_pcashvalue>false</prot_pcashvalue>
    <prot_pdisability>false</prot_pdisability>
    <prot_pdisabilitypremium>false</prot_pdisabilitypremium>
    <prot_pfaceamount>false</prot_pfaceamount>
    <prot_pissuedate>false</prot_pissuedate>
    <prot_plife>false</prot_plife>
    <prot_plifepremium>false</prot_plifepremium>
    <prot_pltc>false</prot_pltc>
    <prot_pltcpremium>false</prot_pltcpremium>
    <prot_ptype>false</prot_ptype>
    <prot_ptypeof>false</prot_ptypeof>
    <prot_scarrier>false</prot_scarrier>
    <prot_scashvalue>false</prot_scashvalue>
    <prot_sdisability>false</prot_sdisability>
    <prot_sdisabilitypremium>false</prot_sdisabilitypremium>
    <prot_sfaceamount>false</prot_sfaceamount>
    <prot_sissuedate>false</prot_sissuedate>
    <prot_slife>false</prot_slife>
    <prot_slifepremium>false</prot_slifepremium>
    <prot_sltc>false</prot_sltc>
    <prot_sltcpremium>false</prot_sltcpremium>
    <prot_stype>false</prot_stype>
    <prot_stypeof>false</prot_stypeof>
  </Config>
</FactFinderConfigRequest>