copyWithWrapped method
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? urlIdentifier,
- Wrapped<
List< ? fields,FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ?> - Wrapped<
List< ? custom,FwStandardDataFwCustomValue> ?> - Wrapped<
List< ? defaultFieldAttributes,FwStandardDataFwDefaultAttribute> ?> - Wrapped<
FwStandardBusinessLogicFwBusinessLogic?> ? original, - Wrapped<
List< ? translation,FwStandardDataFwTranslatedValue> ?> - Wrapped<
bool?> ? hasImport, - Wrapped<
bool?> ? hasDocuments, - Wrapped<
String?> ? createdByUserId, - Wrapped<
String?> ? createdByUserName, - Wrapped<
String?> ? createdDateTime, - Wrapped<
String?> ? modifiedByUserId, - Wrapped<
String?> ? modifiedByUserName, - 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),
);
}