copyWith method

QuickbooksAccountBasedExpenseLineDetails copyWith({
  1. QuickbooksReferenceType? accountRef,
  2. double? taxAmount,
  3. double? taxInclusiveAmt,
  4. QuickbooksReferenceType? taxCodeRef,
  5. QuickbooksReferenceType? classRef,
  6. QuickbooksMarkupInfo? markupInfo,
  7. String? billableStatus,
  8. QuickbooksReferenceType? customerRef,
})

Implementation

QuickbooksAccountBasedExpenseLineDetails copyWith({
  QuickbooksReferenceType? accountRef,
  double? taxAmount,
  double? taxInclusiveAmt,
  QuickbooksReferenceType? taxCodeRef,
  QuickbooksReferenceType? classRef,
  QuickbooksMarkupInfo? markupInfo,
  String? billableStatus,
  QuickbooksReferenceType? customerRef,
}) {
  return QuickbooksAccountBasedExpenseLineDetails(
    accountRef: accountRef ?? this.accountRef,
    taxAmount: taxAmount ?? this.taxAmount,
    taxInclusiveAmt: taxInclusiveAmt ?? this.taxInclusiveAmt,
    taxCodeRef: taxCodeRef ?? this.taxCodeRef,
    classRef: classRef ?? this.classRef,
    markupInfo: markupInfo ?? this.markupInfo,
    billableStatus: billableStatus ?? this.billableStatus,
    customerRef: customerRef ?? this.customerRef,
  );
}