| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
|
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Terminal/Configuration.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::Terminal::Configuration; |
|
11
|
|
|
|
|
|
|
BEGIN |
|
12
|
|
|
|
|
|
|
{ |
|
13
|
2
|
|
|
2
|
|
21909478
|
use strict; |
|
|
2
|
|
|
|
|
14
|
|
|
|
2
|
|
|
|
|
72
|
|
|
14
|
2
|
|
|
2
|
|
26
|
use parent qw( Net::API::Stripe::Generic ); |
|
|
2
|
|
|
|
|
5
|
|
|
|
2
|
|
|
|
|
11
|
|
|
15
|
2
|
|
|
2
|
|
1039
|
our( $VERSION ) = 'v0.1.0'; |
|
16
|
|
|
|
|
|
|
}; |
|
17
|
|
|
|
|
|
|
|
|
18
|
0
|
|
|
0
|
1
|
|
sub id { return( shift->_set_get_scalar( 'id', @_ ) ); } |
|
19
|
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
1
|
|
sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
|
21
|
|
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
1
|
|
sub bbpos_wisepos_e { return( shift->_set_get_class( 'bbpos_wisepos_e', |
|
23
|
|
|
|
|
|
|
{ |
|
24
|
|
|
|
|
|
|
splashscreen => { package => "Net::API::Stripe::File", type => "scalar_or_object" }, |
|
25
|
|
|
|
|
|
|
}, @_ ) ); } |
|
26
|
|
|
|
|
|
|
|
|
27
|
0
|
|
|
0
|
1
|
|
sub is_account_default { return( shift->_set_get_boolean( 'is_account_default', @_ ) ); } |
|
28
|
|
|
|
|
|
|
|
|
29
|
0
|
|
|
0
|
1
|
|
sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
|
30
|
|
|
|
|
|
|
|
|
31
|
0
|
|
|
0
|
1
|
|
sub tipping { return( shift->_set_get_class( 'tipping', |
|
32
|
|
|
|
|
|
|
{ |
|
33
|
|
|
|
|
|
|
aud => { |
|
34
|
|
|
|
|
|
|
definition => { |
|
35
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
36
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
37
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
38
|
|
|
|
|
|
|
}, |
|
39
|
|
|
|
|
|
|
type => "class", |
|
40
|
|
|
|
|
|
|
}, |
|
41
|
|
|
|
|
|
|
cad => { |
|
42
|
|
|
|
|
|
|
definition => { |
|
43
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
44
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
45
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
46
|
|
|
|
|
|
|
}, |
|
47
|
|
|
|
|
|
|
type => "class", |
|
48
|
|
|
|
|
|
|
}, |
|
49
|
|
|
|
|
|
|
chf => { |
|
50
|
|
|
|
|
|
|
definition => { |
|
51
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
52
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
53
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
54
|
|
|
|
|
|
|
}, |
|
55
|
|
|
|
|
|
|
type => "class", |
|
56
|
|
|
|
|
|
|
}, |
|
57
|
|
|
|
|
|
|
czk => { |
|
58
|
|
|
|
|
|
|
definition => { |
|
59
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
60
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
61
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
62
|
|
|
|
|
|
|
}, |
|
63
|
|
|
|
|
|
|
type => "class", |
|
64
|
|
|
|
|
|
|
}, |
|
65
|
|
|
|
|
|
|
dkk => { |
|
66
|
|
|
|
|
|
|
definition => { |
|
67
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
68
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
69
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
70
|
|
|
|
|
|
|
}, |
|
71
|
|
|
|
|
|
|
type => "class", |
|
72
|
|
|
|
|
|
|
}, |
|
73
|
|
|
|
|
|
|
eur => { |
|
74
|
|
|
|
|
|
|
definition => { |
|
75
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
76
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
77
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
78
|
|
|
|
|
|
|
}, |
|
79
|
|
|
|
|
|
|
type => "class", |
|
80
|
|
|
|
|
|
|
}, |
|
81
|
|
|
|
|
|
|
gbp => { |
|
82
|
|
|
|
|
|
|
definition => { |
|
83
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
84
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
85
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
86
|
|
|
|
|
|
|
}, |
|
87
|
|
|
|
|
|
|
type => "class", |
|
88
|
|
|
|
|
|
|
}, |
|
89
|
|
|
|
|
|
|
hkd => { |
|
90
|
|
|
|
|
|
|
definition => { |
|
91
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
92
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
93
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
94
|
|
|
|
|
|
|
}, |
|
95
|
|
|
|
|
|
|
type => "class", |
|
96
|
|
|
|
|
|
|
}, |
|
97
|
|
|
|
|
|
|
myr => { |
|
98
|
|
|
|
|
|
|
definition => { |
|
99
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
100
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
101
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
102
|
|
|
|
|
|
|
}, |
|
103
|
|
|
|
|
|
|
type => "class", |
|
104
|
|
|
|
|
|
|
}, |
|
105
|
|
|
|
|
|
|
nok => { |
|
106
|
|
|
|
|
|
|
definition => { |
|
107
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
108
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
109
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
110
|
|
|
|
|
|
|
}, |
|
111
|
|
|
|
|
|
|
type => "class", |
|
112
|
|
|
|
|
|
|
}, |
|
113
|
|
|
|
|
|
|
nzd => { |
|
114
|
|
|
|
|
|
|
definition => { |
|
115
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
116
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
117
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
118
|
|
|
|
|
|
|
}, |
|
119
|
|
|
|
|
|
|
type => "class", |
|
120
|
|
|
|
|
|
|
}, |
|
121
|
|
|
|
|
|
|
sek => { |
|
122
|
|
|
|
|
|
|
definition => { |
|
123
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
124
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
125
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
126
|
|
|
|
|
|
|
}, |
|
127
|
|
|
|
|
|
|
type => "class", |
|
128
|
|
|
|
|
|
|
}, |
|
129
|
|
|
|
|
|
|
sgd => { |
|
130
|
|
|
|
|
|
|
definition => { |
|
131
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
132
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
133
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
134
|
|
|
|
|
|
|
}, |
|
135
|
|
|
|
|
|
|
type => "class", |
|
136
|
|
|
|
|
|
|
}, |
|
137
|
|
|
|
|
|
|
usd => { |
|
138
|
|
|
|
|
|
|
definition => { |
|
139
|
|
|
|
|
|
|
fixed_amounts => { type => "array" }, |
|
140
|
|
|
|
|
|
|
percentages => { type => "array" }, |
|
141
|
|
|
|
|
|
|
smart_tip_threshold => { type => "number" }, |
|
142
|
|
|
|
|
|
|
}, |
|
143
|
|
|
|
|
|
|
type => "class", |
|
144
|
|
|
|
|
|
|
}, |
|
145
|
|
|
|
|
|
|
}, @_ ) ); } |
|
146
|
|
|
|
|
|
|
|
|
147
|
0
|
|
|
0
|
1
|
|
sub verifone_p400 { return( shift->_set_get_class( 'verifone_p400', |
|
148
|
|
|
|
|
|
|
{ |
|
149
|
|
|
|
|
|
|
splashscreen => { package => "Net::API::Stripe::File", type => "scalar_or_object" }, |
|
150
|
|
|
|
|
|
|
}, @_ ) ); } |
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
1; |
|
153
|
|
|
|
|
|
|
# NOTE: POD |
|
154
|
|
|
|
|
|
|
__END__ |
|
155
|
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=encoding utf8 |
|
157
|
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=head1 NAME |
|
159
|
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
Net::API::Stripe::Terminal::Configuration - The Configuration object |
|
161
|
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
163
|
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=head1 VERSION |
|
165
|
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
v0.1.0 |
|
167
|
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
169
|
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
A Configurations object represents how features should be configured for terminal readers. |
|
171
|
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=head1 METHODS |
|
174
|
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
=head2 id string |
|
176
|
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
Unique identifier for the object. |
|
178
|
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=head2 object string |
|
180
|
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
String representing the object's type. Objects of the same type share the same value. |
|
182
|
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=head2 bbpos_wisepos_e hash |
|
184
|
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
An object containing device type specific settings for BBPOS WisePOS E |
|
186
|
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
It has the following properties: |
|
188
|
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=over 4 |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=item C<splashscreen> string expandable |
|
192
|
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
A File ID representing an image you would like displayed on the reader. |
|
194
|
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
When expanded this is an L<Net::API::Stripe::File> object. |
|
196
|
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
=back |
|
198
|
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=head2 is_account_default boolean |
|
200
|
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
Whether this Configuration is the default for your account |
|
202
|
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
=head2 livemode boolean |
|
204
|
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
Has the value C<true> if the object exists in live mode or the value C<false> if the object exists in test mode. |
|
206
|
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
=head2 tipping hash |
|
208
|
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
On-reader tipping settings |
|
210
|
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
It has the following properties: |
|
212
|
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
=over 4 |
|
214
|
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=item C<aud> hash |
|
216
|
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
Tipping configuration for AUD |
|
218
|
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
=over 8 |
|
220
|
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
222
|
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
224
|
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
=item C<percentages> array |
|
226
|
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
228
|
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
230
|
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
232
|
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
=back |
|
235
|
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
=item C<cad> hash |
|
237
|
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
Tipping configuration for CAD |
|
239
|
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
=over 8 |
|
241
|
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
243
|
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
245
|
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
=item C<percentages> array |
|
247
|
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
249
|
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
251
|
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
253
|
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
=back |
|
256
|
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
=item C<chf> hash |
|
258
|
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
Tipping configuration for CHF |
|
260
|
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
=over 8 |
|
262
|
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
264
|
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
266
|
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
=item C<percentages> array |
|
268
|
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
270
|
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
272
|
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
274
|
|
|
|
|
|
|
|
|
275
|
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
=back |
|
277
|
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
=item C<czk> hash |
|
279
|
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
Tipping configuration for CZK |
|
281
|
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
=over 8 |
|
283
|
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
285
|
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
287
|
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
=item C<percentages> array |
|
289
|
|
|
|
|
|
|
|
|
290
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
291
|
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
293
|
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
295
|
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
=back |
|
298
|
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
=item C<dkk> hash |
|
300
|
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
Tipping configuration for DKK |
|
302
|
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
=over 8 |
|
304
|
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
306
|
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
308
|
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
=item C<percentages> array |
|
310
|
|
|
|
|
|
|
|
|
311
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
312
|
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
314
|
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
316
|
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
=back |
|
319
|
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
=item C<eur> hash |
|
321
|
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
Tipping configuration for EUR |
|
323
|
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
=over 8 |
|
325
|
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
327
|
|
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
329
|
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
=item C<percentages> array |
|
331
|
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
333
|
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
335
|
|
|
|
|
|
|
|
|
336
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
337
|
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
=back |
|
340
|
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
=item C<gbp> hash |
|
342
|
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
Tipping configuration for GBP |
|
344
|
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
=over 8 |
|
346
|
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
348
|
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
350
|
|
|
|
|
|
|
|
|
351
|
|
|
|
|
|
|
=item C<percentages> array |
|
352
|
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
354
|
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
356
|
|
|
|
|
|
|
|
|
357
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
358
|
|
|
|
|
|
|
|
|
359
|
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
=back |
|
361
|
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
=item C<hkd> hash |
|
363
|
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
Tipping configuration for HKD |
|
365
|
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
=over 8 |
|
367
|
|
|
|
|
|
|
|
|
368
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
369
|
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
371
|
|
|
|
|
|
|
|
|
372
|
|
|
|
|
|
|
=item C<percentages> array |
|
373
|
|
|
|
|
|
|
|
|
374
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
375
|
|
|
|
|
|
|
|
|
376
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
377
|
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
379
|
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
|
|
381
|
|
|
|
|
|
|
=back |
|
382
|
|
|
|
|
|
|
|
|
383
|
|
|
|
|
|
|
=item C<myr> hash |
|
384
|
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
Tipping configuration for MYR |
|
386
|
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
=over 8 |
|
388
|
|
|
|
|
|
|
|
|
389
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
390
|
|
|
|
|
|
|
|
|
391
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
392
|
|
|
|
|
|
|
|
|
393
|
|
|
|
|
|
|
=item C<percentages> array |
|
394
|
|
|
|
|
|
|
|
|
395
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
396
|
|
|
|
|
|
|
|
|
397
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
398
|
|
|
|
|
|
|
|
|
399
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
400
|
|
|
|
|
|
|
|
|
401
|
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
=back |
|
403
|
|
|
|
|
|
|
|
|
404
|
|
|
|
|
|
|
=item C<nok> hash |
|
405
|
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
Tipping configuration for NOK |
|
407
|
|
|
|
|
|
|
|
|
408
|
|
|
|
|
|
|
=over 8 |
|
409
|
|
|
|
|
|
|
|
|
410
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
411
|
|
|
|
|
|
|
|
|
412
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
413
|
|
|
|
|
|
|
|
|
414
|
|
|
|
|
|
|
=item C<percentages> array |
|
415
|
|
|
|
|
|
|
|
|
416
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
417
|
|
|
|
|
|
|
|
|
418
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
419
|
|
|
|
|
|
|
|
|
420
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
421
|
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
|
|
423
|
|
|
|
|
|
|
=back |
|
424
|
|
|
|
|
|
|
|
|
425
|
|
|
|
|
|
|
=item C<nzd> hash |
|
426
|
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
Tipping configuration for NZD |
|
428
|
|
|
|
|
|
|
|
|
429
|
|
|
|
|
|
|
=over 8 |
|
430
|
|
|
|
|
|
|
|
|
431
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
432
|
|
|
|
|
|
|
|
|
433
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
434
|
|
|
|
|
|
|
|
|
435
|
|
|
|
|
|
|
=item C<percentages> array |
|
436
|
|
|
|
|
|
|
|
|
437
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
438
|
|
|
|
|
|
|
|
|
439
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
440
|
|
|
|
|
|
|
|
|
441
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
442
|
|
|
|
|
|
|
|
|
443
|
|
|
|
|
|
|
|
|
444
|
|
|
|
|
|
|
=back |
|
445
|
|
|
|
|
|
|
|
|
446
|
|
|
|
|
|
|
=item C<sek> hash |
|
447
|
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
Tipping configuration for SEK |
|
449
|
|
|
|
|
|
|
|
|
450
|
|
|
|
|
|
|
=over 8 |
|
451
|
|
|
|
|
|
|
|
|
452
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
453
|
|
|
|
|
|
|
|
|
454
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
455
|
|
|
|
|
|
|
|
|
456
|
|
|
|
|
|
|
=item C<percentages> array |
|
457
|
|
|
|
|
|
|
|
|
458
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
459
|
|
|
|
|
|
|
|
|
460
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
461
|
|
|
|
|
|
|
|
|
462
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
463
|
|
|
|
|
|
|
|
|
464
|
|
|
|
|
|
|
|
|
465
|
|
|
|
|
|
|
=back |
|
466
|
|
|
|
|
|
|
|
|
467
|
|
|
|
|
|
|
=item C<sgd> hash |
|
468
|
|
|
|
|
|
|
|
|
469
|
|
|
|
|
|
|
Tipping configuration for SGD |
|
470
|
|
|
|
|
|
|
|
|
471
|
|
|
|
|
|
|
=over 8 |
|
472
|
|
|
|
|
|
|
|
|
473
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
474
|
|
|
|
|
|
|
|
|
475
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
476
|
|
|
|
|
|
|
|
|
477
|
|
|
|
|
|
|
=item C<percentages> array |
|
478
|
|
|
|
|
|
|
|
|
479
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
480
|
|
|
|
|
|
|
|
|
481
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
482
|
|
|
|
|
|
|
|
|
483
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
484
|
|
|
|
|
|
|
|
|
485
|
|
|
|
|
|
|
|
|
486
|
|
|
|
|
|
|
=back |
|
487
|
|
|
|
|
|
|
|
|
488
|
|
|
|
|
|
|
=item C<usd> hash |
|
489
|
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
Tipping configuration for USD |
|
491
|
|
|
|
|
|
|
|
|
492
|
|
|
|
|
|
|
=over 8 |
|
493
|
|
|
|
|
|
|
|
|
494
|
|
|
|
|
|
|
=item C<fixed_amounts> array |
|
495
|
|
|
|
|
|
|
|
|
496
|
|
|
|
|
|
|
Fixed amounts displayed when collecting a tip |
|
497
|
|
|
|
|
|
|
|
|
498
|
|
|
|
|
|
|
=item C<percentages> array |
|
499
|
|
|
|
|
|
|
|
|
500
|
|
|
|
|
|
|
Percentages displayed when collecting a tip |
|
501
|
|
|
|
|
|
|
|
|
502
|
|
|
|
|
|
|
=item C<smart_tip_threshold> integer |
|
503
|
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed |
|
505
|
|
|
|
|
|
|
|
|
506
|
|
|
|
|
|
|
|
|
507
|
|
|
|
|
|
|
=back |
|
508
|
|
|
|
|
|
|
|
|
509
|
|
|
|
|
|
|
=back |
|
510
|
|
|
|
|
|
|
|
|
511
|
|
|
|
|
|
|
=head2 verifone_p400 hash |
|
512
|
|
|
|
|
|
|
|
|
513
|
|
|
|
|
|
|
An object containing device type specific settings for Verifone P400 |
|
514
|
|
|
|
|
|
|
|
|
515
|
|
|
|
|
|
|
It has the following properties: |
|
516
|
|
|
|
|
|
|
|
|
517
|
|
|
|
|
|
|
=over 4 |
|
518
|
|
|
|
|
|
|
|
|
519
|
|
|
|
|
|
|
=item C<splashscreen> string expandable |
|
520
|
|
|
|
|
|
|
|
|
521
|
|
|
|
|
|
|
A File ID representing an image you would like displayed on the reader. |
|
522
|
|
|
|
|
|
|
|
|
523
|
|
|
|
|
|
|
When expanded this is an L<Net::API::Stripe::File> object. |
|
524
|
|
|
|
|
|
|
|
|
525
|
|
|
|
|
|
|
=back |
|
526
|
|
|
|
|
|
|
|
|
527
|
|
|
|
|
|
|
=head1 API SAMPLE |
|
528
|
|
|
|
|
|
|
|
|
529
|
|
|
|
|
|
|
[ |
|
530
|
|
|
|
|
|
|
{ |
|
531
|
|
|
|
|
|
|
"bbpos_wisepos_e" : { |
|
532
|
|
|
|
|
|
|
"splashscreen" : "file_1Le9F32eZvKYlo2CHWjaVfbW" |
|
533
|
|
|
|
|
|
|
}, |
|
534
|
|
|
|
|
|
|
"id" : "tmc_ElVUAjF8xXG3hj", |
|
535
|
|
|
|
|
|
|
"is_account_default" : 0, |
|
536
|
|
|
|
|
|
|
"livemode" : 0, |
|
537
|
|
|
|
|
|
|
"object" : "terminal.configuration" |
|
538
|
|
|
|
|
|
|
} |
|
539
|
|
|
|
|
|
|
] |
|
540
|
|
|
|
|
|
|
|
|
541
|
|
|
|
|
|
|
=head1 HISTORY |
|
542
|
|
|
|
|
|
|
|
|
543
|
|
|
|
|
|
|
=head2 v0.1.0 |
|
544
|
|
|
|
|
|
|
|
|
545
|
|
|
|
|
|
|
Initial version |
|
546
|
|
|
|
|
|
|
|
|
547
|
|
|
|
|
|
|
=head1 AUTHOR |
|
548
|
|
|
|
|
|
|
|
|
549
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
|
550
|
|
|
|
|
|
|
|
|
551
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
552
|
|
|
|
|
|
|
|
|
553
|
|
|
|
|
|
|
L<Stripe API documentation|https://stripe.com/docs/api/terminal/configuration> |
|
554
|
|
|
|
|
|
|
|
|
555
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
|
556
|
|
|
|
|
|
|
|
|
557
|
|
|
|
|
|
|
Copyright (c) 2019-2022 DEGUEST Pte. Ltd. |
|
558
|
|
|
|
|
|
|
|
|
559
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
|
560
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
|
561
|
|
|
|
|
|
|
|
|
562
|
|
|
|
|
|
|
=cut |