* *
  • AvailableBalance: Amazon_FPS_Model_Amount
  • *
  • PendingInBalance: Amazon_FPS_Model_Amount
  • * * */ class Amazon_FPS_Model_PrepaidBalance extends Amazon_FPS_Model { /** * Construct new Amazon_FPS_Model_PrepaidBalance * * @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'), 'PendingInBalance' => 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_PrepaidBalance 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 PendingInBalance. * * @return Amount PendingInBalance */ public function getPendingInBalance() { return $this->_fields['PendingInBalance']['FieldValue']; } /** * Sets the value of the PendingInBalance. * * @param Amount PendingInBalance * @return void */ public function setPendingInBalance($value) { $this->_fields['PendingInBalance']['FieldValue'] = $value; return; } /** * Sets the value of the PendingInBalance and returns this instance * * @param Amount $value PendingInBalance * @return Amazon_FPS_Model_PrepaidBalance instance */ public function withPendingInBalance($value) { $this->setPendingInBalance($value); return $this; } /** * Checks if PendingInBalance is set * * @return bool true if PendingInBalance property is set */ public function isSetPendingInBalance() { return !is_null($this->_fields['PendingInBalance']['FieldValue']); } }