Stripe/Balance.pm

filter: Statementstmt 74.0% 20 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 7 / 14 Podpod 100% 7 / 7 totaltotal 70.8% 34 / 48 CC 1 SCAR 4.1
CC
1
Cov
74%
object
2.0
available
2.0
connect_reserved
2.0
CRAP 1.5
« Stripe/Issuing/Card/AuthorizationsControl.pm ↑ Summary Stripe/Bitcoin/Transaction.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Balance.pm
3 ## Version v0.101.0
4 ## Copyright(c) 2020 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2019/11/02
7 ## Modified 2020/11/15
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 ## https://stripe.com/docs/api/balance/balance_object
14 package Net::API::Stripe::Balance;
15 BEGIN
16 2 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
17 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 2 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
20 2 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
21 2 our( $VERSION ) = 'v0.101.0';
22 };
23  
24 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 0 ▶sub object { return( shift->_set_get_scalar( 'object', @_ ) ); }
Subroutine object: not called CC=1 SCAR=6.9
Pod documented
28  
29 ## Array of Net::API::Stripe::Connect::Transfer
30 0 ▶sub available { return( shift->_set_get_object_array( 'available', 'Net::API::Stripe::Connect::Transfer', @_ ) ); }
Subroutine available: not called CC=1 SCAR=6.9
Pod documented
31  
32 ## Array of Net::API::Stripe::Balance::ConnectReserved
33 0 ▶sub connect_reserved { return( shift->_set_get_object_array( 'connect_reserved', 'Net::API::Stripe::Balance::ConnectReserved', @_ ) ); }
Subroutine connect_reserved: not called CC=1 SCAR=6.9
Pod documented
34  
35 0 ▶sub instant_available { return( shift->_set_get_object_array( 'instant_available', 'Net::API::Stripe::Balance::Pending', @_ ) ); }
Subroutine instant_available: not called CC=1 SCAR=6.9
Pod documented
36  
37 0 ▶sub issuing { return( shift->_set_get_class( 'issuing',
Subroutine issuing: not called CC=1 SCAR=6.9
Pod documented
38 {
39 available => { type => 'object', package => 'Net::API::Stripe::Balance::Pending' },
40 }, @_ ) ); }
41  
42 0 ▶sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); }
Subroutine livemode: not called CC=1 SCAR=6.9
Pod documented
43  
44 # Array of Net::API::Stripe::Balance::Pending
45 0 ▶sub pending { return( shift->_set_get_object_array( 'pending', 'Net::API::Stripe::Balance::Pending', @_ ) ); }
Subroutine pending: not called CC=1 SCAR=6.9
Pod documented
46  
47 2 1;
48  
49 __END__
« Stripe/Issuing/Card/AuthorizationsControl.pm ↑ Summary Stripe/Bitcoin/Transaction.pm »