diff options
Diffstat (limited to 'lib/WWW/YNAB/Month.pm')
-rw-r--r-- | lib/WWW/YNAB/Month.pm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/WWW/YNAB/Month.pm b/lib/WWW/YNAB/Month.pm new file mode 100644 index 0000000..4e7412f --- /dev/null +++ b/lib/WWW/YNAB/Month.pm @@ -0,0 +1,33 @@ +package WWW::YNAB::Month; +use Moose; + +has month => ( + is => 'ro', + isa => 'Str', + required => 1, +); + +has note => ( + is => 'ro', + isa => 'Maybe[Str]', +); + +has to_be_budgeted => ( + is => 'ro', + isa => 'Maybe[Int]', +); + +has age_of_money => ( + is => 'ro', + isa => 'Maybe[Int]', +); + +has categories => ( + is => 'ro', + isa => 'ArrayRef[WWW::YNAB::Category]', +); + +__PACKAGE__->meta->make_immutable; +no Moose; + +1; |