copyWithWrapped method
WebApiModulesSettingsDiscountTemplateSettingsDiscountTemplateDiscountTemplate
copyWithWrapped({
- Wrapped<
String?> ? discountTemplateId, - Wrapped<
String?> ? discountTemplate, - Wrapped<
String?> ? officeLocationId, - Wrapped<
String?> ? officeLocation, - Wrapped<
bool?> ? isCompany, - Wrapped<
bool?> ? rental, - Wrapped<
bool?> ? sales, - Wrapped<
bool?> ? labor, - Wrapped<
bool?> ? misc, - Wrapped<
bool?> ? space, - Wrapped<
double?> ? rentalDiscountPercent, - Wrapped<
double?> ? rentalDaysPerWeek, - Wrapped<
double?> ? salesDiscountPercent, - Wrapped<
double?> ? spaceDiscountPercent, - Wrapped<
String?> ? rentalAsOf, - Wrapped<
String?> ? salesAsOf, - Wrapped<
String?> ? laborAsOf, - Wrapped<
String?> ? miscAsOf, - Wrapped<
String?> ? spaceAsOf, - Wrapped<
double?> ? spaceDaysPerWeek, - Wrapped<
String?> ? companyId, - Wrapped<
bool?> ? applyDiscountToCustomRate, - Wrapped<
bool?> ? inactive, - 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
WebApiModulesSettingsDiscountTemplateSettingsDiscountTemplateDiscountTemplate
copyWithWrapped({
Wrapped<String?>? discountTemplateId,
Wrapped<String?>? discountTemplate,
Wrapped<String?>? officeLocationId,
Wrapped<String?>? officeLocation,
Wrapped<bool?>? isCompany,
Wrapped<bool?>? rental,
Wrapped<bool?>? sales,
Wrapped<bool?>? labor,
Wrapped<bool?>? misc,
Wrapped<bool?>? space,
Wrapped<double?>? rentalDiscountPercent,
Wrapped<double?>? rentalDaysPerWeek,
Wrapped<double?>? salesDiscountPercent,
Wrapped<double?>? spaceDiscountPercent,
Wrapped<String?>? rentalAsOf,
Wrapped<String?>? salesAsOf,
Wrapped<String?>? laborAsOf,
Wrapped<String?>? miscAsOf,
Wrapped<String?>? spaceAsOf,
Wrapped<double?>? spaceDaysPerWeek,
Wrapped<String?>? companyId,
Wrapped<bool?>? applyDiscountToCustomRate,
Wrapped<bool?>? inactive,
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 WebApiModulesSettingsDiscountTemplateSettingsDiscountTemplateDiscountTemplate(
discountTemplateId: (discountTemplateId != null
? discountTemplateId.value
: this.discountTemplateId),
discountTemplate: (discountTemplate != null
? discountTemplate.value
: this.discountTemplate),
officeLocationId: (officeLocationId != null
? officeLocationId.value
: this.officeLocationId),
officeLocation: (officeLocation != null
? officeLocation.value
: this.officeLocation),
isCompany: (isCompany != null ? isCompany.value : this.isCompany),
rental: (rental != null ? rental.value : this.rental),
sales: (sales != null ? sales.value : this.sales),
labor: (labor != null ? labor.value : this.labor),
misc: (misc != null ? misc.value : this.misc),
space: (space != null ? space.value : this.space),
rentalDiscountPercent: (rentalDiscountPercent != null
? rentalDiscountPercent.value
: this.rentalDiscountPercent),
rentalDaysPerWeek: (rentalDaysPerWeek != null
? rentalDaysPerWeek.value
: this.rentalDaysPerWeek),
salesDiscountPercent: (salesDiscountPercent != null
? salesDiscountPercent.value
: this.salesDiscountPercent),
spaceDiscountPercent: (spaceDiscountPercent != null
? spaceDiscountPercent.value
: this.spaceDiscountPercent),
rentalAsOf: (rentalAsOf != null ? rentalAsOf.value : this.rentalAsOf),
salesAsOf: (salesAsOf != null ? salesAsOf.value : this.salesAsOf),
laborAsOf: (laborAsOf != null ? laborAsOf.value : this.laborAsOf),
miscAsOf: (miscAsOf != null ? miscAsOf.value : this.miscAsOf),
spaceAsOf: (spaceAsOf != null ? spaceAsOf.value : this.spaceAsOf),
spaceDaysPerWeek: (spaceDaysPerWeek != null
? spaceDaysPerWeek.value
: this.spaceDaysPerWeek),
companyId: (companyId != null ? companyId.value : this.companyId),
applyDiscountToCustomRate: (applyDiscountToCustomRate != null
? applyDiscountToCustomRate.value
: this.applyDiscountToCustomRate),
inactive: (inactive != null ? inactive.value : this.inactive),
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),
);
}