copyWithWrapped method
WebApiModulesSettingsDiscountItemDiscountItem
copyWithWrapped({
- Wrapped<
String?> ? discountItemId, - Wrapped<
double?> ? discountPercent, - Wrapped<
double?> ? daysPerWeek, - Wrapped<
double?> ? marginPercent, - Wrapped<
double?> ? markupPercent, - Wrapped<
double?> ? dailyRate, - Wrapped<
double?> ? weeklyRate, - Wrapped<
double?> ? week2Rate, - Wrapped<
double?> ? week3Rate, - Wrapped<
double?> ? week4Rate, - Wrapped<
double?> ? week5Rate, - Wrapped<
double?> ? monthlyRate, - Wrapped<
String?> ? orderTypeId, - Wrapped<
String?> ? orderType, - Wrapped<
double?> ? orderTypeOrderBy, - Wrapped<
String?> ? inventoryTypeId, - Wrapped<
String?> ? inventoryType, - Wrapped<
int?> ? inventoryTypeOrderBy, - Wrapped<
String?> ? categoryId, - Wrapped<
String?> ? category, - Wrapped<
double?> ? categoryOrderBy, - Wrapped<
String?> ? subCategoryId, - Wrapped<
String?> ? subCategory, - Wrapped<
double?> ? subCategoryOrderBy, - Wrapped<
String?> ? inventoryId, - Wrapped<
String?> ? iCode, - Wrapped<
String?> ? description, - Wrapped<
String?> ? recType, - Wrapped<
String?> ? classification, - Wrapped<
double?> ? warehouseDailyRate, - Wrapped<
double?> ? warehouseWeeklyRate, - Wrapped<
double?> ? warehouseDefaultDailyRate, - Wrapped<
double?> ? warehouseDefaultWeeklyRate, - Wrapped<
String?> ? discountTemplateId, - 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
WebApiModulesSettingsDiscountItemDiscountItem copyWithWrapped({
Wrapped<String?>? discountItemId,
Wrapped<double?>? discountPercent,
Wrapped<double?>? daysPerWeek,
Wrapped<double?>? marginPercent,
Wrapped<double?>? markupPercent,
Wrapped<double?>? dailyRate,
Wrapped<double?>? weeklyRate,
Wrapped<double?>? week2Rate,
Wrapped<double?>? week3Rate,
Wrapped<double?>? week4Rate,
Wrapped<double?>? week5Rate,
Wrapped<double?>? monthlyRate,
Wrapped<String?>? orderTypeId,
Wrapped<String?>? orderType,
Wrapped<double?>? orderTypeOrderBy,
Wrapped<String?>? inventoryTypeId,
Wrapped<String?>? inventoryType,
Wrapped<int?>? inventoryTypeOrderBy,
Wrapped<String?>? categoryId,
Wrapped<String?>? category,
Wrapped<double?>? categoryOrderBy,
Wrapped<String?>? subCategoryId,
Wrapped<String?>? subCategory,
Wrapped<double?>? subCategoryOrderBy,
Wrapped<String?>? inventoryId,
Wrapped<String?>? iCode,
Wrapped<String?>? description,
Wrapped<String?>? recType,
Wrapped<String?>? classification,
Wrapped<double?>? warehouseDailyRate,
Wrapped<double?>? warehouseWeeklyRate,
Wrapped<double?>? warehouseDefaultDailyRate,
Wrapped<double?>? warehouseDefaultWeeklyRate,
Wrapped<String?>? discountTemplateId,
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 WebApiModulesSettingsDiscountItemDiscountItem(
discountItemId: (discountItemId != null
? discountItemId.value
: this.discountItemId),
discountPercent: (discountPercent != null
? discountPercent.value
: this.discountPercent),
daysPerWeek: (daysPerWeek != null ? daysPerWeek.value : this.daysPerWeek),
marginPercent: (marginPercent != null
? marginPercent.value
: this.marginPercent),
markupPercent: (markupPercent != null
? markupPercent.value
: this.markupPercent),
dailyRate: (dailyRate != null ? dailyRate.value : this.dailyRate),
weeklyRate: (weeklyRate != null ? weeklyRate.value : this.weeklyRate),
week2Rate: (week2Rate != null ? week2Rate.value : this.week2Rate),
week3Rate: (week3Rate != null ? week3Rate.value : this.week3Rate),
week4Rate: (week4Rate != null ? week4Rate.value : this.week4Rate),
week5Rate: (week5Rate != null ? week5Rate.value : this.week5Rate),
monthlyRate: (monthlyRate != null ? monthlyRate.value : this.monthlyRate),
orderTypeId: (orderTypeId != null ? orderTypeId.value : this.orderTypeId),
orderType: (orderType != null ? orderType.value : this.orderType),
orderTypeOrderBy: (orderTypeOrderBy != null
? orderTypeOrderBy.value
: this.orderTypeOrderBy),
inventoryTypeId: (inventoryTypeId != null
? inventoryTypeId.value
: this.inventoryTypeId),
inventoryType: (inventoryType != null
? inventoryType.value
: this.inventoryType),
inventoryTypeOrderBy: (inventoryTypeOrderBy != null
? inventoryTypeOrderBy.value
: this.inventoryTypeOrderBy),
categoryId: (categoryId != null ? categoryId.value : this.categoryId),
category: (category != null ? category.value : this.category),
categoryOrderBy: (categoryOrderBy != null
? categoryOrderBy.value
: this.categoryOrderBy),
subCategoryId: (subCategoryId != null
? subCategoryId.value
: this.subCategoryId),
subCategory: (subCategory != null ? subCategory.value : this.subCategory),
subCategoryOrderBy: (subCategoryOrderBy != null
? subCategoryOrderBy.value
: this.subCategoryOrderBy),
inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
iCode: (iCode != null ? iCode.value : this.iCode),
description: (description != null ? description.value : this.description),
recType: (recType != null ? recType.value : this.recType),
classification: (classification != null
? classification.value
: this.classification),
warehouseDailyRate: (warehouseDailyRate != null
? warehouseDailyRate.value
: this.warehouseDailyRate),
warehouseWeeklyRate: (warehouseWeeklyRate != null
? warehouseWeeklyRate.value
: this.warehouseWeeklyRate),
warehouseDefaultDailyRate: (warehouseDefaultDailyRate != null
? warehouseDefaultDailyRate.value
: this.warehouseDefaultDailyRate),
warehouseDefaultWeeklyRate: (warehouseDefaultWeeklyRate != null
? warehouseDefaultWeeklyRate.value
: this.warehouseDefaultWeeklyRate),
discountTemplateId: (discountTemplateId != null
? discountTemplateId.value
: this.discountTemplateId),
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),
);
}