DebitNotesServiceSearchAllReq constructor

DebitNotesServiceSearchAllReq({
  1. BOOL_FILTER? isActive,
  2. Int64? count,
  3. Int64? offset,
  4. SORT_ORDER? sortOrder,
  5. DEBIT_NOTE_SORT_KEY? sortKey,
  6. String? entityUuid,
  7. STANDARD_LIFECYCLE_STATUS? status,
  8. String? searchKey,
  9. DEBIT_NOTE_REF_FROM? refFrom,
  10. Int64? refId,
  11. Int64? vendorId,
})

Implementation

factory DebitNotesServiceSearchAllReq({
  $1.BOOL_FILTER? isActive,
  $fixnum.Int64? count,
  $fixnum.Int64? offset,
  $1.SORT_ORDER? sortOrder,
  DEBIT_NOTE_SORT_KEY? sortKey,
  $core.String? entityUuid,
  $1.STANDARD_LIFECYCLE_STATUS? status,
  $core.String? searchKey,
  DEBIT_NOTE_REF_FROM? refFrom,
  $fixnum.Int64? refId,
  $fixnum.Int64? vendorId,
}) {
  final result = create();
  if (isActive != null) result.isActive = isActive;
  if (count != null) result.count = count;
  if (offset != null) result.offset = offset;
  if (sortOrder != null) result.sortOrder = sortOrder;
  if (sortKey != null) result.sortKey = sortKey;
  if (entityUuid != null) result.entityUuid = entityUuid;
  if (status != null) result.status = status;
  if (searchKey != null) result.searchKey = searchKey;
  if (refFrom != null) result.refFrom = refFrom;
  if (refId != null) result.refId = refId;
  if (vendorId != null) result.vendorId = vendorId;
  return result;
}