line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Treasury/FinancialAccountFeatures.pm |
3
|
|
|
|
|
|
|
## Version v0.1.0 |
4
|
|
|
|
|
|
|
## Copyright(c) 2022 DEGUEST Pte. Ltd. |
5
|
|
|
|
|
|
|
## Author: Jacques Deguest <jack@deguest.jp> |
6
|
|
|
|
|
|
|
## Created 2022/10/29 |
7
|
|
|
|
|
|
|
## Modified 2022/10/29 |
8
|
|
|
|
|
|
|
## |
9
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
10
|
|
|
|
|
|
|
BEGIN |
11
|
|
|
|
|
|
|
{ |
12
|
|
|
|
|
|
|
use strict; |
13
|
2
|
|
|
2
|
|
23986647
|
use parent qw( Net::API::Stripe::Generic ); |
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
80
|
|
14
|
2
|
|
|
2
|
|
11
|
our( $VERSION ) = 'v0.1.0'; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
15
|
2
|
|
|
2
|
|
659
|
}; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
0
|
1
|
|
|
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
1
|
|
{ |
21
|
|
|
|
|
|
|
aba => { |
22
|
0
|
|
|
0
|
1
|
|
package => "Net::API::Stripe::Connect::Account::Capability", |
23
|
|
|
|
|
|
|
type => "object", |
24
|
0
|
|
|
0
|
1
|
|
}, |
25
|
|
|
|
|
|
|
}, @_ ) ); } |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
{ |
28
|
|
|
|
|
|
|
ach => { |
29
|
|
|
|
|
|
|
package => "Net::API::Stripe::Connect::Account::Capability", |
30
|
|
|
|
|
|
|
type => "object", |
31
|
|
|
|
|
|
|
}, |
32
|
0
|
|
|
0
|
1
|
|
}, @_ ) ); } |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
{ |
36
|
|
|
|
|
|
|
ach => { |
37
|
|
|
|
|
|
|
package => "Net::API::Stripe::Connect::Account::Capability", |
38
|
|
|
|
|
|
|
type => "object", |
39
|
|
|
|
|
|
|
}, |
40
|
0
|
|
|
0
|
1
|
|
us_domestic_wire => { |
41
|
|
|
|
|
|
|
package => "Net::API::Stripe::Connect::Account::Capability", |
42
|
0
|
|
|
0
|
1
|
|
type => "object", |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
}, @_ ) ); } |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
{ |
47
|
|
|
|
|
|
|
ach => { |
48
|
|
|
|
|
|
|
package => "Net::API::Stripe::Connect::Account::Capability", |
49
|
|
|
|
|
|
|
type => "object", |
50
|
|
|
|
|
|
|
}, |
51
|
|
|
|
|
|
|
us_domestic_wire => { |
52
|
|
|
|
|
|
|
package => "Net::API::Stripe::Connect::Account::Capability", |
53
|
|
|
|
|
|
|
type => "object", |
54
|
0
|
|
|
0
|
1
|
|
}, |
55
|
|
|
|
|
|
|
}, @_ ) ); } |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
1; |
58
|
|
|
|
|
|
|
# NOTE: POD |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=encoding utf8 |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 NAME |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Net::API::Stripe::Treasury::FinancialAccountFeatures - The FinancialAccount Feature object |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 SYNOPSIS |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 VERSION |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
v0.1.0 |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 DESCRIPTION |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Encodes whether a FinancialAccount has access to a particular Feature, with a C<status> enum and associated C<status_details>. Stripe or the platform can control Features via the requested field. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 METHODS |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 object string |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
String representing the object's type. Objects of the same type share the same value. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head2 card_issuing object |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Contains a Feature encoding the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
This is a L<Net::API::Stripe::Connect::Account::Capability> object. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head2 deposit_insurance object |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
This is a L<Net::API::Stripe::Connect::Account::Capability> object. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head2 financial_addresses hash |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Contains Features that add FinancialAddresses to the FinancialAccount. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
It has the following properties: |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=over 4 |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=item C<aba> hash |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Adds an ABA FinancialAddress to the FinancialAccount. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
When expanded, this is a L<Net::API::Stripe::Connect::Account::Capability> object. |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=back |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head2 inbound_transfers hash |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Contains settings related to adding funds to a FinancialAccount from another Account with the same owner. |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
It has the following properties: |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=over 4 |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=item C<ach> hash |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Enables ACH Debits via the InboundTransfers API. |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
When expanded, this is a L<Net::API::Stripe::Connect::Account::Capability> object. |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=back |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head2 intra_stripe_flows object |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
Represents the ability for this FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment). |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
This is a L<Net::API::Stripe::Connect::Account::Capability> object. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=head2 outbound_payments hash |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
Contains Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money. |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
It has the following properties: |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=over 4 |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=item C<ach> hash |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
Enables ACH transfers via the OutboundPayments API. |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
When expanded, this is a L<Net::API::Stripe::Connect::Account::Capability> object. |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=item C<us_domestic_wire> hash |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
Enables US domestic wire tranfers via the OutboundPayments API. |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
When expanded, this is a L<Net::API::Stripe::Connect::Account::Capability> object. |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=back |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=head2 outbound_transfers hash |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner. |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
It has the following properties: |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=over 4 |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=item C<ach> hash |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Enables ACH transfers via the OutboundTransfers API. |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
When expanded, this is a L<Net::API::Stripe::Connect::Account::Capability> object. |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=item C<us_domestic_wire> hash |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
Enables US domestic wire tranfers via the OutboundTransfers API. |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
When expanded, this is a L<Net::API::Stripe::Connect::Account::Capability> object. |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=back |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=head1 API SAMPLE |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
[ |
179
|
|
|
|
|
|
|
{ |
180
|
|
|
|
|
|
|
"card_issuing" : { |
181
|
|
|
|
|
|
|
"requested" : 1, |
182
|
|
|
|
|
|
|
"status" : "active", |
183
|
|
|
|
|
|
|
"status_details" : [] |
184
|
|
|
|
|
|
|
}, |
185
|
|
|
|
|
|
|
"deposit_insurance" : { |
186
|
|
|
|
|
|
|
"requested" : 1, |
187
|
|
|
|
|
|
|
"status" : "active", |
188
|
|
|
|
|
|
|
"status_details" : [] |
189
|
|
|
|
|
|
|
}, |
190
|
|
|
|
|
|
|
"financial_addresses" : { |
191
|
|
|
|
|
|
|
"aba" : { |
192
|
|
|
|
|
|
|
"requested" : 1, |
193
|
|
|
|
|
|
|
"status" : "active", |
194
|
|
|
|
|
|
|
"status_details" : [] |
195
|
|
|
|
|
|
|
} |
196
|
|
|
|
|
|
|
}, |
197
|
|
|
|
|
|
|
"inbound_transfers" : { |
198
|
|
|
|
|
|
|
"ach" : { |
199
|
|
|
|
|
|
|
"requested" : 1, |
200
|
|
|
|
|
|
|
"status" : "active", |
201
|
|
|
|
|
|
|
"status_details" : [] |
202
|
|
|
|
|
|
|
} |
203
|
|
|
|
|
|
|
}, |
204
|
|
|
|
|
|
|
"intra_stripe_flows" : { |
205
|
|
|
|
|
|
|
"requested" : 1, |
206
|
|
|
|
|
|
|
"status" : "active", |
207
|
|
|
|
|
|
|
"status_details" : [] |
208
|
|
|
|
|
|
|
}, |
209
|
|
|
|
|
|
|
"object" : "treasury.financial_account_features", |
210
|
|
|
|
|
|
|
"outbound_payments" : { |
211
|
|
|
|
|
|
|
"ach" : { |
212
|
|
|
|
|
|
|
"requested" : 1, |
213
|
|
|
|
|
|
|
"status" : "active", |
214
|
|
|
|
|
|
|
"status_details" : [] |
215
|
|
|
|
|
|
|
}, |
216
|
|
|
|
|
|
|
"us_domestic_wire" : { |
217
|
|
|
|
|
|
|
"requested" : 1, |
218
|
|
|
|
|
|
|
"status" : "active", |
219
|
|
|
|
|
|
|
"status_details" : [] |
220
|
|
|
|
|
|
|
} |
221
|
|
|
|
|
|
|
}, |
222
|
|
|
|
|
|
|
"outbound_transfers" : { |
223
|
|
|
|
|
|
|
"ach" : { |
224
|
|
|
|
|
|
|
"requested" : 1, |
225
|
|
|
|
|
|
|
"status" : "active", |
226
|
|
|
|
|
|
|
"status_details" : [] |
227
|
|
|
|
|
|
|
}, |
228
|
|
|
|
|
|
|
"us_domestic_wire" : { |
229
|
|
|
|
|
|
|
"requested" : 1, |
230
|
|
|
|
|
|
|
"status" : "active", |
231
|
|
|
|
|
|
|
"status_details" : [] |
232
|
|
|
|
|
|
|
} |
233
|
|
|
|
|
|
|
} |
234
|
|
|
|
|
|
|
} |
235
|
|
|
|
|
|
|
] |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
=head1 HISTORY |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
=head2 v0.1.0 |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
Initial version |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
=head1 AUTHOR |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
=head1 SEE ALSO |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
L<Stripe API documentation|https://stripe.com/docs/api/treasury/financial_account_features> |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
Copyright (c) 2019-2022 DEGUEST Pte. Ltd. |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
256
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
=cut |