copyWithWrapped method
WebApiServicesAvailabilityServiceAvailabilityConflictRequest
copyWithWrapped({
- Wrapped<
DateTime?> ? toDate, - Wrapped<
String?> ? availableFor, - Wrapped<
String?> ? conflictType, - Wrapped<
String?> ? warehouseId, - Wrapped<
String?> ? inventoryTypeId, - Wrapped<
String?> ? categoryId, - Wrapped<
String?> ? subCategoryId, - Wrapped<
String?> ? inventoryId, - Wrapped<
String?> ? description, - Wrapped<
String?> ? orderId, - Wrapped<
String?> ? dealId, - Wrapped<
String?> ? ranks, - Wrapped<
bool?> ? showRegionAvailability, - Wrapped<
bool?> ? showOtherWarehouseAvailability, - Wrapped<
String?> ? otherWarehouseIds,
Implementation
WebApiServicesAvailabilityServiceAvailabilityConflictRequest copyWithWrapped({
Wrapped<DateTime?>? toDate,
Wrapped<String?>? availableFor,
Wrapped<String?>? conflictType,
Wrapped<String?>? warehouseId,
Wrapped<String?>? inventoryTypeId,
Wrapped<String?>? categoryId,
Wrapped<String?>? subCategoryId,
Wrapped<String?>? inventoryId,
Wrapped<String?>? description,
Wrapped<String?>? orderId,
Wrapped<String?>? dealId,
Wrapped<String?>? ranks,
Wrapped<bool?>? showRegionAvailability,
Wrapped<bool?>? showOtherWarehouseAvailability,
Wrapped<String?>? otherWarehouseIds,
}) {
return WebApiServicesAvailabilityServiceAvailabilityConflictRequest(
toDate: (toDate != null ? toDate.value : this.toDate),
availableFor: (availableFor != null
? availableFor.value
: this.availableFor),
conflictType: (conflictType != null
? conflictType.value
: this.conflictType),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
inventoryTypeId: (inventoryTypeId != null
? inventoryTypeId.value
: this.inventoryTypeId),
categoryId: (categoryId != null ? categoryId.value : this.categoryId),
subCategoryId: (subCategoryId != null
? subCategoryId.value
: this.subCategoryId),
inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
description: (description != null ? description.value : this.description),
orderId: (orderId != null ? orderId.value : this.orderId),
dealId: (dealId != null ? dealId.value : this.dealId),
ranks: (ranks != null ? ranks.value : this.ranks),
showRegionAvailability: (showRegionAvailability != null
? showRegionAvailability.value
: this.showRegionAvailability),
showOtherWarehouseAvailability: (showOtherWarehouseAvailability != null
? showOtherWarehouseAvailability.value
: this.showOtherWarehouseAvailability),
otherWarehouseIds: (otherWarehouseIds != null
? otherWarehouseIds.value
: this.otherWarehouseIds),
);
}