copyWith method
QuickbooksItemBasedExpenseLineDetails
copyWith({
- double? taxInclusiveAmt,
- QuickbooksReferenceType? itemRef,
- QuickbooksReferenceType? customerRef,
- QuickbooksReferenceType? priceLevelRef,
- QuickbooksReferenceType? classRef,
- QuickbooksReferenceType? taxCodeRef,
- QuickbooksMarkupInfo? markupInfo,
- String? billableStatus,
- double? qty,
- double? unitPrice,
Implementation
QuickbooksItemBasedExpenseLineDetails copyWith({
double? taxInclusiveAmt,
QuickbooksReferenceType? itemRef,
QuickbooksReferenceType? customerRef,
QuickbooksReferenceType? priceLevelRef,
QuickbooksReferenceType? classRef,
QuickbooksReferenceType? taxCodeRef,
QuickbooksMarkupInfo? markupInfo,
String? billableStatus,
double? qty,
double? unitPrice,
}) {
return QuickbooksItemBasedExpenseLineDetails(
taxInclusiveAmt: taxInclusiveAmt ?? this.taxInclusiveAmt,
itemRef: itemRef ?? this.itemRef,
customerRef: customerRef ?? this.customerRef,
priceLevelRef: priceLevelRef ?? this.priceLevelRef,
classRef: classRef ?? this.classRef,
taxCodeRef: taxCodeRef ?? this.taxCodeRef,
markupInfo: markupInfo ?? this.markupInfo,
billableStatus: billableStatus ?? this.billableStatus,
qty: qty ?? this.qty,
unitPrice: unitPrice ?? this.unitPrice,
);
}