Stripe/Issuing/Authorization.pm

filter: Statementstmt 40.0% 20 / 50 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 18.9% 7 / 37 Podpod 100% 30 / 30 totaltotal 48.7% 57 / 117 CC 1 SCAR 5.9
CC
1
Cov
40%
id
2.0
object
2.0
amount
2.0
CRAP 1.8
« Stripe/Treasury/TransactionEntry.pm ↑ Summary Stripe/Billing/Subscription/Schedule.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/usr/local/src/perl/Net-API-Stripe/lib/Net/API/Stripe/Issuing/Authorization.pm
3 ## Version v0.101.0
4 ## Copyright(c) 2020 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2019/11/02
7 ## Modified 2020/11/16
8 ## All rights reserved
9 ##
10 ## This program is free software; you can redistribute it and/or modify it
11 ## under the same terms as Perl itself.
12 ##----------------------------------------------------------------------------
13 ## https://stripe.com/docs/api/issuing/authorizations/object
14 package Net::API::Stripe::Issuing::Authorization;
15 BEGIN
16 2 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
17 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 2 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
20 2 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
21 2 our( $VERSION ) = 'v0.101.0';
22 };
23  
24 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 0 ▶sub id { return( shift->_set_get_scalar( 'id', @_ ) ); }
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
28  
29 0 ▶sub object { return( shift->_set_get_scalar( 'object', @_ ) ); }
Subroutine object: not called CC=1 SCAR=6.9
Pod documented
30  
31 0 ▶sub amount { return( shift->_set_get_number( 'amount', @_ ) ); }
Subroutine amount: not called CC=1 SCAR=6.9
Pod documented
32  
33 0 ▶sub amount_details { return( shift->_set_get_class( 'amount_details',
Subroutine amount_details: not called CC=1 SCAR=6.9
Pod documented
34 { atm_fee => { type => "number" } }, @_ ) ); }
35  
36 0 ▶sub approved { return( shift->_set_get_boolean( 'approved', @_ ) ); }
Subroutine approved: not called CC=1 SCAR=6.9
Pod documented
37  
38 0 ▶sub authorization_method { return( shift->_set_get_scalar( 'authorization_method', @_ ) ); }
Subroutine authorization_method: not called CC=1 SCAR=6.9
Pod documented
39  
40 0 ▶sub authorized_amount { return( shift->_set_get_number( 'authorized_amount', @_ ) ); }
Subroutine authorized_amount: not called CC=1 SCAR=6.9
Pod documented
41  
42 0 ▶sub authorized_currency { return( shift->_set_get_scalar( 'authorized_currency', @_ ) ); }
Subroutine authorized_currency: not called CC=1 SCAR=6.9
Pod documented
43  
44 0 ▶sub balance_transactions { return( shift->_set_get_object_array( 'balance_transactions', 'Net::API::Stripe::Balance::Transaction', @_ ) ); }
Subroutine balance_transactions: not called CC=1 SCAR=6.9
Pod documented
45  
46 0 ▶sub card { return( shift->_set_get_object( 'card', 'Net::API::Stripe::Issuing::Card', @_ ) ); }
Subroutine card: not called CC=1 SCAR=6.9
Pod documented
47  
48 0 ▶sub cardholder { return( shift->_set_get_scalar_or_object( 'cardholder', 'Net::API::Stripe::Issuing::Card::Holder', @_ ) ); }
Subroutine cardholder: not called CC=1 SCAR=6.9
Pod documented
49  
50 0 ▶sub created { return( shift->_set_get_datetime( 'created', @_ ) ); }
Subroutine created: not called CC=1 SCAR=6.9
Pod documented
51  
52 0 ▶sub currency { return( shift->_set_get_number( 'currency', @_ ) ); }
Subroutine currency: not called CC=1 SCAR=6.9
Pod documented
53  
54 0 ▶sub held_amount { return( shift->_set_get_number( 'held_amount', @_ ) ); }
Subroutine held_amount: not called CC=1 SCAR=6.9
Pod documented
55  
56 0 ▶sub held_currency { return( shift->_set_get_number( 'held_currency', @_ ) ); }
Subroutine held_currency: not called CC=1 SCAR=6.9
Pod documented
57  
58 0 ▶sub is_held_amount_controllable { return( shift->_set_get_boolean( 'is_held_amount_controllable', @_ ) ); }
Subroutine is_held_amount_controllable: not called CC=1 SCAR=6.9
Pod documented
59  
60 0 ▶sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); }
Subroutine livemode: not called CC=1 SCAR=6.9
Pod documented
61  
62 0 ▶sub merchant_amount { return( shift->_set_get_number( 'merchant_amount', @_ ) ); }
Subroutine merchant_amount: not called CC=1 SCAR=6.9
Pod documented
63  
64 0 ▶sub merchant_currency { return( shift->_set_get_number( 'merchant_currency', @_ ) ); }
Subroutine merchant_currency: not called CC=1 SCAR=6.9
Pod documented
65  
66 0 ▶sub merchant_data { return( shift->_set_get_object( 'merchant_data', 'Net::API::Stripe::Issuing::MerchantData', @_ ) ); }
Subroutine merchant_data: not called CC=1 SCAR=6.9
Pod documented
67  
68 0 ▶sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); }
Subroutine metadata: not called CC=1 SCAR=6.9
Pod documented
69  
70 0 ▶sub pending_authorized_amount { return( shift->_set_get_number( 'pending_authorized_amount', @_ ) ); }
Subroutine pending_authorized_amount: not called CC=1 SCAR=6.9
Pod documented
71  
72 0 ▶sub pending_held_amount { return( shift->_set_get_number( 'pending_held_amount', @_ ) ); }
Subroutine pending_held_amount: not called CC=1 SCAR=6.9
Pod documented
73  
74 0 ▶sub pending_request { return( shift->_set_get_class( 'pending_request',
Subroutine pending_request: not called CC=1 SCAR=6.9
Pod documented
75 {
76 amount => { type => "number" },
77 amount_details => { definition => { atm_fee => { type => "number" } }, type => "class" },
78 currency => { type => "number" },
79 is_amount_controllable => { type => "boolean" },
80 merchant_amount => { type => "number" },
81 merchant_currency => { type => "number" },
82 }, @_ ) ); }
83  
84 0 ▶sub request_history { return( shift->_set_get_object_array( 'request_history', 'Net::API::Stripe::Issuing::Authorization::RequestHistory', @_ ) ); }
Subroutine request_history: not called CC=1 SCAR=6.9
Pod documented
85  
86 0 ▶sub status { return( shift->_set_get_scalar( 'status', @_ ) ); }
Subroutine status: not called CC=1 SCAR=6.9
Pod documented
87  
88 0 ▶sub transactions { return( shift->_set_get_object_array( 'transactions', 'Net::API::Stripe::Issuing::Authorization::Transaction', @_ ) ); }
Subroutine transactions: not called CC=1 SCAR=6.9
Pod documented
89  
90 0 ▶sub verification_data { return( shift->_set_get_object( 'verification_data', 'Net::API::Stripe::Issuing::Authorization::VerificationData', @_ ) ); }
Subroutine verification_data: not called CC=1 SCAR=6.9
Pod documented
91  
92 0 ▶sub wallet { return( shift->_set_get_scalar( 'wallet', @_ ) ); }
Subroutine wallet: not called CC=1 SCAR=6.9
Pod documented
93  
94 0 ▶sub wallet_provider { return( shift->_set_get_scalar( 'wallet_provider', @_ ) ); }
Subroutine wallet_provider: not called CC=1 SCAR=6.9
Pod documented
95  
96 2 1;
97  
98 __END__
« Stripe/Treasury/TransactionEntry.pm ↑ Summary Stripe/Billing/Subscription/Schedule.pm »