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


PHP AbstractResponseType类代码示例

本文整理汇总了PHP中AbstractResponseType的典型用法代码示例。如果您正苦于以下问题:PHP AbstractResponseType类的具体用法?PHP AbstractResponseType怎么用?PHP AbstractResponseType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: testValid

 /**
  * Tests if a response is valid and prints out
  * a error trace if not
  *
  * @param AbstractResponseType $res
  * @return boolean
  */
 protected function testValid($res)
 {
     if ($res->getAck() == AckCodeType::CodeType_Success) {
         return true;
     } else {
         echo $this->proxy->getErrorsToString($res, true);
         return false;
     }
 }
开发者ID:booklein,项目名称:wpbookle,代码行数:16,代码来源:EbatNs_Environment.php

示例2: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('MoveSellingManagerInventoryFolderResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array());
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:booklein,项目名称:wpbookle,代码行数:11,代码来源:MoveSellingManagerInventoryFolderResponseType.php

示例3: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('FetchTokenResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('eBayAuthToken' => array('required' => false, 'type' => 'string', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'HardExpirationTime' => array('required' => false, 'type' => 'dateTime', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'RESTToken' => array('required' => false, 'type' => 'string', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:minioak,项目名称:ebay-trading,代码行数:11,代码来源:FetchTokenResponseType.php

示例4: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('GetNotificationsUsageResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('StartTime' => array('required' => false, 'type' => 'dateTime', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'EndTime' => array('required' => false, 'type' => 'dateTime', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'NotificationDetailsArray' => array('required' => false, 'type' => 'NotificationDetailsArrayType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'MarkUpMarkDownHistory' => array('required' => false, 'type' => 'MarkUpMarkDownHistoryType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'NotificationStatistics' => array('required' => false, 'type' => 'NotificationStatisticsType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:booklein,项目名称:wpbookle,代码行数:11,代码来源:GetNotificationsUsageResponseType.php

示例5: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('GetFeedbackResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('FeedbackDetailArray' => array('required' => false, 'type' => 'FeedbackDetailArrayType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'FeedbackDetailItemTotal' => array('required' => false, 'type' => 'int', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'FeedbackSummary' => array('required' => false, 'type' => 'FeedbackSummaryType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'FeedbackScore' => array('required' => false, 'type' => 'int', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'PaginationResult' => array('required' => false, 'type' => 'PaginationResultType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'EntriesPerPage' => array('required' => false, 'type' => 'int', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'PageNumber' => array('required' => false, 'type' => 'int', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:minioak,项目名称:ebay-trading,代码行数:11,代码来源:GetFeedbackResponseType.php

示例6: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('GetHighBiddersResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('BidArray' => array('required' => false, 'type' => 'OfferArrayType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'ListingStatus' => array('required' => false, 'type' => 'ListingStatusCodeType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:booklein,项目名称:wpbookle,代码行数:11,代码来源:GetHighBiddersResponseType.php

示例7: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('VerifyRelistItemResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('ItemID' => array('required' => false, 'type' => 'ItemIDType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'Fees' => array('required' => false, 'type' => 'FeesType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'StartTime' => array('required' => false, 'type' => 'dateTime', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'EndTime' => array('required' => false, 'type' => 'dateTime', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'DiscountReason' => array('required' => false, 'type' => 'DiscountReasonCodeType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => true, 'cardinality' => '0..*'), 'ProductSuggestions' => array('required' => false, 'type' => 'ProductSuggestionsType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'ListingRecommendations' => array('required' => false, 'type' => 'ListingRecommendationsType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:booklein,项目名称:wpbookle,代码行数:11,代码来源:VerifyRelistItemResponseType.php

示例8: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('PlaceOfferResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('SellingStatus' => array('required' => false, 'type' => 'SellingStatusType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'TransactionID' => array('required' => false, 'type' => 'string', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'BestOffer' => array('required' => false, 'type' => 'BestOfferType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'OrderLineItemID' => array('required' => false, 'type' => 'string', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:minioak,项目名称:ebay-trading,代码行数:11,代码来源:PlaceOfferResponseType.php

示例9: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('GetNotificationPreferencesResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('ApplicationDeliveryPreferences' => array('required' => false, 'type' => 'ApplicationDeliveryPreferencesType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'DeliveryURLName' => array('required' => false, 'type' => 'string', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'UserDeliveryPreferenceArray' => array('required' => false, 'type' => 'NotificationEnableArrayType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'UserData' => array('required' => false, 'type' => 'NotificationUserDataType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'EventProperty' => array('required' => false, 'type' => 'NotificationEventPropertyType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => true, 'cardinality' => '0..*')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:booklein,项目名称:wpbookle,代码行数:11,代码来源:GetNotificationPreferencesResponseType.php

示例10: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('GetDescriptionTemplatesResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('DescriptionTemplate' => array('required' => false, 'type' => 'DescriptionTemplateType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => true, 'cardinality' => '0..*'), 'LayoutTotal' => array('required' => false, 'type' => 'int', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'ObsoleteLayoutID' => array('required' => false, 'type' => 'int', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => true, 'cardinality' => '0..*'), 'ObsoleteThemeID' => array('required' => false, 'type' => 'int', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => true, 'cardinality' => '0..*'), 'ThemeGroup' => array('required' => false, 'type' => 'ThemeGroupType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => true, 'cardinality' => '0..*'), 'ThemeTotal' => array('required' => false, 'type' => 'int', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:minioak,项目名称:ebay-trading,代码行数:11,代码来源:GetDescriptionTemplatesResponseType.php

示例11: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('GetShippingDiscountProfilesResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('CurrencyID' => array('required' => false, 'type' => 'CurrencyCodeType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'FlatShippingDiscount' => array('required' => false, 'type' => 'FlatShippingDiscountType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'CalculatedShippingDiscount' => array('required' => false, 'type' => 'CalculatedShippingDiscountType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'PromotionalShippingDiscount' => array('required' => false, 'type' => 'boolean', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'CalculatedHandlingDiscount' => array('required' => false, 'type' => 'CalculatedHandlingDiscountType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'PromotionalShippingDiscountDetails' => array('required' => false, 'type' => 'PromotionalShippingDiscountDetailsType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'ShippingInsurance' => array('required' => false, 'type' => 'ShippingInsuranceType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'InternationalShippingInsurance' => array('required' => false, 'type' => 'ShippingInsuranceType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1'), 'CombinedDuration' => array('required' => false, 'type' => 'CombinedPaymentPeriodCodeType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:booklein,项目名称:wpbookle,代码行数:11,代码来源:GetShippingDiscountProfilesResponseType.php

示例12: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('SaveItemToSellingManagerTemplateResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('TemplateID' => array('required' => false, 'type' => 'long', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:booklein,项目名称:wpbookle,代码行数:11,代码来源:SaveItemToSellingManagerTemplateResponseType.php

示例13: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('GetSellingManagerEmailLogResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('EmailLog' => array('required' => false, 'type' => 'SellingManagerEmailLogType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => true, 'cardinality' => '0..*')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:booklein,项目名称:wpbookle,代码行数:11,代码来源:GetSellingManagerEmailLogResponseType.php

示例14: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('GetSellingManagerInventoryResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('InventoryCountLastCalculatedDate' => array('required' => false, 'type' => 'dateTime', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1'), 'SellingManagerProduct' => array('required' => false, 'type' => 'SellingManagerProductType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => true, 'cardinality' => '0..*'), 'PaginationResult' => array('required' => false, 'type' => 'PaginationResultType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:minioak,项目名称:ebay-trading,代码行数:11,代码来源:GetSellingManagerInventoryResponseType.php

示例15: array

 /**
  * Class Constructor 
  **/
 function __construct()
 {
     parent::__construct('GetCategoryMappingsResponseType', 'urn:ebay:apis:eBLBaseComponents');
     if (!isset(self::$_elements[__CLASS__])) {
         self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()], array('CategoryMapping' => array('required' => false, 'type' => 'CategoryMappingType', 'nsURI' => 'urn:ebay:apis:eBLBaseComponents', 'array' => true, 'cardinality' => '0..*'), 'CategoryVersion' => array('required' => false, 'type' => 'string', 'nsURI' => 'http://www.w3.org/2001/XMLSchema', 'array' => false, 'cardinality' => '0..1')));
     }
     $this->_attributes = array_merge($this->_attributes, array());
 }
开发者ID:booklein,项目名称:wpbookle,代码行数:11,代码来源:GetCategoryMappingsResponseType.php


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