copyWith method

QuickbooksTaxLineDetails copyWith({
  1. QuickbooksReferenceType? taxRateRef,
  2. double? netAmountTaxable,
  3. bool? percentBased,
  4. double? taxInclusiveAmount,
  5. double? overrideDeltaAmount,
  6. double? taxPercent,
})

Implementation

QuickbooksTaxLineDetails copyWith({
  QuickbooksReferenceType? taxRateRef,
  double? netAmountTaxable,
  bool? percentBased,
  double? taxInclusiveAmount,
  double? overrideDeltaAmount,
  double? taxPercent,
}) {
  return QuickbooksTaxLineDetails(
    taxRateRef: taxRateRef ?? this.taxRateRef,
    netAmountTaxable: netAmountTaxable ?? this.netAmountTaxable,
    percentBased: percentBased ?? this.percentBased,
    taxInclusiveAmount: taxInclusiveAmount ?? this.taxInclusiveAmount,
    overrideDeltaAmount: overrideDeltaAmount ?? this.overrideDeltaAmount,
    taxPercent: taxPercent ?? this.taxPercent,
  );
}