Stripe/Checkout/Item.pm

filter: Statementstmt 80.0% 20 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 58.3% 7 / 12 Podpod 100% 5 / 5 totaltotal 76.1% 32 / 42 CC 1 SCAR 3.5
CC
1
Cov
80%
custom
2.0
images
2.0
name
2.0
CRAP 1.4
« Stripe/Billing/Plan/Tiers.pm ↑ Summary Stripe/Connect/Account/Settings/Payments.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Checkout/Item.pm
3 ## Version v0.200.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::Checkout::Item;
11 BEGIN
12 1 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶ use parent qw( Net::API::Stripe::List::Item );
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 our( $VERSION ) = 'v0.200.0';
18 };
19  
20 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 # Method amount is inherited
24  
25 # Method currency is inherited
26  
27 0 ▶sub custom { return( shift->_set_get_hash( 'custom', @_ ) ); }
Subroutine custom: not called CC=1 SCAR=6.9
Pod documented
28  
29 # Method description is inherited
30  
31 0 ▶sub images { return( shift->_set_get_array( 'images', @_ ) ); }
Subroutine images: not called CC=1 SCAR=6.9
Pod documented
32  
33 0 ▶sub name { return( shift->_set_get_scalar( 'name', @_ ) ); }
Subroutine name: not called CC=1 SCAR=6.9
Pod documented
34  
35 0 ▶sub plan { return( shift->_set_get_object( 'plan', 'Net::API::Stripe::Billing::Plan', @_ ) ); }
Subroutine plan: not called CC=1 SCAR=6.9
Pod documented
36  
37 # Method quantity is inherited
38  
39 0 ▶sub sku { return( shift->_set_get_object( 'sku', 'Net::API::Stripe::Order::SKU', @_ ) ); }
Subroutine sku: not called CC=1 SCAR=6.9
Pod documented
40  
41 # Method type is inherited
42  
43 1 1;
44  
45 __END__
« Stripe/Billing/Plan/Tiers.pm ↑ Summary Stripe/Connect/Account/Settings/Payments.pm »