copyWithWrapped method
WebApiModulesWarehouseCheckInSelectedItemRequest
copyWithWrapped({
- Wrapped<
int?> ? orderTranId, - Wrapped<
String?> ? internalChar, - Wrapped<
String?> ? contractId, - Wrapped<
String?> ? orderId, - Wrapped<
String?> ? orderItemId, - Wrapped<
String?> ? inventoryId, - Wrapped<
String?> ? vendorId, - Wrapped<
String?> ? description, - Wrapped<
int?> ? quantityIn, - Wrapped<
int?> ? quantityInRepair, - Wrapped<
int?> ? quantity, - Wrapped<
String?> ? assetId, - Wrapped<
String?> ? consignorId, - Wrapped<
String?> ? consignorAgreementId, - Wrapped<
String?> ? repairId,
Implementation
WebApiModulesWarehouseCheckInSelectedItemRequest copyWithWrapped(
{Wrapped<int?>? orderTranId,
Wrapped<String?>? internalChar,
Wrapped<String?>? contractId,
Wrapped<String?>? orderId,
Wrapped<String?>? orderItemId,
Wrapped<String?>? inventoryId,
Wrapped<String?>? vendorId,
Wrapped<String?>? description,
Wrapped<int?>? quantityIn,
Wrapped<int?>? quantityInRepair,
Wrapped<int?>? quantity,
Wrapped<String?>? assetId,
Wrapped<String?>? consignorId,
Wrapped<String?>? consignorAgreementId,
Wrapped<String?>? repairId}) {
return WebApiModulesWarehouseCheckInSelectedItemRequest(
orderTranId:
(orderTranId != null ? orderTranId.value : this.orderTranId),
internalChar:
(internalChar != null ? internalChar.value : this.internalChar),
contractId: (contractId != null ? contractId.value : this.contractId),
orderId: (orderId != null ? orderId.value : this.orderId),
orderItemId:
(orderItemId != null ? orderItemId.value : this.orderItemId),
inventoryId:
(inventoryId != null ? inventoryId.value : this.inventoryId),
vendorId: (vendorId != null ? vendorId.value : this.vendorId),
description:
(description != null ? description.value : this.description),
quantityIn: (quantityIn != null ? quantityIn.value : this.quantityIn),
quantityInRepair: (quantityInRepair != null
? quantityInRepair.value
: this.quantityInRepair),
quantity: (quantity != null ? quantity.value : this.quantity),
assetId: (assetId != null ? assetId.value : this.assetId),
consignorId:
(consignorId != null ? consignorId.value : this.consignorId),
consignorAgreementId: (consignorAgreementId != null
? consignorAgreementId.value
: this.consignorAgreementId),
repairId: (repairId != null ? repairId.value : this.repairId));
}