コード例 #1
0
 /**
  * @param array $config Optional configuration option values.
  * @param \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient The object that will handle sending requests to the API.
  */
 public function __construct($config = array(), \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient = null)
 {
     if (!array_key_exists(get_called_class(), self::$configOptions)) {
         self::$configOptions[get_called_class()] = array('affiliateUserId' => array('required' => false), 'apiVersion' => array('required' => true), 'appId' => array('required' => true), 'siteId' => array('required' => false), 'trackingId' => array('required' => false), 'trackingPartnerCode' => array('required' => false));
     }
     parent::__construct('http://open.api.ebay.com/shopping', 'http://open.api.sandbox.ebay.com/shopping', $config, $httpClient);
 }
コード例 #2
0
 /**
  * @param array $config Optional configuration option values.
  * @param \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient The object that will handle sending requests to the API.
  */
 public function __construct($config = array(), \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient = null)
 {
     if (!array_key_exists(get_called_class(), self::$configOptions)) {
         self::$configOptions[get_called_class()] = array('apiVersion' => array('required' => false), 'authToken' => array('required' => true));
     }
     parent::__construct('https://webservices.ebay.com/BulkDataExchangeService', 'https://webservices.sandbox.ebay.com/BulkDataExchangeService', $config, $httpClient);
 }
コード例 #3
0
 /**
  * @param array $config Optional configuration option values.
  * @param \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient The object that will handle sending requests to the API.
  */
 public function __construct($config = array(), \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient = null)
 {
     if (!array_key_exists(get_called_class(), self::$configOptions)) {
         self::$configOptions[get_called_class()] = array('apiVersion' => array('required' => false), 'authToken' => array('required' => true), 'globalId' => array('required' => true));
     }
     parent::__construct('https://svcs.ebay.com/services/selling/v1/SellerProfilesManagementService', 'http://svcs.sandbox.ebay.com/services/selling/v1/SellerProfilesManagementService', $config, $httpClient);
 }
コード例 #4
0
ファイル: BaseService.php プロジェクト: ronlobo/ebay-sdk-php
 public function __construct($config = array(), \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient = null)
 {
     if (!array_key_exists(get_called_class(), self::$configOptions)) {
         self::$configOptions[get_called_class()] = array('foo' => array('required' => false), 'bish' => array('required' => false), 'bash' => array('required' => false), 'bosh' => array('required' => false));
     }
     parent::__construct('http://production.com', 'http://sandbox.com', $config, $httpClient);
 }
コード例 #5
0
 /**
  * @param array $config Optional configuration option values.
  * @param \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient The object that will handle sending requests to the API.
  */
 public function __construct($config = array(), \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient = null)
 {
     if (!array_key_exists(get_called_class(), self::$configOptions)) {
         self::$configOptions[get_called_class()] = array('apiVersion' => array('required' => true), 'appId' => array('required' => false), 'authToken' => array('required' => true), 'certId' => array('required' => false), 'devId' => array('required' => false), 'siteId' => array('required' => true));
     }
     parent::__construct('https://api.ebay.com/ws/api.dll', 'https://api.sandbox.ebay.com/ws/api.dll', $config, $httpClient);
 }
コード例 #6
0
 /**
  * @param array $config Optional configuration option values.
  * @param \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient The object that will handle sending requests to the API.
  */
 public function __construct($config = array(), \DTS\eBaySDK\Interfaces\HttpClientInterface $httpClient = null)
 {
     if (!array_key_exists(get_called_class(), self::$configOptions)) {
         self::$configOptions[get_called_class()] = array('apiVersion' => array('required' => false), 'appId' => array('required' => true), 'globalId' => array('required' => false));
     }
     parent::__construct('https://svcs.ebay.com/services/half/HalfFindingService/v1', 'http://svcs.ebay.com/services/half/HalfFindingService/v1', $config, $httpClient);
 }
コード例 #7
0
 /**
  * @param array $config Configuration option values.
  */
 public function __construct(array $config)
 {
     parent::__construct('http://open.api.ebay.com/shopping', 'http://open.api.sandbox.ebay.com/shopping', $config);
 }
 /**
  * @param array $config Configuration option values.
  */
 public function __construct(array $config)
 {
     parent::__construct('https://svcs.ebay.com/services/selling/v1/SellerProfilesManagementService', 'http://svcs.sandbox.ebay.com/services/selling/v1/SellerProfilesManagementService', $config);
 }
コード例 #9
0
 /**
  * @param array $config Configuration option values.
  */
 public function __construct(array $config)
 {
     parent::__construct('https://api.ebay.com/ws/api.dll', 'https://api.sandbox.ebay.com/ws/api.dll', $config);
 }
コード例 #10
0
 /**
  * @param array $config Configuration option values.
  */
 public function __construct(array $config)
 {
     parent::__construct('http://svcs.ebay.com/services/search/FindingService/v1', 'http://svcs.sandbox.ebay.com/services/search/FindingService/v1', $config);
 }
コード例 #11
0
 /**
  * @param array $config Optional configuration option values.
  */
 public function __construct(array $config)
 {
     parent::__construct('https://svcs.ebay.com/services/returns/v1/ReturnManagementService', 'https://svcs.sandbox.ebay.com/services/returns/v1/ReturnManagementService', $config);
 }
コード例 #12
0
 /**
  * @param array $config Configuration option values.
  */
 public function __construct(array $config)
 {
     parent::__construct('https://storage.ebay.com/FileTransferService', 'https://storage.sandbox.ebay.com/FileTransferService', $config);
 }
コード例 #13
0
 /**
  * @param array $config Configuration option values.
  */
 public function __construct(array $config)
 {
     parent::__construct('https://webservices.ebay.com/BulkDataExchangeService', 'https://webservices.sandbox.ebay.com/BulkDataExchangeService', $config);
 }
コード例 #14
0
 /**
  * @param array $config Configuration option values.
  */
 public function __construct(array $config)
 {
     parent::__construct('https://svcs.ebay.com/services/half/HalfFindingService/v1', 'http://svcs.ebay.com/services/half/HalfFindingService/v1', $config);
 }