/**
  * @param $result
  * @throws \Exception
  */
 public function __construct($result)
 {
     if (QuickAddress::check_soap($result) != NULL && ($tPicklist = $result->QAPicklist) != NULL) {
         $this->iTotal = $tPicklist->Total;
         $this->sPrompt = $tPicklist->Prompt;
         $this->sPicklistMoniker = $tPicklist->FullPicklistMoniker;
         $this->isTimeout = $tPicklist->Timeout;
         $this->isMaxMatches = $tPicklist->MaxMatches;
         $this->bOverThreshold = $tPicklist->OverThreshold;
         $this->bLargePotential = $tPicklist->LargePotential;
         $this->bMoreOtherMatches = $tPicklist->MoreOtherMatches;
         $this->bAutoStepinSafe = $tPicklist->AutoStepinSafe;
         $this->bAutoStepinPastClose = $tPicklist->AutoStepinPastClose;
         $this->bAutoFormatSafe = $tPicklist->AutoFormatSafe;
         $this->bAutoFormatPastClose = $tPicklist->AutoFormatPastClose;
         if (!isset($tPicklist->PicklistEntry)) {
             $this->atItems = array();
         } elseif (is_array($tPicklist->PicklistEntry)) {
             $this->atItems = $tPicklist->PicklistEntry;
         } else {
             $this->atItems = array($tPicklist->PicklistEntry);
         }
     }
 }
 /**
  * @param $result
  * @throws \Exception
  */
 public function __construct($result)
 {
     if (QuickAddress::check_soap($result) != NULL) {
         parent::__construct($result->QAAddress);
     }
 }