copyWith method

WebApiModulesSettingsInventorySettingsStorefrontStorefrontCatalog copyWith({
  1. String? storefrontCatalogId,
  2. String? description,
  3. bool? rental,
  4. bool? sales,
  5. String? integration,
  6. double? ownedQuantityPercent,
  7. String? locationId,
  8. String? location,
  9. String? warehouseId,
  10. String? warehouse,
  11. String? departmentId,
  12. String? department,
  13. bool? inactive,
  14. String? storefrontCatalogGridFields,
  15. String? storefrontCatalogListFields,
  16. String? storefrontItemDetailFields,
  17. String? storefrontShoppingCartFields,
  18. bool? includeZeroOwned,
  19. bool? syncRunning,
  20. bool? allowAddingUnavailableItems,
  21. String? orderTypeId,
  22. String? orderType,
  23. String? dealId,
  24. String? landingPageHtml,
  25. String? deal,
  26. String? dateStamp,
  27. String? auditNote,
  28. String? recordTitle,
  29. dynamic urlIdentifier,
  30. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  31. List<FwStandardDataFwCustomValue>? custom,
  32. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  33. FwStandardBusinessLogicFwBusinessLogic? original,
  34. List<FwStandardDataFwTranslatedValue>? translation,
  35. bool? hasImport,
  36. String? createdByUserId,
  37. String? createdByUserName,
  38. String? createdDateTime,
  39. String? modifiedByUserId,
  40. String? modifiedByUserName,
  41. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsInventorySettingsStorefrontStorefrontCatalog copyWith({
  String? storefrontCatalogId,
  String? description,
  bool? rental,
  bool? sales,
  String? integration,
  double? ownedQuantityPercent,
  String? locationId,
  String? location,
  String? warehouseId,
  String? warehouse,
  String? departmentId,
  String? department,
  bool? inactive,
  String? storefrontCatalogGridFields,
  String? storefrontCatalogListFields,
  String? storefrontItemDetailFields,
  String? storefrontShoppingCartFields,
  bool? includeZeroOwned,
  bool? syncRunning,
  bool? allowAddingUnavailableItems,
  String? orderTypeId,
  String? orderType,
  String? dealId,
  String? landingPageHtml,
  String? deal,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesSettingsInventorySettingsStorefrontStorefrontCatalog(
    storefrontCatalogId: storefrontCatalogId ?? this.storefrontCatalogId,
    description: description ?? this.description,
    rental: rental ?? this.rental,
    sales: sales ?? this.sales,
    integration: integration ?? this.integration,
    ownedQuantityPercent: ownedQuantityPercent ?? this.ownedQuantityPercent,
    locationId: locationId ?? this.locationId,
    location: location ?? this.location,
    warehouseId: warehouseId ?? this.warehouseId,
    warehouse: warehouse ?? this.warehouse,
    departmentId: departmentId ?? this.departmentId,
    department: department ?? this.department,
    inactive: inactive ?? this.inactive,
    storefrontCatalogGridFields:
        storefrontCatalogGridFields ?? this.storefrontCatalogGridFields,
    storefrontCatalogListFields:
        storefrontCatalogListFields ?? this.storefrontCatalogListFields,
    storefrontItemDetailFields:
        storefrontItemDetailFields ?? this.storefrontItemDetailFields,
    storefrontShoppingCartFields:
        storefrontShoppingCartFields ?? this.storefrontShoppingCartFields,
    includeZeroOwned: includeZeroOwned ?? this.includeZeroOwned,
    syncRunning: syncRunning ?? this.syncRunning,
    allowAddingUnavailableItems:
        allowAddingUnavailableItems ?? this.allowAddingUnavailableItems,
    orderTypeId: orderTypeId ?? this.orderTypeId,
    orderType: orderType ?? this.orderType,
    dealId: dealId ?? this.dealId,
    landingPageHtml: landingPageHtml ?? this.landingPageHtml,
    deal: deal ?? this.deal,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}