Stripe/Error.pm

filter: Statementstmt 62.5% 20 / 32 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 36.8% 7 / 19 Podpod 100% 12 / 12 totaltotal 61.9% 39 / 63 CC 1 SCAR 4.9
CC
1
Cov
62%
charge
2.0
code
2.0
decline_code
2.0
CRAP 1.6
« Stripe/Billing/Subscription/Item.pm ↑ Summary Stripe/Issuing/Authorization/RequestHistory.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Error.pm
3 ## Version v0.100.0
4 ## Copyright(c) 2019 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2019/11/02
7 ## Modified 2020/05/15
8 ##
9 ##----------------------------------------------------------------------------
10 package Net::API::Stripe::Error;
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 warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 2 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
16 2 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
17 2 our( $VERSION ) = 'v0.100.0';
18 };
19  
20 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 0 ▶sub charge { return( shift->_set_get_scalar( 'charge', @_ ) ); }
Subroutine charge: not called CC=1 SCAR=6.9
Pod documented
24  
25 0 ▶sub code { return( shift->_set_get_scalar( 'code', @_ ) ); }
Subroutine code: not called CC=1 SCAR=6.9
Pod documented
26  
27 0 ▶sub decline_code { return( shift->_set_get_scalar( 'decline_code', @_ ) ); }
Subroutine decline_code: not called CC=1 SCAR=6.9
Pod documented
28  
29 0 ▶sub doc_url { return( shift->_set_get_uri( 'doc_url', @_ ) ); }
Subroutine doc_url: not called CC=1 SCAR=6.9
Pod documented
30  
31 0 ▶sub message { return( shift->_set_get_scalar( 'message', @_ ) ); }
Subroutine message: not called CC=1 SCAR=6.9
Pod documented
32  
33 0 ▶sub param { return( shift->_set_get_scalar( 'param', @_ ) ); }
Subroutine param: not called CC=1 SCAR=6.9
Pod documented
34  
35 0 ▶sub payment_intent { return( shift->_set_get_object( 'payment_intent', 'Net::API::Stripe::Payment::Intent', @_ ) ); }
Subroutine payment_intent: not called CC=1 SCAR=6.9
Pod documented
36  
37 0 ▶sub payment_method { return( shift->_set_get_object( 'payment_method', 'Net::API::Stripe::Payment::Method', @_ ) ); }
Subroutine payment_method: not called CC=1 SCAR=6.9
Pod documented
38  
39 0 ▶sub payment_method_type { return( shift->_set_get_scalar( 'payment_method_type', @_ ) ); }
Subroutine payment_method_type: not called CC=1 SCAR=6.9
Pod documented
40  
41 0 ▶sub setup_intent { return( shift->_set_get_object( 'setup_intent', 'Net::API::Stripe::Payment::Intent::Setup', @_ ) ); }
Subroutine setup_intent: not called CC=1 SCAR=6.9
Pod documented
42  
43 0 ▶sub source { return( shift->_set_get_object( 'source', 'Net::API::Stripe::Payment::Source', @_ ) ); }
Subroutine source: not called CC=1 SCAR=6.9
Pod documented
44  
45 0 ▶sub type { return( shift->_set_get_scalar( 'type', @_ ) ); }
Subroutine type: not called CC=1 SCAR=6.9
Pod documented
46  
47 2 1;
48 # NOTE: POD
49 __END__
« Stripe/Billing/Subscription/Item.pm ↑ Summary Stripe/Issuing/Authorization/RequestHistory.pm »