* *
  • AvailableBalance: Amazon_FPS_Model_Amount
  • *
  • PendingOutBalance: Amazon_FPS_Model_Amount
  • * * */ class Amazon_FPS_Model_DebtBalance extends Amazon_FPS_Model { /** * Construct new Amazon_FPS_Model_DebtBalance * * @param mixed $data DOMElement or Associative Array to construct from. * * Valid properties: * */ public function __construct($data = null) { $this->_fields = array ( 'AvailableBalance' => array('FieldValue' => null, 'FieldType' => 'Amazon_FPS_Model_Amount'), 'PendingOutBalance' => array('FieldValue' => null, 'FieldType' => 'Amazon_FPS_Model_Amount'), ); parent::__construct($data); } /** * Gets the value of the AvailableBalance. * * @return Amount AvailableBalance */ public function getAvailableBalance() { return $this->_fields['AvailableBalance']['FieldValue']; } /** * Sets the value of the AvailableBalance. * * @param Amount AvailableBalance * @return void */ public function setAvailableBalance($value) { $this->_fields['AvailableBalance']['FieldValue'] = $value; return; } /** * Sets the value of the AvailableBalance and returns this instance * * @param Amount $value AvailableBalance * @return Amazon_FPS_Model_DebtBalance instance */ public function withAvailableBalance($value) { $this->setAvailableBalance($value); return $this; } /** * Checks if AvailableBalance is set * * @return bool true if AvailableBalance property is set */ public function isSetAvailableBalance() { return !is_null($this->_fields['AvailableBalance']['FieldValue']); } /** * Gets the value of the PendingOutBalance. * * @return Amount PendingOutBalance */ public function getPendingOutBalance() { return $this->_fields['PendingOutBalance']['FieldValue']; } /** * Sets the value of the PendingOutBalance. * * @param Amount PendingOutBalance * @return void */ public function setPendingOutBalance($value) { $this->_fields['PendingOutBalance']['FieldValue'] = $value; return; } /** * Sets the value of the PendingOutBalance and returns this instance * * @param Amount $value PendingOutBalance * @return Amazon_FPS_Model_DebtBalance instance */ public function withPendingOutBalance($value) { $this->setPendingOutBalance($value); return $this; } /** * Checks if PendingOutBalance is set * * @return bool true if PendingOutBalance property is set */ public function isSetPendingOutBalance() { return !is_null($this->_fields['PendingOutBalance']['FieldValue']); } }