code: def get_account_statement(self, locale=None, from_record=None, record_count=None, item_date_range=time_range(),
                                include_item=None, wallet=None, session=None, lightweight=None):
          
          params = clean_locals(locals())
          method = '%s%s' % (self.URI, 'getAccountStatement')
          (response, elapsed_time) = self.request(method, params, session)
          return self.process_response(response, resources.AccountStatementResult, elapsed_time, lightweight)
docs: Get account statement.
  
          :param str locale: The language to be used where applicable.
          :param int from_record: Specifies the first record that will be returned
          :param int record_count: Specifies the maximum number of records to be returned.
          :param dict item_date_range: Return items with an itemDate within this date range.
          :param str include_item: Which items to include, if not specified then defaults to ALL.
          :param str wallet: Which wallet to return statementItems for.
          :param requests.session session: Requests session object
          :param bool lightweight: If True will return dict not a resource
  
          :rtype: resources.AccountStatementResult