Akado-Account

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


        my $aa = Akado::Account->new({
            login => $login,
            password => $password,
        });

  get_balance
    It will return number. The number is the sum of money that is left on
    the user account. The currencty is RUB (Russian rouble).

        say $aa->get_balance();     # will print '749.82', or something like this

    If the object hasn't accessed the Akado account site
    https://office.akado.ru/ since the object was created, the method will
    access site, get data from it and store it in the object. The object
    will access Akado site only once, after saving data in the object all
    methods use that cached data.

  get_next_month_payment
    It will return number. The number is the sum of money that the user will
    have to pay for the next month. The currencty is RUB (Russian rouble).

        say $aa->get_next_month_payment();

    If the object hasn't accessed the Akado account site
    https://office.akado.ru/ since the object was created, the method will
    access site, get data from it and store it in the object. The object
    will access Akado site only once, after saving data in the object all
    methods use that cached data.

AUTHOR
    Ivan Bessarabov, `<ivan@bessarabov.ru>'

lib/Akado/Account.pm  view on Meta::CPAN

    my $aa = Akado::Account->new({
        login => $login,
        password => $password,
    });

=head2 get_balance

It will return number. The number is the sum of money that is left on the
user account. The currencty is RUB (Russian rouble).

    say $aa->get_balance();     # will print '749.82', or something like this

If the object hasn't accessed the Akado account site
L<https://office.akado.ru/> since the object was created, the method will
access site, get data from it and store it in the object. The object will
access Akado site only once, after saving data in the object all methods use
that cached data.

=head2 get_next_month_payment

It will return number. The number is the sum of money that the user will have
to pay for the next month. The currencty is RUB (Russian rouble).

    say $aa->get_next_month_payment();

If the object hasn't accessed the Akado account site
L<https://office.akado.ru/> since the object was created, the method will
access site, get data from it and store it in the object. The object will
access Akado site only once, after saving data in the object all methods use
that cached data.

=begin comment _get_cached_parsed_data

B<Get:> 1) $self



( run in 0.920 second using v1.01-cache-2.11-cpan-483215c6ad5 )