readDormBedInvoice method

Future<(UResponse<List<UDormBedInvoiceResponse>>?, UResponse?, String?)> readDormBedInvoice({
  1. required UDormBedInvoiceReadParams p,
  2. dynamic onOk(
    1. UResponse<List<UDormBedInvoiceResponse>> r
    )?,
  3. dynamic onError(
    1. UResponse e
    )?,
  4. dynamic onException(
    1. String e
    )?,
})

Implementation

Future<(UResponse<List<UDormBedInvoiceResponse>>?, UResponse<dynamic>?, String?)> readDormBedInvoice({
  required UDormBedInvoiceReadParams p,
  Function(UResponse<List<UDormBedInvoiceResponse>> r)? onOk,
  Function(UResponse<dynamic> e)? onError,
  Function(String e)? onException,
}) => _Api.call("/Hotel/DormBedInvoice/Read", p.toMap(), _Api.list(UDormBedInvoiceResponse.fromMap), _Api.dyn, onOk, onError, onException, locale: true);