<?php
/**
 * CommitTaxResult.class.php
 */

/**
 * Result data returned from {@link TaxServiceSoap#commitTax}.
 * @see CommitTaxRequest
 * 
 * @author    Avalara
 * @copyright © 2004 - 2011 Avalara, Inc.  All rights reserved.
 * @package   Tax
 */

class CommitTaxResult //extends BaseResult
{   
		
		
// BaseResult innards - workaround a bug in SoapClient

/**
 * @var string
 */
    private $TransactionId;
	
	private $DocId;
/**
 * @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; }
	
	public function getDocId() { return $this->DocId;}
/**
 * Accessor
 * @return string
 */
    public function getResultCode() { return $this->ResultCode; }
/**
 * Accessor
 * @return array
 */
    public function getMessages() { return EnsureIsArray($this->Messages->Message); }


}

?>