copyWith method
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,
- 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,
- bool? hasDocuments,
- String? createdByUserId,
- String? createdByUserName,
- String? createdDateTime,
- String? modifiedByUserId,
- String? modifiedByUserName,
- 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,
bool? hasDocuments,
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,
hasDocuments: hasDocuments ?? this.hasDocuments,
createdByUserId: createdByUserId ?? this.createdByUserId,
createdByUserName: createdByUserName ?? this.createdByUserName,
createdDateTime: createdDateTime ?? this.createdDateTime,
modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
);
}