当前位置: 首页>>代码示例>>PHP>>正文


PHP Reports_Model::__construct方法代码示例

本文整理汇总了PHP中Amazon\MWS\Reports\Reports_Model::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Reports_Model::__construct方法的具体用法?PHP Reports_Model::__construct怎么用?PHP Reports_Model::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Amazon\MWS\Reports\Reports_Model的用法示例。


在下文中一共展示了Reports_Model::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct($data = null)
 {
     self::$DEFAULT_CONTENT_TYPE = new Reports_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' => '\\Amazon\\MWS\\Reports\\Model\\Reports_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' => '\\Amazon\\MWS\\Reports\\Model\\Reports_Model_ContentType'));
     parent::__construct($data);
     if (!is_null($this->fields['ContentType']['FieldValue'])) {
         $this->verifySupportedContentType($this->fields['ContentType']['FieldValue']);
     }
 }
开发者ID:zoborg,项目名称:Amazon-MWS-PHP-CL,代码行数:12,代码来源:Reports_Model_SubmitFeedRequest.php

示例2: __construct

 /**
  * Construct new MarketplaceWebService_Model_RequestReportResult
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>ReportRequestInfo: MarketplaceWebService_Model_ReportRequestInfo</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('ReportRequestInfo' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_ReportRequestInfo'));
     parent::__construct($data);
 }
开发者ID:jackkam85,项目名称:Amazon-MWS-PHP-CL,代码行数:17,代码来源:Reports_Model_RequestReportResult.php

示例3: __construct

 /**
  * Construct new \Amazon\MWS\Reports\Model\Reports_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);
 }
开发者ID:zoborg,项目名称:Amazon-MWS-PHP-CL,代码行数:21,代码来源:Reports_Model_ManageReportScheduleRequest.php

示例4: __construct

 /**
  * Construct new \Amazon\MWS\Reports\Model\Reports_Model_GetReportRequestCountResponse
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>GetReportRequestCountResult: \Amazon\MWS\Reports\Model\Reports_Model_GetReportRequestCountResult</li>
  * <li>ResponseMetadata: \Amazon\MWS\Reports\Model\Reports_Model_ResponseMetadata</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('GetReportRequestCountResult' => array('FieldValue' => null, 'FieldType' => '\\Amazon\\MWS\\Reports\\Model\\Reports_Model_GetReportRequestCountResult'), 'ResponseMetadata' => array('FieldValue' => null, 'FieldType' => '\\Amazon\\MWS\\Reports\\Model\\Reports_Model_ResponseMetadata'));
     parent::__construct($data);
 }
开发者ID:zoborg,项目名称:Amazon-MWS-PHP-CL,代码行数:18,代码来源:Reports_Model_GetReportRequestCountResponse.php

示例5: __construct

 /**
  * Construct new MarketplaceWebService_Model_GetReportScheduleCountResponse
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>GetReportScheduleCountResult: MarketplaceWebService_Model_GetReportScheduleCountResult</li>
  * <li>ResponseMetadata: MarketplaceWebService_Model_ResponseMetadata</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('GetReportScheduleCountResult' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_GetReportScheduleCountResult'), 'ResponseMetadata' => array('FieldValue' => null, 'FieldType' => 'MarketplaceWebService_Model_ResponseMetadata'));
     parent::__construct($data);
 }
开发者ID:jackkam85,项目名称:Amazon-MWS-PHP-CL,代码行数:18,代码来源:Reports_Model_GetReportScheduleCountResponse.php

示例6: __construct

 /**
  * Construct new MarketplaceWebService_Model_GetReportRequestListRequest
  * 
  * @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>MaxCount: Count</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'), 'MWSAuthToken' => 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'), 'MaxCount' => array('FieldValue' => null, 'FieldType' => 'string'), 'RequestedFromDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'RequestedToDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'));
     parent::__construct($data);
 }
开发者ID:jackkam85,项目名称:Amazon-MWS-PHP-CL,代码行数:24,代码来源:Reports_Model_GetReportRequestListRequest.php

示例7: __construct

 /**
  * Construct new \Amazon\MWS\Reports\Model\Reports_Model_CancelFeedSubmissionsResponse
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>CancelFeedSubmissionsResult: \Amazon\MWS\Reports\Model\Reports_Model_CancelFeedSubmissionsResult</li>
  * <li>ResponseMetadata: \Amazon\MWS\Reports\Model\Reports_Model_ResponseMetadata</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('CancelFeedSubmissionsResult' => array('FieldValue' => null, 'FieldType' => '\\Amazon\\MWS\\Reports\\Model\\Reports_Model_CancelFeedSubmissionsResult'), 'ResponseMetadata' => array('FieldValue' => null, 'FieldType' => '\\Amazon\\MWS\\Reports\\Model\\Reports_Model_ResponseMetadata'));
     parent::__construct($data);
 }
开发者ID:zoborg,项目名称:Amazon-MWS-PHP-CL,代码行数:18,代码来源:Reports_Model_CancelFeedSubmissionsResponse.php

示例8: __construct

 /**
  * Construct new MarketplaceWebService_Model_GetFeedSubmissionResultResult
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('ContentMd5' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
开发者ID:jackkam85,项目名称:Amazon-MWS-PHP-CL,代码行数:16,代码来源:Reports_Model_GetFeedSubmissionResultResult.php

示例9: __construct

 /**
  * Construct new \Amazon\MWS\Reports\Model\Reports_Model_CancelReportRequestsResult
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Count: int</li>
  * <li>ReportRequestInfo: \Amazon\MWS\Reports\Model\Reports_Model_ReportRequestInfo</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Count' => array('FieldValue' => null, 'FieldType' => 'int'), 'ReportRequestInfo' => array('FieldValue' => array(), 'FieldType' => array('\\Amazon\\MWS\\Reports\\Model\\Reports_Model_ReportRequestInfo')));
     parent::__construct($data);
 }
开发者ID:zoborg,项目名称:Amazon-MWS-PHP-CL,代码行数:18,代码来源:Reports_Model_CancelReportRequestsResult.php

示例10: __construct

 /**
  * Construct new MarketplaceWebService_Model_ManageReportScheduleResult
  * 
  * @param mixed $data DOMElement or Associative Array to construct from. 
  * 
  * Valid properties:
  * <ul>
  * 
  * <li>Count: int</li>
  * <li>ReportSchedule: MarketplaceWebService_Model_ReportSchedule</li>
  *
  * </ul>
  */
 public function __construct($data = null)
 {
     $this->fields = array('Count' => array('FieldValue' => null, 'FieldType' => 'int'), 'ReportSchedule' => array('FieldValue' => array(), 'FieldType' => array('MarketplaceWebService_Model_ReportSchedule')));
     parent::__construct($data);
 }
