當前位置: 首頁>>代碼示例>>PHP>>正文


PHP MarketplaceWebService_Model類代碼示例

本文整理匯總了PHP中MarketplaceWebService_Model的典型用法代碼示例。如果您正苦於以下問題:PHP MarketplaceWebService_Model類的具體用法?PHP MarketplaceWebService_Model怎麽用?PHP MarketplaceWebService_Model使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了MarketplaceWebService_Model類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 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);
 }
開發者ID:F1p,項目名稱:amazon-mws-php-fork,代碼行數:8,代碼來源:ModelRequest.php

示例2: __construct

 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']);
     }
 }
開發者ID:hawok,項目名稱:amazon-mws-reports,代碼行數:12,代碼來源:SubmitFeedRequest.php

示例3: __construct

 /**
  * 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);
 }
開發者ID:simpleenigma,項目名稱:jomsimpleaws,代碼行數:18,代碼來源:UpdateReportAcknowledgementsResult.php

示例4: __construct

 /**
  * 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);
 }
開發者ID:soothion,項目名稱:amazon-mws-sdk,代碼行數:22,代碼來源:ReportRequestInfo.php

示例5: __construct

 /**
  * 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);
 }
開發者ID:priyankajsr19,項目名稱:indusdiva2,代碼行數:23,代碼來源:CancelReportRequestsRequest.php

示例6: __construct

 /**
  * 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);
 }
開發者ID:soothion,項目名稱:amazon-mws-sdk,代碼行數:19,代碼來源:GetFeedSubmissionListResult.php

示例7: __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:xengine,項目名稱:amazon-mws,代碼行數:20,代碼來源:Error.php

示例8: __construct

 /**
  * 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);
 }
開發者ID:hawok,項目名稱:amazon-mws-reports,代碼行數:17,代碼來源:GetFeedSubmissionCountResult.php

示例9: __construct

 /**
  * 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);
 }
開發者ID:plugmystore,項目名稱:amazon-mws-feeds,代碼行數:19,代碼來源:GetReportScheduleListRequest.php

示例10: __construct

 /**
  * 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);
 }
開發者ID:plugmystore,項目名稱:amazon-mws-feeds,代碼行數:22,代碼來源:ReportInfo.php

示例11: __construct

 /**
  * 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);
 }
開發者ID:soothion,項目名稱:amazon-mws-sdk,代碼行數:19,代碼來源:GetFeedSubmissionResultRequest.php

示例12: __construct

 /**
  * 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);
 }
開發者ID:nuandy,項目名稱:alloy,代碼行數:21,代碼來源:SubmitFeedRequest.php

示例13: __construct

 /**
  * 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);
 }
開發者ID:amazon-mws-unofficial,項目名稱:marketplace-web-service,代碼行數:21,代碼來源:ManageReportScheduleRequest.php

示例14: __construct

 /**
  * 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);
 }
開發者ID:softwarevamp,項目名稱:amazon-mws,代碼行數:20,代碼來源:UpdateReportAcknowledgementsRequest.php

示例15: __construct

 /**
  * 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);
 }
開發者ID:booklein,項目名稱:wpbookle,代碼行數:18,代碼來源:ErrorResponse.php


注:本文中的MarketplaceWebService_Model類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。