copyWith method

WebApiModulesIntegrationsStorefrontQuoteRequest copyWith({
  1. String? webCatalogId,
  2. String? language,
  3. String? departmentId,
  4. String? locationId,
  5. String? warehouseId,
  6. String? dealId,
  7. String? quoteDescription,
  8. String? jobName,
  9. String? startDate,
  10. String? stopDate,
  11. String? notes,
  12. List<WebApiModulesIntegrationsStorefrontQuoteRequestItem>? items,
})

Implementation

WebApiModulesIntegrationsStorefrontQuoteRequest copyWith({
  String? webCatalogId,
  String? language,
  String? departmentId,
  String? locationId,
  String? warehouseId,
  String? dealId,
  String? quoteDescription,
  String? jobName,
  String? startDate,
  String? stopDate,
  String? notes,
  List<WebApiModulesIntegrationsStorefrontQuoteRequestItem>? items,
}) {
  return WebApiModulesIntegrationsStorefrontQuoteRequest(
    webCatalogId: webCatalogId ?? this.webCatalogId,
    language: language ?? this.language,
    departmentId: departmentId ?? this.departmentId,
    locationId: locationId ?? this.locationId,
    warehouseId: warehouseId ?? this.warehouseId,
    dealId: dealId ?? this.dealId,
    quoteDescription: quoteDescription ?? this.quoteDescription,
    jobName: jobName ?? this.jobName,
    startDate: startDate ?? this.startDate,
    stopDate: stopDate ?? this.stopDate,
    notes: notes ?? this.notes,
    items: items ?? this.items,
  );
}