开发者ID:jackkam85,项目名称:Amazon-MWS-PHP-CL,代码行数:18,代码来源:Reports_Model_ManageReportScheduleResult.php

示例11: __construct

 /**
  * 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);
 }
开发者ID:jackkam85,项目名称:Amazon-MWS-PHP-CL,代码行数:20,代码来源:Reports_Model_Error.php

示例12: __construct

 /**
  * Construct new \Amazon\MWS\Reports\Model\Reports_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: \Amazon\MWS\Reports\Model\Reports_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'), 'MWSAuthToken' => array('FieldValue' => null, 'FieldType' => 'string'), 'ReportIdList' => array('FieldValue' => null, 'FieldType' => '\\Amazon\\MWS\\Reports\\Model\\Reports_Model_IdList'), 'Acknowledged' => array('FieldValue' => null, 'FieldType' => 'bool'));
     parent::__construct($data);
 }
开发者ID:zoborg,项目名称:Amazon-MWS-PHP-CL,代码行数:20,代码来源:Reports_Model_UpdateReportAcknowledgementsRequest.php

示例13: __construct

 /**
  * 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);
 }
开发者ID:jackkam85,项目名称:Amazon-MWS-PHP-CL,代码行数:17,代码来源:Reports_Model_SubmitFeedResult.php

示例14: __construct

 /**
  * Construct new \Amazon\MWS\Reports\Model\Reports_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);
 }
开发者ID:zoborg,项目名称:Amazon-MWS-PHP-CL,代码行数:19,代码来源:Reports_Model_ReportSchedule.php

示例15: __construct

 /**
  * Construct new \Amazon\MWS\Reports\Model\Reports_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>Scheduled: bool</li>
  * <li>SubmittedDate: string</li>
  * <li>ReportProcessingStatus: string</li>
  * <li>GeneratedReportId: string</li>
  * <li>StartedProcessingDate: string</li>
  * <li>CompletedDate: 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'), 'GeneratedReportId' => array('FieldValue' => null, 'FieldType' => 'string'), 'StartedProcessingDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'), 'CompletedDate' => array('FieldValue' => null, 'FieldType' => 'DateTime'));
     parent::__construct($data);
 }
开发者ID:zoborg,项目名称:Amazon-MWS-PHP-CL,代码行数:26,代码来源:Reports_Model_ReportRequestInfo.php


注:本文中的Amazon\MWS\Reports\Reports_Model::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。