def get_account_details(self, session=None, lightweight=None):
        """
        Returns the details relating your account, including your discount
        rate and Betfair point balance.

        :param requests.session session: Requests session object
        :param bool lightweight: If True will return dict not a resource

        :rtype: resources.AccountDetails
        """
        params = clean_locals(locals())
        method = '%s%s' % (self.URI, 'getAccountDetails')
        (response, elapsed_time) = self.request(method, params, session)
        return self.process_response(response, resources.AccountDetails, elapsed_time, lightweight)