copyWith method

QuickbooksItemBasedExpenseLineDetails copyWith({
  1. double? taxInclusiveAmt,
  2. QuickbooksReferenceType? itemRef,
  3. QuickbooksReferenceType? customerRef,
  4. QuickbooksReferenceType? priceLevelRef,
  5. QuickbooksReferenceType? classRef,
  6. QuickbooksReferenceType? taxCodeRef,
  7. QuickbooksMarkupInfo? markupInfo,
  8. String? billableStatus,
  9. double? qty,
  10. 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,
  );
}