/**
  * Retrieves a list of the validation results associated with the order.
  *
  * <p>
  *
  * <pre><code>
  * MozuClient<List<com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult>> mozuClient=GetValidationResultsClient( orderId);
  * client.setBaseAddress(url);
  * client.executeRequest();
  * OrderValidationResult orderValidationResult = client.Result();
  * </code></pre>
  *
  * @param orderId Unique identifier of the order.
  * @return Mozu.Api.MozuClient
  *     <List<com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult>>
  * @see com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult
  */
 public static MozuClient<
         List<com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult>>
     getValidationResultsClient(String orderId) throws Exception {
   MozuUrl url =
       com.mozu.api.urls.commerce.orders.OrderValidationResultUrl.getValidationResultsUrl(orderId);
   String verb = "GET";
   Class<?> clz =
       new ArrayList<
           com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult>() {}.getClass();
   MozuClient<List<com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult>>
       mozuClient =
           (MozuClient<List<com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult>>)
               MozuClientFactory.getInstance(clz);
   mozuClient.setVerb(verb);
   mozuClient.setResourceUrl(url);
   return mozuClient;
 }
 /**
  * Add a new order validation result to a submitted order.
  *
  * <p>
  *
  * <pre><code>
  * MozuClient<com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult> mozuClient=AddValidationResultClient( validationResult,  orderId,  responseFields);
  * client.setBaseAddress(url);
  * client.executeRequest();
  * OrderValidationResult orderValidationResult = client.Result();
  * </code></pre>
  *
  * @param orderId Unique identifier of the order.
  * @param responseFields Use this field to include those fields which are not included by default.
  * @param validationResult Properties of the resulting order validation performed by an order
  *     validation capability.
  * @return Mozu.Api.MozuClient
  *     <com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult>
  * @see com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult
  * @see com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult
  */
 public static MozuClient<com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult>
     addValidationResultClient(
         com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult validationResult,
         String orderId,
         String responseFields)
         throws Exception {
   MozuUrl url =
       com.mozu.api.urls.commerce.orders.OrderValidationResultUrl.addValidationResultUrl(
           orderId, responseFields);
   String verb = "PUT";
   Class<?> clz = com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult.class;
   MozuClient<com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult> mozuClient =
       (MozuClient<com.mozu.api.contracts.commerceruntime.orders.OrderValidationResult>)
           MozuClientFactory.getInstance(clz);
   mozuClient.setVerb(verb);
   mozuClient.setResourceUrl(url);
   mozuClient.setBody(validationResult);
   return mozuClient;
 }