*
*
AccountBalance: Amazon_FPS_Model_AccountBalance
*
*
*/
class Amazon_FPS_Model_GetAccountBalanceResult extends Amazon_FPS_Model
{
/**
* Construct new Amazon_FPS_Model_GetAccountBalanceResult
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
*
*
* - AccountBalance: Amazon_FPS_Model_AccountBalance
*
*
*/
public function __construct($data = null)
{
$this->_fields = array (
'AccountBalance' => array('FieldValue' => null, 'FieldType' => 'Amazon_FPS_Model_AccountBalance'),
);
parent::__construct($data);
}
/**
* Gets the value of the AccountBalance.
*
* @return AccountBalance AccountBalance
*/
public function getAccountBalance()
{
return $this->_fields['AccountBalance']['FieldValue'];
}
/**
* Sets the value of the AccountBalance.
*
* @param AccountBalance AccountBalance
* @return void
*/
public function setAccountBalance($value)
{
$this->_fields['AccountBalance']['FieldValue'] = $value;
return;
}
/**
* Sets the value of the AccountBalance and returns this instance
*
* @param AccountBalance $value AccountBalance
* @return Amazon_FPS_Model_GetAccountBalanceResult instance
*/
public function withAccountBalance($value)
{
$this->setAccountBalance($value);
return $this;
}
/**
* Checks if AccountBalance is set
*
* @return bool true if AccountBalance property is set
*/
public function isSetAccountBalance()
{
return !is_null($this->_fields['AccountBalance']['FieldValue']);
}
}