You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Note: This is a (Limited Release) API available only to select developers approved by business units. Enables a seller adding an ad or item on a Partner's site to automatically create an eBay listing draft using the item details from the Partner's site.",
Copy file name to clipboardexpand all lines: lib/Api/ItemDraftApi.php
+10-11
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
* PHP version 7.2
5
5
*
6
6
* @category Class
7
-
* @package Ebay\Sell
7
+
* @package Ebay\Sell\Listing
8
8
* @author OpenAPI Generator team
9
9
* @link https://openapi-generator.tech
10
10
*/
@@ -25,24 +25,24 @@
25
25
* Do not edit the class manually.
26
26
*/
27
27
28
-
namespaceEbay\Sell\Listing;
28
+
namespaceEbay\Sell\Listing\Api;
29
29
30
30
useGuzzleHttp\Client;
31
31
useGuzzleHttp\ClientInterface;
32
32
useGuzzleHttp\Exception\RequestException;
33
33
useGuzzleHttp\Psr7\MultipartStream;
34
34
useGuzzleHttp\Psr7\Request;
35
35
useGuzzleHttp\RequestOptions;
36
-
useEbay\Sell\ApiException;
37
-
useEbay\Sell\Configuration;
38
-
useEbay\Sell\HeaderSelector;
39
-
useEbay\Sell\ObjectSerializer;
36
+
useEbay\Sell\Listing\ApiException;
37
+
useEbay\Sell\Listing\Configuration;
38
+
useEbay\Sell\Listing\HeaderSelector;
39
+
useEbay\Sell\Listing\ObjectSerializer;
40
40
41
41
/**
42
42
* ItemDraftApi Class Doc Comment
43
43
*
44
44
* @category Class
45
-
* @package Ebay\Sell
45
+
* @package Ebay\Sell\Listing
46
46
* @author OpenAPI Generator team
47
47
* @link https://openapi-generator.tech
48
48
*/
@@ -90,9 +90,8 @@ public function __construct(
90
90
* Set the host index
91
91
*
92
92
* @param int $hostIndex Host index (required)
93
-
* @return void
94
93
*/
95
-
publicfunctionsetHostIndex($hostIndex)
94
+
publicfunctionsetHostIndex($hostIndex): void
96
95
{
97
96
$this->hostIndex = $hostIndex;
98
97
}
@@ -122,7 +121,7 @@ public function getConfig()
122
121
* @param string $content_language Use this header to specify the natural language of the seller. For details, see Content-Language in HTTP request headers. Required: For EBAY_CA in French. (Content-Language = fr-CA) (optional)
123
122
* @param \Ebay\Sell\Listing\Model\ItemDraft $body body (optional)
124
123
*
125
-
* @throws \Ebay\Sell\ApiException on non-2xx response
124
+
* @throws \Ebay\Sell\Listing\ApiException on non-2xx response
@@ -139,7 +138,7 @@ public function createItemDraft($x_ebay_c_marketplace_id, $content_language = nu
139
138
* @param string $content_language Use this header to specify the natural language of the seller. For details, see Content-Language in HTTP request headers. Required: For EBAY_CA in French. (Content-Language = fr-CA) (optional)
0 commit comments