Stripe/Mandate/Options.pm

filter: Statementstmt 58.8% 20 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 7 / 21 Podpod 100% 14 / 14 totaltotal 59.4% 41 / 69 CC 1 SCAR 5.1
CC
1
Cov
59%
amount
2.0
amount_type
2.0
custom_mandate_url
2.0
CRAP 1.7
« Stripe/Fraud/Review.pm ↑ Summary Stripe/Order/SKU.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Mandate/Options.pm
3 ## Version v0.1.0
4 ## Copyright(c) 2022 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2022/08/11
7 ## Modified 2022/08/11
8 ## All rights reserved.
9 ##
10 ##
11 ## This program is free software; you can redistribute it and/or modify it
12 ## under the same terms as Perl itself.
13 ##----------------------------------------------------------------------------
14 package Net::API::Stripe::Mandate::Options;
15 BEGIN
16 1 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 our $VERSION = 'v0.1.0';
22 };
23  
24 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 0 ▶sub amount { return( shift->_set_get_number( 'amount', @_ ) ); }
Subroutine amount: not called CC=1 SCAR=6.9
Pod documented
28  
29 0 ▶sub amount_type { return( shift->_set_get_scalar( 'amount_type', @_ ) ); }
Subroutine amount_type: not called CC=1 SCAR=6.9
Pod documented
30  
31 # checkout_session
32 0 ▶sub custom_mandate_url { return( shift->_set_get_uri( 'custom_mandate_url', @_ ) ); }
Subroutine custom_mandate_url: not called CC=1 SCAR=6.9
Pod documented
33  
34 # checkout_session
35 0 ▶sub default_for { return( shift->_set_get_array_as_object( 'default_for', @_ ) ); }
Subroutine default_for: not called CC=1 SCAR=6.9
Pod documented
36  
37 0 ▶sub description { return( shift->_set_get_scalar( 'description', @_ ) ); }
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
38  
39 0 ▶sub end_date { return( shift->_set_get_datetime( 'end_date', @_ ) ); }
Subroutine end_date: not called CC=1 SCAR=6.9
Pod documented
40  
41 0 ▶sub interval { return( shift->_set_get_scalar( 'interval', @_ ) ); }
Subroutine interval: not called CC=1 SCAR=6.9
Pod documented
42  
43 0 ▶sub interval_count { return( shift->_set_get_number( 'amount', @_ ) ); }
Subroutine interval_count: not called CC=1 SCAR=6.9
Pod documented
44  
45 0 ▶sub interval_description { return( shift->_set_get_scalar( 'interval_description', @_ ) ); }
Subroutine interval_description: not called CC=1 SCAR=6.9
Pod documented
46  
47 # checkout_session
48 0 ▶sub payment_schedule { return( shift->_set_get_scalar( 'payment_schedule', @_ ) ); }
Subroutine payment_schedule: not called CC=1 SCAR=6.9
Pod documented
49  
50 0 ▶sub reference { return( shift->_set_get_scalar( 'reference', @_ ) ); }
Subroutine reference: not called CC=1 SCAR=6.9
Pod documented
51  
52 0 ▶sub start_date { return( shift->_set_get_datetime( 'start_date', @_ ) ); }
Subroutine start_date: not called CC=1 SCAR=6.9
Pod documented
53  
54 0 ▶sub transaction_type { return( shift->_set_get_scalar( 'transaction_type', @_ ) ); }
Subroutine transaction_type: not called CC=1 SCAR=6.9
Pod documented
55  
56 0 ▶sub supported_types { return( shift->_set_get_array_object( 'supported_types', @_ ) ); }
Subroutine supported_types: not called CC=1 SCAR=6.9
Pod documented
57  
58 1 1;
59 # NOTE: POD
60 __END__
« Stripe/Fraud/Review.pm ↑ Summary Stripe/Order/SKU.pm »