copyWith method
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,
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,
);
}