copyWith method

QuickbooksCustomer copyWith({
  1. String? id,
  2. String? syncToken,
  3. String? displayName,
  4. String? title,
  5. String? givenName,
  6. String? middleName,
  7. String? suffix,
  8. String? familyName,
  9. QuickbooksEmailAddress? primaryEmailAddr,
  10. String? resaleNum,
  11. String? secondaryTaxIdentifier,
  12. QuickbooksReferenceType? ARAccountRef,
  13. QuickbooksReferenceType? defaultTaxCodeRef,
  14. String? preferredDeliveryMethod,
  15. String? GSTIN,
  16. QuickbooksReferenceType? salesTermRef,
  17. String? customerTypeRef,
  18. QuickbooksPhoneNumber? fax,
  19. String? businessNumber,
  20. bool? billWithParent,
  21. QuickbooksReferenceType? currencyRef,
  22. QuickbooksPhoneNumber? mobile,
  23. bool? job,
  24. double? balanceWithJobs,
  25. QuickbooksPhoneNumber? primaryPhone,
  26. DateTime? openBalanceDate,
  27. bool? taxable,
  28. QuickbooksPhoneNumber? alternatePhone,
  29. Map<String, dynamic>? metaDate,
  30. QuickbooksReferenceType? parentRef,
  31. String? notes,
  32. QuickbooksWebAddress? webAddr,
  33. bool? active,
  34. String? companyName,
  35. double? balance,
  36. QuickbooksPhysicalAddress? shipAddr,
  37. QuickbooksReferenceType? paymentMethodRef,
  38. bool? isProject,
  39. String? source,
  40. String? primaryTaxIdentifier,
  41. String? GSTRegistrationType,
  42. String? printOnCheckName,
  43. QuickbooksPhysicalAddress? billAddr,
  44. String? fullyQualifiedName,
  45. int? level,
  46. 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,
  );
}