本文整理匯總了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);
}
示例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']);
}
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}