*
*
ReportRequestInfo: MarketplaceWebService_Model_ReportRequestInfo
*
*
*/
class MarketplaceWebService_Model_RequestReportResult extends MarketplaceWebService_Model
{
/**
* Construct new MarketplaceWebService_Model_RequestReportResult
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
*
*
* - ReportRequestInfo: MarketplaceWebService_Model_ReportRequestInfo
*
*
*/
public function __construct($data = null)
{
$this->fields = array (
'ReportRequestInfo' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_ReportRequestInfo'),
);
parent::__construct($data);
}
/**
* Gets the value of the ReportRequestInfo.
*
* @return ReportRequestInfo ReportRequestInfo
*/
public function getReportRequestInfo()
{
return $this->fields['ReportRequestInfo']['FieldValue'];
}
/**
* Sets the value of the ReportRequestInfo.
*
* @param ReportRequestInfo ReportRequestInfo
* @return void
*/
public function setReportRequestInfo($value)
{
$this->fields['ReportRequestInfo']['FieldValue'] = $value;
return;
}
/**
* Sets the value of the ReportRequestInfo and returns this instance
*
* @param ReportRequestInfo $value ReportRequestInfo
* @return MarketplaceWebService_Model_RequestReportResult instance
*/
public function withReportRequestInfo($value)
{
$this->setReportRequestInfo($value);
return $this;
}
/**
* Checks if ReportRequestInfo is set
*
* @return bool true if ReportRequestInfo property is set
*/
public function isSetReportRequestInfo()
{
return !is_null($this->fields['ReportRequestInfo']['FieldValue']);
}
}