copyWith method
WebApiModulesAgentContactContact
copyWith({
- String? contactId,
- String? activeDate,
- String? address1,
- String? address2,
- String? barcode,
- String? city,
- String? contactRecordType,
- String? contactRecordTypeColor,
- String? contactTitleId,
- String? contactTitle,
- String? country,
- String? countryId,
- String? countryCodeIsoAlpha2,
- int? countryCodePhone,
- String? dateStamp,
- String? directExtension,
- String? directPhone,
- String? email,
- String? fax,
- String? faxExtension,
- String? firstName,
- String? firstNameColor,
- String? homePhone,
- bool? inactive,
- String? inactiveDate,
- String? info,
- String? inputDate,
- String? modifiedDate,
- String? lastName,
- String? middleInitial,
- String? mobilePhone,
- String? nameFirstMiddleLast,
- String? officeExtension,
- String? officePhone,
- String? pager,
- String? pagerPin,
- String? person,
- String? salutation,
- String? website,
- String? webStatus,
- String? zipCode,
- String? state,
- String? sourceId,
- String? userId,
- String? password,
- bool? changePasswordAtNextLogin,
- bool? expirePassword,
- int? expireDays,
- String? passwordLastUpdated,
- String? webUserId,
- String? webUserContactId,
- String? webUserUserId,
- bool? webAccess,
- bool? lockAccount,
- String? defaultDealId,
- String? defaultDeal,
- String? webCatalogId,
- String? webCatalog,
- String? locationId,
- String? location,
- String? warehouseId,
- String? warehouse,
- bool? webQuoteRequest,
- String? departmentId,
- String? department,
- bool? isAccountsPayable,
- bool? isAccountsReceivable,
- bool? buyer,
- bool? responsiblePerson,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesAgentContactContact copyWith(
{String? contactId,
String? activeDate,
String? address1,
String? address2,
String? barcode,
String? city,
String? contactRecordType,
String? contactRecordTypeColor,
String? contactTitleId,
String? contactTitle,
String? country,
String? countryId,
String? countryCodeIsoAlpha2,
int? countryCodePhone,
String? dateStamp,
String? directExtension,
String? directPhone,
String? email,
String? fax,
String? faxExtension,
String? firstName,
String? firstNameColor,
String? homePhone,
bool? inactive,
String? inactiveDate,
String? info,
String? inputDate,
String? modifiedDate,
String? lastName,
String? middleInitial,
String? mobilePhone,
String? nameFirstMiddleLast,
String? officeExtension,
String? officePhone,
String? pager,
String? pagerPin,
String? person,
String? salutation,
String? website,
String? webStatus,
String? zipCode,
String? state,
String? sourceId,
String? userId,
String? password,
bool? changePasswordAtNextLogin,
bool? expirePassword,
int? expireDays,
String? passwordLastUpdated,
String? webUserId,
String? webUserContactId,
String? webUserUserId,
bool? webAccess,
bool? lockAccount,
String? defaultDealId,
String? defaultDeal,
String? webCatalogId,
String? webCatalog,
String? locationId,
String? location,
String? warehouseId,
String? warehouse,
bool? webQuoteRequest,
String? departmentId,
String? department,
bool? isAccountsPayable,
bool? isAccountsReceivable,
bool? buyer,
bool? responsiblePerson,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesAgentContactContact(
contactId: contactId ?? this.contactId,
activeDate: activeDate ?? this.activeDate,
address1: address1 ?? this.address1,
address2: address2 ?? this.address2,
barcode: barcode ?? this.barcode,
city: city ?? this.city,
contactRecordType: contactRecordType ?? this.contactRecordType,
contactRecordTypeColor:
contactRecordTypeColor ?? this.contactRecordTypeColor,
contactTitleId: contactTitleId ?? this.contactTitleId,
contactTitle: contactTitle ?? this.contactTitle,
country: country ?? this.country,
countryId: countryId ?? this.countryId,
countryCodeIsoAlpha2: countryCodeIsoAlpha2 ?? this.countryCodeIsoAlpha2,
countryCodePhone: countryCodePhone ?? this.countryCodePhone,
dateStamp: dateStamp ?? this.dateStamp,
directExtension: directExtension ?? this.directExtension,
directPhone: directPhone ?? this.directPhone,
email: email ?? this.email,
fax: fax ?? this.fax,
faxExtension: faxExtension ?? this.faxExtension,
firstName: firstName ?? this.firstName,
firstNameColor: firstNameColor ?? this.firstNameColor,
homePhone: homePhone ?? this.homePhone,
inactive: inactive ?? this.inactive,
inactiveDate: inactiveDate ?? this.inactiveDate,
info: info ?? this.info,
inputDate: inputDate ?? this.inputDate,
modifiedDate: modifiedDate ?? this.modifiedDate,
lastName: lastName ?? this.lastName,
middleInitial: middleInitial ?? this.middleInitial,
mobilePhone: mobilePhone ?? this.mobilePhone,
nameFirstMiddleLast: nameFirstMiddleLast ?? this.nameFirstMiddleLast,
officeExtension: officeExtension ?? this.officeExtension,
officePhone: officePhone ?? this.officePhone,
pager: pager ?? this.pager,
pagerPin: pagerPin ?? this.pagerPin,
person: person ?? this.person,
salutation: salutation ?? this.salutation,
website: website ?? this.website,
webStatus: webStatus ?? this.webStatus,
zipCode: zipCode ?? this.zipCode,
state: state ?? this.state,
sourceId: sourceId ?? this.sourceId,
userId: userId ?? this.userId,
password: password ?? this.password,
changePasswordAtNextLogin:
changePasswordAtNextLogin ?? this.changePasswordAtNextLogin,
expirePassword: expirePassword ?? this.expirePassword,
expireDays: expireDays ?? this.expireDays,
passwordLastUpdated: passwordLastUpdated ?? this.passwordLastUpdated,
webUserId: webUserId ?? this.webUserId,
webUserContactId: webUserContactId ?? this.webUserContactId,
webUserUserId: webUserUserId ?? this.webUserUserId,
webAccess: webAccess ?? this.webAccess,
lockAccount: lockAccount ?? this.lockAccount,
defaultDealId: defaultDealId ?? this.defaultDealId,
defaultDeal: defaultDeal ?? this.defaultDeal,
webCatalogId: webCatalogId ?? this.webCatalogId,
webCatalog: webCatalog ?? this.webCatalog,
locationId: locationId ?? this.locationId,
location: location ?? this.location,
warehouseId: warehouseId ?? this.warehouseId,
warehouse: warehouse ?? this.warehouse,
webQuoteRequest: webQuoteRequest ?? this.webQuoteRequest,
departmentId: departmentId ?? this.departmentId,
department: department ?? this.department,
isAccountsPayable: isAccountsPayable ?? this.isAccountsPayable,
isAccountsReceivable: isAccountsReceivable ?? this.isAccountsReceivable,
buyer: buyer ?? this.buyer,
responsiblePerson: responsiblePerson ?? this.responsiblePerson,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}