copyWith method
QuickbooksCustomer
copyWith({
- String? id,
- String? syncToken,
- String? displayName,
- String? title,
- String? givenName,
- String? middleName,
- String? suffix,
- String? familyName,
- QuickbooksEmailAddress? primaryEmailAddr,
- String? resaleNum,
- String? secondaryTaxIdentifier,
- QuickbooksReferenceType? ARAccountRef,
- QuickbooksReferenceType? defaultTaxCodeRef,
- String? preferredDeliveryMethod,
- String? GSTIN,
- QuickbooksReferenceType? salesTermRef,
- String? customerTypeRef,
- QuickbooksPhoneNumber? fax,
- String? businessNumber,
- bool? billWithParent,
- QuickbooksReferenceType? currencyRef,
- QuickbooksPhoneNumber? mobile,
- bool? job,
- double? balanceWithJobs,
- QuickbooksPhoneNumber? primaryPhone,
- DateTime? openBalanceDate,
- bool? taxable,
- QuickbooksPhoneNumber? alternatePhone,
- Map<
String, dynamic> ? metaDate, - QuickbooksReferenceType? parentRef,
- String? notes,
- QuickbooksWebAddress? webAddr,
- bool? active,
- String? companyName,
- double? balance,
- QuickbooksPhysicalAddress? shipAddr,
- QuickbooksReferenceType? paymentMethodRef,
- bool? isProject,
- String? source,
- String? primaryTaxIdentifier,
- String? GSTRegistrationType,
- String? printOnCheckName,
- QuickbooksPhysicalAddress? billAddr,
- String? fullyQualifiedName,
- int? level,
- String? taxExemptionReasonId,
Implementation
QuickbooksCustomer copyWith({
String? id,
String? syncToken,
String? displayName,
String? title,
String? givenName,
String? middleName,
String? suffix,
String? familyName,
QuickbooksEmailAddress? primaryEmailAddr,
String? resaleNum,
String? secondaryTaxIdentifier,
QuickbooksReferenceType? ARAccountRef,
QuickbooksReferenceType? defaultTaxCodeRef,
String? preferredDeliveryMethod,
String? GSTIN,
QuickbooksReferenceType? salesTermRef,
String? customerTypeRef,
QuickbooksPhoneNumber? fax,
String? businessNumber,
bool? billWithParent,
QuickbooksReferenceType? currencyRef,
QuickbooksPhoneNumber? mobile,
bool? job,
double? balanceWithJobs,
QuickbooksPhoneNumber? primaryPhone,
DateTime? openBalanceDate,
bool? taxable,
QuickbooksPhoneNumber? alternatePhone,
Map<String, dynamic>? metaDate,
QuickbooksReferenceType? parentRef,
String? notes,
QuickbooksWebAddress? webAddr,
bool? active,
String? companyName,
double? balance,
QuickbooksPhysicalAddress? shipAddr,
QuickbooksReferenceType? paymentMethodRef,
bool? isProject,
String? source,
String? primaryTaxIdentifier,
String? GSTRegistrationType,
String? printOnCheckName,
QuickbooksPhysicalAddress? billAddr,
String? fullyQualifiedName,
int? level,
String? taxExemptionReasonId,
}) {
return QuickbooksCustomer(
id: id ?? this.id,
syncToken: syncToken ?? this.syncToken,
displayName: displayName ?? this.displayName,
title: title ?? this.title,
givenName: givenName ?? this.givenName,
middleName: middleName ?? this.middleName,
suffix: suffix ?? this.suffix,
familyName: familyName ?? this.familyName,
primaryEmailAddr: primaryEmailAddr ?? this.primaryEmailAddr,
resaleNum: resaleNum ?? this.resaleNum,
secondaryTaxIdentifier:
secondaryTaxIdentifier ?? this.secondaryTaxIdentifier,
ARAccountRef: ARAccountRef ?? this.ARAccountRef,
defaultTaxCodeRef: defaultTaxCodeRef ?? this.defaultTaxCodeRef,
preferredDeliveryMethod:
preferredDeliveryMethod ?? this.preferredDeliveryMethod,
GSTIN: GSTIN ?? this.GSTIN,
salesTermRef: salesTermRef ?? this.salesTermRef,
customerTypeRef: customerTypeRef ?? this.customerTypeRef,
fax: fax ?? this.fax,
businessNumber: businessNumber ?? this.businessNumber,
billWithParent: billWithParent ?? this.billWithParent,
currencyRef: currencyRef ?? this.currencyRef,
mobile: mobile ?? this.mobile,
job: job ?? this.job,
balanceWithJobs: balanceWithJobs ?? this.balanceWithJobs,
primaryPhone: primaryPhone ?? this.primaryPhone,
openBalanceDate: openBalanceDate ?? this.openBalanceDate,
taxable: taxable ?? this.taxable,
alternatePhone: alternatePhone ?? this.alternatePhone,
metaData: metaDate ?? metaData,
parentRef: parentRef ?? this.parentRef,
notes: notes ?? this.notes,
webAddr: webAddr ?? this.webAddr,
active: active ?? this.active,
companyName: companyName ?? this.companyName,
balance: balance ?? this.balance,
shipAddr: shipAddr ?? this.shipAddr,
paymentMethodRef: paymentMethodRef ?? this.paymentMethodRef,
isProject: isProject ?? this.isProject,
source: source ?? this.source,
primaryTaxIdentifier: primaryTaxIdentifier ?? this.primaryTaxIdentifier,
GSTRegistrationType: GSTRegistrationType ?? this.GSTRegistrationType,
printOnCheckName: printOnCheckName ?? this.printOnCheckName,
billAddr: billAddr ?? this.billAddr,
fullyQualifiedName: fullyQualifiedName ?? this.fullyQualifiedName,
level: level ?? this.level,
taxExemptionReasonId: taxExemptionReasonId ?? this.taxExemptionReasonId,
);
}