copyWithWrapped method
WebApiModulesSettingsLaborSettingsPositionPosition
copyWithWrapped({
- Wrapped<
String?> ? positionId, - Wrapped<
String?> ? laborTypeId, - Wrapped<
String?> ? laborType, - Wrapped<
String?> ? rateType, - Wrapped<
bool?> ? includeAsProfitAndLossCategory, - Wrapped<
bool?> ? includeInCost, - Wrapped<
double?> ? averageCost, - Wrapped<
double?> ? price, - Wrapped<
double?> ? hourlyRate, - Wrapped<
double?> ? dailyRate, - Wrapped<
double?> ? weeklyRate, - Wrapped<
double?> ? monthlyRate, - Wrapped<
double?> ? hourlyCost, - Wrapped<
double?> ? dailyCost, - Wrapped<
double?> ? weeklyCost, - Wrapped<
double?> ? monthlyCost, - Wrapped<
String?> ? iCode, - Wrapped<
String?> ? description, - Wrapped<
String?> ? availFor, - Wrapped<
String?> ? categoryId, - Wrapped<
String?> ? category, - Wrapped<
int?> ? subCategoryCount, - Wrapped<
String?> ? subCategoryId, - Wrapped<
String?> ? subCategory, - Wrapped<
String?> ? classification, - Wrapped<
String?> ? classificationDescription, - Wrapped<
String?> ? classificationColor, - Wrapped<
String?> ? unitId, - Wrapped<
String?> ? unit, - Wrapped<
String?> ? unitType, - Wrapped<
bool?> ? nonDiscountable, - Wrapped<
bool?> ? overrideProfitAndLossCategory, - Wrapped<
String?> ? profitAndLossCategoryId, - Wrapped<
String?> ? profitAndLossCategory, - Wrapped<
bool?> ? autoCopyNotesToQuoteOrder, - Wrapped<
String?> ? note, - Wrapped<
bool?> ? printNoteOnInContract, - Wrapped<
bool?> ? printNoteOnOutContract, - Wrapped<
bool?> ? printNoteOnReceiveContract, - Wrapped<
bool?> ? printNoteOnReturnContract, - Wrapped<
bool?> ? printNoteOnInvoice, - Wrapped<
bool?> ? printNoteOnOrder, - Wrapped<
bool?> ? printNoteOnPickList, - Wrapped<
bool?> ? printNoteOnPO, - Wrapped<
bool?> ? printNoteOnQuote, - Wrapped<
bool?> ? printNoteOnReturnList, - Wrapped<
bool?> ? printNoteOnPoReceiveList, - Wrapped<
bool?> ? printNoteOnPoReturnList, - Wrapped<
String?> ? assetAccountId, - Wrapped<
String?> ? assetAccountNo, - Wrapped<
String?> ? assetAccountDescription, - Wrapped<
String?> ? incomeAccountId, - Wrapped<
String?> ? incomeAccountNo, - Wrapped<
String?> ? incomeAccountDescription, - Wrapped<
String?> ? subIncomeAccountId, - Wrapped<
String?> ? subIncomeAccountNo, - Wrapped<
String?> ? subIncomeAccountDescription, - Wrapped<
String?> ? consignmentIncomeAccountId, - Wrapped<
String?> ? consignmentIncomeAccountNo, - Wrapped<
String?> ? consignmentIncomeAccountDescription, - Wrapped<
String?> ? ldIncomeAccountId, - Wrapped<
String?> ? ldIncomeAccountNo, - Wrapped<
String?> ? ldIncomeAccountDescription, - Wrapped<
String?> ? equipmentSaleIncomeAccountId, - Wrapped<
String?> ? equipmentSaleIncomeAccountNo, - Wrapped<
String?> ? equipmentSaleIncomeAccountDescription, - Wrapped<
String?> ? expenseAccountId, - Wrapped<
String?> ? expenseAccountNo, - Wrapped<
String?> ? expenseAccountDescription, - Wrapped<
String?> ? costOfGoodsSoldExpenseAccountId, - Wrapped<
String?> ? costOfGoodsSoldExpenseAccountNo, - Wrapped<
String?> ? costOfGoodsSoldExpenseAccountDescription, - Wrapped<
String?> ? costOfGoodsRentedExpenseAccountId, - Wrapped<
String?> ? costOfGoodsRentedExpenseAccountNo, - Wrapped<
String?> ? costOfGoodsRentedExpenseAccountDescription, - Wrapped<
String?> ? depreciationExpenseAccountId, - Wrapped<
String?> ? depreciationExpenseAccountNo, - Wrapped<
String?> ? depreciationExpenseAccountDescription, - Wrapped<
String?> ? accumulatedDepreciationExpenseAccountId, - Wrapped<
String?> ? accumulatedDepreciationExpenseAccountNo, - Wrapped<
String?> ? accumulatedDepreciationExpenseAccountDescription, - Wrapped<
String?> ? inputDate, - Wrapped<
String?> ? inputByUsersId, - Wrapped<
String?> ? category2, - Wrapped<
String?> ? class2, - Wrapped<
String?> ? stockClass, - Wrapped<
bool?> ? inactive, - Wrapped<
String?> ? dateStamp, - Wrapped<
bool?> ? manifestShippingContainer, - Wrapped<
bool?> ? manifestStandAloneItem, - Wrapped<
String?> ? auditNote, - Wrapped<
String?> ? recordTitle, - Wrapped<
List< ? fields,FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ?> - Wrapped<
List< ? custom,FwStandardDataFwCustomValue> ?> - Wrapped<
List< ? defaultFieldAttributes,FwStandardDataFwDefaultAttribute> ?> - Wrapped<
List< ? translation,FwStandardDataFwTranslatedValue> ?>
Implementation
WebApiModulesSettingsLaborSettingsPositionPosition copyWithWrapped(
{Wrapped<String?>? positionId,
Wrapped<String?>? laborTypeId,
Wrapped<String?>? laborType,
Wrapped<String?>? rateType,
Wrapped<bool?>? includeAsProfitAndLossCategory,
Wrapped<bool?>? includeInCost,
Wrapped<double?>? averageCost,
Wrapped<double?>? price,
Wrapped<double?>? hourlyRate,
Wrapped<double?>? dailyRate,
Wrapped<double?>? weeklyRate,
Wrapped<double?>? monthlyRate,
Wrapped<double?>? hourlyCost,
Wrapped<double?>? dailyCost,
Wrapped<double?>? weeklyCost,
Wrapped<double?>? monthlyCost,
Wrapped<String?>? iCode,
Wrapped<String?>? description,
Wrapped<String?>? availFor,
Wrapped<String?>? categoryId,
Wrapped<String?>? category,
Wrapped<int?>? subCategoryCount,
Wrapped<String?>? subCategoryId,
Wrapped<String?>? subCategory,
Wrapped<String?>? classification,
Wrapped<String?>? classificationDescription,
Wrapped<String?>? classificationColor,
Wrapped<String?>? unitId,
Wrapped<String?>? unit,
Wrapped<String?>? unitType,
Wrapped<bool?>? nonDiscountable,
Wrapped<bool?>? overrideProfitAndLossCategory,
Wrapped<String?>? profitAndLossCategoryId,
Wrapped<String?>? profitAndLossCategory,
Wrapped<bool?>? autoCopyNotesToQuoteOrder,
Wrapped<String?>? note,
Wrapped<bool?>? printNoteOnInContract,
Wrapped<bool?>? printNoteOnOutContract,
Wrapped<bool?>? printNoteOnReceiveContract,
Wrapped<bool?>? printNoteOnReturnContract,
Wrapped<bool?>? printNoteOnInvoice,
Wrapped<bool?>? printNoteOnOrder,
Wrapped<bool?>? printNoteOnPickList,
Wrapped<bool?>? printNoteOnPO,
Wrapped<bool?>? printNoteOnQuote,
Wrapped<bool?>? printNoteOnReturnList,
Wrapped<bool?>? printNoteOnPoReceiveList,
Wrapped<bool?>? printNoteOnPoReturnList,
Wrapped<String?>? assetAccountId,
Wrapped<String?>? assetAccountNo,
Wrapped<String?>? assetAccountDescription,
Wrapped<String?>? incomeAccountId,
Wrapped<String?>? incomeAccountNo,
Wrapped<String?>? incomeAccountDescription,
Wrapped<String?>? subIncomeAccountId,
Wrapped<String?>? subIncomeAccountNo,
Wrapped<String?>? subIncomeAccountDescription,
Wrapped<String?>? consignmentIncomeAccountId,
Wrapped<String?>? consignmentIncomeAccountNo,
Wrapped<String?>? consignmentIncomeAccountDescription,
Wrapped<String?>? ldIncomeAccountId,
Wrapped<String?>? ldIncomeAccountNo,
Wrapped<String?>? ldIncomeAccountDescription,
Wrapped<String?>? equipmentSaleIncomeAccountId,
Wrapped<String?>? equipmentSaleIncomeAccountNo,
Wrapped<String?>? equipmentSaleIncomeAccountDescription,
Wrapped<String?>? expenseAccountId,
Wrapped<String?>? expenseAccountNo,
Wrapped<String?>? expenseAccountDescription,
Wrapped<String?>? costOfGoodsSoldExpenseAccountId,
Wrapped<String?>? costOfGoodsSoldExpenseAccountNo,
Wrapped<String?>? costOfGoodsSoldExpenseAccountDescription,
Wrapped<String?>? costOfGoodsRentedExpenseAccountId,
Wrapped<String?>? costOfGoodsRentedExpenseAccountNo,
Wrapped<String?>? costOfGoodsRentedExpenseAccountDescription,
Wrapped<String?>? depreciationExpenseAccountId,
Wrapped<String?>? depreciationExpenseAccountNo,
Wrapped<String?>? depreciationExpenseAccountDescription,
Wrapped<String?>? accumulatedDepreciationExpenseAccountId,
Wrapped<String?>? accumulatedDepreciationExpenseAccountNo,
Wrapped<String?>? accumulatedDepreciationExpenseAccountDescription,
Wrapped<String?>? inputDate,
Wrapped<String?>? inputByUsersId,
Wrapped<String?>? category2,
Wrapped<String?>? class2,
Wrapped<String?>? stockClass,
Wrapped<bool?>? inactive,
Wrapped<String?>? dateStamp,
Wrapped<bool?>? manifestShippingContainer,
Wrapped<bool?>? manifestStandAloneItem,
Wrapped<String?>? auditNote,
Wrapped<String?>? recordTitle,
Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
fields,
Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
return WebApiModulesSettingsLaborSettingsPositionPosition(
positionId: (positionId != null ? positionId.value : this.positionId),
laborTypeId:
(laborTypeId != null ? laborTypeId.value : this.laborTypeId),
laborType: (laborType != null ? laborType.value : this.laborType),
rateType: (rateType != null ? rateType.value : this.rateType),
includeAsProfitAndLossCategory: (includeAsProfitAndLossCategory != null
? includeAsProfitAndLossCategory.value
: this.includeAsProfitAndLossCategory),
includeInCost:
(includeInCost != null ? includeInCost.value : this.includeInCost),
averageCost:
(averageCost != null ? averageCost.value : this.averageCost),
price: (price != null ? price.value : this.price),
hourlyRate: (hourlyRate != null ? hourlyRate.value : this.hourlyRate),
dailyRate: (dailyRate != null ? dailyRate.value : this.dailyRate),
weeklyRate: (weeklyRate != null ? weeklyRate.value : this.weeklyRate),
monthlyRate:
(monthlyRate != null ? monthlyRate.value : this.monthlyRate),
hourlyCost: (hourlyCost != null ? hourlyCost.value : this.hourlyCost),
dailyCost: (dailyCost != null ? dailyCost.value : this.dailyCost),
weeklyCost: (weeklyCost != null ? weeklyCost.value : this.weeklyCost),
monthlyCost:
(monthlyCost != null ? monthlyCost.value : this.monthlyCost),
iCode: (iCode != null ? iCode.value : this.iCode),
description:
(description != null ? description.value : this.description),
availFor: (availFor != null ? availFor.value : this.availFor),
categoryId: (categoryId != null ? categoryId.value : this.categoryId),
category: (category != null ? category.value : this.category),
subCategoryCount: (subCategoryCount != null
? subCategoryCount.value
: this.subCategoryCount),
subCategoryId:
(subCategoryId != null ? subCategoryId.value : this.subCategoryId),
subCategory:
(subCategory != null ? subCategory.value : this.subCategory),
classification: (classification != null
? classification.value
: this.classification),
classificationDescription: (classificationDescription != null
? classificationDescription.value
: this.classificationDescription),
classificationColor: (classificationColor != null
? classificationColor.value
: this.classificationColor),
unitId: (unitId != null ? unitId.value : this.unitId),
unit: (unit != null ? unit.value : this.unit),
unitType: (unitType != null ? unitType.value : this.unitType),
nonDiscountable: (nonDiscountable != null
? nonDiscountable.value
: this.nonDiscountable),
overrideProfitAndLossCategory: (overrideProfitAndLossCategory != null
? overrideProfitAndLossCategory.value
: this.overrideProfitAndLossCategory),
profitAndLossCategoryId: (profitAndLossCategoryId != null
? profitAndLossCategoryId.value
: this.profitAndLossCategoryId),
profitAndLossCategory: (profitAndLossCategory != null
? profitAndLossCategory.value
: this.profitAndLossCategory),
autoCopyNotesToQuoteOrder: (autoCopyNotesToQuoteOrder != null
? autoCopyNotesToQuoteOrder.value
: this.autoCopyNotesToQuoteOrder),
note: (note != null ? note.value : this.note),
printNoteOnInContract: (printNoteOnInContract != null
? printNoteOnInContract.value
: this.printNoteOnInContract),
printNoteOnOutContract: (printNoteOnOutContract != null
? printNoteOnOutContract.value
: this.printNoteOnOutContract),
printNoteOnReceiveContract: (printNoteOnReceiveContract != null
? printNoteOnReceiveContract.value
: this.printNoteOnReceiveContract),
printNoteOnReturnContract: (printNoteOnReturnContract != null
? printNoteOnReturnContract.value
: this.printNoteOnReturnContract),
printNoteOnInvoice: (printNoteOnInvoice != null
? printNoteOnInvoice.value
: this.printNoteOnInvoice),
printNoteOnOrder: (printNoteOnOrder != null
? printNoteOnOrder.value
: this.printNoteOnOrder),
printNoteOnPickList: (printNoteOnPickList != null
? printNoteOnPickList.value
: this.printNoteOnPickList),
printNoteOnPO:
(printNoteOnPO != null ? printNoteOnPO.value : this.printNoteOnPO),
printNoteOnQuote: (printNoteOnQuote != null
? printNoteOnQuote.value
: this.printNoteOnQuote),
printNoteOnReturnList: (printNoteOnReturnList != null
? printNoteOnReturnList.value
: this.printNoteOnReturnList),
printNoteOnPoReceiveList: (printNoteOnPoReceiveList != null
? printNoteOnPoReceiveList.value
: this.printNoteOnPoReceiveList),
printNoteOnPoReturnList: (printNoteOnPoReturnList != null
? printNoteOnPoReturnList.value
: this.printNoteOnPoReturnList),
assetAccountId: (assetAccountId != null
? assetAccountId.value
: this.assetAccountId),
assetAccountNo: (assetAccountNo != null
? assetAccountNo.value
: this.assetAccountNo),
assetAccountDescription: (assetAccountDescription != null
? assetAccountDescription.value
: this.assetAccountDescription),
incomeAccountId: (incomeAccountId != null
? incomeAccountId.value
: this.incomeAccountId),
incomeAccountNo: (incomeAccountNo != null
? incomeAccountNo.value
: this.incomeAccountNo),
incomeAccountDescription: (incomeAccountDescription != null
? incomeAccountDescription.value
: this.incomeAccountDescription),
subIncomeAccountId: (subIncomeAccountId != null
? subIncomeAccountId.value
: this.subIncomeAccountId),
subIncomeAccountNo: (subIncomeAccountNo != null
? subIncomeAccountNo.value
: this.subIncomeAccountNo),
subIncomeAccountDescription: (subIncomeAccountDescription != null
? subIncomeAccountDescription.value
: this.subIncomeAccountDescription),
consignmentIncomeAccountId: (consignmentIncomeAccountId != null
? consignmentIncomeAccountId.value
: this.consignmentIncomeAccountId),
consignmentIncomeAccountNo: (consignmentIncomeAccountNo != null
? consignmentIncomeAccountNo.value
: this.consignmentIncomeAccountNo),
consignmentIncomeAccountDescription: (consignmentIncomeAccountDescription != null
? consignmentIncomeAccountDescription.value
: this.consignmentIncomeAccountDescription),
ldIncomeAccountId: (ldIncomeAccountId != null
? ldIncomeAccountId.value
: this.ldIncomeAccountId),
ldIncomeAccountNo: (ldIncomeAccountNo != null
? ldIncomeAccountNo.value
: this.ldIncomeAccountNo),
ldIncomeAccountDescription: (ldIncomeAccountDescription != null
? ldIncomeAccountDescription.value
: this.ldIncomeAccountDescription),
equipmentSaleIncomeAccountId: (equipmentSaleIncomeAccountId != null
? equipmentSaleIncomeAccountId.value
: this.equipmentSaleIncomeAccountId),
equipmentSaleIncomeAccountNo: (equipmentSaleIncomeAccountNo != null
? equipmentSaleIncomeAccountNo.value
: this.equipmentSaleIncomeAccountNo),
equipmentSaleIncomeAccountDescription:
(equipmentSaleIncomeAccountDescription != null
? equipmentSaleIncomeAccountDescription.value
: this.equipmentSaleIncomeAccountDescription),
expenseAccountId: (expenseAccountId != null
? expenseAccountId.value
: this.expenseAccountId),
expenseAccountNo: (expenseAccountNo != null
? expenseAccountNo.value
: this.expenseAccountNo),
expenseAccountDescription: (expenseAccountDescription != null
? expenseAccountDescription.value
: this.expenseAccountDescription),
costOfGoodsSoldExpenseAccountId: (costOfGoodsSoldExpenseAccountId != null
? costOfGoodsSoldExpenseAccountId.value
: this.costOfGoodsSoldExpenseAccountId),
costOfGoodsSoldExpenseAccountNo: (costOfGoodsSoldExpenseAccountNo != null ? costOfGoodsSoldExpenseAccountNo.value : this.costOfGoodsSoldExpenseAccountNo),
costOfGoodsSoldExpenseAccountDescription: (costOfGoodsSoldExpenseAccountDescription != null ? costOfGoodsSoldExpenseAccountDescription.value : this.costOfGoodsSoldExpenseAccountDescription),
costOfGoodsRentedExpenseAccountId: (costOfGoodsRentedExpenseAccountId != null ? costOfGoodsRentedExpenseAccountId.value : this.costOfGoodsRentedExpenseAccountId),
costOfGoodsRentedExpenseAccountNo: (costOfGoodsRentedExpenseAccountNo != null ? costOfGoodsRentedExpenseAccountNo.value : this.costOfGoodsRentedExpenseAccountNo),
costOfGoodsRentedExpenseAccountDescription: (costOfGoodsRentedExpenseAccountDescription != null ? costOfGoodsRentedExpenseAccountDescription.value : this.costOfGoodsRentedExpenseAccountDescription),
depreciationExpenseAccountId: (depreciationExpenseAccountId != null ? depreciationExpenseAccountId.value : this.depreciationExpenseAccountId),
depreciationExpenseAccountNo: (depreciationExpenseAccountNo != null ? depreciationExpenseAccountNo.value : this.depreciationExpenseAccountNo),
depreciationExpenseAccountDescription: (depreciationExpenseAccountDescription != null ? depreciationExpenseAccountDescription.value : this.depreciationExpenseAccountDescription),
accumulatedDepreciationExpenseAccountId: (accumulatedDepreciationExpenseAccountId != null ? accumulatedDepreciationExpenseAccountId.value : this.accumulatedDepreciationExpenseAccountId),
accumulatedDepreciationExpenseAccountNo: (accumulatedDepreciationExpenseAccountNo != null ? accumulatedDepreciationExpenseAccountNo.value : this.accumulatedDepreciationExpenseAccountNo),
accumulatedDepreciationExpenseAccountDescription: (accumulatedDepreciationExpenseAccountDescription != null ? accumulatedDepreciationExpenseAccountDescription.value : this.accumulatedDepreciationExpenseAccountDescription),
inputDate: (inputDate != null ? inputDate.value : this.inputDate),
inputByUsersId: (inputByUsersId != null ? inputByUsersId.value : this.inputByUsersId),
category2: (category2 != null ? category2.value : this.category2),
class2: (class2 != null ? class2.value : this.class2),
stockClass: (stockClass != null ? stockClass.value : this.stockClass),
inactive: (inactive != null ? inactive.value : this.inactive),
dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
manifestShippingContainer: (manifestShippingContainer != null ? manifestShippingContainer.value : this.manifestShippingContainer),
manifestStandAloneItem: (manifestStandAloneItem != null ? manifestStandAloneItem.value : this.manifestStandAloneItem),
auditNote: (auditNote != null ? auditNote.value : this.auditNote),
recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
fields: (fields != null ? fields.value : this.fields),
custom: (custom != null ? custom.value : this.custom),
defaultFieldAttributes: (defaultFieldAttributes != null ? defaultFieldAttributes.value : this.defaultFieldAttributes),
translation: (translation != null ? translation.value : this.translation));
}