copyWithWrapped method
WebApiModulesReportsBillingInvoiceDiscountReportInvoiceDiscountReportRequest
copyWithWrapped({
- Wrapped<
DateTime?> ? fromDate, - Wrapped<
DateTime?> ? toDate, - Wrapped<
String?> ? dateType, - Wrapped<
int?> ? discountPercent, - Wrapped<
String?> ? officeLocationId, - Wrapped<
String?> ? departmentId, - Wrapped<
String?> ? customerId, - Wrapped<
String?> ? dealId, - Wrapped<
String?> ? discountReasonId, - Wrapped<
String?> ? customReportLayoutId, - Wrapped<
bool?> ? isSummary, - Wrapped<
bool?> ? includeSubHeadingsAndSubTotals, - Wrapped<
bool?> ? includeIdColumns, - Wrapped<
String?> ? locale, - Wrapped<
List< ? excelfields,FwStandardModelsCheckBoxListItem> ?>
Implementation
WebApiModulesReportsBillingInvoiceDiscountReportInvoiceDiscountReportRequest
copyWithWrapped(
{Wrapped<DateTime?>? fromDate,
Wrapped<DateTime?>? toDate,
Wrapped<String?>? dateType,
Wrapped<int?>? discountPercent,
Wrapped<String?>? officeLocationId,
Wrapped<String?>? departmentId,
Wrapped<String?>? customerId,
Wrapped<String?>? dealId,
Wrapped<String?>? discountReasonId,
Wrapped<String?>? customReportLayoutId,
Wrapped<bool?>? isSummary,
Wrapped<bool?>? includeSubHeadingsAndSubTotals,
Wrapped<bool?>? includeIdColumns,
Wrapped<String?>? locale,
Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields}) {
return WebApiModulesReportsBillingInvoiceDiscountReportInvoiceDiscountReportRequest(
fromDate: (fromDate != null ? fromDate.value : this.fromDate),
toDate: (toDate != null ? toDate.value : this.toDate),
dateType: (dateType != null ? dateType.value : this.dateType),
discountPercent: (discountPercent != null
? discountPercent.value
: this.discountPercent),
officeLocationId: (officeLocationId != null
? officeLocationId.value
: this.officeLocationId),
departmentId:
(departmentId != null ? departmentId.value : this.departmentId),
customerId: (customerId != null ? customerId.value : this.customerId),
dealId: (dealId != null ? dealId.value : this.dealId),
discountReasonId: (discountReasonId != null
? discountReasonId.value
: this.discountReasonId),
customReportLayoutId: (customReportLayoutId != null
? customReportLayoutId.value
: this.customReportLayoutId),
isSummary: (isSummary != null ? isSummary.value : this.isSummary),
includeSubHeadingsAndSubTotals: (includeSubHeadingsAndSubTotals != null
? includeSubHeadingsAndSubTotals.value
: this.includeSubHeadingsAndSubTotals),
includeIdColumns: (includeIdColumns != null
? includeIdColumns.value
: this.includeIdColumns),
locale: (locale != null ? locale.value : this.locale),
excelfields:
(excelfields != null ? excelfields.value : this.excelfields));
}