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<
List< ? fields,FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ?> - Wrapped<
List< ? custom,FwStandardDataFwCustomValue> ?> - Wrapped<
List< ? defaultFieldAttributes,FwStandardDataFwDefaultAttribute> ?> - Wrapped<
List< ? translation,FwStandardDataFwTranslatedValue> ?>
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<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
fields,
Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
defaultFieldAttributes,
Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
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),
fields: (fields != null ? fields.value : this.fields),
custom: (custom != null ? custom.value : this.custom),
defaultFieldAttributes: (defaultFieldAttributes != null
? defaultFieldAttributes.value
: this.defaultFieldAttributes),
translation:
(translation != null ? translation.value : this.translation));
}