copyWith method

WebApiModulesSettingsSystemSettingsInventorySettingsInventorySettings copyWith({
  1. String? inventorySettingsId,
  2. String? inventorySettingsName,
  3. String? iCodeMask,
  4. bool? padICodeWithZeros,
  5. bool? userAssignedICodes,
  6. int? lastICode,
  7. String? iCodePrefix,
  8. bool? enable3WeekPricing,
  9. bool? enableTieredWeekPricing,
  10. String? tier1Name,
  11. String? tier2Name,
  12. String? tier3Name,
  13. String? tier4Name,
  14. String? tier5Name,
  15. String? salesCheckOutRetiredReasonId,
  16. String? salesCheckOutRetiredReason,
  17. String? salesCheckInUnretiredReasonId,
  18. String? salesCheckInUnretiredReason,
  19. String? defaultRentalSaleRetiredReasonId,
  20. String? defaultRentalSaleRetiredReason,
  21. String? defaultLossAndDamageRetiredReasonId,
  22. String? defaultLossAndDamageRetiredReason,
  23. bool? startDepreciatingFixedAssetsTheMonthAfterTheyAreReceived,
  24. bool? depreciateFixedAssetsWhenRetired,
  25. bool? unDepreciateFixedAssetsWhenUnretired,
  26. bool? includeTaxInOriginalEquipmentCost,
  27. String? defaultRentalQuantityInventoryCostCalculation,
  28. String? defaultSalesQuantityInventoryCostCalculation,
  29. String? defaultPartsQuantityInventoryCostCalculation,
  30. bool? enableLease,
  31. bool? autoUpdateInventoryMetricImperialDimensions,
  32. bool? convertDimensionsToSmallestUnit,
  33. bool? autoSortInventoryByICode,
  34. bool? fixedAssetTransferOwnership,
  35. String? changeICodeRetiredReasonId,
  36. String? changeICodeRetiredReason,
  37. bool? changeICodeCreateBrandNewPurchase,
  38. String? physicalInventoryRetiredReasonId,
  39. String? physicalInventoryRetiredReason,
  40. String? physicalInventoryDefaultCost,
  41. String? physicalInventoryAdjustmentReasonId,
  42. String? physicalInventoryAdjustmentReason,
  43. bool? enableInventoryCertification,
  44. bool? enablePropsWardrobe,
  45. bool? enableSetsWalls,
  46. String? returnInventoryRetiredReasonId,
  47. String? returnInventoryRetiredReason,
  48. String? voidReturnInventoryUnretiredReasonId,
  49. String? voidReturnInventoryUnretiredReason,
  50. bool? enableOriginalShow,
  51. bool? trackItemsInRooms,
  52. int? utilizationYears,
  53. bool? returnOnAssetUseDaysBilled,
  54. String? returnOnAssetRevenueDate,
  55. String? dateStamp,
  56. String? auditNote,
  57. String? recordTitle,
  58. dynamic urlIdentifier,
  59. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  60. List<FwStandardDataFwCustomValue>? custom,
  61. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  62. FwStandardBusinessLogicFwBusinessLogic? original,
  63. List<FwStandardDataFwTranslatedValue>? translation,
  64. bool? hasImport,
  65. bool? hasDocuments,
  66. String? createdByUserId,
  67. String? createdByUserName,
  68. String? createdDateTime,
  69. String? modifiedByUserId,
  70. String? modifiedByUserName,
  71. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsSystemSettingsInventorySettingsInventorySettings
copyWith({
  String? inventorySettingsId,
  String? inventorySettingsName,
  String? iCodeMask,
  bool? padICodeWithZeros,
  bool? userAssignedICodes,
  int? lastICode,
  String? iCodePrefix,
  bool? enable3WeekPricing,
  bool? enableTieredWeekPricing,
  String? tier1Name,
  String? tier2Name,
  String? tier3Name,
  String? tier4Name,
  String? tier5Name,
  String? salesCheckOutRetiredReasonId,
  String? salesCheckOutRetiredReason,
  String? salesCheckInUnretiredReasonId,
  String? salesCheckInUnretiredReason,
  String? defaultRentalSaleRetiredReasonId,
  String? defaultRentalSaleRetiredReason,
  String? defaultLossAndDamageRetiredReasonId,
  String? defaultLossAndDamageRetiredReason,
  bool? startDepreciatingFixedAssetsTheMonthAfterTheyAreReceived,
  bool? depreciateFixedAssetsWhenRetired,
  bool? unDepreciateFixedAssetsWhenUnretired,
  bool? includeTaxInOriginalEquipmentCost,
  String? defaultRentalQuantityInventoryCostCalculation,
  String? defaultSalesQuantityInventoryCostCalculation,
  String? defaultPartsQuantityInventoryCostCalculation,
  bool? enableLease,
  bool? autoUpdateInventoryMetricImperialDimensions,
  bool? convertDimensionsToSmallestUnit,
  bool? autoSortInventoryByICode,
  bool? fixedAssetTransferOwnership,
  String? changeICodeRetiredReasonId,
  String? changeICodeRetiredReason,
  bool? changeICodeCreateBrandNewPurchase,
  String? physicalInventoryRetiredReasonId,
  String? physicalInventoryRetiredReason,
  String? physicalInventoryDefaultCost,
  String? physicalInventoryAdjustmentReasonId,
  String? physicalInventoryAdjustmentReason,
  bool? enableInventoryCertification,
  bool? enablePropsWardrobe,
  bool? enableSetsWalls,
  String? returnInventoryRetiredReasonId,
  String? returnInventoryRetiredReason,
  String? voidReturnInventoryUnretiredReasonId,
  String? voidReturnInventoryUnretiredReason,
  bool? enableOriginalShow,
  bool? trackItemsInRooms,
  int? utilizationYears,
  bool? returnOnAssetUseDaysBilled,
  String? returnOnAssetRevenueDate,
  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 WebApiModulesSettingsSystemSettingsInventorySettingsInventorySettings(
    inventorySettingsId: inventorySettingsId ?? this.inventorySettingsId,
    inventorySettingsName:
        inventorySettingsName ?? this.inventorySettingsName,
    iCodeMask: iCodeMask ?? this.iCodeMask,
    padICodeWithZeros: padICodeWithZeros ?? this.padICodeWithZeros,
    userAssignedICodes: userAssignedICodes ?? this.userAssignedICodes,
    lastICode: lastICode ?? this.lastICode,
    iCodePrefix: iCodePrefix ?? this.iCodePrefix,
    enable3WeekPricing: enable3WeekPricing ?? this.enable3WeekPricing,
    enableTieredWeekPricing:
        enableTieredWeekPricing ?? this.enableTieredWeekPricing,
    tier1Name: tier1Name ?? this.tier1Name,
    tier2Name: tier2Name ?? this.tier2Name,
    tier3Name: tier3Name ?? this.tier3Name,
    tier4Name: tier4Name ?? this.tier4Name,
    tier5Name: tier5Name ?? this.tier5Name,
    salesCheckOutRetiredReasonId:
        salesCheckOutRetiredReasonId ?? this.salesCheckOutRetiredReasonId,
    salesCheckOutRetiredReason:
        salesCheckOutRetiredReason ?? this.salesCheckOutRetiredReason,
    salesCheckInUnretiredReasonId:
        salesCheckInUnretiredReasonId ?? this.salesCheckInUnretiredReasonId,
    salesCheckInUnretiredReason:
        salesCheckInUnretiredReason ?? this.salesCheckInUnretiredReason,
    defaultRentalSaleRetiredReasonId:
        defaultRentalSaleRetiredReasonId ??
        this.defaultRentalSaleRetiredReasonId,
    defaultRentalSaleRetiredReason:
        defaultRentalSaleRetiredReason ?? this.defaultRentalSaleRetiredReason,
    defaultLossAndDamageRetiredReasonId:
        defaultLossAndDamageRetiredReasonId ??
        this.defaultLossAndDamageRetiredReasonId,
    defaultLossAndDamageRetiredReason:
        defaultLossAndDamageRetiredReason ??
        this.defaultLossAndDamageRetiredReason,
    startDepreciatingFixedAssetsTheMonthAfterTheyAreReceived:
        startDepreciatingFixedAssetsTheMonthAfterTheyAreReceived ??
        this.startDepreciatingFixedAssetsTheMonthAfterTheyAreReceived,
    depreciateFixedAssetsWhenRetired:
        depreciateFixedAssetsWhenRetired ??
        this.depreciateFixedAssetsWhenRetired,
    unDepreciateFixedAssetsWhenUnretired:
        unDepreciateFixedAssetsWhenUnretired ??
        this.unDepreciateFixedAssetsWhenUnretired,
    includeTaxInOriginalEquipmentCost:
        includeTaxInOriginalEquipmentCost ??
        this.includeTaxInOriginalEquipmentCost,
    defaultRentalQuantityInventoryCostCalculation:
        defaultRentalQuantityInventoryCostCalculation ??
        this.defaultRentalQuantityInventoryCostCalculation,
    defaultSalesQuantityInventoryCostCalculation:
        defaultSalesQuantityInventoryCostCalculation ??
        this.defaultSalesQuantityInventoryCostCalculation,
    defaultPartsQuantityInventoryCostCalculation:
        defaultPartsQuantityInventoryCostCalculation ??
        this.defaultPartsQuantityInventoryCostCalculation,
    enableLease: enableLease ?? this.enableLease,
    autoUpdateInventoryMetricImperialDimensions:
        autoUpdateInventoryMetricImperialDimensions ??
        this.autoUpdateInventoryMetricImperialDimensions,
    convertDimensionsToSmallestUnit:
        convertDimensionsToSmallestUnit ??
        this.convertDimensionsToSmallestUnit,
    autoSortInventoryByICode:
        autoSortInventoryByICode ?? this.autoSortInventoryByICode,
    fixedAssetTransferOwnership:
        fixedAssetTransferOwnership ?? this.fixedAssetTransferOwnership,
    changeICodeRetiredReasonId:
        changeICodeRetiredReasonId ?? this.changeICodeRetiredReasonId,
    changeICodeRetiredReason:
        changeICodeRetiredReason ?? this.changeICodeRetiredReason,
    changeICodeCreateBrandNewPurchase:
        changeICodeCreateBrandNewPurchase ??
        this.changeICodeCreateBrandNewPurchase,
    physicalInventoryRetiredReasonId:
        physicalInventoryRetiredReasonId ??
        this.physicalInventoryRetiredReasonId,
    physicalInventoryRetiredReason:
        physicalInventoryRetiredReason ?? this.physicalInventoryRetiredReason,
    physicalInventoryDefaultCost:
        physicalInventoryDefaultCost ?? this.physicalInventoryDefaultCost,
    physicalInventoryAdjustmentReasonId:
        physicalInventoryAdjustmentReasonId ??
        this.physicalInventoryAdjustmentReasonId,
    physicalInventoryAdjustmentReason:
        physicalInventoryAdjustmentReason ??
        this.physicalInventoryAdjustmentReason,
    enableInventoryCertification:
        enableInventoryCertification ?? this.enableInventoryCertification,
    enablePropsWardrobe: enablePropsWardrobe ?? this.enablePropsWardrobe,
    enableSetsWalls: enableSetsWalls ?? this.enableSetsWalls,
    returnInventoryRetiredReasonId:
        returnInventoryRetiredReasonId ?? this.returnInventoryRetiredReasonId,
    returnInventoryRetiredReason:
        returnInventoryRetiredReason ?? this.returnInventoryRetiredReason,
    voidReturnInventoryUnretiredReasonId:
        voidReturnInventoryUnretiredReasonId ??
        this.voidReturnInventoryUnretiredReasonId,
    voidReturnInventoryUnretiredReason:
        voidReturnInventoryUnretiredReason ??
        this.voidReturnInventoryUnretiredReason,
    enableOriginalShow: enableOriginalShow ?? this.enableOriginalShow,
    trackItemsInRooms: trackItemsInRooms ?? this.trackItemsInRooms,
    utilizationYears: utilizationYears ?? this.utilizationYears,
    returnOnAssetUseDaysBilled:
        returnOnAssetUseDaysBilled ?? this.returnOnAssetUseDaysBilled,
    returnOnAssetRevenueDate:
        returnOnAssetRevenueDate ?? this.returnOnAssetRevenueDate,
    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,
  );
}