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