-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Expand file tree
/
Copy pathStoreApiInterface.php
More file actions
120 lines (110 loc) · 3.09 KB
/
StoreApiInterface.php
File metadata and controls
120 lines (110 loc) · 3.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?php
/**
* StoreApiInterface
*
* PHP version 8.1.1
*
* @category Class
* @package OpenAPI\Server
* @author OpenAPI Generator team
* @link https://github.com/openapitools/openapi-generator
*/
/**
* OpenAPI Petstore
*
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*
*/
/**
* NOTE: This class is auto generated by the openapi generator program.
* https://github.com/openapitools/openapi-generator
* Do not edit the class manually.
*/
namespace OpenAPI\Server\Api;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use OpenAPI\Server\Model\Order;
/**
* StoreApiInterface Interface Doc Comment
*
* @category Interface
* @package OpenAPI\Server\Api
* @author OpenAPI Generator team
* @link https://github.com/openapitools/openapi-generator
*/
interface StoreApiInterface
{
/**
* Sets authentication method api_key
*
* @param string|null $value Value of the api_key authentication method.
*
* @return void
*/
public function setapi_key(?string $value): void;
/**
* Operation deleteOrder
*
* Delete purchase order by ID
*
* @param string $orderId ID of the order that needs to be deleted (required)
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return void
*/
public function deleteOrder(
string $orderId,
int &$responseCode,
array &$responseHeaders
): void;
/**
* Operation getInventory
*
* Returns pet inventories by status
*
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return int
*/
public function getInventory(
int &$responseCode,
array &$responseHeaders
): int;
/**
* Operation getOrderById
*
* Find purchase order by ID
*
* @param int $orderId ID of pet that needs to be fetched (required)
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return array|object|null
*/
public function getOrderById(
int $orderId,
int &$responseCode,
array &$responseHeaders
): array|object|null;
/**
* Operation placeOrder
*
* Place an order for a pet
*
* @param Order $order order placed for purchasing the pet (required)
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return array|object|null
*/
public function placeOrder(
Order $order,
int &$responseCode,
array &$responseHeaders
): array|object|null;
}