copyWith method

WebApiModulesIntegrationsStorefrontStorefrontProductL copyWith({
  1. List<FwStandardDataFwCustomValue>? custom,
  2. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  3. List<FwStandardDataFwTranslatedValue>? translation,
  4. bool? hasImport,
  5. bool? hasDocuments,
  6. int? id,
  7. String? warehouseId,
  8. String? inventoryId,
  9. String? inventoryNo,
  10. String? itemName,
  11. String? keywords,
  12. String? tags,
  13. String? barcodes,
  14. String? itemUrlName,
  15. String? detailedDescription,
  16. String? technicalNotes,
  17. String? classification,
  18. String? availableFor,
  19. double? owned,
  20. String? inventoryTypeOrderBy,
  21. String? categoryOrderBy,
  22. String? subCategoryOrderBy,
  23. String? masterOrderBy,
  24. WebApiModulesIntegrationsStorefrontProductAvailability? availability,
  25. bool? warehouseSpecific,
  26. String? packagePrice,
  27. double? dailyRate,
  28. double? weeklyRate,
  29. double? monthlyRate,
  30. double? salesPrice,
  31. String? currencySymbol,
  32. String? currencyCode,
  33. List<StorefrontPackageItem>? packageItems,
  34. String? manufacturer,
  35. String? manufacturerPartNumber,
  36. String? manufacturerUrl,
  37. double? unitValue,
  38. double? replacementCost,
  39. double? shipWeightLbs,
  40. double? shipWeightOz,
  41. List<WebApiModulesIntegrationsStorefrontProductImage>? images,
  42. String? webCatalogId,
  43. String? webCatalog,
  44. String? webCatalogUrlName,
  45. String? inventoryDepartmentId,
  46. String? inventoryDepartment,
  47. String? inventoryDepartmentUrlName,
  48. String? categoryId,
  49. String? category,
  50. String? categoryUrlName,
  51. String? subCategoryId,
  52. String? subCategory,
  53. String? subCategoryUrlName,
  54. FwStandardBusinessLogicFwBusinessLogic? original,
  55. String? createdByUserId,
  56. String? createdByUserName,
  57. String? createdDateTime,
  58. String? modifiedByUserId,
  59. String? modifiedByUserName,
  60. String? modifiedDateTime,
})

Implementation

WebApiModulesIntegrationsStorefrontStorefrontProductL copyWith({
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  int? id,
  String? warehouseId,
  String? inventoryId,
  String? inventoryNo,
  String? itemName,
  String? keywords,
  String? tags,
  String? barcodes,
  String? itemUrlName,
  String? detailedDescription,
  String? technicalNotes,
  String? classification,
  String? availableFor,
  double? owned,
  String? inventoryTypeOrderBy,
  String? categoryOrderBy,
  String? subCategoryOrderBy,
  String? masterOrderBy,
  WebApiModulesIntegrationsStorefrontProductAvailability? availability,
  bool? warehouseSpecific,
  String? packagePrice,
  double? dailyRate,
  double? weeklyRate,
  double? monthlyRate,
  double? salesPrice,
  String? currencySymbol,
  String? currencyCode,
  List<StorefrontPackageItem>? packageItems,
  String? manufacturer,
  String? manufacturerPartNumber,
  String? manufacturerUrl,
  double? unitValue,
  double? replacementCost,
  double? shipWeightLbs,
  double? shipWeightOz,
  List<WebApiModulesIntegrationsStorefrontProductImage>? images,
  String? webCatalogId,
  String? webCatalog,
  String? webCatalogUrlName,
  String? inventoryDepartmentId,
  String? inventoryDepartment,
  String? inventoryDepartmentUrlName,
  String? categoryId,
  String? category,
  String? categoryUrlName,
  String? subCategoryId,
  String? subCategory,
  String? subCategoryUrlName,
  FwStandardBusinessLogicFwBusinessLogic? original,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesIntegrationsStorefrontStorefrontProductL(
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    id: id ?? this.id,
    warehouseId: warehouseId ?? this.warehouseId,
    inventoryId: inventoryId ?? this.inventoryId,
    inventoryNo: inventoryNo ?? this.inventoryNo,
    itemName: itemName ?? this.itemName,
    keywords: keywords ?? this.keywords,
    tags: tags ?? this.tags,
    barcodes: barcodes ?? this.barcodes,
    itemUrlName: itemUrlName ?? this.itemUrlName,
    detailedDescription: detailedDescription ?? this.detailedDescription,
    technicalNotes: technicalNotes ?? this.technicalNotes,
    classification: classification ?? this.classification,
    availableFor: availableFor ?? this.availableFor,
    owned: owned ?? this.owned,
    inventoryTypeOrderBy: inventoryTypeOrderBy ?? this.inventoryTypeOrderBy,
    categoryOrderBy: categoryOrderBy ?? this.categoryOrderBy,
    subCategoryOrderBy: subCategoryOrderBy ?? this.subCategoryOrderBy,
    masterOrderBy: masterOrderBy ?? this.masterOrderBy,
    availability: availability ?? this.availability,
    warehouseSpecific: warehouseSpecific ?? this.warehouseSpecific,
    packagePrice: packagePrice ?? this.packagePrice,
    dailyRate: dailyRate ?? this.dailyRate,
    weeklyRate: weeklyRate ?? this.weeklyRate,
    monthlyRate: monthlyRate ?? this.monthlyRate,
    salesPrice: salesPrice ?? this.salesPrice,
    currencySymbol: currencySymbol ?? this.currencySymbol,
    currencyCode: currencyCode ?? this.currencyCode,
    packageItems: packageItems ?? this.packageItems,
    manufacturer: manufacturer ?? this.manufacturer,
    manufacturerPartNumber:
        manufacturerPartNumber ?? this.manufacturerPartNumber,
    manufacturerUrl: manufacturerUrl ?? this.manufacturerUrl,
    unitValue: unitValue ?? this.unitValue,
    replacementCost: replacementCost ?? this.replacementCost,
    shipWeightLbs: shipWeightLbs ?? this.shipWeightLbs,
    shipWeightOz: shipWeightOz ?? this.shipWeightOz,
    images: images ?? this.images,
    webCatalogId: webCatalogId ?? this.webCatalogId,
    webCatalog: webCatalog ?? this.webCatalog,
    webCatalogUrlName: webCatalogUrlName ?? this.webCatalogUrlName,
    inventoryDepartmentId:
        inventoryDepartmentId ?? this.inventoryDepartmentId,
    inventoryDepartment: inventoryDepartment ?? this.inventoryDepartment,
    inventoryDepartmentUrlName:
        inventoryDepartmentUrlName ?? this.inventoryDepartmentUrlName,
    categoryId: categoryId ?? this.categoryId,
    category: category ?? this.category,
    categoryUrlName: categoryUrlName ?? this.categoryUrlName,
    subCategoryId: subCategoryId ?? this.subCategoryId,
    subCategory: subCategory ?? this.subCategory,
    subCategoryUrlName: subCategoryUrlName ?? this.subCategoryUrlName,
    original: original ?? this.original,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}