copyWithWrapped method
WebApiModulesWarehouseExchangeExchangeItemRequest
copyWithWrapped(
{ - Wrapped<String?>? contractId,
- Wrapped<String?>? orderId,
- Wrapped<String?>? dealId,
- Wrapped<String?>? departmentId,
- Wrapped<String?>? warehouseId,
- Wrapped<String?>? inCode,
- Wrapped<int?>? quantity,
- Wrapped<String?>? outCode,
- Wrapped<bool?>? allowCrossICode,
- Wrapped<bool?>? completingPending,
})
Implementation
WebApiModulesWarehouseExchangeExchangeItemRequest copyWithWrapped(
{Wrapped<String?>? contractId,
Wrapped<String?>? orderId,
Wrapped<String?>? dealId,
Wrapped<String?>? departmentId,
Wrapped<String?>? warehouseId,
Wrapped<String?>? inCode,
Wrapped<int?>? quantity,
Wrapped<String?>? outCode,
Wrapped<bool?>? allowCrossICode,
Wrapped<bool?>? completingPending}) {
return WebApiModulesWarehouseExchangeExchangeItemRequest(
contractId: (contractId != null ? contractId.value : this.contractId),
orderId: (orderId != null ? orderId.value : this.orderId),
dealId: (dealId != null ? dealId.value : this.dealId),
departmentId:
(departmentId != null ? departmentId.value : this.departmentId),
warehouseId:
(warehouseId != null ? warehouseId.value : this.warehouseId),
inCode: (inCode != null ? inCode.value : this.inCode),
quantity: (quantity != null ? quantity.value : this.quantity),
outCode: (outCode != null ? outCode.value : this.outCode),
allowCrossICode: (allowCrossICode != null
? allowCrossICode.value
: this.allowCrossICode),
completingPending: (completingPending != null
? completingPending.value
: this.completingPending));
}