copyWithWrapped method

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

Implementation

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