copyWithWrapped method
Implementation
WebApiModulesWarehouseCheckOutDecreaseOrderQuantityRequest copyWithWrapped({
Wrapped<String?>? orderId,
Wrapped<String?>? orderItemId,
Wrapped<String?>? inventoryId,
Wrapped<String?>? warehouseId,
Wrapped<int?>? quantity,
}) {
return WebApiModulesWarehouseCheckOutDecreaseOrderQuantityRequest(
orderId: (orderId != null ? orderId.value : this.orderId),
orderItemId: (orderItemId != null ? orderItemId.value : this.orderItemId),
inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
quantity: (quantity != null ? quantity.value : this.quantity),
);
}