AAAAhome/academiac/www/plugins/vmcalculation/avalara/classes/SearchTaxHistoryResult.class.php000060400000006171151373123610026060 0ustar00 * If LastDocId was not specified by the {@link ReconcileTaxHistoryRequest}, * then this is the first set of records that need reconciliation. If LastDocId was specified, * the collection represents the next set of records after LastDocId. If the collection is * empty, then all records have been reconciled and the result's LastDocId will be set to the * last record of the last result set. *
* The GetTaxResults are returned in an Axis wrapper {@link ArrayOfGetTaxResult}, which has a * raw GetTaxResult[] array accessible via its {@link ArrayOfGetTaxResult#getGetTaxResult} method. *
     * Example:
     * $result = $taxSvc->reconcileTaxHistory($request);
     * foreach($result->getTaxResults() as $taxResult)
     * {
     *      ...
     * }
     *
     * 
* @see GetTaxResult * @return array */ public function getTaxResults() { return EnsureIsArray($this->GetTaxResults->GetTaxResult); } /** * Indicates the last Document Code ({@link GetTaxResult#getDocId}) the results list. *

* If {@link #getGetTaxResults} is not empty, then this * LastDocId should be passed to the next {@link ReconcileTaxHistoryRequest}. * If {@link #getGetTaxResults} is empty, then this LastDocId can be * passed to {@link ReconcileTaxHistoryRequest} with the request's * {@link ReconcileTaxHistoryRequest#isReconciled} flag * set to true in order to reconcile all documents up to and including the LastDocId. *

* * @see ReconcileTaxHistoryResult * @return string */ public function getLastDocId() { return $this->LastDocId; } // BaseResult innards - work around a bug in SoapClient /** * @var string */ private $TransactionId; /** * @var string must be one of the values defined in {@link SeverityLevel}. */ private $ResultCode = 'Success'; /** * @var array of Message. */ private $Messages = array(); /** * Accessor * @return string */ public function getTransactionId() { return $this->TransactionId; } /** * Accessor * @return string */ public function getResultCode() { return $this->ResultCode; } /** * Accessor * @return array */ public function getMessages() { return EnsureIsArray($this->Messages->Message); } } ?>