Stripe/Terminal/Configuration.pm

filter: Statementstmt 53.3% 8 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 30.0% 3 / 10 Podpod 100% 7 / 7 totaltotal 56.2% 18 / 32 CC 1 SCAR 5.3
CC
1
Cov
53%
id
2.0
object
2.0
bbpos_wisepos_e
2.0
CRAP 1.7
« Stripe/Billing/UserRecord/Summary.pm ↑ Summary Stripe/Billing/CreditNote/LineItem.pm »
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 2 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
13 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 2 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
15 2 our( $VERSION ) = 'v0.1.0';
16 };
17  
18 0 ▶sub id { return( shift->_set_get_scalar( 'id', @_ ) ); }
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
19  
20 0 ▶sub object { return( shift->_set_get_scalar( 'object', @_ ) ); }
Subroutine object: not called CC=1 SCAR=6.9
Pod documented
21  
22 0 ▶sub bbpos_wisepos_e { return( shift->_set_get_class( 'bbpos_wisepos_e',
Subroutine bbpos_wisepos_e: not called CC=1 SCAR=6.9
Pod documented
23 {
24 splashscreen => { package => "Net::API::Stripe::File", type => "scalar_or_object" },
25 }, @_ ) ); }
26  
27 0 ▶sub is_account_default { return( shift->_set_get_boolean( 'is_account_default', @_ ) ); }
Subroutine is_account_default: not called CC=1 SCAR=6.9
Pod documented
28  
29 0 ▶sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); }
Subroutine livemode: not called CC=1 SCAR=6.9
Pod documented
30  
31 0 ▶sub tipping { return( shift->_set_get_class( 'tipping',
Subroutine tipping: not called CC=1 SCAR=6.9
Pod documented
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 ▶sub verifone_p400 { return( shift->_set_get_class( 'verifone_p400',
Subroutine verifone_p400: not called CC=1 SCAR=6.9
Pod documented
148 {
149 splashscreen => { package => "Net::API::Stripe::File", type => "scalar_or_object" },
150 }, @_ ) ); }
151  
152 2 1;
153 # NOTE: POD
154 __END__
« Stripe/Billing/UserRecord/Summary.pm ↑ Summary Stripe/Billing/CreditNote/LineItem.pm »