copyWithWrapped method
Implementation
WebApiModulesInventoryInventoryRetireInventoryRequest copyWithWrapped(
{Wrapped<String?>? inventoryId,
Wrapped<String?>? warehouseId,
Wrapped<String?>? itemId,
Wrapped<String?>? retiredReasonId,
Wrapped<String?>? notes,
Wrapped<double?>? quantity,
Wrapped<bool?>? changeICode,
Wrapped<String?>? consignorId,
Wrapped<String?>? consignorAgreementId}) {
return WebApiModulesInventoryInventoryRetireInventoryRequest(
inventoryId:
(inventoryId != null ? inventoryId.value : this.inventoryId),
warehouseId:
(warehouseId != null ? warehouseId.value : this.warehouseId),
itemId: (itemId != null ? itemId.value : this.itemId),
retiredReasonId: (retiredReasonId != null
? retiredReasonId.value
: this.retiredReasonId),
notes: (notes != null ? notes.value : this.notes),
quantity: (quantity != null ? quantity.value : this.quantity),
changeICode:
(changeICode != null ? changeICode.value : this.changeICode),
consignorId:
(consignorId != null ? consignorId.value : this.consignorId),
consignorAgreementId: (consignorAgreementId != null
? consignorAgreementId.value
: this.consignorAgreementId));
}