NAME
Business::Monzo::Balance
DESCRIPTION
A class for a Monzo balance, extends Business::Monzo::Resource
ATTRIBUTES
The Balance class has the following attributes (with their type).
account_id (Str)
balance (Int)
spend_today (Int)
currency (Data::Currency)
Note that when a Str is passed to ->currency this will be coerced to a Data::Currency object,
Operations on an transaction
get
Returns a new instance of the object with the attributes populated having called the Monzo API
$Balance = $Balance->get;
SEE ALSO
AUTHOR
Lee Johnson - leejo@cpan.org
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation, features, bug fixes, or anything else then please raise an issue / pull request:
https://github.com/leejo/business-monzo