* *
  • TransactionId: string
  • *
  • Description: string
  • *
  • OverrideIPNURL: string
  • * * */ class Amazon_FPS_Model_CancelRequest extends Amazon_FPS_Model { /** * Construct new Amazon_FPS_Model_CancelRequest * * @param mixed $data DOMElement or Associative Array to construct from. * * Valid properties: * */ public function __construct($data = null) { $this->_fields = array ( 'TransactionId' => array('FieldValue' => null, 'FieldType' => 'string'), 'Description' => array('FieldValue' => null, 'FieldType' => 'string'), 'OverrideIPNURL' => array('FieldValue' => null, 'FieldType' => 'string'), ); parent::__construct($data); } /** * Gets the value of the TransactionId property. * * @return string TransactionId */ public function getTransactionId() { return $this->_fields['TransactionId']['FieldValue']; } /** * Sets the value of the TransactionId property. * * @param string TransactionId * @return this instance */ public function setTransactionId($value) { $this->_fields['TransactionId']['FieldValue'] = $value; return $this; } /** * Sets the value of the TransactionId and returns this instance * * @param string $value TransactionId * @return Amazon_FPS_Model_CancelRequest instance */ public function withTransactionId($value) { $this->setTransactionId($value); return $this; } /** * Checks if TransactionId is set * * @return bool true if TransactionId is set */ public function isSetTransactionId() { return !is_null($this->_fields['TransactionId']['FieldValue']); } /** * Gets the value of the Description property. * * @return string Description */ public function getDescription() { return $this->_fields['Description']['FieldValue']; } /** * Sets the value of the Description property. * * @param string Description * @return this instance */ public function setDescription($value) { $this->_fields['Description']['FieldValue'] = $value; return $this; } /** * Sets the value of the Description and returns this instance * * @param string $value Description * @return Amazon_FPS_Model_CancelRequest instance */ public function withDescription($value) { $this->setDescription($value); return $this; } /** * Checks if Description is set * * @return bool true if Description is set */ public function isSetDescription() { return !is_null($this->_fields['Description']['FieldValue']); } /** * Gets the value of the OverrideIPNURL property. * * @return string OverrideIPNURL */ public function getOverrideIPNURL() { return $this->_fields['OverrideIPNURL']['FieldValue']; } /** * Sets the value of the OverrideIPNURL property. * * @param string OverrideIPNURL * @return this instance */ public function setOverrideIPNURL($value) { $this->_fields['OverrideIPNURL']['FieldValue'] = $value; return $this; } /** * Sets the value of the OverrideIPNURL and returns this instance * * @param string $value OverrideIPNURL * @return Amazon_FPS_Model_CancelRequest instance */ public function withOverrideIPNURL($value) { $this->setOverrideIPNURL($value); return $this; } /** * Checks if OverrideIPNURL is set * * @return bool true if OverrideIPNURL is set */ public function isSetOverrideIPNURL() { return !is_null($this->_fields['OverrideIPNURL']['FieldValue']); } }