Stripe/Terminal/Reader.pm

filter: Statementstmt 60.6% 20 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 35.0% 7 / 20 Podpod 92.3% 12 / 13 totaltotal 59.0% 39 / 66 CC 1 SCAR 5.0
CC
1
Cov
61%
id
2.0
object
2.0
action
2.0
CRAP 1.6
« Stripe/Tax/Rate.pm ↑ Summary Stripe/Billing/PortalConfiguration.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Terminal/Reader.pm
3 ## Version v0.101.0
4 ## Copyright(c) 2019 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2019/11/02
7 ## Modified 2022/10/29
8 ##
9 ##----------------------------------------------------------------------------
10 ## https://stripe.com/docs/api/terminal/readers/object
11 package Net::API::Stripe::Terminal::Reader;
12 BEGIN
13 2 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
14 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 2 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 2 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
17 2 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 our( $VERSION ) = 'v0.101.0';
19 };
20  
21 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
23  
24 0 ▶sub id { return( shift->_set_get_scalar( 'id', @_ ) ); }
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
25  
26 0 ▶sub object { return( shift->_set_get_scalar( 'object', @_ ) ); }
Subroutine object: not called CC=1 SCAR=6.9
Pod documented
27  
28 0 ▶sub action { return( shift->_set_get_object( 'action', 'Net::API::Stripe::Payout', @_ ) ); }
Subroutine action: not called CC=1 SCAR=6.9
Pod documented
29  
30 0 ▶sub device_sw_version { return( shift->_set_get_scalar( 'device_sw_version', @_ ) ); }
Subroutine device_sw_version: not called CC=1 SCAR=6.9
Pod documented
31  
32 0 ▶sub device_type { return( shift->_set_get_scalar( 'device_type', @_ ) ); }
Subroutine device_type: not called CC=1 SCAR=6.9
Pod documented
33  
34 0 ▶sub ip_address { return( shift->_set_get_scalar( 'ip_address', @_ ) ); }
Subroutine ip_address: not called CC=1 SCAR=6.9
Pod documented
35  
36 0 ▶sub label { return( shift->_set_get_scalar( 'label', @_ ) ); }
Subroutine label: not called CC=1 SCAR=6.9
Pod documented
37  
38 0 ▶sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); }
Subroutine livemode: not called CC=1 SCAR=6.9
Pod documented
39  
40 0 ▶sub location { return( shift->_set_get_scalar( 'location', @_ ) ); }
Subroutine location: not called CC=1 SCAR=6.9
Pod documented
41  
42 0 ▶sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); }
Subroutine metadata: not called CC=1 SCAR=6.9
Pod documented
43  
44 0 ▶sub registration_code { return( shift->_set_get_scalar( 'registration_code', @_ ) ); }
Subroutine registration_code: not called CC=1 SCAR=6.9
Pod undocumented
45  
46 0 ▶sub serial_number { return( shift->_set_get_scalar( 'serial_number', @_ ) ); }
Subroutine serial_number: not called CC=1 SCAR=6.9
Pod documented
47  
48 0 ▶sub status { return( shift->_set_get_scalar( 'status', @_ ) ); }
Subroutine status: not called CC=1 SCAR=6.9
Pod documented
49  
50 2 1;
51 # NOTE: POD
52 __END__
« Stripe/Tax/Rate.pm ↑ Summary Stripe/Billing/PortalConfiguration.pm »