copyWith method

QuickbooksCreditChargeInfo copyWith({
  1. int? ccExpiryMonth,
  2. bool? processPayment,
  3. String? postalCode,
  4. double? amount,
  5. String? nameOnAcct,
  6. int? ccExpiryYear,
  7. String? type,
  8. String? billAddrStreet,
})

Implementation

QuickbooksCreditChargeInfo copyWith({
  int? ccExpiryMonth,
  bool? processPayment,
  String? postalCode,
  double? amount,
  String? nameOnAcct,
  int? ccExpiryYear,
  String? type,
  String? billAddrStreet,
}) {
  return QuickbooksCreditChargeInfo(
    ccExpiryMonth: ccExpiryMonth ?? this.ccExpiryMonth,
    processPayment: processPayment ?? this.processPayment,
    postalCode: postalCode ?? this.postalCode,
    amount: amount ?? this.amount,
    nameOnAcct: nameOnAcct ?? this.nameOnAcct,
    ccExpiryYear: ccExpiryYear ?? this.ccExpiryYear,
    type: type ?? this.type,
    billAddrStreet: billAddrStreet ?? this.billAddrStreet,
  );
}