copyWithWrapped method

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

Implementation

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