public int[] GetOrderIDsByCustomerLastName(string lastName, bool scheduledOnly, bool activeOnly, int maxOrders)
 {
     assertConnected();
     try
     {
         return(wsClient.GetOrderIDsByCustomerLastName(accessToken(), lastName, scheduledOnly, activeOnly, maxOrders));
     }
     catch (Exception ex)
     {
         throw TranslateException(ex);
     }
 }