Interface ReturnsClient


public interface ReturnsClient
An instance of this class provides access to all the operations defined in ReturnsClient.
  • Method Details

    • beginPost

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReservationOrderResponseInner>,ReservationOrderResponseInner> beginPost(String reservationOrderId, RefundRequest body)
      Return a reservation. Return a reservation and get refund information.
      Parameters:
      reservationOrderId - Order Id of the reservation.
      body - Information needed for returning reservation.
      Returns:
      the SyncPoller for polling of 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.
    • beginPost

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReservationOrderResponseInner>,ReservationOrderResponseInner> beginPost(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:
      the SyncPoller for polling of 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

      ReservationOrderResponseInner post(String reservationOrderId, RefundRequest body)
      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

      ReservationOrderResponseInner 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.