copyWith method

SalesforceDealerOrgUpsertV3Body copyWith({
  1. bool? activeCallCenterDealers,
  2. bool? websiteLocator,
  3. String? websiteRemoval,
  4. String? website,
  5. String? servicesOffered,
  6. String? sapAccountId,
  7. String? salesforceAccountId,
  8. String? productSubCategory,
  9. String? productLine,
  10. String? phone,
  11. String? partnerTierLevel,
  12. String? parentAccountName,
  13. String? micrositeUrl,
  14. String? locationType,
  15. String? leadsEmail,
  16. int? leadManagementPortalUsers,
  17. bool? isActive,
  18. String? financingPrograms,
  19. String? externalCampaignParticipation,
  20. bool? dealerAvailableService,
  21. bool? dealerAvailableSales,
  22. String? dealerAccepting,
  23. String? customerClassification,
  24. String? customerSubClassification,
  25. bool? boldCertified,
  26. String? serviceRank,
  27. String? salesZipCodes,
  28. String? serviceZipCodes,
  29. String? allZipCodes,
  30. String? telephoneNumber,
  31. String? name,
  32. String? street,
  33. String? city,
  34. String? state,
  35. String? latitude,
  36. String? longitude,
  37. String? zipCode,
  38. String? country,
})

Implementation

SalesforceDealerOrgUpsertV3Body copyWith(
    {bool? activeCallCenterDealers,
    bool? websiteLocator,
    String? websiteRemoval,
    String? website,
    String? servicesOffered,
    String? sapAccountId,
    String? salesforceAccountId,
    String? productSubCategory,
    String? productLine,
    String? phone,
    String? partnerTierLevel,
    String? parentAccountName,
    String? micrositeUrl,
    String? locationType,
    String? leadsEmail,
    int? leadManagementPortalUsers,
    bool? isActive,
    String? financingPrograms,
    String? externalCampaignParticipation,
    bool? dealerAvailableService,
    bool? dealerAvailableSales,
    String? dealerAccepting,
    String? customerClassification,
    String? customerSubClassification,
    bool? boldCertified,
    String? serviceRank,
    String? salesZipCodes,
    String? serviceZipCodes,
    String? allZipCodes,
    String? telephoneNumber,
    String? name,
    String? street,
    String? city,
    String? state,
    String? latitude,
    String? longitude,
    String? zipCode,
    String? country}) {
  return SalesforceDealerOrgUpsertV3Body(
      activeCallCenterDealers:
          activeCallCenterDealers ?? this.activeCallCenterDealers,
      websiteLocator: websiteLocator ?? this.websiteLocator,
      websiteRemoval: websiteRemoval ?? this.websiteRemoval,
      website: website ?? this.website,
      servicesOffered: servicesOffered ?? this.servicesOffered,
      sapAccountId: sapAccountId ?? this.sapAccountId,
      salesforceAccountId: salesforceAccountId ?? this.salesforceAccountId,
      productSubCategory: productSubCategory ?? this.productSubCategory,
      productLine: productLine ?? this.productLine,
      phone: phone ?? this.phone,
      partnerTierLevel: partnerTierLevel ?? this.partnerTierLevel,
      parentAccountName: parentAccountName ?? this.parentAccountName,
      micrositeUrl: micrositeUrl ?? this.micrositeUrl,
      locationType: locationType ?? this.locationType,
      leadsEmail: leadsEmail ?? this.leadsEmail,
      leadManagementPortalUsers:
          leadManagementPortalUsers ?? this.leadManagementPortalUsers,
      isActive: isActive ?? this.isActive,
      financingPrograms: financingPrograms ?? this.financingPrograms,
      externalCampaignParticipation:
          externalCampaignParticipation ?? this.externalCampaignParticipation,
      dealerAvailableService:
          dealerAvailableService ?? this.dealerAvailableService,
      dealerAvailableSales: dealerAvailableSales ?? this.dealerAvailableSales,
      dealerAccepting: dealerAccepting ?? this.dealerAccepting,
      customerClassification:
          customerClassification ?? this.customerClassification,
      customerSubClassification:
          customerSubClassification ?? this.customerSubClassification,
      boldCertified: boldCertified ?? this.boldCertified,
      serviceRank: serviceRank ?? this.serviceRank,
      salesZipCodes: salesZipCodes ?? this.salesZipCodes,
      serviceZipCodes: serviceZipCodes ?? this.serviceZipCodes,
      allZipCodes: allZipCodes ?? this.allZipCodes,
      telephoneNumber: telephoneNumber ?? this.telephoneNumber,
      name: name ?? this.name,
      street: street ?? this.street,
      city: city ?? this.city,
      state: state ?? this.state,
      latitude: latitude ?? this.latitude,
      longitude: longitude ?? this.longitude,
      zipCode: zipCode ?? this.zipCode,
      country: country ?? this.country);
}