def create_order(location_id, body, opts = {})
      data, _status_code, _headers = create_order_with_http_info(location_id, body, opts)
      return data
    end
def create_order(location_id, body, opts = {})
      data, _status_code, _headers = create_order_with_http_info(location_id, body, opts)
      return data
    end
CreateOrder
 Creates an [Order](#type-order) that can then be referenced as `order_id` in a request to the [Charge](#endpoint-transactions-charge) endpoint. Orders specify products for purchase, along with discounts, taxes, and other settings to apply to the purchase.  To associate a created order with a request to the Charge endpoint, provide the order's `id` in the `order_id` field of your request.  You cannot modify an order after you create it. If you need to modify an order, instead create a new order with modified details.  To learn more about the Orders API, see the [Orders API Overview](/products/orders/overview).
 @param location_id The ID of the business location to associate the order with.
 @param body An object containing the fields to POST for the request.  See the corresponding object definition for field details.
 @param [Hash] opts the optional parameters
 @return [CreateOrderResponse]