copyWithWrapped method
Implementation
WebApiModulesWarehouseCheckOutDecreaseOrderQuantityRequest copyWithWrapped(
{Wrapped<String?>? orderId,
Wrapped<String?>? orderItemId,
Wrapped<String?>? inventoryId,
Wrapped<String?>? warehouseId,
Wrapped<int?>? quantity,
Wrapped<bool?>? isInternal,
Wrapped<String?>? internalPurchaseOrderId,
Wrapped<String?>? externalOrderId}) {
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),
isInternal: (isInternal != null ? isInternal.value : this.isInternal),
internalPurchaseOrderId: (internalPurchaseOrderId != null
? internalPurchaseOrderId.value
: this.internalPurchaseOrderId),
externalOrderId: (externalOrderId != null
? externalOrderId.value
: this.externalOrderId));
}