public function __construct($data = null)
 {
     $this->fields['Marketplace'] = array('FieldValue' => null, 'FieldType' => 'string');
     $this->fields['Merchant'] = array('FieldValue' => null, 'FieldType' => 'string');
     // TODO might not be available for all request classes
     $this->fields['MarketplaceIdList'] = array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_IdList');
     parent::__construct($data);
 }
 public function __construct($data)
 {
     // TODO test feature
     if (!isset($this->_actionNamespace)) {
         // use last part of class name as default action name.
         $this->_actionNamespace = preg_replace('@^.+(_[a-z0-9]+)$@Si', '\\1', get_class($this));
     }
     return parent::__construct($data);
 }
 public function __construct($data = null)
 {
     self::$DEFAULT_CONTENT_TYPE = new MarketplaceWebService_Model_ContentType(array('ContentType' => 'application/octet-stream'));
     // Here we're setting the content-type field directly to the object, but beware the actual
     // method of construction from associative arrays from the client interface would do something like:
     // $parameters = array ('ContentType' => array('ContentType' => 'application/octet-stream'));
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'MWSAuthToken' => array('FieldValue' => null, 'FieldType' => 'string'), 'MarketplaceIdList' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_IdList'), 'FeedContent' => array('FieldValue' => null, 'FieldType' => 'string'), 'FeedType' => array('FieldValue' => null, 'FieldType' => 'string'), 'PurgeAndReplace' => array('FieldValue' => null, 'FieldType' => 'bool'), 'ContentMd5' => array('FieldValue' => null, 'FieldType' => 'string'), 'ContentType' => array('FieldValue' => self::$DEFAULT_CONTENT_TYPE, 'FieldType' => 'MarketplaceWebService_Model_ContentType'));
     parent::__construct($data);
     if (!is_null($this->fields['ContentType']['FieldValue'])) {
         $this->verifySupportedContentType($this->fields['ContentType']['FieldValue']);
     }
 }
 /**
  * Construct new MarketplaceWebService_Model_UpdateReportAcknowledgementsResult
  *
  * @param mixed $data DOMElement or Associative Array to construct from.
  *
  * Valid properties:
  * <ul>
  *
  * <li>Count: int</li>
  * <li>ReportInfo: MarketplaceWebService_Model_ReportInfo</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Count' => array('FieldValue' => null, 'FieldType' => 'int'), 'ReportInfo' => array('FieldValue' => array(), 'FieldType' => array('MarketplaceWebService_Model_ReportInfo')));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_ReportRequestInfo
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>ReportRequestId: string</li>
  * <li>ReportType: string</li>
  * <li>StartDate: string</li>
  * <li>EndDate: string</li>
  * <li>SubmittedDate: string</li>
  * <li>ReportProcessingStatus: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('ReportRequestId' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReportType' => array('FieldValue' => null, 'FieldType' => 'string'), 'StartDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'EndDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'Scheduled' => array('FieldValue' => null, 'FieldType' => 'bool'), 'SubmittedDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'ReportProcessingStatus' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_CancelReportRequestsRequest
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Marketplace: string</li>
  * <li>Merchant: string</li>
  * <li>ReportRequestIdList: MarketplaceWebService_Model_IdList</li>
  * <li>ReportTypeList: MarketplaceWebService_Model_TypeList</li>
  * <li>ReportProcessingStatusList: MarketplaceWebService_Model_StatusList</li>
  * <li>RequestedFromDate: string</li>
  * <li>RequestedToDate: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReportRequestIdList' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_IdList'), 'ReportTypeList' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_TypeList'), 'ReportProcessingStatusList' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_StatusList'), 'RequestedFromDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'RequestedToDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_GetFeedSubmissionListResult
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>NextToken: string</li>
  * <li>HasNext: bool</li>
  * <li>FeedSubmissionInfo: MarketplaceWebService_Model_FeedSubmissionInfo</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('NextToken' => array('FieldValue' => null, 'FieldType' => 'string'), 'HasNext' => array('FieldValue' => null, 'FieldType' => 'bool'), 'FeedSubmissionInfo' => array('FieldValue' => array(), 'FieldType' => array('MarketplaceWebService_Model_FeedSubmissionInfo')));
     parent::__construct($data);
 }
Exemple #8
0
 /**
  * Construct new MarketplaceWebService_Model_Error
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Type: string</li>
  * <li>Code: string</li>
  * <li>Message: string</li>
  * <li>Detail: MarketplaceWebService_Model_Object</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Type' => array('FieldValue' => null, 'FieldType' => 'string'), 'Code' => array('FieldValue' => null, 'FieldType' => 'string'), 'Message' => array('FieldValue' => null, 'FieldType' => 'string'), 'Detail' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_GetFeedSubmissionCountResult
  *
  * @param mixed $data DOMElement or Associative Array to construct from.
  *
  * Valid properties:
  * <ul>
  *
  * <li>Count: int</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Count' => array('FieldValue' => null, 'FieldType' => 'int'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_GetReportScheduleListRequest
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Marketplace: string</li>
  * <li>Merchant: string</li>
  * <li>ReportTypeList: MarketplaceWebService_Model_TypeList</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'MWSAuthToken' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReportTypeList' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_TypeList'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_ReportInfo
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>ReportId: string</li>
  * <li>ReportType: string</li>
  * <li>ReportRequestId: string</li>
  * <li>AvailableDate: string</li>
  * <li>Acknowledged: bool</li>
  * <li>AcknowledgedDate: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('ReportId' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReportType' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReportRequestId' => array('FieldValue' => null, 'FieldType' => 'string'), 'AvailableDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'Acknowledged' => array('FieldValue' => null, 'FieldType' => 'bool'), 'AcknowledgedDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_GetFeedSubmissionResultRequest
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Marketplace: string</li>
  * <li>Merchant: string</li>
  * <li>FeedSubmissionId: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'FeedSubmissionId' => array('FieldValue' => null, 'FieldType' => 'string'), 'FeedSubmissionResult' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
Exemple #13
0
 /**
  * Construct new MarketplaceWebService_Model_SubmitFeedRequest
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Marketplace: string</li>
  * <li>Merchant: string</li>
  * <li>FeedContent: string</li>
  * <li>FeedType: string</li>
  * <li>PurgeAndReplace: bool</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'FeedContent' => array('FieldValue' => null, 'FieldType' => 'string'), 'FeedType' => array('FieldValue' => null, 'FieldType' => 'string'), 'PurgeAndReplace' => array('FieldValue' => null, 'FieldType' => 'bool'), 'ContentMd5' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_ManageReportScheduleRequest
  *
  * @param mixed $data DOMElement or Associative Array to construct from.
  *
  * Valid properties:
  * <ul>
  *
  * <li>Marketplace: string</li>
  * <li>Merchant: string</li>
  * <li>ReportType: string</li>
  * <li>Schedule: string</li>
  * <li>ScheduleDate: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'MWSAuthToken' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReportType' => array('FieldValue' => null, 'FieldType' => 'string'), 'Schedule' => array('FieldValue' => null, 'FieldType' => 'string'), 'ScheduleDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_UpdateReportAcknowledgementsRequest
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Marketplace: string</li>
  * <li>Merchant: string</li>
  * <li>ReportIdList: MarketplaceWebService_Model_IdList</li>
  * <li>Acknowledged: bool</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReportIdList' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_IdList'), 'Acknowledged' => array('FieldValue' => null, 'FieldType' => 'bool'));
     parent::__construct($data);
 }
Exemple #16
0
 /**
  * Construct new MarketplaceWebService_Model_ErrorResponse
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Error: MarketplaceWebService_Model_Error</li>
  * <li>RequestId: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Error' => array('FieldValue' => array(), 'FieldType' => 'MarketplaceWebService_Model_Error'), 'RequestId' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
Exemple #17
0
 /**
  * Construct new MarketplaceWebService_Model_TypeList
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Type: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Type' => array('FieldValue' => array(), 'FieldType' => array('string')));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_RequestReportRequest
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Marketplace: string</li>
  * <li>Merchant: string</li>
  * <li>MarketplaceIdList: MarketplaceWebService_Model_IdList</li>
  * <li>ReportType: string</li>
  * <li>StartDate: string</li>
  * <li>EndDate: string</li>
  * <li>ReportOptions: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'MarketplaceIdList' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_IdList'), 'ReportType' => array('FieldValue' => null, 'FieldType' => 'string'), 'StartDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'EndDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'ReportOptions' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_GetReportRequestListByNextTokenRequest
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Marketplace: string</li>
  * <li>Merchant: string</li>
  * <li>NextToken: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'MWSAuthToken' => array('FieldValue' => null, 'FieldType' => 'string'), 'NextToken' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
 public function __construct($data = null)
 {
     $this->fields = array('ContentType' => array('FieldValue' => null, 'FieldType' => 'string'), 'Parameters' => array('FieldValue' => null, 'FieldType' => array('string')));
     parent::__construct($data);
 }
Exemple #21
0
 /**
  * Construct new MarketplaceWebService_Model_GetReportResponse
  *
  * @param mixed $data DOMElement or Associative Array to construct from.
  *
  * Valid properties:
  * <ul>
  *
  * <li>GetReportResult: MarketplaceWebService_Model_GetReportResult</li>
  * <li>ResponseMetadata: MarketplaceWebService_Model_ResponseMetadata</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('GetReportResult' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_GetReportResult'), 'ResponseMetadata' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_ResponseMetadata'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_SubmitFeedResult
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>FeedSubmissionInfo: MarketplaceWebService_Model_FeedSubmissionInfo</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('FeedSubmissionInfo' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_FeedSubmissionInfo'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_GetFeedSubmissionCountRequest
  *
  * @param mixed $data DOMElement or Associative Array to construct from.
  *
  * Valid properties:
  * <ul>
  *
  * <li>Marketplace: string</li>
  * <li>Merchant: string</li>
  * <li>FeedTypeList: MarketplaceWebService_Model_TypeList</li>
  * <li>FeedProcessingStatusList: MarketplaceWebService_Model_StatusList</li>
  * <li>SubmittedFromDate: string</li>
  * <li>SubmittedToDate: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'MWSAuthToken' => array('FieldValue' => null, 'FieldType' => 'string'), 'FeedTypeList' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_TypeList'), 'FeedProcessingStatusList' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_StatusList'), 'SubmittedFromDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'SubmittedToDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_FeedSubmissionInfo
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>FeedSubmissionId: string</li>
  * <li>FeedType: string</li>
  * <li>SubmittedDate: string</li>
  * <li>FeedProcessingStatus: string</li>
  * <li>StartedProcessingDate: string</li>
  * <li>CompletedProcessingDate: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('FeedSubmissionId' => array('FieldValue' => null, 'FieldType' => 'string'), 'FeedType' => array('FieldValue' => null, 'FieldType' => 'string'), 'SubmittedDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'FeedProcessingStatus' => array('FieldValue' => null, 'FieldType' => 'string'), 'StartedProcessingDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'CompletedProcessingDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'));
     parent::__construct($data);
 }
 /**
  * Construct new MarketplaceWebService_Model_GetReportCountRequest
  *
  * @param mixed $data DOMElement or Associative Array to construct from.
  *
  * Valid properties:
  * <ul>
  *
  * <li>Marketplace: string</li>
  * <li>Merchant: string</li>
  * <li>ReportTypeList: MarketplaceWebService_Model_TypeList</li>
  * <li>Acknowledged: bool</li>
  * <li>AvailableFromDate: string</li>
  * <li>AvailableToDate: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Marketplace' => array('FieldValue' => null, 'FieldType' => 'string'), 'Merchant' => array('FieldValue' => null, 'FieldType' => 'string'), 'MWSAuthToken' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReportTypeList' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_TypeList'), 'Acknowledged' => array('FieldValue' => null, 'FieldType' => 'bool'), 'AvailableFromDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'AvailableToDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'));
     parent::__construct($data);
 }
Exemple #26
0
 /**
  * Construct new MarketplaceWebService_Model_ReportSchedule
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>ReportType: string</li>
  * <li>Schedule: string</li>
  * <li>ScheduledDate: string</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('ReportType' => array('FieldValue' => null, 'FieldType' => 'string'), 'Schedule' => array('FieldValue' => null, 'FieldType' => 'string'), 'ScheduledDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'));
     parent::__construct($data);
 }