copyWithWrapped method

WebApiModulesAgentVendorVendor copyWithWrapped({
  1. Wrapped<String?>? vendorId,
  2. Wrapped<String?>? vendor,
  3. Wrapped<String?>? vendorDisplayName,
  4. Wrapped<String?>? vendorNameType,
  5. Wrapped<String?>? vendorNumber,
  6. Wrapped<String?>? federalIdNumber,
  7. Wrapped<String?>? officeLocationId,
  8. Wrapped<String?>? officeLocation,
  9. Wrapped<String?>? salutation,
  10. Wrapped<String?>? firstName,
  11. Wrapped<String?>? middleInitial,
  12. Wrapped<String?>? lastName,
  13. Wrapped<String?>? address1,
  14. Wrapped<String?>? address2,
  15. Wrapped<String?>? city,
  16. Wrapped<String?>? state,
  17. Wrapped<String?>? countryId,
  18. Wrapped<String?>? country,
  19. Wrapped<String?>? countryCodeIsoAlpha2,
  20. Wrapped<int?>? countryCodePhone,
  21. Wrapped<String?>? zipCode,
  22. Wrapped<String?>? vendorClassId,
  23. Wrapped<String?>? vendorClass,
  24. Wrapped<String?>? phone,
  25. Wrapped<String?>? fax,
  26. Wrapped<String?>? phoneTollFree,
  27. Wrapped<String?>? otherPhone,
  28. Wrapped<String?>? webAddress,
  29. Wrapped<String?>? email,
  30. Wrapped<String?>? activeDate,
  31. Wrapped<String?>? inactiveDate,
  32. Wrapped<bool?>? subRent,
  33. Wrapped<bool?>? subSales,
  34. Wrapped<bool?>? subMisc,
  35. Wrapped<bool?>? subLabor,
  36. Wrapped<bool?>? subVehicle,
  37. Wrapped<bool?>? repair,
  38. Wrapped<bool?>? rentalInventory,
  39. Wrapped<bool?>? salesPartsInventory,
  40. Wrapped<bool?>? manufacturer,
  41. Wrapped<bool?>? freight,
  42. Wrapped<bool?>? insurance,
  43. Wrapped<bool?>? consignment,
  44. Wrapped<String?>? vendorColor,
  45. Wrapped<double?>? defaultSubRentDaysPerWeek,
  46. Wrapped<double?>? defaultSubRentDiscountPercent,
  47. Wrapped<double?>? defaultSubSaleDiscountPercent,
  48. Wrapped<String?>? defaultRate,
  49. Wrapped<String?>? billingCycleId,
  50. Wrapped<String?>? billingCycle,
  51. Wrapped<String?>? paymentTermsId,
  52. Wrapped<String?>? paymentTerms,
  53. Wrapped<String?>? accountNumber,
  54. Wrapped<String?>? defaultPoClassificationId,
  55. Wrapped<String?>? defaultPoClassification,
  56. Wrapped<String?>? defaultPoTypeId,
  57. Wrapped<String?>? defaultPoType,
  58. Wrapped<bool?>? defaultPoTypeIsInternal,
  59. Wrapped<String?>? organizationTypeId,
  60. Wrapped<String?>? organizationType,
  61. Wrapped<bool?>? multipleCurrencies,
  62. Wrapped<String?>? defaultCurrencyId,
  63. Wrapped<String?>? defaultCurrencyCode,
  64. Wrapped<String?>? defaultCurrency,
  65. Wrapped<String?>? defaultCurrencySymbol,
  66. Wrapped<String?>? remitAttention1,
  67. Wrapped<String?>? remitAttention2,
  68. Wrapped<String?>? remitAddress1,
  69. Wrapped<String?>? remitAddress2,
  70. Wrapped<String?>? remitCity,
  71. Wrapped<String?>? remitState,
  72. Wrapped<String?>? remitCountryId,
  73. Wrapped<String?>? remitCountry,
  74. Wrapped<String?>? remitCountryCodeIsoAlpha2,
  75. Wrapped<int?>? remitCountryCodePhone,
  76. Wrapped<String?>? remitZipCode,
  77. Wrapped<String?>? remitPayeeNo,
  78. Wrapped<String?>? externalId,
  79. Wrapped<bool?>? automaticallyAdjustContractDates,
  80. Wrapped<String?>? shippingTrackingLink,
  81. Wrapped<String?>? defaultOutgoingDeliveryType,
  82. Wrapped<String?>? defaultIncomingDeliveryType,
  83. Wrapped<String?>? customerId,
  84. Wrapped<String?>? customer,
  85. Wrapped<String?>? inputDate,
  86. Wrapped<String?>? lastModifiedDate,
  87. Wrapped<String?>? primaryContactId,
  88. Wrapped<String?>? primaryContact,
  89. Wrapped<String?>? primaryContactPhone,
  90. Wrapped<String?>? primaryContactExtension,
  91. Wrapped<bool?>? isInternal,
  92. Wrapped<String?>? internalLocationId,
  93. Wrapped<String?>? internalLocation,
  94. Wrapped<String?>? internalWarehouseId,
  95. Wrapped<String?>? internalWarehouse,
  96. Wrapped<String?>? internalOrderDealId,
  97. Wrapped<bool?>? inactive,
  98. Wrapped<String?>? dateStamp,
  99. Wrapped<String?>? auditNote,
  100. Wrapped<String?>? recordTitle,
  101. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  102. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  103. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  104. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesAgentVendorVendor copyWithWrapped(
    {Wrapped<String?>? vendorId,
    Wrapped<String?>? vendor,
    Wrapped<String?>? vendorDisplayName,
    Wrapped<String?>? vendorNameType,
    Wrapped<String?>? vendorNumber,
    Wrapped<String?>? federalIdNumber,
    Wrapped<String?>? officeLocationId,
    Wrapped<String?>? officeLocation,
    Wrapped<String?>? salutation,
    Wrapped<String?>? firstName,
    Wrapped<String?>? middleInitial,
    Wrapped<String?>? lastName,
    Wrapped<String?>? address1,
    Wrapped<String?>? address2,
    Wrapped<String?>? city,
    Wrapped<String?>? state,
    Wrapped<String?>? countryId,
    Wrapped<String?>? country,
    Wrapped<String?>? countryCodeIsoAlpha2,
    Wrapped<int?>? countryCodePhone,
    Wrapped<String?>? zipCode,
    Wrapped<String?>? vendorClassId,
    Wrapped<String?>? vendorClass,
    Wrapped<String?>? phone,
    Wrapped<String?>? fax,
    Wrapped<String?>? phoneTollFree,
    Wrapped<String?>? otherPhone,
    Wrapped<String?>? webAddress,
    Wrapped<String?>? email,
    Wrapped<String?>? activeDate,
    Wrapped<String?>? inactiveDate,
    Wrapped<bool?>? subRent,
    Wrapped<bool?>? subSales,
    Wrapped<bool?>? subMisc,
    Wrapped<bool?>? subLabor,
    Wrapped<bool?>? subVehicle,
    Wrapped<bool?>? repair,
    Wrapped<bool?>? rentalInventory,
    Wrapped<bool?>? salesPartsInventory,
    Wrapped<bool?>? manufacturer,
    Wrapped<bool?>? freight,
    Wrapped<bool?>? insurance,
    Wrapped<bool?>? consignment,
    Wrapped<String?>? vendorColor,
    Wrapped<double?>? defaultSubRentDaysPerWeek,
    Wrapped<double?>? defaultSubRentDiscountPercent,
    Wrapped<double?>? defaultSubSaleDiscountPercent,
    Wrapped<String?>? defaultRate,
    Wrapped<String?>? billingCycleId,
    Wrapped<String?>? billingCycle,
    Wrapped<String?>? paymentTermsId,
    Wrapped<String?>? paymentTerms,
    Wrapped<String?>? accountNumber,
    Wrapped<String?>? defaultPoClassificationId,
    Wrapped<String?>? defaultPoClassification,
    Wrapped<String?>? defaultPoTypeId,
    Wrapped<String?>? defaultPoType,
    Wrapped<bool?>? defaultPoTypeIsInternal,
    Wrapped<String?>? organizationTypeId,
    Wrapped<String?>? organizationType,
    Wrapped<bool?>? multipleCurrencies,
    Wrapped<String?>? defaultCurrencyId,
    Wrapped<String?>? defaultCurrencyCode,
    Wrapped<String?>? defaultCurrency,
    Wrapped<String?>? defaultCurrencySymbol,
    Wrapped<String?>? remitAttention1,
    Wrapped<String?>? remitAttention2,
    Wrapped<String?>? remitAddress1,
    Wrapped<String?>? remitAddress2,
    Wrapped<String?>? remitCity,
    Wrapped<String?>? remitState,
    Wrapped<String?>? remitCountryId,
    Wrapped<String?>? remitCountry,
    Wrapped<String?>? remitCountryCodeIsoAlpha2,
    Wrapped<int?>? remitCountryCodePhone,
    Wrapped<String?>? remitZipCode,
    Wrapped<String?>? remitPayeeNo,
    Wrapped<String?>? externalId,
    Wrapped<bool?>? automaticallyAdjustContractDates,
    Wrapped<String?>? shippingTrackingLink,
    Wrapped<String?>? defaultOutgoingDeliveryType,
    Wrapped<String?>? defaultIncomingDeliveryType,
    Wrapped<String?>? customerId,
    Wrapped<String?>? customer,
    Wrapped<String?>? inputDate,
    Wrapped<String?>? lastModifiedDate,
    Wrapped<String?>? primaryContactId,
    Wrapped<String?>? primaryContact,
    Wrapped<String?>? primaryContactPhone,
    Wrapped<String?>? primaryContactExtension,
    Wrapped<bool?>? isInternal,
    Wrapped<String?>? internalLocationId,
    Wrapped<String?>? internalLocation,
    Wrapped<String?>? internalWarehouseId,
    Wrapped<String?>? internalWarehouse,
    Wrapped<String?>? internalOrderDealId,
    Wrapped<bool?>? inactive,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesAgentVendorVendor(
      vendorId: (vendorId != null ? vendorId.value : this.vendorId),
      vendor: (vendor != null ? vendor.value : this.vendor),
      vendorDisplayName: (vendorDisplayName != null
          ? vendorDisplayName.value
          : this.vendorDisplayName),
      vendorNameType: (vendorNameType != null
          ? vendorNameType.value
          : this.vendorNameType),
      vendorNumber:
          (vendorNumber != null ? vendorNumber.value : this.vendorNumber),
      federalIdNumber: (federalIdNumber != null
          ? federalIdNumber.value
          : this.federalIdNumber),
      officeLocationId: (officeLocationId != null
          ? officeLocationId.value
          : this.officeLocationId),
      officeLocation: (officeLocation != null
          ? officeLocation.value
          : this.officeLocation),
      salutation: (salutation != null ? salutation.value : this.salutation),
      firstName: (firstName != null ? firstName.value : this.firstName),
      middleInitial:
          (middleInitial != null ? middleInitial.value : this.middleInitial),
      lastName: (lastName != null ? lastName.value : this.lastName),
      address1: (address1 != null ? address1.value : this.address1),
      address2: (address2 != null ? address2.value : this.address2),
      city: (city != null ? city.value : this.city),
      state: (state != null ? state.value : this.state),
      countryId: (countryId != null ? countryId.value : this.countryId),
      country: (country != null ? country.value : this.country),
      countryCodeIsoAlpha2: (countryCodeIsoAlpha2 != null
          ? countryCodeIsoAlpha2.value
          : this.countryCodeIsoAlpha2),
      countryCodePhone: (countryCodePhone != null
          ? countryCodePhone.value
          : this.countryCodePhone),
      zipCode: (zipCode != null ? zipCode.value : this.zipCode),
      vendorClassId:
          (vendorClassId != null ? vendorClassId.value : this.vendorClassId),
      vendorClass:
          (vendorClass != null ? vendorClass.value : this.vendorClass),
      phone: (phone != null ? phone.value : this.phone),
      fax: (fax != null ? fax.value : this.fax),
      phoneTollFree:
          (phoneTollFree != null ? phoneTollFree.value : this.phoneTollFree),
      otherPhone: (otherPhone != null ? otherPhone.value : this.otherPhone),
      webAddress: (webAddress != null ? webAddress.value : this.webAddress),
      email: (email != null ? email.value : this.email),
      activeDate: (activeDate != null ? activeDate.value : this.activeDate),
      inactiveDate:
          (inactiveDate != null ? inactiveDate.value : this.inactiveDate),
      subRent: (subRent != null ? subRent.value : this.subRent),
      subSales: (subSales != null ? subSales.value : this.subSales),
      subMisc: (subMisc != null ? subMisc.value : this.subMisc),
      subLabor: (subLabor != null ? subLabor.value : this.subLabor),
      subVehicle: (subVehicle != null ? subVehicle.value : this.subVehicle),
      repair: (repair != null ? repair.value : this.repair),
      rentalInventory: (rentalInventory != null
          ? rentalInventory.value
          : this.rentalInventory),
      salesPartsInventory: (salesPartsInventory != null
          ? salesPartsInventory.value
          : this.salesPartsInventory),
      manufacturer:
          (manufacturer != null ? manufacturer.value : this.manufacturer),
      freight: (freight != null ? freight.value : this.freight),
      insurance: (insurance != null ? insurance.value : this.insurance),
      consignment:
          (consignment != null ? consignment.value : this.consignment),
      vendorColor:
          (vendorColor != null ? vendorColor.value : this.vendorColor),
      defaultSubRentDaysPerWeek: (defaultSubRentDaysPerWeek != null
          ? defaultSubRentDaysPerWeek.value
          : this.defaultSubRentDaysPerWeek),
      defaultSubRentDiscountPercent: (defaultSubRentDiscountPercent != null
          ? defaultSubRentDiscountPercent.value
          : this.defaultSubRentDiscountPercent),
      defaultSubSaleDiscountPercent: (defaultSubSaleDiscountPercent != null
          ? defaultSubSaleDiscountPercent.value
          : this.defaultSubSaleDiscountPercent),
      defaultRate:
          (defaultRate != null ? defaultRate.value : this.defaultRate),
      billingCycleId: (billingCycleId != null
          ? billingCycleId.value
          : this.billingCycleId),
      billingCycle:
          (billingCycle != null ? billingCycle.value : this.billingCycle),
      paymentTermsId: (paymentTermsId != null
          ? paymentTermsId.value
          : this.paymentTermsId),
      paymentTerms:
          (paymentTerms != null ? paymentTerms.value : this.paymentTerms),
      accountNumber:
          (accountNumber != null ? accountNumber.value : this.accountNumber),
      defaultPoClassificationId: (defaultPoClassificationId != null
          ? defaultPoClassificationId.value
          : this.defaultPoClassificationId),
      defaultPoClassification: (defaultPoClassification != null
          ? defaultPoClassification.value
          : this.defaultPoClassification),
      defaultPoTypeId: (defaultPoTypeId != null
          ? defaultPoTypeId.value
          : this.defaultPoTypeId),
      defaultPoType:
          (defaultPoType != null ? defaultPoType.value : this.defaultPoType),
      defaultPoTypeIsInternal: (defaultPoTypeIsInternal != null
          ? defaultPoTypeIsInternal.value
          : this.defaultPoTypeIsInternal),
      organizationTypeId: (organizationTypeId != null
          ? organizationTypeId.value
          : this.organizationTypeId),
      organizationType: (organizationType != null
          ? organizationType.value
          : this.organizationType),
      multipleCurrencies: (multipleCurrencies != null
          ? multipleCurrencies.value
          : this.multipleCurrencies),
      defaultCurrencyId: (defaultCurrencyId != null
          ? defaultCurrencyId.value
          : this.defaultCurrencyId),
      defaultCurrencyCode: (defaultCurrencyCode != null
          ? defaultCurrencyCode.value
          : this.defaultCurrencyCode),
      defaultCurrency: (defaultCurrency != null
          ? defaultCurrency.value
          : this.defaultCurrency),
      defaultCurrencySymbol: (defaultCurrencySymbol != null
          ? defaultCurrencySymbol.value
          : this.defaultCurrencySymbol),
      remitAttention1: (remitAttention1 != null
          ? remitAttention1.value
          : this.remitAttention1),
      remitAttention2: (remitAttention2 != null
          ? remitAttention2.value
          : this.remitAttention2),
      remitAddress1:
          (remitAddress1 != null ? remitAddress1.value : this.remitAddress1),
      remitAddress2:
          (remitAddress2 != null ? remitAddress2.value : this.remitAddress2),
      remitCity: (remitCity != null ? remitCity.value : this.remitCity),
      remitState: (remitState != null ? remitState.value : this.remitState),
      remitCountryId: (remitCountryId != null
          ? remitCountryId.value
          : this.remitCountryId),
      remitCountry:
          (remitCountry != null ? remitCountry.value : this.remitCountry),
      remitCountryCodeIsoAlpha2: (remitCountryCodeIsoAlpha2 != null
          ? remitCountryCodeIsoAlpha2.value
          : this.remitCountryCodeIsoAlpha2),
      remitCountryCodePhone: (remitCountryCodePhone != null
          ? remitCountryCodePhone.value
          : this.remitCountryCodePhone),
      remitZipCode:
          (remitZipCode != null ? remitZipCode.value : this.remitZipCode),
      remitPayeeNo:
          (remitPayeeNo != null ? remitPayeeNo.value : this.remitPayeeNo),
      externalId: (externalId != null ? externalId.value : this.externalId),
      automaticallyAdjustContractDates: (automaticallyAdjustContractDates != null
          ? automaticallyAdjustContractDates.value
          : this.automaticallyAdjustContractDates),
      shippingTrackingLink: (shippingTrackingLink != null
          ? shippingTrackingLink.value
          : this.shippingTrackingLink),
      defaultOutgoingDeliveryType: (defaultOutgoingDeliveryType != null
          ? defaultOutgoingDeliveryType.value
          : this.defaultOutgoingDeliveryType),
      defaultIncomingDeliveryType: (defaultIncomingDeliveryType != null
          ? defaultIncomingDeliveryType.value
          : this.defaultIncomingDeliveryType),
      customerId: (customerId != null ? customerId.value : this.customerId),
      customer: (customer != null ? customer.value : this.customer),
      inputDate: (inputDate != null ? inputDate.value : this.inputDate),
      lastModifiedDate: (lastModifiedDate != null
          ? lastModifiedDate.value
          : this.lastModifiedDate),
      primaryContactId: (primaryContactId != null
          ? primaryContactId.value
          : this.primaryContactId),
      primaryContact: (primaryContact != null
          ? primaryContact.value
          : this.primaryContact),
      primaryContactPhone: (primaryContactPhone != null
          ? primaryContactPhone.value
          : this.primaryContactPhone),
      primaryContactExtension:
          (primaryContactExtension != null ? primaryContactExtension.value : this.primaryContactExtension),
      isInternal: (isInternal != null ? isInternal.value : this.isInternal),
      internalLocationId: (internalLocationId != null ? internalLocationId.value : this.internalLocationId),
      internalLocation: (internalLocation != null ? internalLocation.value : this.internalLocation),
      internalWarehouseId: (internalWarehouseId != null ? internalWarehouseId.value : this.internalWarehouseId),
      internalWarehouse: (internalWarehouse != null ? internalWarehouse.value : this.internalWarehouse),
      internalOrderDealId: (internalOrderDealId != null ? internalOrderDealId.value : this.internalOrderDealId),
      inactive: (inactive != null ? inactive.value : this.inactive),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null ? defaultFieldAttributes.value : this.defaultFieldAttributes),
      translation: (translation != null ? translation.value : this.translation));
}