DebitNotesServiceMultipleItemsSingleton constructor

DebitNotesServiceMultipleItemsSingleton({
  1. Int64? familyId,
  2. Int64? internalQuantity,
  3. Int64? vendorUomId,
  4. Int64? vendorQuantity,
  5. Int64? vendorUnitPrice,
  6. Int64? taxGroupId,
  7. Int64? roundOff,
  8. String? specifications,
})

Implementation

factory DebitNotesServiceMultipleItemsSingleton({
  $fixnum.Int64? familyId,
  $fixnum.Int64? internalQuantity,
  $fixnum.Int64? vendorUomId,
  $fixnum.Int64? vendorQuantity,
  $fixnum.Int64? vendorUnitPrice,
  $fixnum.Int64? taxGroupId,
  $fixnum.Int64? roundOff,
  $core.String? specifications,
}) {
  final result = create();
  if (familyId != null) result.familyId = familyId;
  if (internalQuantity != null) result.internalQuantity = internalQuantity;
  if (vendorUomId != null) result.vendorUomId = vendorUomId;
  if (vendorQuantity != null) result.vendorQuantity = vendorQuantity;
  if (vendorUnitPrice != null) result.vendorUnitPrice = vendorUnitPrice;
  if (taxGroupId != null) result.taxGroupId = taxGroupId;
  if (roundOff != null) result.roundOff = roundOff;
  if (specifications != null) result.specifications = specifications;
  return result;
}