push static method

Future<ResponseStatus> push(
  1. List<String> numbers,
  2. String formId,
  3. String targetFormId
)

One bill or many bills to one bill push.

numbers The billnos of source bills. formId The formId of the source bill. targetFormId The formId of the target bill.

@return Json data.

Implementation

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