def purchase(reservation_order_id, body, custom_headers:nil)
      response = purchase_async(reservation_order_id, body, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def purchase(reservation_order_id, body, custom_headers:nil)
      response = purchase_async(reservation_order_id, body, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Purchase `ReservationOrder`

 Purchase `ReservationOrder` and create resource under the specified URI.

 @param reservation_order_id [String] Order Id of the reservation
 @param body [PurchaseRequest] Information needed for calculate or purchase
 reservation
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ReservationOrderResponse] operation results.