summaryrefslogtreecommitdiffstats
path: root/lib/WWW/YNAB/Payee.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/WWW/YNAB/Payee.pm')
-rw-r--r--lib/WWW/YNAB/Payee.pm28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/WWW/YNAB/Payee.pm b/lib/WWW/YNAB/Payee.pm
new file mode 100644
index 0000000..d25ef9e
--- /dev/null
+++ b/lib/WWW/YNAB/Payee.pm
@@ -0,0 +1,28 @@
+package WWW::YNAB::Payee;
+use Moose;
+
+has id => (
+ is => 'ro',
+ isa => 'Str',
+ required => 1,
+);
+
+has name => (
+ is => 'ro',
+ isa => 'Str',
+);
+
+has transfer_account_id => (
+ is => 'ro',
+ isa => 'Maybe[Str]',
+);
+
+has deleted => (
+ is => 'ro',
+ isa => 'Bool',
+);
+
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
+1;