copyWith method

WebApiModulesSettingsMiscellaneousSettingsMiscRateMiscRate copyWith({
  1. String? miscRateId,
  2. String? rateId,
  3. String? miscTypeId,
  4. String? miscType,
  5. String? rateType,
  6. bool? includeAsProfitAndLossCategory,
  7. bool? includeInCost,
  8. double? averageCost,
  9. double? price,
  10. double? hourlyRate,
  11. double? dailyRate,
  12. double? weeklyRate,
  13. double? monthlyRate,
  14. double? hourlyCost,
  15. double? dailyCost,
  16. double? weeklyCost,
  17. double? monthlyCost,
  18. bool? lockMarkup,
  19. bool? taxable,
  20. String? classification,
  21. String? iCode,
  22. String? description,
  23. String? availFor,
  24. String? categoryId,
  25. String? category,
  26. int? subCategoryCount,
  27. String? subCategoryId,
  28. String? subCategory,
  29. String? classificationDescription,
  30. String? classificationColor,
  31. String? unitId,
  32. String? unit,
  33. String? unitType,
  34. bool? nonDiscountable,
  35. bool? overrideProfitAndLossCategory,
  36. String? profitAndLossCategoryId,
  37. String? profitAndLossCategory,
  38. bool? autoCopyNotesToQuoteOrder,
  39. String? note,
  40. bool? printNoteOnInContract,
  41. bool? printNoteOnOutContract,
  42. bool? printNoteOnReceiveContract,
  43. bool? printNoteOnReturnContract,
  44. bool? printNoteOnInvoice,
  45. bool? printNoteOnOrder,
  46. bool? printNoteOnPickList,
  47. bool? printNoteOnPO,
  48. bool? printNoteOnQuote,
  49. bool? printNoteOnReturnList,
  50. bool? printNoteOnPoReceiveList,
  51. bool? printNoteOnPoReturnList,
  52. String? assetAccountId,
  53. String? assetAccountNo,
  54. String? assetAccountDescription,
  55. String? incomeAccountId,
  56. String? incomeAccountNo,
  57. String? incomeAccountDescription,
  58. String? subIncomeAccountId,
  59. String? subIncomeAccountNo,
  60. String? subIncomeAccountDescription,
  61. String? consignmentIncomeAccountId,
  62. String? consignmentIncomeAccountNo,
  63. String? consignmentIncomeAccountDescription,
  64. String? ldIncomeAccountId,
  65. String? ldIncomeAccountNo,
  66. String? ldIncomeAccountDescription,
  67. String? equipmentSaleIncomeAccountId,
  68. String? equipmentSaleIncomeAccountNo,
  69. String? equipmentSaleIncomeAccountDescription,
  70. String? expenseAccountId,
  71. String? expenseAccountNo,
  72. String? expenseAccountDescription,
  73. String? costOfGoodsSoldExpenseAccountId,
  74. String? costOfGoodsSoldExpenseAccountNo,
  75. String? costOfGoodsSoldExpenseAccountDescription,
  76. String? costOfGoodsRentedExpenseAccountId,
  77. String? costOfGoodsRentedExpenseAccountNo,
  78. String? costOfGoodsRentedExpenseAccountDescription,
  79. String? depreciationExpenseAccountId,
  80. String? depreciationExpenseAccountNo,
  81. String? depreciationExpenseAccountDescription,
  82. String? accumulatedDepreciationExpenseAccountId,
  83. String? accumulatedDepreciationExpenseAccountNo,
  84. String? accumulatedDepreciationExpenseAccountDescription,
  85. String? inputDate,
  86. String? inputByUsersId,
  87. String? category2,
  88. String? class2,
  89. String? stockClass,
  90. String? webTitle,
  91. bool? inactive,
  92. String? dateStamp,
  93. bool? manifestShippingContainer,
  94. bool? manifestStandAloneItem,
  95. bool? taxableForMyLocation,
  96. String? myLocationId,
  97. bool? taxableForAllLocations,
  98. String? auditNote,
  99. String? recordTitle,
  100. dynamic urlIdentifier,
  101. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  102. List<FwStandardDataFwCustomValue>? custom,
  103. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  104. FwStandardBusinessLogicFwBusinessLogic? original,
  105. List<FwStandardDataFwTranslatedValue>? translation,
  106. bool? hasImport,
  107. bool? hasDocuments,
  108. String? createdByUserId,
  109. String? createdByUserName,
  110. String? createdDateTime,
  111. String? modifiedByUserId,
  112. String? modifiedByUserName,
  113. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsMiscellaneousSettingsMiscRateMiscRate copyWith({
  String? miscRateId,
  String? rateId,
  String? miscTypeId,
  String? miscType,
  String? rateType,
  bool? includeAsProfitAndLossCategory,
  bool? includeInCost,
  double? averageCost,
  double? price,
  double? hourlyRate,
  double? dailyRate,
  double? weeklyRate,
  double? monthlyRate,
  double? hourlyCost,
  double? dailyCost,
  double? weeklyCost,
  double? monthlyCost,
  bool? lockMarkup,
  bool? taxable,
  String? classification,
  String? iCode,
  String? description,
  String? availFor,
  String? categoryId,
  String? category,
  int? subCategoryCount,
  String? subCategoryId,
  String? subCategory,
  String? classificationDescription,
  String? classificationColor,
  String? unitId,
  String? unit,
  String? unitType,
  bool? nonDiscountable,
  bool? overrideProfitAndLossCategory,
  String? profitAndLossCategoryId,
  String? profitAndLossCategory,
  bool? autoCopyNotesToQuoteOrder,
  String? note,
  bool? printNoteOnInContract,
  bool? printNoteOnOutContract,
  bool? printNoteOnReceiveContract,
  bool? printNoteOnReturnContract,
  bool? printNoteOnInvoice,
  bool? printNoteOnOrder,
  bool? printNoteOnPickList,
  bool? printNoteOnPO,
  bool? printNoteOnQuote,
  bool? printNoteOnReturnList,
  bool? printNoteOnPoReceiveList,
  bool? printNoteOnPoReturnList,
  String? assetAccountId,
  String? assetAccountNo,
  String? assetAccountDescription,
  String? incomeAccountId,
  String? incomeAccountNo,
  String? incomeAccountDescription,
  String? subIncomeAccountId,
  String? subIncomeAccountNo,
  String? subIncomeAccountDescription,
  String? consignmentIncomeAccountId,
  String? consignmentIncomeAccountNo,
  String? consignmentIncomeAccountDescription,
  String? ldIncomeAccountId,
  String? ldIncomeAccountNo,
  String? ldIncomeAccountDescription,
  String? equipmentSaleIncomeAccountId,
  String? equipmentSaleIncomeAccountNo,
  String? equipmentSaleIncomeAccountDescription,
  String? expenseAccountId,
  String? expenseAccountNo,
  String? expenseAccountDescription,
  String? costOfGoodsSoldExpenseAccountId,
  String? costOfGoodsSoldExpenseAccountNo,
  String? costOfGoodsSoldExpenseAccountDescription,
  String? costOfGoodsRentedExpenseAccountId,
  String? costOfGoodsRentedExpenseAccountNo,
  String? costOfGoodsRentedExpenseAccountDescription,
  String? depreciationExpenseAccountId,
  String? depreciationExpenseAccountNo,
  String? depreciationExpenseAccountDescription,
  String? accumulatedDepreciationExpenseAccountId,
  String? accumulatedDepreciationExpenseAccountNo,
  String? accumulatedDepreciationExpenseAccountDescription,
  String? inputDate,
  String? inputByUsersId,
  String? category2,
  String? class2,
  String? stockClass,
  String? webTitle,
  bool? inactive,
  String? dateStamp,
  bool? manifestShippingContainer,
  bool? manifestStandAloneItem,
  bool? taxableForMyLocation,
  String? myLocationId,
  bool? taxableForAllLocations,
  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 WebApiModulesSettingsMiscellaneousSettingsMiscRateMiscRate(
    miscRateId: miscRateId ?? this.miscRateId,
    rateId: rateId ?? this.rateId,
    miscTypeId: miscTypeId ?? this.miscTypeId,
    miscType: miscType ?? this.miscType,
    rateType: rateType ?? this.rateType,
    includeAsProfitAndLossCategory:
        includeAsProfitAndLossCategory ?? this.includeAsProfitAndLossCategory,
    includeInCost: includeInCost ?? this.includeInCost,
    averageCost: averageCost ?? this.averageCost,
    price: price ?? this.price,
    hourlyRate: hourlyRate ?? this.hourlyRate,
    dailyRate: dailyRate ?? this.dailyRate,
    weeklyRate: weeklyRate ?? this.weeklyRate,
    monthlyRate: monthlyRate ?? this.monthlyRate,
    hourlyCost: hourlyCost ?? this.hourlyCost,
    dailyCost: dailyCost ?? this.dailyCost,
    weeklyCost: weeklyCost ?? this.weeklyCost,
    monthlyCost: monthlyCost ?? this.monthlyCost,
    lockMarkup: lockMarkup ?? this.lockMarkup,
    taxable: taxable ?? this.taxable,
    classification: classification ?? this.classification,
    iCode: iCode ?? this.iCode,
    description: description ?? this.description,
    availFor: availFor ?? this.availFor,
    categoryId: categoryId ?? this.categoryId,
    category: category ?? this.category,
    subCategoryCount: subCategoryCount ?? this.subCategoryCount,
    subCategoryId: subCategoryId ?? this.subCategoryId,
    subCategory: subCategory ?? this.subCategory,
    classificationDescription:
        classificationDescription ?? this.classificationDescription,
    classificationColor: classificationColor ?? this.classificationColor,
    unitId: unitId ?? this.unitId,
    unit: unit ?? this.unit,
    unitType: unitType ?? this.unitType,
    nonDiscountable: nonDiscountable ?? this.nonDiscountable,
    overrideProfitAndLossCategory:
        overrideProfitAndLossCategory ?? this.overrideProfitAndLossCategory,
    profitAndLossCategoryId:
        profitAndLossCategoryId ?? this.profitAndLossCategoryId,
    profitAndLossCategory:
        profitAndLossCategory ?? this.profitAndLossCategory,
    autoCopyNotesToQuoteOrder:
        autoCopyNotesToQuoteOrder ?? this.autoCopyNotesToQuoteOrder,
    note: note ?? this.note,
    printNoteOnInContract:
        printNoteOnInContract ?? this.printNoteOnInContract,
    printNoteOnOutContract:
        printNoteOnOutContract ?? this.printNoteOnOutContract,
    printNoteOnReceiveContract:
        printNoteOnReceiveContract ?? this.printNoteOnReceiveContract,
    printNoteOnReturnContract:
        printNoteOnReturnContract ?? this.printNoteOnReturnContract,
    printNoteOnInvoice: printNoteOnInvoice ?? this.printNoteOnInvoice,
    printNoteOnOrder: printNoteOnOrder ?? this.printNoteOnOrder,
    printNoteOnPickList: printNoteOnPickList ?? this.printNoteOnPickList,
    printNoteOnPO: printNoteOnPO ?? this.printNoteOnPO,
    printNoteOnQuote: printNoteOnQuote ?? this.printNoteOnQuote,
    printNoteOnReturnList:
        printNoteOnReturnList ?? this.printNoteOnReturnList,
    printNoteOnPoReceiveList:
        printNoteOnPoReceiveList ?? this.printNoteOnPoReceiveList,
    printNoteOnPoReturnList:
        printNoteOnPoReturnList ?? this.printNoteOnPoReturnList,
    assetAccountId: assetAccountId ?? this.assetAccountId,
    assetAccountNo: assetAccountNo ?? this.assetAccountNo,
    assetAccountDescription:
        assetAccountDescription ?? this.assetAccountDescription,
    incomeAccountId: incomeAccountId ?? this.incomeAccountId,
    incomeAccountNo: incomeAccountNo ?? this.incomeAccountNo,
    incomeAccountDescription:
        incomeAccountDescription ?? this.incomeAccountDescription,
    subIncomeAccountId: subIncomeAccountId ?? this.subIncomeAccountId,
    subIncomeAccountNo: subIncomeAccountNo ?? this.subIncomeAccountNo,
    subIncomeAccountDescription:
        subIncomeAccountDescription ?? this.subIncomeAccountDescription,
    consignmentIncomeAccountId:
        consignmentIncomeAccountId ?? this.consignmentIncomeAccountId,
    consignmentIncomeAccountNo:
        consignmentIncomeAccountNo ?? this.consignmentIncomeAccountNo,
    consignmentIncomeAccountDescription:
        consignmentIncomeAccountDescription ??
        this.consignmentIncomeAccountDescription,
    ldIncomeAccountId: ldIncomeAccountId ?? this.ldIncomeAccountId,
    ldIncomeAccountNo: ldIncomeAccountNo ?? this.ldIncomeAccountNo,
    ldIncomeAccountDescription:
        ldIncomeAccountDescription ?? this.ldIncomeAccountDescription,
    equipmentSaleIncomeAccountId:
        equipmentSaleIncomeAccountId ?? this.equipmentSaleIncomeAccountId,
    equipmentSaleIncomeAccountNo:
        equipmentSaleIncomeAccountNo ?? this.equipmentSaleIncomeAccountNo,
    equipmentSaleIncomeAccountDescription:
        equipmentSaleIncomeAccountDescription ??
        this.equipmentSaleIncomeAccountDescription,
    expenseAccountId: expenseAccountId ?? this.expenseAccountId,
    expenseAccountNo: expenseAccountNo ?? this.expenseAccountNo,
    expenseAccountDescription:
        expenseAccountDescription ?? this.expenseAccountDescription,
    costOfGoodsSoldExpenseAccountId:
        costOfGoodsSoldExpenseAccountId ??
        this.costOfGoodsSoldExpenseAccountId,
    costOfGoodsSoldExpenseAccountNo:
        costOfGoodsSoldExpenseAccountNo ??
        this.costOfGoodsSoldExpenseAccountNo,
    costOfGoodsSoldExpenseAccountDescription:
        costOfGoodsSoldExpenseAccountDescription ??
        this.costOfGoodsSoldExpenseAccountDescription,
    costOfGoodsRentedExpenseAccountId:
        costOfGoodsRentedExpenseAccountId ??
        this.costOfGoodsRentedExpenseAccountId,
    costOfGoodsRentedExpenseAccountNo:
        costOfGoodsRentedExpenseAccountNo ??
        this.costOfGoodsRentedExpenseAccountNo,
    costOfGoodsRentedExpenseAccountDescription:
        costOfGoodsRentedExpenseAccountDescription ??
        this.costOfGoodsRentedExpenseAccountDescription,
    depreciationExpenseAccountId:
        depreciationExpenseAccountId ?? this.depreciationExpenseAccountId,
    depreciationExpenseAccountNo:
        depreciationExpenseAccountNo ?? this.depreciationExpenseAccountNo,
    depreciationExpenseAccountDescription:
        depreciationExpenseAccountDescription ??
        this.depreciationExpenseAccountDescription,
    accumulatedDepreciationExpenseAccountId:
        accumulatedDepreciationExpenseAccountId ??
        this.accumulatedDepreciationExpenseAccountId,
    accumulatedDepreciationExpenseAccountNo:
        accumulatedDepreciationExpenseAccountNo ??
        this.accumulatedDepreciationExpenseAccountNo,
    accumulatedDepreciationExpenseAccountDescription:
        accumulatedDepreciationExpenseAccountDescription ??
        this.accumulatedDepreciationExpenseAccountDescription,
    inputDate: inputDate ?? this.inputDate,
    inputByUsersId: inputByUsersId ?? this.inputByUsersId,
    category2: category2 ?? this.category2,
    class2: class2 ?? this.class2,
    stockClass: stockClass ?? this.stockClass,
    webTitle: webTitle ?? this.webTitle,
    inactive: inactive ?? this.inactive,
    dateStamp: dateStamp ?? this.dateStamp,
    manifestShippingContainer:
        manifestShippingContainer ?? this.manifestShippingContainer,
    manifestStandAloneItem:
        manifestStandAloneItem ?? this.manifestStandAloneItem,
    taxableForMyLocation: taxableForMyLocation ?? this.taxableForMyLocation,
    myLocationId: myLocationId ?? this.myLocationId,
    taxableForAllLocations:
        taxableForAllLocations ?? this.taxableForAllLocations,
    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,
  );
}