copyWithWrapped method
WebApiModulesIntegrationsStorefrontQuoteRequest
copyWithWrapped({
- Wrapped<
String?> ? webCatalogId, - Wrapped<
String?> ? language, - Wrapped<
String> ? departmentId, - Wrapped<
String> ? locationId, - Wrapped<
String> ? warehouseId, - Wrapped<
String?> ? dealId, - Wrapped<
String?> ? quoteDescription, - Wrapped<
String?> ? jobName, - Wrapped<
String> ? startDate, - Wrapped<
String> ? stopDate, - Wrapped<
String?> ? notes, - Wrapped<
List< ? items,WebApiModulesIntegrationsStorefrontQuoteRequestItem> >
Implementation
WebApiModulesIntegrationsStorefrontQuoteRequest copyWithWrapped({
Wrapped<String?>? webCatalogId,
Wrapped<String?>? language,
Wrapped<String>? departmentId,
Wrapped<String>? locationId,
Wrapped<String>? warehouseId,
Wrapped<String?>? dealId,
Wrapped<String?>? quoteDescription,
Wrapped<String?>? jobName,
Wrapped<String>? startDate,
Wrapped<String>? stopDate,
Wrapped<String?>? notes,
Wrapped<List<WebApiModulesIntegrationsStorefrontQuoteRequestItem>>? items,
}) {
return WebApiModulesIntegrationsStorefrontQuoteRequest(
webCatalogId: (webCatalogId != null
? webCatalogId.value
: this.webCatalogId),
language: (language != null ? language.value : this.language),
departmentId: (departmentId != null
? departmentId.value
: this.departmentId),
locationId: (locationId != null ? locationId.value : this.locationId),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
dealId: (dealId != null ? dealId.value : this.dealId),
quoteDescription: (quoteDescription != null
? quoteDescription.value
: this.quoteDescription),
jobName: (jobName != null ? jobName.value : this.jobName),
startDate: (startDate != null ? startDate.value : this.startDate),
stopDate: (stopDate != null ? stopDate.value : this.stopDate),
notes: (notes != null ? notes.value : this.notes),
items: (items != null ? items.value : this.items),
);
}