copyWithWrapped method

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

Implementation

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