copyWithWrapped method
WebApiModulesWarehouseExchangeExchangeItemStatus
copyWithWrapped({
- Wrapped<
String?> ? inventoryId, - Wrapped<
String?> ? iCode, - Wrapped<
String?> ? availableFor, - Wrapped<
String?> ? inventoryClass, - Wrapped<
String?> ? description, - Wrapped<
String?> ? warehouseId, - Wrapped<
String?> ? warehouse, - Wrapped<
String?> ? vendorId, - Wrapped<
String?> ? vendor, - Wrapped<
String?> ? purchaseOrderId, - Wrapped<
String?> ? purchaseOrderNumber, - Wrapped<
String?> ? consignorId, - Wrapped<
String?> ? consignor,
Implementation
WebApiModulesWarehouseExchangeExchangeItemStatus copyWithWrapped(
{Wrapped<String?>? inventoryId,
Wrapped<String?>? iCode,
Wrapped<String?>? availableFor,
Wrapped<String?>? inventoryClass,
Wrapped<String?>? description,
Wrapped<String?>? warehouseId,
Wrapped<String?>? warehouse,
Wrapped<String?>? vendorId,
Wrapped<String?>? vendor,
Wrapped<String?>? purchaseOrderId,
Wrapped<String?>? purchaseOrderNumber,
Wrapped<String?>? consignorId,
Wrapped<String?>? consignor}) {
return WebApiModulesWarehouseExchangeExchangeItemStatus(
inventoryId:
(inventoryId != null ? inventoryId.value : this.inventoryId),
iCode: (iCode != null ? iCode.value : this.iCode),
availableFor:
(availableFor != null ? availableFor.value : this.availableFor),
inventoryClass: (inventoryClass != null
? inventoryClass.value
: this.inventoryClass),
description:
(description != null ? description.value : this.description),
warehouseId:
(warehouseId != null ? warehouseId.value : this.warehouseId),
warehouse: (warehouse != null ? warehouse.value : this.warehouse),
vendorId: (vendorId != null ? vendorId.value : this.vendorId),
vendor: (vendor != null ? vendor.value : this.vendor),
purchaseOrderId: (purchaseOrderId != null
? purchaseOrderId.value
: this.purchaseOrderId),
purchaseOrderNumber: (purchaseOrderNumber != null
? purchaseOrderNumber.value
: this.purchaseOrderNumber),
consignorId:
(consignorId != null ? consignorId.value : this.consignorId),
consignor: (consignor != null ? consignor.value : this.consignor));
}