CalculateRefund interface

Interface representing a CalculateRefund.

Methods

post(string, CalculateRefundRequest, CalculateRefundPostOptionalParams)

Calculate price for returning Reservations if there are no policy errors.

Method Details

post(string, CalculateRefundRequest, CalculateRefundPostOptionalParams)

Calculate price for returning Reservations if there are no policy errors.

function post(reservationOrderId: string, body: CalculateRefundRequest, options?: CalculateRefundPostOptionalParams): Promise<CalculateRefundResponse>

Parameters

reservationOrderId

string

Order Id of the reservation

body
CalculateRefundRequest

Information needed for calculating refund of a reservation.

options
CalculateRefundPostOptionalParams

The options parameters.

Returns