copyWithWrapped method

WebApiModulesAgentPurchaseOrderPurchaseOrderReceiveBarCodeAddItemsRequest copyWithWrapped({
  1. Wrapped<String?>? purchaseOrderId,
  2. Wrapped<String?>? contractId,
  3. Wrapped<String?>? warehouseId,
})

Implementation

WebApiModulesAgentPurchaseOrderPurchaseOrderReceiveBarCodeAddItemsRequest
    copyWithWrapped(
        {Wrapped<String?>? purchaseOrderId,
        Wrapped<String?>? contractId,
        Wrapped<String?>? warehouseId}) {
  return WebApiModulesAgentPurchaseOrderPurchaseOrderReceiveBarCodeAddItemsRequest(
      purchaseOrderId: (purchaseOrderId != null
          ? purchaseOrderId.value
          : this.purchaseOrderId),
      contractId: (contractId != null ? contractId.value : this.contractId),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId));
}