Return interface
Interface representing a Return.
Methods
begin |
Return a reservation and get refund information. |
begin |
Return a reservation and get refund information. |
Method Details
beginPost(string, RefundRequest, ReturnPostOptionalParams)
Return a reservation and get refund information.
function beginPost(reservationOrderId: string, body: RefundRequest, options?: ReturnPostOptionalParams): Promise<SimplePollerLike<OperationState<ReservationOrderResponse>, ReservationOrderResponse>>
Parameters
- reservationOrderId
-
string
Order Id of the reservation
- body
- RefundRequest
Information needed for returning reservation.
- options
- ReturnPostOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ReservationOrderResponse>, ReservationOrderResponse>>
beginPostAndWait(string, RefundRequest, ReturnPostOptionalParams)
Return a reservation and get refund information.
function beginPostAndWait(reservationOrderId: string, body: RefundRequest, options?: ReturnPostOptionalParams): Promise<ReservationOrderResponse>
Parameters
- reservationOrderId
-
string
Order Id of the reservation
- body
- RefundRequest
Information needed for returning reservation.
- options
- ReturnPostOptionalParams
The options parameters.
Returns
Promise<ReservationOrderResponse>