line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Connect/CountrySpec/VerificationFields.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
|
|
|
|
|
|
|
BEGIN |
11
|
|
|
|
|
|
|
{ |
12
|
|
|
|
|
|
|
use strict; |
13
|
2
|
|
|
2
|
|
24860323
|
use warnings; |
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
60
|
|
14
|
2
|
|
|
2
|
|
10
|
use parent qw( Net::API::Stripe::Generic ); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
59
|
|
15
|
2
|
|
|
2
|
|
11
|
use vars qw( $VERSION ); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
10
|
|
16
|
2
|
|
|
2
|
|
152
|
our( $VERSION ) = 'v0.100.0'; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
116
|
|
17
|
2
|
|
|
2
|
|
39
|
}; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
use strict; |
20
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
40
|
|
21
|
2
|
|
|
2
|
|
10
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
207
|
|
22
|
|
|
|
|
|
|
|
23
|
0
|
|
|
0
|
1
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
0
|
|
|
0
|
1
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=encoding utf8 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 NAME |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Net::API::Stripe::Connect::CountrySpec::VerificationFields - A Stripe Country Spec Verification Fields Object |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SYNOPSIS |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
my $check = $stripe->country_spec->verification_fields({ |
36
|
|
|
|
|
|
|
individual => $details_object, |
37
|
|
|
|
|
|
|
company => $details_object, |
38
|
|
|
|
|
|
|
}); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 VERSION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
v0.100.0 |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 DESCRIPTION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Lists the types of verification data needed to keep an account open. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This is instantiated by method B<verification_fields> from module L<Net::API::Stripe::Connect::CountrySpec> |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 CONSTRUCTOR |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 new( %ARG ) |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Creates a new L<Net::API::Stripe::Connect::CountrySpec::VerificationFields> object. |
55
|
|
|
|
|
|
|
It may also take an hash like arguments, that also are method of the same name. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 METHODS |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 company hash |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Verification types for company account. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This is a L<Net::API::Stripe::Connect::CountrySpec::VerificationFields::Details> object. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head2 individual hash |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Verification types for individual account. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
This is a L<Net::API::Stripe::Connect::CountrySpec::VerificationFields::Details> object. |
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 |