line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Connect/Account/Settings/Payments.pm |
3
|
|
|
|
|
|
|
## Version v0.100.0 |
4
|
|
|
|
|
|
|
## Copyright(c) 2019 DEGUEST Pte. Ltd. |
5
|
|
|
|
|
|
|
## Author: Jacques Deguest <@sitael.tokyo.deguest.jp> |
6
|
|
|
|
|
|
|
## Created 2019/11/02 |
7
|
|
|
|
|
|
|
## Modified 2020/05/15 |
8
|
|
|
|
|
|
|
## |
9
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
10
|
|
|
|
|
|
|
package Net::API::Stripe::Connect::Account::Settings::Payments; |
11
|
|
|
|
|
|
|
BEGIN |
12
|
|
|
|
|
|
|
{ |
13
|
1
|
|
|
1
|
|
897
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
14
|
1
|
|
|
1
|
|
4
|
use parent qw( Net::API::Stripe::Generic ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
15
|
1
|
|
|
1
|
|
121
|
our( $VERSION ) = 'v0.100.0'; |
16
|
|
|
|
|
|
|
}; |
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
0
|
1
|
|
sub statement_descriptor { return( shift->_set_get_scalar( 'statement_descriptor', @_ ) ); } |
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
1
|
|
sub statement_descriptor_kana { return( shift->_set_get_scalar( 'statement_descriptor_kana', @_ ) ); } |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
1
|
|
sub statement_descriptor_kanji { return( shift->_set_get_scalar( 'statement_descriptor_kanji', @_ ) ); } |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=encoding utf8 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 NAME |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Net::API::Stripe::Connect::Account::Settings::Payments - A Stripe Account Settings Object for Payments |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 SYNOPSIS |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
my $payments = $stripe->account->settings->payments({ |
38
|
|
|
|
|
|
|
statement_descriptor => 'Contract drafting', |
39
|
|
|
|
|
|
|
statement_descriptor_kana => 'ããããããã¶ããããã' |
40
|
|
|
|
|
|
|
statement_descriptor_kanji => 'å¥ç´æ¡æä½æ', |
41
|
|
|
|
|
|
|
}); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 VERSION |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
v0.100.0 |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 DESCRIPTION |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Settings used to configure the account within the Stripe dashboard. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This is instantiated by method B<payments> from module L<Net::API::Stripe::Connect::Account::Settings> |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 CONSTRUCTOR |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=over 4 |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item B<new>( %ARG ) |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Creates a new L<Net::API::Stripe::Connect::Account::Settings::Payments> object. |
60
|
|
|
|
|
|
|
It may also take an hash like arguments, that also are method of the same name. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=back |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 METHODS |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=over 4 |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item B<statement_descriptor> string |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic statement_descriptor specified on the charge. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item B<statement_descriptor_kana> string |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only) |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=item B<statement_descriptor_kanji> string |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only) |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=back |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 API SAMPLE |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
{ |
85
|
|
|
|
|
|
|
"id": "acct_fake123456789", |
86
|
|
|
|
|
|
|
"object": "account", |
87
|
|
|
|
|
|
|
"business_profile": { |
88
|
|
|
|
|
|
|
"mcc": null, |
89
|
|
|
|
|
|
|
"name": "My Shop, Inc", |
90
|
|
|
|
|
|
|
"product_description": "Great products shipping all over the world", |
91
|
|
|
|
|
|
|
"support_address": { |
92
|
|
|
|
|
|
|
"city": "Tokyo", |
93
|
|
|
|
|
|
|
"country": "JP", |
94
|
|
|
|
|
|
|
"line1": "1-2-3 Kudan-minami, Chiyoda-ku", |
95
|
|
|
|
|
|
|
"line2": "", |
96
|
|
|
|
|
|
|
"postal_code": "100-0012", |
97
|
|
|
|
|
|
|
"state": "" |
98
|
|
|
|
|
|
|
}, |
99
|
|
|
|
|
|
|
"support_email": "billing@example.com", |
100
|
|
|
|
|
|
|
"support_phone": "+81312345678", |
101
|
|
|
|
|
|
|
"support_url": "", |
102
|
|
|
|
|
|
|
"url": "https://www.example.com" |
103
|
|
|
|
|
|
|
}, |
104
|
|
|
|
|
|
|
"business_type": "company", |
105
|
|
|
|
|
|
|
"capabilities": { |
106
|
|
|
|
|
|
|
"card_payments": "active" |
107
|
|
|
|
|
|
|
}, |
108
|
|
|
|
|
|
|
"charges_enabled": true, |
109
|
|
|
|
|
|
|
"country": "JP", |
110
|
|
|
|
|
|
|
"default_currency": "jpy", |
111
|
|
|
|
|
|
|
"details_submitted": true, |
112
|
|
|
|
|
|
|
"email": "tech@example.com", |
113
|
|
|
|
|
|
|
"metadata": {}, |
114
|
|
|
|
|
|
|
"payouts_enabled": true, |
115
|
|
|
|
|
|
|
"settings": { |
116
|
|
|
|
|
|
|
"branding": { |
117
|
|
|
|
|
|
|
"icon": "file_fake123456789", |
118
|
|
|
|
|
|
|
"logo": null, |
119
|
|
|
|
|
|
|
"primary_color": "#0e77ca" |
120
|
|
|
|
|
|
|
}, |
121
|
|
|
|
|
|
|
"card_payments": { |
122
|
|
|
|
|
|
|
"decline_on": { |
123
|
|
|
|
|
|
|
"avs_failure": false, |
124
|
|
|
|
|
|
|
"cvc_failure": false |
125
|
|
|
|
|
|
|
}, |
126
|
|
|
|
|
|
|
"statement_descriptor_prefix": null |
127
|
|
|
|
|
|
|
}, |
128
|
|
|
|
|
|
|
"dashboard": { |
129
|
|
|
|
|
|
|
"display_name": "myshop-inc", |
130
|
|
|
|
|
|
|
"timezone": "Asia/Tokyo" |
131
|
|
|
|
|
|
|
}, |
132
|
|
|
|
|
|
|
"payments": { |
133
|
|
|
|
|
|
|
"statement_descriptor": "MYSHOP, INC", |
134
|
|
|
|
|
|
|
"statement_descriptor_kana": "ï¾ï½²ï½¼ï½®ï½¯ï¾ï¾ï½²ï¾ï½¸", |
135
|
|
|
|
|
|
|
"statement_descriptor_kanji": "ãã¤ã·ã§ããã¤ã³ã¯" |
136
|
|
|
|
|
|
|
}, |
137
|
|
|
|
|
|
|
"payouts": { |
138
|
|
|
|
|
|
|
"debit_negative_balances": true, |
139
|
|
|
|
|
|
|
"schedule": { |
140
|
|
|
|
|
|
|
"delay_days": 4, |
141
|
|
|
|
|
|
|
"interval": "weekly", |
142
|
|
|
|
|
|
|
"weekly_anchor": "thursday" |
143
|
|
|
|
|
|
|
}, |
144
|
|
|
|
|
|
|
"statement_descriptor": null |
145
|
|
|
|
|
|
|
} |
146
|
|
|
|
|
|
|
}, |
147
|
|
|
|
|
|
|
"type": "standard" |
148
|
|
|
|
|
|
|
} |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=head1 HISTORY |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 v0.1 |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
Initial version |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=head1 AUTHOR |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=head1 SEE ALSO |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
Stripe API documentation: |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
L<https://stripe.com/docs/api/accounts/object> |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
Copyright (c) 2019-2020 DEGUEST Pte. Ltd. |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
171
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=cut |