本文整理汇总了PHP中Amazon\MWS\Reports\Reports_Model类的典型用法代码示例。如果您正苦于以下问题:PHP Reports_Model类的具体用法?PHP Reports_Model怎么用?PHP Reports_Model使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Reports_Model类的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']);
}
}
示例2: __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);
}
示例3: __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);
}
示例4: __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);
}
示例5: __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);
}
示例6: __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
示例7: __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);
}
示例8: __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);
}
示例9: __construct
/**
* Construct new \Amazon\MWS\Reports\Model\Reports_Model_ErrorResponse
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>Error: \Amazon\MWS\Reports\Model\Reports_Model_Error</li>
* <li>RequestId: string</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->fields = array('Error' => array('FieldValue' => array(), 'FieldType' => '\\Amazon\\MWS\\Reports\\Model\\Reports_Model_Error'), 'RequestId' => array('FieldValue' => null, 'FieldType' => 'string'));
parent::__construct($data);
}
示例10: __construct
/**
* Construct new \Amazon\MWS\Reports\Model\Reports_Model_UpdateReportAcknowledgementsResponse
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>UpdateReportAcknowledgementsResult: \Amazon\MWS\Reports\Model\Reports_Model_UpdateReportAcknowledgementsResult</li>
* <li>ResponseMetadata: \Amazon\MWS\Reports\Model\Reports_Model_ResponseMetadata</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->fields = array('UpdateReportAcknowledgementsResult' => array('FieldValue' => null, 'FieldType' => '\\Amazon\\MWS\\Reports\\Model\\Reports_Model_UpdateReportAcknowledgementsResult'), 'ResponseMetadata' => array('FieldValue' => null, 'FieldType' => '\\Amazon\\MWS\\Reports\\Model\\Reports_Model_ResponseMetadata'));
parent::__construct($data);
}
开发者ID:zoborg,项目名称:Amazon-MWS-PHP-CL,代码行数:18,代码来源:Reports_Model_UpdateReportAcknowledgementsResponse.php
示例11: __construct
/**
* Construct new \Amazon\MWS\Reports\Model\Reports_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);
}
示例12: __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);
}
示例13: __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
示例14: __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);
}
示例15: __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);
}