summaryrefslogtreecommitdiffstats
path: root/lib/WWW/YNAB/Payee.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-06-24 13:08:41 -0400
committerJesse Luehrs <doy@tozt.net>2018-06-24 13:08:41 -0400
commit02645507b1ae3d9422f453568f4e1a732e18f5e7 (patch)
tree8914335e4648eff56bbeaddf79c7d634271b1dee /lib/WWW/YNAB/Payee.pm
parentc1fb530eea90fcf7c1c294b44d6d833e4dbcd809 (diff)
downloadwww-ynab-02645507b1ae3d9422f453568f4e1a732e18f5e7.tar.gz
www-ynab-02645507b1ae3d9422f453568f4e1a732e18f5e7.zip
docs
Diffstat (limited to 'lib/WWW/YNAB/Payee.pm')
-rw-r--r--lib/WWW/YNAB/Payee.pm33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/WWW/YNAB/Payee.pm b/lib/WWW/YNAB/Payee.pm
index d25ef9e..443cf9e 100644
--- a/lib/WWW/YNAB/Payee.pm
+++ b/lib/WWW/YNAB/Payee.pm
@@ -1,5 +1,26 @@
package WWW::YNAB::Payee;
+
use Moose;
+# ABSTRACT: Payee model object
+
+=head1 SYNOPSIS
+
+ use WWW::YNAB;
+
+ my $ynab = WWW::YNAB->new(...);
+ my @budgets = $ynab->budgets;
+ my $payee = $budgets[0]->payee('12345678-1234-1234-1234-1234567890ab');
+
+=head1 OVERVIEW
+
+See L<https://api.youneedabudget.com/v1#/Payees> for more
+information.
+
+=cut
+
+=method id
+
+=cut
has id => (
is => 'ro',
@@ -7,16 +28,28 @@ has id => (
required => 1,
);
+=method name
+
+=cut
+
has name => (
is => 'ro',
isa => 'Str',
);
+=method transfer_account_id
+
+=cut
+
has transfer_account_id => (
is => 'ro',
isa => 'Maybe[Str]',
);
+=method deleted
+
+=cut
+
has deleted => (
is => 'ro',
isa => 'Bool',