Interface Returns
public interface Returns
Resource collection API of Returns.
-
Method Summary
Modifier and TypeMethodDescriptionpost
(String reservationOrderId, RefundRequest body) Return a reservation.post
(String reservationOrderId, RefundRequest body, com.azure.core.util.Context context) Return a reservation.
-
Method Details
-
post
Return a reservation. Return a reservation and get refund information.- Parameters:
reservationOrderId
- Order Id of the reservation.body
- Information needed for returning reservation.- Returns:
- details of a reservation order being returned.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
post
ReservationOrderResponse post(String reservationOrderId, RefundRequest body, com.azure.core.util.Context context) Return a reservation. Return a reservation and get refund information.- Parameters:
reservationOrderId
- Order Id of the reservation.body
- Information needed for returning reservation.context
- The context to associate with this operation.- Returns:
- details of a reservation order being returned.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-