Stripe/Address.pm

filter: Statementstmt 78.1% 25 / 32 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 53.3% 8 / 15 Podpod 85.7% 6 / 7 totaltotal 72.2% 39 / 54 CC 1 SCAR 3.8
CC
1
Cov
78%
city
2.0
country
2.0
line1
2.0
CRAP 1.5
« Stripe/Cash/Balance.pm ↑ Summary Stripe/Billing/UsageRecord.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Address.pm
3 ## Version v0.100.0
4 ## Copyright(c) 2020 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::Address;
11 BEGIN
12 4 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
13 4 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 4 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 4 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
16 4 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
17 4 our( $VERSION ) = 'v0.100.0';
18 };
19  
20 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 0 ▶sub city { return( shift->_set_get_scalar( 'city', @_ ) ); }
Subroutine city: not called CC=1 SCAR=6.9
Pod documented
24  
25 0 ▶sub country { return( shift->_set_get_scalar( 'country', @_ ) ); }
Subroutine country: not called CC=1 SCAR=6.9
Pod documented
26  
27 0 ▶sub line1 { return( shift->_set_get_scalar( 'line1', @_ ) ); }
Subroutine line1: not called CC=1 SCAR=6.9
Pod documented
28  
29 0 ▶sub line2 { return( shift->_set_get_scalar( 'line2', @_ ) ); }
Subroutine line2: not called CC=1 SCAR=6.9
Pod documented
30  
31 0 ▶sub postal_code { return( shift->_set_get_scalar( 'postal_code', @_ ) ); }
Subroutine postal_code: not called CC=1 SCAR=6.9
Pod documented
32  
33 0 ▶sub state { return( shift->_set_get_scalar( 'state', @_ ) ); }
Subroutine state: not called CC=1 SCAR=6.9
Pod documented
34  
35 0 ▶sub town { return( shift->_set_get_scalar( 'town', @_ ) ); }
Subroutine town: not called CC=1 SCAR=6.9
Pod undocumented
36  
37 {
38 4 ▶ no warnings 'once';
Subroutine BEGIN: called CC=1 SCAR=0.0
39 4 *zip_code = \&postal_code;
40 }
41  
42 4 1;
43  
44 __END__
« Stripe/Cash/Balance.pm ↑ Summary Stripe/Billing/UsageRecord.pm »