Stripe/Issuing/Card/Holder.pm

filter: Statementstmt 54.0% 20 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 29.1% 7 / 24 Podpod 100% 17 / 17 totaltotal 56.4% 44 / 78 CC 1 SCAR 5.4
CC
1
Cov
54%
id
2.0
object
2.0
authorization_controls
2.0
CRAP 1.7
« Stripe/Dispute.pm ↑ Summary Stripe/Product/Coupon.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Issuing/Card/Holder.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 ## https://stripe.com/docs/api/issuing/cardholders/object
11 package Net::API::Stripe::Issuing::Card::Holder;
12 BEGIN
13 2 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
14 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 2 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 2 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
17 2 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 our( $VERSION ) = 'v0.200.0';
19 };
20  
21 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
23  
24 0 ▶sub id { return( shift->_set_get_scalar( 'id', @_ ) ); }
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
25  
26 0 ▶sub object { return( shift->_set_get_scalar( 'object', @_ ) ); }
Subroutine object: not called CC=1 SCAR=6.9
Pod documented
27  
28 0 ▶sub authorization_controls { return( shift->_set_get_object( 'authorization_controls', 'Net::API::Stripe::Issuing::Card::AuthorizationsControl', @_ ) ); }
Subroutine authorization_controls: not called CC=1 SCAR=6.9
Pod documented
29  
30 0 ▶sub billing { return( shift->_set_get_object( 'billing', 'Net::API::Stripe::Billing::Details', @_ ) ); }
Subroutine billing: not called CC=1 SCAR=6.9
Pod documented
31  
32 0 ▶sub company { return( shift->_set_get_object( 'company', 'Net::API::Stripe::Connect::Account::Company', @_ ) ); }
Subroutine company: not called CC=1 SCAR=6.9
Pod documented
33  
34 0 ▶sub created { return( shift->_set_get_datetime( 'created', @_ ) ); }
Subroutine created: not called CC=1 SCAR=6.9
Pod documented
35  
36 0 ▶sub email { return( shift->_set_get_scalar( 'email', @_ ) ); }
Subroutine email: not called CC=1 SCAR=6.9
Pod documented
37  
38 0 ▶sub individual { return( shift->_set_get_object( 'individual', 'Net::API::Stripe::Connect::Person', @_ ) ); }
Subroutine individual: not called CC=1 SCAR=6.9
Pod documented
39  
40 0 ▶sub is_default { return( shift->_set_get_boolean( 'is_default', @_ ) ); }
Subroutine is_default: not called CC=1 SCAR=6.9
Pod documented
41  
42 0 ▶sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); }
Subroutine livemode: not called CC=1 SCAR=6.9
Pod documented
43  
44 0 ▶sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); }
Subroutine metadata: not called CC=1 SCAR=6.9
Pod documented
45  
46 0 ▶sub name { return( shift->_set_get_scalar( 'name', @_ ) ); }
Subroutine name: not called CC=1 SCAR=6.9
Pod documented
47  
48 0 ▶sub phone_number { return( shift->_set_get_scalar( 'phone_number', @_ ) ); }
Subroutine phone_number: not called CC=1 SCAR=6.9
Pod documented
49  
50 0 ▶sub requirements { return( shift->_set_get_object( 'requirements', 'Net::API::Stripe::Connect::Account::Requirements', @_ ) ); }
Subroutine requirements: not called CC=1 SCAR=6.9
Pod documented
51  
52 sub spending_controls
53 0 ▶{
Subroutine spending_controls: not called CC=1 SCAR=6.9
Pod documented
54 0 return( shift->_set_get_class( 'spending_controls',
55 {
56 allowed_categories => { type => 'array' },
57 blocked_categories => { type => 'array' },
58 spending_limits =>
59 {
60 type => 'class', definition =>
61 {
62 amount => { type => 'number' },
63 categories => { type => 'array' },
64 interval => { type => 'scalar' },
65 }
66 },
67 spending_limits_currency => { type => 'scalar' },
68 }, @_ ) );
69 }
70  
71 0 ▶sub status { return( shift->_set_get_scalar( 'status', @_ ) ); }
Subroutine status: not called CC=1 SCAR=6.9
Pod documented
72  
73 0 ▶sub type { return( shift->_set_get_scalar( 'type', @_ ) ); }
Subroutine type: not called CC=1 SCAR=6.9
Pod documented
74  
75 2 1;
76  
77 __END__
« Stripe/Dispute.pm ↑ Summary Stripe/Product/Coupon.pm »