Stripe/Treasury/TransactionEntry.pm

filter: Statementstmt 38.1% 8 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 18.7% 3 / 16 Podpod 100% 13 / 13 totaltotal 48.0% 24 / 50 CC 1 SCAR 5.9
CC
1
Cov
38%
id
2.0
object
2.0
balance_impact
2.0
CRAP 1.8
« Stripe/Treasury/CreditReversal.pm ↑ Summary Stripe/Issuing/Authorization.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Treasury/TransactionEntry.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::TransactionEntry;
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 balance_impact { return( shift->_set_get_class( 'balance_impact',
Subroutine balance_impact: not called CC=1 SCAR=6.9
Pod documented
23 {
24 cash => { type => "number" },
25 inbound_pending => { type => "number" },
26 outbound_pending => { type => "number" },
27 }, @_ ) ); }
28  
29 0 ▶sub created { return( shift->_set_get_datetime( 'created', @_ ) ); }
Subroutine created: not called CC=1 SCAR=6.9
Pod documented
30  
31 0 ▶sub currency { return( shift->_set_get_number( 'currency', @_ ) ); }
Subroutine currency: not called CC=1 SCAR=6.9
Pod documented
32  
33 0 ▶sub effective_at { return( shift->_set_get_datetime( 'effective_at', @_ ) ); }
Subroutine effective_at: not called CC=1 SCAR=6.9
Pod documented
34  
35 0 ▶sub financial_account { return( shift->_set_get_scalar( 'financial_account', @_ ) ); }
Subroutine financial_account: not called CC=1 SCAR=6.9
Pod documented
36  
37 0 ▶sub flow { return( shift->_set_get_scalar( 'flow', @_ ) ); }
Subroutine flow: not called CC=1 SCAR=6.9
Pod documented
38  
39 0 ▶sub flow_details { return( shift->_set_get_class( 'flow_details',
Subroutine flow_details: not called CC=1 SCAR=6.9
Pod documented
40 {
41 credit_reversal => {
42 package => "Net::API::Stripe::Treasury::CreditReversal",
43 type => "object",
44 },
45 debit_reversal => {
46 package => "Net::API::Stripe::Treasury::DebitReversal",
47 type => "object",
48 },
49 inbound_transfer => {
50 package => "Net::API::Stripe::Treasury::InboundTransfer",
51 type => "object",
52 },
53 issuing_authorization => { type => "hash" },
54 outbound_payment => {
55 package => "Net::API::Stripe::Treasury::OutboundPayment",
56 type => "object",
57 },
58 outbound_transfer => {
59 package => "Net::API::Stripe::Treasury::OutboundTransfer",
60 type => "object",
61 },
62 received_credit => {
63 package => "Net::API::Stripe::Treasury::ReceivedCredit",
64 type => "object",
65 },
66 received_debit => {
67 package => "Net::API::Stripe::Treasury::ReceivedDebit",
68 type => "object",
69 },
70 type => { type => "scalar" },
71 }, @_ ) ); }
72  
73 0 ▶sub flow_type { return( shift->_set_get_scalar( 'flow_type', @_ ) ); }
Subroutine flow_type: not called CC=1 SCAR=6.9
Pod documented
74  
75 0 ▶sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); }
Subroutine livemode: not called CC=1 SCAR=6.9
Pod documented
76  
77 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
78  
79 0 ▶sub type { return( shift->_set_get_scalar( 'type', @_ ) ); }
Subroutine type: not called CC=1 SCAR=6.9
Pod documented
80  
81 2 1;
82 # NOTE: POD
83 __END__
« Stripe/Treasury/CreditReversal.pm ↑ Summary Stripe/Issuing/Authorization.pm »