copyWith method
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,
);
}