copyWithWrapped method

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

Implementation

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