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