Stripe/Treasury/ReceivedCredit.pm

filter: Statementstmt 33.3% 8 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 15.7% 3 / 19 Podpod 100% 16 / 16 totaltotal 45.7% 27 / 59 CC 1 SCAR 6.1
CC
1
Cov
33%
id
2.0
object
2.0
amount
2.0
CRAP 1.8
« Stripe/Treasury/FinancialAccount.pm ↑ Summary Stripe/Treasury/ReceivedDebit.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Treasury/ReceivedCredit.pm
3 ## Version v0.1.0
4 ## Copyright(c) 2022 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2022/10/29
7 ## Modified 2022/10/29
8 ##
9 ##----------------------------------------------------------------------------
10 package Net::API::Stripe::Treasury::ReceivedCredit;
11 BEGIN
12 2 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
13 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 2 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
15 2 our( $VERSION ) = 'v0.1.0';
16 };
17  
18 0 ▶sub id { return( shift->_set_get_scalar( 'id', @_ ) ); }
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
19  
20 0 ▶sub object { return( shift->_set_get_scalar( 'object', @_ ) ); }
Subroutine object: not called CC=1 SCAR=6.9
Pod documented
21  
22 0 ▶sub amount { return( shift->_set_get_number( 'amount', @_ ) ); }
Subroutine amount: not called CC=1 SCAR=6.9
Pod documented
23  
24 0 ▶sub created { return( shift->_set_get_datetime( 'created', @_ ) ); }
Subroutine created: not called CC=1 SCAR=6.9
Pod documented
25  
26 0 ▶sub currency { return( shift->_set_get_number( 'currency', @_ ) ); }
Subroutine currency: not called CC=1 SCAR=6.9
Pod documented
27  
28 0 ▶sub description { return( shift->_set_get_scalar( 'description', @_ ) ); }
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
29  
30 0 ▶sub failure_code { return( shift->_set_get_scalar( 'failure_code', @_ ) ); }
Subroutine failure_code: not called CC=1 SCAR=6.9
Pod documented
31  
32 0 ▶sub financial_account { return( shift->_set_get_scalar( 'financial_account', @_ ) ); }
Subroutine financial_account: not called CC=1 SCAR=6.9
Pod documented
33  
34 0 ▶sub hosted_regulatory_receipt_url { return( shift->_set_get_scalar( 'hosted_regulatory_receipt_url', @_ ) ); }
Subroutine hosted_regulatory_receipt_url: not called CC=1 SCAR=6.9
Pod documented
35  
36 0 ▶sub initiating_payment_method_details { return( shift->_set_get_class( 'initiating_payment_method_details',
Subroutine initiating_payment_method_details: not called CC=1 SCAR=6.9
Pod documented
37 {
38 balance => { type => "scalar" },
39 billing_details => { package => "Net::API::Stripe::Billing::Details", type => "object" },
40 financial_account => {
41 package => "Net::API::Stripe::Connect::ExternalAccount::Card",
42 type => "object",
43 },
44 issuing_card => { type => "scalar" },
45 type => { type => "scalar" },
46 us_bank_account => {
47 package => "Net::API::Stripe::Connect::ExternalAccount::Bank",
48 type => "object",
49 },
50 }, @_ ) ); }
51  
52 0 ▶sub linked_flows { return( shift->_set_get_class( 'linked_flows',
Subroutine linked_flows: not called CC=1 SCAR=6.9
Pod documented
53 {
54 credit_reversal => { type => "scalar" },
55 issuing_authorization => { type => "scalar" },
56 issuing_transaction => { type => "scalar" },
57 source_flow => { type => "scalar" },
58 source_flow_details => {
59 definition => {
60 credit_reversal => {
61 package => "Net::API::Stripe::Treasury::CreditReversal",
62 type => "object",
63 },
64 outbound_payment => {
65 package => "Net::API::Stripe::Treasury::OutboundPayment",
66 type => "object",
67 },
68 payout => { type => "hash" },
69 type => { type => "scalar" },
70 },
71 type => "class",
72 },
73 source_flow_type => { type => "scalar" },
74 }, @_ ) ); }
75  
76 0 ▶sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); }
Subroutine livemode: not called CC=1 SCAR=6.9
Pod documented
77  
78 0 ▶sub network { return( shift->_set_get_scalar( 'network', @_ ) ); }
Subroutine network: not called CC=1 SCAR=6.9
Pod documented
79  
80 0 ▶sub reversal_details { return( shift->_set_get_class( 'reversal_details',
Subroutine reversal_details: not called CC=1 SCAR=6.9
Pod documented
81 {
82 deadline => { type => "datetime" },
83 restricted_reason => { type => "scalar" },
84 }, @_ ) ); }
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 transaction { return( shift->_set_get_scalar_or_object( 'transaction', 'Net::API::Stripe::Treasury::Transaction', @_ ) ); }
Subroutine transaction: not called CC=1 SCAR=6.9
Pod documented
89  
90 2 1;
91 # NOTE: POD
92 __END__
« Stripe/Treasury/FinancialAccount.pm ↑ Summary Stripe/Treasury/ReceivedDebit.pm »