Stripe/Billing/PromotionCode.pm

filter: Statementstmt 95.2% 20 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 100% 1 / 1 totaltotal 93.3% 28 / 30 CC 1 SCAR 1.2
CC
1
Cov
95%
restrictions
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Stripe/Billing/Invoice/BalanceSettings.pm ↑ Summary Stripe/Customer/Card.pm »
1 package Net::API::Stripe::Billing::PromotionCode;
2 BEGIN
3 2 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶ use parent qw( Net::API::Stripe::Product::PromotionCode );
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 our( $VERSION ) = 'v0.2.0';
9 };
10  
11 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 0 ▶sub restrictions { return( shift->_set_get_class( 'restrictions',
Subroutine restrictions: not called CC=1 SCAR=6.9
Pod documented
15 {
16 currency_options => {
17 definition => { minimum_amount => { type => "number" } },
18 type => "class",
19 },
20 first_time_transaction => { type => "boolean" },
21 minimum_amount => { type => "number" },
22 minimum_amount_currency => { type => "scalar" },
23 }, @_ ) ); }
24  
25 2 1;
26  
27 __END__
« Stripe/Billing/Invoice/BalanceSettings.pm ↑ Summary Stripe/Customer/Card.pm »