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
|
|
|
|
|
|
|
package Net::API::Stripe::Connect::CountrySpec::VerificationFields; |
11
|
|
|
|
|
|
|
BEGIN |
12
|
|
|
|
|
|
|
{ |
13
|
2
|
|
|
2
|
|
21234325
|
use strict; |
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
62
|
|
14
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
58
|
|
15
|
2
|
|
|
2
|
|
11
|
use parent qw( Net::API::Stripe::Generic ); |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
22
|
|
16
|
2
|
|
|
2
|
|
152
|
use vars qw( $VERSION ); |
|
2
|
|
|
|
|
11
|
|
|
2
|
|
|
|
|
123
|
|
17
|
2
|
|
|
2
|
|
38
|
our( $VERSION ) = 'v0.100.0'; |
18
|
|
|
|
|
|
|
}; |
19
|
|
|
|
|
|
|
|
20
|
2
|
|
|
2
|
|
13
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
40
|
|
21
|
2
|
|
|
2
|
|
13
|
use warnings; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
178
|
|
22
|
|
|
|
|
|
|
|
23
|
0
|
|
|
0
|
1
|
|
sub individual { return( shift->_set_get_object( 'individual', 'Net::API::Stripe::Connect::CountrySpec::VerificationFields::Details', @_ ) ); } |
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
0
|
1
|
|
sub company { return( shift->_set_get_object( 'company', 'Net::API::Stripe::Connect::CountrySpec::VerificationFields::Details', @_ ) ); } |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__END__ |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=encoding utf8 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Net::API::Stripe::Connect::CountrySpec::VerificationFields - A Stripe Country Spec Verification Fields Object |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 SYNOPSIS |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
my $check = $stripe->country_spec->verification_fields({ |
40
|
|
|
|
|
|
|
individual => $details_object, |
41
|
|
|
|
|
|
|
company => $details_object, |
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 method B<verification_fields> from module L<Net::API::Stripe::Connect::CountrySpec> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 CONSTRUCTOR |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 new( %ARG ) |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Creates a new L<Net::API::Stripe::Connect::CountrySpec::VerificationFields> 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 company hash |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Verification types for company account. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
This is a L<Net::API::Stripe::Connect::CountrySpec::VerificationFields::Details> object. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 individual hash |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Verification types for individual account. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
This is a L<Net::API::Stripe::Connect::CountrySpec::VerificationFields::Details> object. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 API SAMPLE |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
{ |
78
|
|
|
|
|
|
|
"id": "US", |
79
|
|
|
|
|
|
|
"object": "country_spec", |
80
|
|
|
|
|
|
|
"default_currency": "usd", |
81
|
|
|
|
|
|
|
"supported_bank_account_currencies": { |
82
|
|
|
|
|
|
|
"usd": [ |
83
|
|
|
|
|
|
|
"US" |
84
|
|
|
|
|
|
|
] |
85
|
|
|
|
|
|
|
}, |
86
|
|
|
|
|
|
|
"supported_payment_currencies": [ |
87
|
|
|
|
|
|
|
"usd", |
88
|
|
|
|
|
|
|
"aed", |
89
|
|
|
|
|
|
|
"afn", |
90
|
|
|
|
|
|
|
"..." |
91
|
|
|
|
|
|
|
], |
92
|
|
|
|
|
|
|
"supported_payment_methods": [ |
93
|
|
|
|
|
|
|
"ach", |
94
|
|
|
|
|
|
|
"card", |
95
|
|
|
|
|
|
|
"stripe" |
96
|
|
|
|
|
|
|
], |
97
|
|
|
|
|
|
|
"supported_transfer_countries": [ |
98
|
|
|
|
|
|
|
"US" |
99
|
|
|
|
|
|
|
], |
100
|
|
|
|
|
|
|
"verification_fields": { |
101
|
|
|
|
|
|
|
"company": { |
102
|
|
|
|
|
|
|
"additional": [ |
103
|
|
|
|
|
|
|
"relationship.representative" |
104
|
|
|
|
|
|
|
], |
105
|
|
|
|
|
|
|
"minimum": [ |
106
|
|
|
|
|
|
|
"business_profile.mcc", |
107
|
|
|
|
|
|
|
"business_profile.url", |
108
|
|
|
|
|
|
|
"business_type", |
109
|
|
|
|
|
|
|
"company.address.city", |
110
|
|
|
|
|
|
|
"company.address.line1", |
111
|
|
|
|
|
|
|
"company.address.postal_code", |
112
|
|
|
|
|
|
|
"company.address.state", |
113
|
|
|
|
|
|
|
"company.name", |
114
|
|
|
|
|
|
|
"company.phone", |
115
|
|
|
|
|
|
|
"company.tax_id", |
116
|
|
|
|
|
|
|
"external_account", |
117
|
|
|
|
|
|
|
"relationship.owner", |
118
|
|
|
|
|
|
|
"relationship.representative", |
119
|
|
|
|
|
|
|
"tos_acceptance.date", |
120
|
|
|
|
|
|
|
"tos_acceptance.ip" |
121
|
|
|
|
|
|
|
] |
122
|
|
|
|
|
|
|
}, |
123
|
|
|
|
|
|
|
"individual": { |
124
|
|
|
|
|
|
|
"additional": [ |
125
|
|
|
|
|
|
|
"individual.id_number" |
126
|
|
|
|
|
|
|
], |
127
|
|
|
|
|
|
|
"minimum": [ |
128
|
|
|
|
|
|
|
"business_profile.mcc", |
129
|
|
|
|
|
|
|
"business_profile.url", |
130
|
|
|
|
|
|
|
"business_type", |
131
|
|
|
|
|
|
|
"external_account", |
132
|
|
|
|
|
|
|
"individual.address.city", |
133
|
|
|
|
|
|
|
"individual.address.line1", |
134
|
|
|
|
|
|
|
"individual.address.postal_code", |
135
|
|
|
|
|
|
|
"individual.address.state", |
136
|
|
|
|
|
|
|
"individual.dob.day", |
137
|
|
|
|
|
|
|
"individual.dob.month", |
138
|
|
|
|
|
|
|
"individual.dob.year", |
139
|
|
|
|
|
|
|
"individual.email", |
140
|
|
|
|
|
|
|
"individual.first_name", |
141
|
|
|
|
|
|
|
"individual.last_name", |
142
|
|
|
|
|
|
|
"individual.phone", |
143
|
|
|
|
|
|
|
"individual.ssn_last_4", |
144
|
|
|
|
|
|
|
"tos_acceptance.date", |
145
|
|
|
|
|
|
|
"tos_acceptance.ip" |
146
|
|
|
|
|
|
|
] |
147
|
|
|
|
|
|
|
} |
148
|
|
|
|
|
|
|
} |
149
|
|
|
|
|
|
|
} |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=head1 HISTORY |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=head2 v0.1 |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
Initial version |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=head1 AUTHOR |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=head1 SEE ALSO |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
Stripe API documentation: |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
L<https://stripe.com/docs/api/country_specs/object> |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
Copyright (c) 2019-2020 DEGUEST Pte. Ltd. |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
172
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=cut |