delete static method

Future<ResponseStatus> delete(
  1. String formId,
  2. List<String> numbers
)

Delete some bills by billNos.

formId The formId of the bill or basedata. numbers The billnos of bills or the numbers of basedatas.

@return A response result by parsing json.

Implementation

static Future<ResponseStatus> delete(String formId, List<String> numbers) async {
  var resp = await K3Client.getInstance().operate(
    DeleteParam.builder()
      .formId(formId)
      .numbers(numbers)
      .build()
  );
  return ResponseStatus.fromJson(resp);
}