line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Connect/CountrySpec/VerificationFields/Details.pm |
3
|
|
|
|
|
|
|
## Version v0.100.0 |
4
|
|
|
|
|
|
|
## Copyright(c) 2019 DEGUEST Pte. Ltd. |
5
|
|
|
|
|
|
|
## Author: Jacques Deguest <jack@deguest.jp> |
6
|
|
|
|
|
|
|
## Created 2019/11/02 |
7
|
|
|
|
|
|
|
## Modified 2020/05/15 |
8
|
|
|
|
|
|
|
## |
9
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
10
|
|
|
|
|
|
|
package Net::API::Stripe::Connect::CountrySpec::VerificationFields::Details; |
11
|
|
|
|
|
|
|
BEGIN |
12
|
|
|
|
|
|
|
{ |
13
|
1
|
|
|
1
|
|
1031
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
43
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
15
|
1
|
|
|
1
|
|
5
|
use parent qw( Net::API::Stripe::Generic ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
63
|
|
16
|
1
|
|
|
1
|
|
85
|
use vars qw( $VERSION ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
51
|
|
17
|
1
|
|
|
1
|
|
18
|
our( $VERSION ) = 'v0.100.0'; |
18
|
|
|
|
|
|
|
}; |
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
8
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
21
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
77
|
|
22
|
|
|
|
|
|
|
|
23
|
0
|
|
|
0
|
1
|
|
sub additional { return( shift->_set_get_array( 'additional', @_ ) ); } |
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
0
|
1
|
|
sub minimum { return( shift->_set_get_array( 'minimum', @_ ) ); } |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__END__ |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=encoding utf8 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Net::API::Stripe::Connect::CountrySpec::VerificationFields::Details - A Stripe Verification Fields Details Object |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 SYNOPSIS |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
my $details = $stripe->country_spec->verification_fields->company({ |
40
|
|
|
|
|
|
|
additional => [qw( field1 field2 field3 )], |
41
|
|
|
|
|
|
|
minimum => [qw( field1 field2 field3 )] |
42
|
|
|
|
|
|
|
}); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 VERSION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
v0.100.0 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 DESCRIPTION |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Lists the types of verification data needed to keep an account open. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This is instantiated by methods B<company> and B<individual> from module L<Net::API::Stripe::Connect::CountrySpec::VerificationFields> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 CONSTRUCTOR |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 new( %ARG ) |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Creates a new L<Net::API::Stripe::Connect::CountrySpec::VerificationFields::Details> object. |
59
|
|
|
|
|
|
|
It may also take an hash like arguments, that also are method of the same name. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 METHODS |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 additional array containing strings |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Additional fields which are only required for some users. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 minimum array containing strings |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Fields which every account must eventually provide. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 API SAMPLE |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
{ |
74
|
|
|
|
|
|
|
"id": "US", |
75
|
|
|
|
|
|
|
"object": "country_spec", |
76
|
|
|
|
|
|
|
"default_currency": "usd", |
77
|
|
|
|
|
|
|
"supported_bank_account_currencies": { |
78
|
|
|
|
|
|
|
"usd": [ |
79
|
|
|
|
|
|
|
"US" |
80
|
|
|
|
|
|
|
] |
81
|
|
|
|
|
|
|
}, |
82
|
|
|
|
|
|
|
"supported_payment_currencies": [ |
83
|
|
|
|
|
|
|
"usd", |
84
|
|
|
|
|
|
|
"aed", |
85
|
|
|
|
|
|
|
"afn", |
86
|
|
|
|
|
|
|
"..." |
87
|
|
|
|
|
|
|
], |
88
|
|
|
|
|
|
|
"supported_payment_methods": [ |
89
|
|
|
|
|
|
|
"ach", |
90
|
|
|
|
|
|
|
"card", |
91
|
|
|
|
|
|
|
"stripe" |
92
|
|
|
|
|
|
|
], |
93
|
|
|
|
|
|
|
"supported_transfer_countries": [ |
94
|
|
|
|
|
|
|
"US" |
95
|
|
|
|
|
|
|
], |
96
|
|
|
|
|
|
|
"verification_fields": { |
97
|
|
|
|
|
|
|
"company": { |
98
|
|
|
|
|
|
|
"additional": [ |
99
|
|
|
|
|
|
|
"relationship.representative" |
100
|
|
|
|
|
|
|
], |
101
|
|
|
|
|
|
|
"minimum": [ |
102
|
|
|
|
|
|
|
"business_profile.mcc", |
103
|
|
|
|
|
|
|
"business_profile.url", |
104
|
|
|
|
|
|
|
"business_type", |
105
|
|
|
|
|
|
|
"company.address.city", |
106
|
|
|
|
|
|
|
"company.address.line1", |
107
|
|
|
|
|
|
|
"company.address.postal_code", |
108
|
|
|
|
|
|
|
"company.address.state", |
109
|
|
|
|
|
|
|
"company.name", |
110
|
|
|
|
|
|
|
"company.phone", |
111
|
|
|
|
|
|
|
"company.tax_id", |
112
|
|
|
|
|
|
|
"external_account", |
113
|
|
|
|
|
|
|
"relationship.owner", |
114
|
|
|
|
|
|
|
"relationship.representative", |
115
|
|
|
|
|
|
|
"tos_acceptance.date", |
116
|
|
|
|
|
|
|
"tos_acceptance.ip" |
117
|
|
|
|
|
|
|
] |
118
|
|
|
|
|
|
|
}, |
119
|
|
|
|
|
|
|
"individual": { |
120
|
|
|
|
|
|
|
"additional": [ |
121
|
|
|
|
|
|
|
"individual.id_number" |
122
|
|
|
|
|
|
|
], |
123
|
|
|
|
|
|
|
"minimum": [ |
124
|
|
|
|
|
|
|
"business_profile.mcc", |
125
|
|
|
|
|
|
|
"business_profile.url", |
126
|
|
|
|
|
|
|
"business_type", |
127
|
|
|
|
|
|
|
"external_account", |
128
|
|
|
|
|
|
|
"individual.address.city", |
129
|
|
|
|
|
|
|
"individual.address.line1", |
130
|
|
|
|
|
|
|
"individual.address.postal_code", |
131
|
|
|
|
|
|
|
"individual.address.state", |
132
|
|
|
|
|
|
|
"individual.dob.day", |
133
|
|
|
|
|
|
|
"individual.dob.month", |
134
|
|
|
|
|
|
|
"individual.dob.year", |
135
|
|
|
|
|
|
|
"individual.email", |
136
|
|
|
|
|
|
|
"individual.first_name", |
137
|
|
|
|
|
|
|
"individual.last_name", |
138
|
|
|
|
|
|
|
"individual.phone", |
139
|
|
|
|
|
|
|
"individual.ssn_last_4", |
140
|
|
|
|
|
|
|
"tos_acceptance.date", |
141
|
|
|
|
|
|
|
"tos_acceptance.ip" |
142
|
|
|
|
|
|
|
] |
143
|
|
|
|
|
|
|
} |
144
|
|
|
|
|
|
|
} |
145
|
|
|
|
|
|
|
} |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=head1 HISTORY |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=head2 v0.1 |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
Initial version |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=head1 AUTHOR |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=head1 SEE ALSO |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
Stripe API documentation: |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
L<https://stripe.com/docs/api/country_specs/object> |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
Copyright (c) 2019-2020 DEGUEST Pte. Ltd. |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
168
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=cut |