def calculate(body, custom_headers:nil)
      response = calculate_async(body, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def calculate(body, custom_headers:nil)
      response = calculate_async(body, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Calculate price for a `ReservationOrder`.

 Calculate price for placing a `ReservationOrder`.

 @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 [CalculatePriceResponse] operation results.