StoreApi
class StoreApi
StoreApi Class Doc Comment
Properties
protected ClientInterface | $client | ||
protected Configuration | $config | ||
protected HeaderSelector | $headerSelector | ||
protected int | $hostIndex |
Methods
No description
Set the host index
Get the host index
No description
Operation deleteOrder
Operation deleteOrderWithHttpInfo
Operation deleteOrderAsync
Operation deleteOrderAsyncWithHttpInfo
Create request for operation 'deleteOrder'
Operation getInventory
Operation getInventoryWithHttpInfo
Operation getInventoryAsync
Operation getInventoryAsyncWithHttpInfo
Create request for operation 'getInventory'
Operation getOrderById
Operation getOrderByIdWithHttpInfo
Operation getOrderByIdAsync
Operation getOrderByIdAsyncWithHttpInfo
Create request for operation 'getOrderById'
Create http client option
Details
at line 78
__construct(ClientInterface $client = null, Configuration $config = null, HeaderSelector $selector = null, int $hostIndex = 0)
No description
at line 95
void
setHostIndex(int $hostIndex)
Set the host index
at line 105
int
getHostIndex()
Get the host index
at line 113
Configuration
getConfig()
No description
at line 129
void
deleteOrder(string $order_id)
Operation deleteOrder
Delete purchase order by ID
at line 145
array
deleteOrderWithHttpInfo(string $order_id)
Operation deleteOrderWithHttpInfo
Delete purchase order by ID
at line 203
PromiseInterface
deleteOrderAsync(string $order_id)
Operation deleteOrderAsync
Delete purchase order by ID
at line 223
PromiseInterface
deleteOrderAsyncWithHttpInfo(string $order_id)
Operation deleteOrderAsyncWithHttpInfo
Delete purchase order by ID
at line 259
Request
deleteOrderRequest(string $order_id)
Create request for operation 'deleteOrder'
at line 356
array<string,int>
getInventory()
Operation getInventory
Returns pet inventories by status
at line 372
array
getInventoryWithHttpInfo()
Operation getInventoryWithHttpInfo
Returns pet inventories by status
at line 469
PromiseInterface
getInventoryAsync()
Operation getInventoryAsync
Returns pet inventories by status
at line 488
PromiseInterface
getInventoryAsyncWithHttpInfo()
Operation getInventoryAsyncWithHttpInfo
Returns pet inventories by status
at line 536
Request
getInventoryRequest()
Create request for operation 'getInventory'
at line 624
Order
getOrderById(int $order_id)
Operation getOrderById
Find purchase order by ID
at line 641
array
getOrderByIdWithHttpInfo(int $order_id)
Operation getOrderByIdWithHttpInfo
Find purchase order by ID
at line 739
PromiseInterface
getOrderByIdAsync(int $order_id)
Operation getOrderByIdAsync
Find purchase order by ID
at line 759
PromiseInterface
getOrderByIdAsyncWithHttpInfo(int $order_id)
Operation getOrderByIdAsyncWithHttpInfo
Find purchase order by ID
at line 808
Request
getOrderByIdRequest(int $order_id)
Create request for operation 'getOrderById'
at line 930
array
placeOrderWithHttpInfo(Order $order)
Operation placeOrderWithHttpInfo
Place an order for a pet
at line 1028
PromiseInterface
placeOrderAsync(Order $order)
Operation placeOrderAsync
Place an order for a pet
at line 1048
PromiseInterface
placeOrderAsyncWithHttpInfo(Order $order)
Operation placeOrderAsyncWithHttpInfo
Place an order for a pet
at line 1097
Request
placeOrderRequest(Order $order)
Create request for operation 'placeOrder'
at line 1188
protected array
createHttpClientOption()
Create http client option