diff options
Diffstat (limited to 'lib/WWW/YNAB/Category.pm')
-rw-r--r-- | lib/WWW/YNAB/Category.pm | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/lib/WWW/YNAB/Category.pm b/lib/WWW/YNAB/Category.pm new file mode 100644 index 0000000..2fa99ef --- /dev/null +++ b/lib/WWW/YNAB/Category.pm @@ -0,0 +1,53 @@ +package WWW::YNAB::Category; +use Moose; + +has id => ( + is => 'ro', + isa => 'Str', + required => 1, +); + +has category_group_id => ( + is => 'ro', + isa => 'Str', +); + +has name => ( + is => 'ro', + isa => 'Str', +); + +has hidden => ( + is => 'ro', + isa => 'Bool', +); + +has note => ( + is => 'ro', + isa => 'Maybe[Str]', +); + +has budgeted => ( + is => 'ro', + isa => 'Int', +); + +has activity => ( + is => 'ro', + isa => 'Int', +); + +has balance => ( + is => 'ro', + isa => 'Int', +); + +has deleted => ( + is => 'ro', + isa => 'Bool', +); + +__PACKAGE__->meta->make_immutable; +no Moose; + +1; |