public List<Payment> Payments(PageParameters? pageParameters = null, SortingParameters? sortingParameters = null)
 {
     Action<RestRequest> prepareRequest = (RestRequest request) => {
         AddPagingParameters (pageParameters, request);
         AddSortingParameters (sortingParameters, request);
     };
     return CallEndpoint<List<Payment>> ("payments", prepareRequest);
 }
 public List<Activity> Activity(PageParameters? pageParameters = null, SortingParameters? sortingParameters = null)
 {
     Action<RestRequest> prepareRequest = (RestRequest request) => {
         AddPagingParameters (pageParameters, request);
         AddSortingParameters (sortingParameters, request);
     };
     return CallEndpoint<List<Activity>> ("activity", prepareRequest);
 }
 public List<Branding> Branding(PageParameters? pageParameters = null, SortingParameters? sortingParameters = null)
 {
     Action<RestRequest> prepareRequest = (RestRequest request) => {
         AddPagingParameters (pageParameters, request);
         AddSortingParameters (sortingParameters, request);
     };
     return CallEndpoint<List<Branding>> ("brandings", prepareRequest);
 }
        public List<AclResource> AclResources(AccountType accountType = AccountType.Any, PageParameters? pageParameters = null)
        {
            Action<RestRequest> prepareRequest = (RestRequest request) => {
                AddPagingParameters (pageParameters, request);
                if (accountType != AccountType.Any)
                    request.AddParameter ("account_type", accountType.GetName ());
            };

            return CallEndpoint<List<AclResource>> ("acl-resources", prepareRequest);
        }