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