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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
package WWW::YNAB::ScheduledSubTransaction;
use Moose;
# ABSTRACT: ScheduledSubTransaction model object
=head1 SYNOPSIS
use WWW::YNAB;
my $ynab = WWW::YNAB->new(...);
my @budgets = $ynab->budgets;
my $scheduled_transaction = $budgets[0]->scheduled_transaction('12345678-1234-1234-1234-1234567890ab');
my @scheduled_sub_transactions = $scheduled_transaction->subtransactions;
=head1 OVERVIEW
See L<https://api.youneedabudget.com/v1#/Scheduled_Transactions> for more
information.
=cut
=method id
=cut
has id => (
is => 'ro',
isa => 'Str',
required => 1,
);
=method scheduled_transaction_id
=cut
has scheduled_transaction_id => (
is => 'ro',
isa => 'Str',
);
=method amount
=cut
has amount => (
is => 'ro',
isa => 'Int',
);
=method memo
=cut
has memo => (
is => 'ro',
isa => 'Maybe[Str]',
);
=method payee_id
=cut
has payee_id => (
is => 'ro',
isa => 'Maybe[Str]',
);
=method category_id
=cut
has category_id => (
is => 'ro',
isa => 'Maybe[Str]',
);
=method transfer_account_id
=cut
has transfer_account_id => (
is => 'ro',
isa => 'Maybe[Str]',
);
=method deleted
=cut
has deleted => (
is => 'ro',
isa => 'Bool',
);
__PACKAGE__->meta->make_immutable;
no Moose;
1;
|