copyWith method

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

Implementation

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