copyWith method
WebApiModulesHomeControlsInvoiceItemInvoiceItem
copyWith({
- String? invoiceItemId,
- String? invoiceId,
- String? itemId,
- String? itemClass,
- String? itemOrder,
- String? inventoryId,
- String? orderId,
- String? parentId,
- String? repairId,
- String? repairNumber,
- String? recType,
- String? availableFor,
- bool? bold,
- String? optionColor,
- String? orderItemId,
- String? nestedOrderItemId,
- bool? isAdjusted,
- bool? isRecurring,
- bool? isManualBill,
- String? voidInvoiceItemId,
- bool? isProfitCenter,
- String? profitCenterChargeCode1,
- String? profitCenterChargeCode2,
- String? profitCenterChargeCode,
- String? activity,
- String? activityExportCode,
- String? orderNumber,
- String? poNumber,
- String? iCode,
- String? description,
- String? barCode,
- String? serialNumber,
- String? fromDate,
- String? fromTime,
- String? toDate,
- String? toTime,
- double? days,
- double? billableDays,
- double? quantity,
- double? cost,
- double? rate,
- String? unit,
- double? daysPerWeek,
- double? discountPercent,
- double? discountAmount,
- int? split,
- double? hours,
- double? hoursOvertime,
- double? hoursDoubletime,
- bool? crewActualHours,
- double? meterOut,
- double? meterIn,
- double? lineTotalBeforeDiscount,
- double? extended,
- double? lineTotal,
- bool? taxable,
- double? tax,
- double? tax2,
- double? lineTotalWithTax,
- double? adjustment,
- double? rebateAmount,
- double? adjustedRevenue,
- double? quikPayExtended,
- String? currencyId,
- String? currencyCode,
- String? currencySymbol,
- int? nestingLevel,
- String? invoiceNumber,
- String? invoiceStatus,
- String? invoiceDate,
- String? dealId,
- String? deal,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsInvoiceItemInvoiceItem copyWith(
{String? invoiceItemId,
String? invoiceId,
String? itemId,
String? itemClass,
String? itemOrder,
String? inventoryId,
String? orderId,
String? parentId,
String? repairId,
String? repairNumber,
String? recType,
String? availableFor,
bool? bold,
String? optionColor,
String? orderItemId,
String? nestedOrderItemId,
bool? isAdjusted,
bool? isRecurring,
bool? isManualBill,
String? voidInvoiceItemId,
bool? isProfitCenter,
String? profitCenterChargeCode1,
String? profitCenterChargeCode2,
String? profitCenterChargeCode,
String? activity,
String? activityExportCode,
String? orderNumber,
String? poNumber,
String? iCode,
String? description,
String? barCode,
String? serialNumber,
String? fromDate,
String? fromTime,
String? toDate,
String? toTime,
double? days,
double? billableDays,
double? quantity,
double? cost,
double? rate,
String? unit,
double? daysPerWeek,
double? discountPercent,
double? discountAmount,
int? split,
double? hours,
double? hoursOvertime,
double? hoursDoubletime,
bool? crewActualHours,
double? meterOut,
double? meterIn,
double? lineTotalBeforeDiscount,
double? extended,
double? lineTotal,
bool? taxable,
double? tax,
double? tax2,
double? lineTotalWithTax,
double? adjustment,
double? rebateAmount,
double? adjustedRevenue,
double? quikPayExtended,
String? currencyId,
String? currencyCode,
String? currencySymbol,
int? nestingLevel,
String? invoiceNumber,
String? invoiceStatus,
String? invoiceDate,
String? dealId,
String? deal,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsInvoiceItemInvoiceItem(
invoiceItemId: invoiceItemId ?? this.invoiceItemId,
invoiceId: invoiceId ?? this.invoiceId,
itemId: itemId ?? this.itemId,
itemClass: itemClass ?? this.itemClass,
itemOrder: itemOrder ?? this.itemOrder,
inventoryId: inventoryId ?? this.inventoryId,
orderId: orderId ?? this.orderId,
parentId: parentId ?? this.parentId,
repairId: repairId ?? this.repairId,
repairNumber: repairNumber ?? this.repairNumber,
recType: recType ?? this.recType,
availableFor: availableFor ?? this.availableFor,
bold: bold ?? this.bold,
optionColor: optionColor ?? this.optionColor,
orderItemId: orderItemId ?? this.orderItemId,
nestedOrderItemId: nestedOrderItemId ?? this.nestedOrderItemId,
isAdjusted: isAdjusted ?? this.isAdjusted,
isRecurring: isRecurring ?? this.isRecurring,
isManualBill: isManualBill ?? this.isManualBill,
voidInvoiceItemId: voidInvoiceItemId ?? this.voidInvoiceItemId,
isProfitCenter: isProfitCenter ?? this.isProfitCenter,
profitCenterChargeCode1:
profitCenterChargeCode1 ?? this.profitCenterChargeCode1,
profitCenterChargeCode2:
profitCenterChargeCode2 ?? this.profitCenterChargeCode2,
profitCenterChargeCode:
profitCenterChargeCode ?? this.profitCenterChargeCode,
activity: activity ?? this.activity,
activityExportCode: activityExportCode ?? this.activityExportCode,
orderNumber: orderNumber ?? this.orderNumber,
poNumber: poNumber ?? this.poNumber,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
barCode: barCode ?? this.barCode,
serialNumber: serialNumber ?? this.serialNumber,
fromDate: fromDate ?? this.fromDate,
fromTime: fromTime ?? this.fromTime,
toDate: toDate ?? this.toDate,
toTime: toTime ?? this.toTime,
days: days ?? this.days,
billableDays: billableDays ?? this.billableDays,
quantity: quantity ?? this.quantity,
cost: cost ?? this.cost,
rate: rate ?? this.rate,
unit: unit ?? this.unit,
daysPerWeek: daysPerWeek ?? this.daysPerWeek,
discountPercent: discountPercent ?? this.discountPercent,
discountAmount: discountAmount ?? this.discountAmount,
split: split ?? this.split,
hours: hours ?? this.hours,
hoursOvertime: hoursOvertime ?? this.hoursOvertime,
hoursDoubletime: hoursDoubletime ?? this.hoursDoubletime,
crewActualHours: crewActualHours ?? this.crewActualHours,
meterOut: meterOut ?? this.meterOut,
meterIn: meterIn ?? this.meterIn,
lineTotalBeforeDiscount:
lineTotalBeforeDiscount ?? this.lineTotalBeforeDiscount,
extended: extended ?? this.extended,
lineTotal: lineTotal ?? this.lineTotal,
taxable: taxable ?? this.taxable,
tax: tax ?? this.tax,
tax2: tax2 ?? this.tax2,
lineTotalWithTax: lineTotalWithTax ?? this.lineTotalWithTax,
adjustment: adjustment ?? this.adjustment,
rebateAmount: rebateAmount ?? this.rebateAmount,
adjustedRevenue: adjustedRevenue ?? this.adjustedRevenue,
quikPayExtended: quikPayExtended ?? this.quikPayExtended,
currencyId: currencyId ?? this.currencyId,
currencyCode: currencyCode ?? this.currencyCode,
currencySymbol: currencySymbol ?? this.currencySymbol,
nestingLevel: nestingLevel ?? this.nestingLevel,
invoiceNumber: invoiceNumber ?? this.invoiceNumber,
invoiceStatus: invoiceStatus ?? this.invoiceStatus,
invoiceDate: invoiceDate ?? this.invoiceDate,
dealId: dealId ?? this.dealId,
deal: deal ?? this.deal,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}