copyWith method
WebApiModulesReportsBillingInvoiceDiscountReportInvoiceDiscountReportRequest
copyWith({
- DateTime? fromDate,
- DateTime? toDate,
- String? dateType,
- int? discountPercent,
- String? officeLocationId,
- String? departmentId,
- String? customerId,
- String? dealId,
- String? discountReasonId,
- String? userDepartmentId,
- String? userLocationId,
- String? userWarehouseId,
- String? customReportLayoutId,
- bool? isSummary,
- bool? includeSubHeadingsAndSubTotals,
- bool? includeIdColumns,
- String? locale,
- List<
FwStandardModelsCheckBoxListItem> ? excelfields, - String? reportName,
- bool? useEmailTemplate,
Implementation
WebApiModulesReportsBillingInvoiceDiscountReportInvoiceDiscountReportRequest
copyWith(
{DateTime? fromDate,
DateTime? toDate,
String? dateType,
int? discountPercent,
String? officeLocationId,
String? departmentId,
String? customerId,
String? dealId,
String? discountReasonId,
String? userDepartmentId,
String? userLocationId,
String? userWarehouseId,
String? customReportLayoutId,
bool? isSummary,
bool? includeSubHeadingsAndSubTotals,
bool? includeIdColumns,
String? locale,
List<FwStandardModelsCheckBoxListItem>? excelfields,
String? reportName,
bool? useEmailTemplate}) {
return WebApiModulesReportsBillingInvoiceDiscountReportInvoiceDiscountReportRequest(
fromDate: fromDate ?? this.fromDate,
toDate: toDate ?? this.toDate,
dateType: dateType ?? this.dateType,
discountPercent: discountPercent ?? this.discountPercent,
officeLocationId: officeLocationId ?? this.officeLocationId,
departmentId: departmentId ?? this.departmentId,
customerId: customerId ?? this.customerId,
dealId: dealId ?? this.dealId,
discountReasonId: discountReasonId ?? this.discountReasonId,
userDepartmentId: userDepartmentId ?? this.userDepartmentId,
userLocationId: userLocationId ?? this.userLocationId,
userWarehouseId: userWarehouseId ?? this.userWarehouseId,
customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
isSummary: isSummary ?? this.isSummary,
includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
this.includeSubHeadingsAndSubTotals,
includeIdColumns: includeIdColumns ?? this.includeIdColumns,
locale: locale ?? this.locale,
excelfields: excelfields ?? this.excelfields,
reportName: reportName ?? this.reportName,
useEmailTemplate: useEmailTemplate ?? this.useEmailTemplate);
}