Stripe/Cash/Balance.pm

filter: Statementstmt 76.9% 20 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 53.8% 7 / 13 Podpod 83.3% 5 / 6 totaltotal 71.1% 32 / 45 CC 1 SCAR 3.8
CC
1
Cov
77%
id
2.0
object
2.0
available
2.0
CRAP 1.5
« Stripe/Terminal/Location.pm ↑ Summary Stripe/Address.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Cash/Balance.pm
3 ## Version v0.1.0
4 ## Copyright(c) 2022 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2022/07/06
7 ## Modified 2022/07/06
8 ## All rights reserved
9 ##
10 ## This program is free software; you can redistribute it and/or modify it
11 ## under the same terms as Perl itself.
12 ##----------------------------------------------------------------------------
13 package Net::API::Stripe::Cash::Balance;
14 BEGIN
15 2 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
16 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 2 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
19 2 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
20 2 our $VERSION = 'v0.1.0';
21 };
22  
23 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
25  
26 0 ▶sub id { return( shift->_set_get_scalar( 'id', @_ ) ); }
Subroutine id: not called CC=1 SCAR=6.9
Pod undocumented
27  
28 0 ▶sub object { return( shift->_set_get_scalar( 'object', @_ ) ); }
Subroutine object: not called CC=1 SCAR=6.9
Pod documented
29  
30 0 ▶sub available { return( shift->_set_get_hash_as_mix_object( 'available', @_ ) ); }
Subroutine available: not called CC=1 SCAR=6.9
Pod documented
31  
32 0 ▶sub customer { return( shift->_set_get_scalar_or_object( 'customer', 'Net::API::Stripe::Customer', @_ ) ); }
Subroutine customer: not called CC=1 SCAR=6.9
Pod documented
33  
34 0 ▶sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); }
Subroutine livemode: not called CC=1 SCAR=6.9
Pod documented
35  
36 sub settings
37 0 ▶{
Subroutine settings: not called CC=1 SCAR=6.9
Pod documented
38 0 return( shift->_set_get_class( 'settings',
39 {
40 reconciliation_mode => { type => 'scalar' },
41 }, @_ ) );
42 }
43  
44 2 1;
45 # NOTE: POD
46 __END__
« Stripe/Terminal/Location.pm ↑ Summary Stripe/Address.pm »