| Methods | 
			
	
			
				
					
	public
					
					
				
			 | 
			
				__construct(
	ClientInterface $client = null,
	Configuration $config = null,
	HeaderSelector $selector = null,
	int $hostIndex = 0,
)
	
							Parameters
							
									
										| $hostIndex   | 
										(Optional) host index to select the list of hosts if defined in the OpenAPI spec 
 | 
									 
							 
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				setHostIndex(int $hostIndex): void
	
		Set the host index
	 
	
	
							Parameters
							
									
										| $hostIndex   | 
										Host index (required) 
 | 
									 
							 
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getHostIndex(): int
	
		Get the host index
	 
	
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getConfig(): Configuration
	
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				deleteOrder(string $order_id): void
	
		Operation deleteOrder
	 
	
	Operation deleteOrder 
Delete purchase order by ID 
 
							Parameters
							
									
										| $order_id   | 
										ID of the order that needs to be deleted (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				deleteOrderWithHttpInfo(string $order_id): array
	
		Operation deleteOrderWithHttpInfo
	 
	
	Operation deleteOrderWithHttpInfo 
Delete purchase order by ID 
 
							Parameters
							
									
										| $order_id   | 
										ID of the order that needs to be deleted (required) 
 | 
									 
							 
							Returns
							of null, HTTP status code, HTTP response headers (array of strings) 
 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				deleteOrderAsync(string $order_id): PromiseInterface
	
		Operation deleteOrderAsync
	 
	
	Operation deleteOrderAsync 
Delete purchase order by ID 
 
							Parameters
							
									
										| $order_id   | 
										ID of the order that needs to be deleted (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				deleteOrderAsyncWithHttpInfo(string $order_id): PromiseInterface
	
		Operation deleteOrderAsyncWithHttpInfo
	 
	
	Operation deleteOrderAsyncWithHttpInfo 
Delete purchase order by ID 
 
							Parameters
							
									
										| $order_id   | 
										ID of the order that needs to be deleted (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				deleteOrderRequest(string $order_id): Request
	
		Create request for operation 'deleteOrder'
	 
	
	Create request for operation 'deleteOrder' 
 
							Parameters
							
									
										| $order_id   | 
										ID of the order that needs to be deleted (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getInventory(): array<string, int>
	
		Operation getInventory
	 
	
	Operation getInventory 
Returns pet inventories by status 
 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getInventoryWithHttpInfo(): array
	
		Operation getInventoryWithHttpInfo
	 
	
	Operation getInventoryWithHttpInfo 
Returns pet inventories by status 
 
							Returns
							of array<string,int>, HTTP status code, HTTP response headers (array of strings) 
 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getInventoryAsync(): PromiseInterface
	
		Operation getInventoryAsync
	 
	
	Operation getInventoryAsync 
Returns pet inventories by status 
 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getInventoryAsyncWithHttpInfo(): PromiseInterface
	
		Operation getInventoryAsyncWithHttpInfo
	 
	
	Operation getInventoryAsyncWithHttpInfo 
Returns pet inventories by status 
 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getInventoryRequest(): Request
	
		Create request for operation 'getInventory'
	 
	
	Create request for operation 'getInventory' 
 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getOrderById(int $order_id): Order
	
		Operation getOrderById
	 
	
	Operation getOrderById 
Find purchase order by ID 
 
							Parameters
							
									
										| $order_id   | 
										ID of pet that needs to be fetched (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getOrderByIdWithHttpInfo(int $order_id): array
	
		Operation getOrderByIdWithHttpInfo
	 
	
	Operation getOrderByIdWithHttpInfo 
Find purchase order by ID 
 
							Parameters
							
									
										| $order_id   | 
										ID of pet that needs to be fetched (required) 
 | 
									 
							 
							Returns
							of \Ally\PetStore\Schema\Order, HTTP status code, HTTP response headers (array of strings) 
 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getOrderByIdAsync(int $order_id): PromiseInterface
	
		Operation getOrderByIdAsync
	 
	
	Operation getOrderByIdAsync 
Find purchase order by ID 
 
							Parameters
							
									
										| $order_id   | 
										ID of pet that needs to be fetched (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getOrderByIdAsyncWithHttpInfo(int $order_id): PromiseInterface
	
		Operation getOrderByIdAsyncWithHttpInfo
	 
	
	Operation getOrderByIdAsyncWithHttpInfo 
Find purchase order by ID 
 
							Parameters
							
									
										| $order_id   | 
										ID of pet that needs to be fetched (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				getOrderByIdRequest(int $order_id): Request
	
		Create request for operation 'getOrderById'
	 
	
	Create request for operation 'getOrderById' 
 
							Parameters
							
									
										| $order_id   | 
										ID of pet that needs to be fetched (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				placeOrder(Order $order): Order
	
		Operation placeOrder
	 
	
	Operation placeOrder 
Place an order for a pet 
 
							Parameters
							
									
										| $order   | 
										order placed for purchasing the pet (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				placeOrderWithHttpInfo(Order $order): array
	
		Operation placeOrderWithHttpInfo
	 
	
	Operation placeOrderWithHttpInfo 
Place an order for a pet 
 
							Parameters
							
									
										| $order   | 
										order placed for purchasing the pet (required) 
 | 
									 
							 
							Returns
							of \Ally\PetStore\Schema\Order, HTTP status code, HTTP response headers (array of strings) 
 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				placeOrderAsync(Order $order): PromiseInterface
	
		Operation placeOrderAsync
	 
	
	Operation placeOrderAsync 
Place an order for a pet 
 
							Parameters
							
									
										| $order   | 
										order placed for purchasing the pet (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				placeOrderAsyncWithHttpInfo(Order $order): PromiseInterface
	
		Operation placeOrderAsyncWithHttpInfo
	 
	
	Operation placeOrderAsyncWithHttpInfo 
Place an order for a pet 
 
							Parameters
							
									
										| $order   | 
										order placed for purchasing the pet (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	public
					
					
				
			 | 
			
				placeOrderRequest(Order $order): Request
	
		Create request for operation 'placeOrder'
	 
	
	Create request for operation 'placeOrder' 
 
							Parameters
							
									
										| $order   | 
										order placed for purchasing the pet (required) 
 | 
									 
							 
							Throws
							
	 
			 | 
		
			#
		 | 
	
	
			
				
					
	protected
					
					
				
			 | 
			
				createHttpClientOption(): array
	
		Create http client option
	 
	
	Create http client option 
 
							Returns
							
							Throws
							
	 
			 | 
		
			#
		 |