/**
  * Returns a list of all the known contacts contained within FreeAgent for the authorised account.
  *
  * @return A list of Contact instances.
  */
 public List<FreeAgentContact> getContacts() {
   FreeAgentContactWrapper contactsWrapper = freeAgentServiceInstance.getContacts();
   if (contactsWrapper != null) {
     return contactsWrapper.getContacts();
   }
   return null;
 }
 /**
  * Returns a list of all the known contacts contained within FreeAgentService for the authorised
  * account.
  *
  * @param viewType The view type {@link
  *     com.karlnosworthy.freeagent.FreeAgentClient.ContactViewType} filter to apply to the
  *     contacts
  * @return A list of Contact instances.
  */
 public List<FreeAgentContact> getContacts(ContactViewType viewType) {
   FreeAgentContactWrapper contactsWrapper =
       freeAgentServiceInstance.getContacts(viewType.identifier);
   if (contactsWrapper != null) {
     return contactsWrapper.getContacts();
   }
   return null;
 }