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?>? paymentTermsColor,
  54. Wrapped<String?>? accountNumber,
  55. Wrapped<String?>? defaultPoClassificationId,
  56. Wrapped<String?>? defaultPoClassification,
  57. Wrapped<String?>? defaultPoTypeId,
  58. Wrapped<String?>? defaultPoType,
  59. Wrapped<bool?>? defaultPoTypeIsInternal,
  60. Wrapped<String?>? organizationTypeId,
  61. Wrapped<String?>? organizationType,
  62. Wrapped<bool?>? multipleCurrencies,
  63. Wrapped<String?>? defaultCurrencyId,
  64. Wrapped<String?>? defaultCurrencyCode,
  65. Wrapped<String?>? defaultCurrency,
  66. Wrapped<String?>? defaultCurrencySymbol,
  67. Wrapped<String?>? remitAttention1,
  68. Wrapped<String?>? remitAttention2,
  69. Wrapped<String?>? remitAddress1,
  70. Wrapped<String?>? remitAddress2,
  71. Wrapped<String?>? remitCity,
  72. Wrapped<String?>? remitState,
  73. Wrapped<String?>? remitCountryId,
  74. Wrapped<String?>? remitCountry,
  75. Wrapped<String?>? remitCountryCodeIsoAlpha2,
  76. Wrapped<int?>? remitCountryCodePhone,
  77. Wrapped<String?>? remitZipCode,
  78. Wrapped<String?>? remitPayeeNo,
  79. Wrapped<String?>? externalId,
  80. Wrapped<bool?>? automaticallyAdjustContractDates,
  81. Wrapped<String?>? shippingTrackingLink,
  82. Wrapped<String?>? defaultOutgoingDeliveryType,
  83. Wrapped<String?>? defaultIncomingDeliveryType,
  84. Wrapped<String?>? customerId,
  85. Wrapped<String?>? customer,
  86. Wrapped<String?>? inputDate,
  87. Wrapped<String?>? lastModifiedDate,
  88. Wrapped<String?>? primaryContactId,
  89. Wrapped<String?>? primaryContact,
  90. Wrapped<String?>? primaryContactPhone,
  91. Wrapped<String?>? primaryContactExtension,
  92. Wrapped<bool?>? isInternal,
  93. Wrapped<String?>? internalLocationId,
  94. Wrapped<String?>? internalLocation,
  95. Wrapped<String?>? internalWarehouseId,
  96. Wrapped<String?>? internalWarehouse,
  97. Wrapped<String?>? internalOrderDealId,
  98. Wrapped<String?>? taxOption,
  99. Wrapped<bool?>? excludeItemsWithZero,
  100. Wrapped<bool?>? inactive,
  101. Wrapped<String?>? paymentTypeId,
  102. Wrapped<String?>? paymentType,
  103. Wrapped<String?>? dateStamp,
  104. Wrapped<String?>? auditNote,
  105. Wrapped<String?>? recordTitle,
  106. Wrapped? urlIdentifier,
  107. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  108. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  109. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  110. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  111. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  112. Wrapped<bool?>? hasImport,
  113. Wrapped<bool?>? hasDocuments,
  114. Wrapped<String?>? createdByUserId,
  115. Wrapped<String?>? createdByUserName,
  116. Wrapped<String?>? createdDateTime,
  117. Wrapped<String?>? modifiedByUserId,
  118. Wrapped<String?>? modifiedByUserName,
  119. Wrapped<String?>? modifiedDateTime,
})

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?>? paymentTermsColor,
  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<String?>? taxOption,
  Wrapped<bool?>? excludeItemsWithZero,
  Wrapped<bool?>? inactive,
  Wrapped<String?>? paymentTypeId,
  Wrapped<String?>? paymentType,
  Wrapped<String?>? dateStamp,
  Wrapped<String?>? auditNote,
  Wrapped<String?>? recordTitle,
  Wrapped<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  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),
    paymentTermsColor: (paymentTermsColor != null
        ? paymentTermsColor.value
        : this.paymentTermsColor),
    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),
    taxOption: (taxOption != null ? taxOption.value : this.taxOption),
    excludeItemsWithZero: (excludeItemsWithZero != null
        ? excludeItemsWithZero.value
        : this.excludeItemsWithZero),
    inactive: (inactive != null ? inactive.value : this.inactive),
    paymentTypeId: (paymentTypeId != null
        ? paymentTypeId.value
        : this.paymentTypeId),
    paymentType: (paymentType != null ? paymentType.value : this.paymentType),
    dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
    auditNote: (auditNote != null ? auditNote.value : this.auditNote),
    recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}