Stripe/Treasury/FinancialAccount.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
active_features
2.0
CRAP 1.8
« Stripe/Billing/Quote.pm ↑ Summary Stripe/Treasury/ReceivedCredit.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Treasury/FinancialAccount.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::FinancialAccount;
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 active_features { return( shift->_set_get_array( 'active_features', @_ ) ); }
Subroutine active_features: not called CC=1 SCAR=6.9
Pod documented
23  
24 0 ▶sub balance { return( shift->_set_get_class( 'balance',
Subroutine balance: not called CC=1 SCAR=6.9
Pod documented
25 {
26 cash => { type => "hash" },
27 inbound_pending => { type => "hash" },
28 outbound_pending => { type => "hash" },
29 }, @_ ) ); }
30  
31 0 ▶sub country { return( shift->_set_get_scalar( 'country', @_ ) ); }
Subroutine country: not called CC=1 SCAR=6.9
Pod documented
32  
33 0 ▶sub created { return( shift->_set_get_datetime( 'created', @_ ) ); }
Subroutine created: not called CC=1 SCAR=6.9
Pod documented
34  
35 0 ▶sub features { return( shift->_set_get_class( 'features',
Subroutine features: not called CC=1 SCAR=6.9
Pod documented
36 {
37 card_issuing => {
38 package => "Net::API::Stripe::Connect::Account::Capability",
39 type => "object",
40 },
41 deposit_insurance => {
42 package => "Net::API::Stripe::Connect::Account::Capability",
43 type => "object",
44 },
45 financial_addresses => {
46 definition => {
47 aba => {
48 package => "Net::API::Stripe::Connect::Account::Capability",
49 type => "object",
50 },
51 },
52 type => "class",
53 },
54 inbound_transfers => {
55 definition => {
56 ach => {
57 package => "Net::API::Stripe::Connect::Account::Capability",
58 type => "object",
59 },
60 },
61 type => "class",
62 },
63 intra_stripe_flows => {
64 package => "Net::API::Stripe::Connect::Account::Capability",
65 type => "object",
66 },
67 object => { type => "scalar" },
68 outbound_payments => {
69 definition => {
70 ach => {
71 package => "Net::API::Stripe::Connect::Account::Capability",
72 type => "object",
73 },
74 us_domestic_wire => {
75 package => "Net::API::Stripe::Connect::Account::Capability",
76 type => "object",
77 },
78 },
79 type => "class",
80 },
81 outbound_transfers => {
82 definition => {
83 ach => {
84 package => "Net::API::Stripe::Connect::Account::Capability",
85 type => "object",
86 },
87 us_domestic_wire => {
88 package => "Net::API::Stripe::Connect::Account::Capability",
89 type => "object",
90 },
91 },
92 type => "class",
93 },
94 }, @_ ) ); }
95  
96 0 ▶sub financial_addresses { return( shift->_set_get_class_array( 'financial_addresses',
Subroutine financial_addresses: not called CC=1 SCAR=6.9
Pod documented
97 {
98 aba => {
99 package => "Net::API::Stripe::Connect::ExternalAccount::Bank",
100 type => "object",
101 },
102 supported_networks => { type => "array" },
103 type => { type => "scalar" },
104 }, @_ ) ); }
105  
106 0 ▶sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); }
Subroutine livemode: not called CC=1 SCAR=6.9
Pod documented
107  
108 0 ▶sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); }
Subroutine metadata: not called CC=1 SCAR=6.9
Pod documented
109  
110 0 ▶sub pending_features { return( shift->_set_get_array( 'pending_features', @_ ) ); }
Subroutine pending_features: not called CC=1 SCAR=6.9
Pod documented
111  
112 0 ▶sub platform_restrictions { return( shift->_set_get_class( 'platform_restrictions',
Subroutine platform_restrictions: not called CC=1 SCAR=6.9
Pod documented
113 {
114 inbound_flows => { type => "scalar" },
115 outbound_flows => { type => "scalar" },
116 }, @_ ) ); }
117  
118 0 ▶sub restricted_features { return( shift->_set_get_array( 'restricted_features', @_ ) ); }
Subroutine restricted_features: not called CC=1 SCAR=6.9
Pod documented
119  
120 0 ▶sub status { return( shift->_set_get_scalar( 'status', @_ ) ); }
Subroutine status: not called CC=1 SCAR=6.9
Pod documented
121  
122 0 ▶sub status_details { return( shift->_set_get_object( 'status_details', 'Net::API::Stripe::Billing::Invoice', @_ ) ); }
Subroutine status_details: not called CC=1 SCAR=6.9
Pod documented
123  
124 0 ▶sub supported_currencies { return( shift->_set_get_array( 'supported_currencies', @_ ) ); }
Subroutine supported_currencies: not called CC=1 SCAR=6.9
Pod documented
125  
126 2 1;
127 # NOTE: POD
128 __END__
« Stripe/Billing/Quote.pm ↑ Summary Stripe/Treasury/ReceivedCredit.pm »