package api

import model.Order


trait StoreApi {
  /**
    * Delete purchase order by ID
    * For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
    * @param orderId ID of the order that needs to be deleted
    */
  def deleteOrder(orderId: String): Unit

  /**
    * Returns pet inventories by status
    * Returns a map of status codes to quantities
    */
  def getInventory(): Map[String, Int]

  /**
    * Find purchase order by ID
    * For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generate exceptions
    * @param orderId ID of pet that needs to be fetched
    */
  def getOrderById(orderId: Long): Order

  /**
    * Place an order for a pet
    * @param order order placed for purchasing the pet
    */
  def placeOrder(order: Order): Order
}
