summaryrefslogtreecommitdiffstats
path: root/lib/WWW/YNAB/Month.pm
blob: 4e7412fccab83bdacb893b0e302a24b9db41f385 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;