AAAAhome/academiac/www/plugins/vmcalculation/avalara/classes/ReconcileTaxHistoryResult.class.php 0000604 00000005637 15137313071 0026563 0 ustar 00
* 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 getGetTaxResults()
{
if(isset($this->GetTaxResults->GetTaxResult))
{
return EnsureIsArray($this->GetTaxResults->GetTaxResult);
}
else
{
return null;
}
}
public function setRecordCount($value){$this->RecordCount=$value;} // int
public function getRecordCount(){return $this->RecordCount;} // int
public function setLastDocCode($value)
{
$this->LastDocCode=$value;
}
public function getLastDocCode()
{
return $this->LastDocCode;
}
// 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); }
}
?>