Stripe/Balance/Transaction.pm

filter: Statementstmt 55.5% 20 / 36 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 30.4% 7 / 23 Podpod 93.7% 15 / 16 totaltotal 56.0% 42 / 75 CC 1 SCAR 5.3
CC
1
Cov
56%
id
2.0
object
2.0
amount
2.0
CRAP 1.7
« Stripe/Product/Coupon.pm ↑ Summary Stripe/Billing/UserRecord/Summary.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Balance/Transaction.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_transaction
14 package Net::API::Stripe::Balance::Transaction;
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 id { return( shift->_set_get_scalar( 'id', @_ ) ); }
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
28  
29 0 ▶sub object { return( shift->_set_get_scalar( 'object', @_ ) ); }
Subroutine object: not called CC=1 SCAR=6.9
Pod documented
30  
31 0 ▶sub amount { return( shift->_set_get_number( 'amount', @_ ) ); }
Subroutine amount: not called CC=1 SCAR=6.9
Pod documented
32  
33 0 ▶sub available_on { return( shift->_set_get_datetime( 'available_on', @_ ) ); }
Subroutine available_on: not called CC=1 SCAR=6.9
Pod documented
34  
35 0 ▶sub created { return( shift->_set_get_datetime( 'created', @_ ) ); }
Subroutine created: not called CC=1 SCAR=6.9
Pod documented
36  
37 0 ▶sub currency { return( shift->_set_get_scalar( 'currency', @_ ) ); }
Subroutine currency: not called CC=1 SCAR=6.9
Pod documented
38  
39 0 ▶sub description { return( shift->_set_get_scalar( 'description', @_ ) ); }
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
40  
41 0 ▶sub exchange_rate { return( shift->_set_get_number( 'exchange_rate', @_ ) ); }
Subroutine exchange_rate: not called CC=1 SCAR=6.9
Pod documented
42  
43 0 ▶sub fee { return( shift->_set_get_number( 'fee', @_ ) ); }
Subroutine fee: not called CC=1 SCAR=6.9
Pod undocumented
44  
45 ## Array of Net::API::Stripe::Balance::Transaction::FeeDetails
46 0 ▶sub fee_details { return( shift->_set_get_object_array( 'fee_details', 'Net::API::Stripe::Balance::Transaction::FeeDetails', @_ ) ); }
Subroutine fee_details: not called CC=1 SCAR=6.9
Pod documented
47  
48 0 ▶sub net { return( shift->_set_get_number( 'net', @_ ) ); }
Subroutine net: not called CC=1 SCAR=6.9
Pod documented
49  
50 0 ▶sub reporting_category { return( shift->_set_get_scalar( 'reporting_category', @_ ) ); }
Subroutine reporting_category: not called CC=1 SCAR=6.9
Pod documented
51  
52 0 ▶sub source { return( shift->_set_get_scalar_or_object_variant( 'source', @_ ) ); }
Subroutine source: not called CC=1 SCAR=6.9
Pod documented
53  
54 0 ▶sub sourced_transfers { return( shift->_set_get_object( 'sourced_transfers', 'Net::API::Stripe::List', @_ ) ); }
Subroutine sourced_transfers: not called CC=1 SCAR=6.9
Pod documented
55  
56 0 ▶sub status { return( shift->_set_get_scalar( 'status', @_ ) ); }
Subroutine status: not called CC=1 SCAR=6.9
Pod documented
57  
58 0 ▶sub type { return( shift->_set_get_scalar( 'type', @_ ) ); }
Subroutine type: not called CC=1 SCAR=6.9
Pod documented
59  
60 2 1;
61  
62 __END__
« Stripe/Product/Coupon.pm ↑ Summary Stripe/Billing/UserRecord/Summary.pm »