Stripe/Treasury/OutboundPayment.pm

filter: Statementstmt 27.5% 8 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 12.5% 3 / 24 Podpod 100% 21 / 21 totaltotal 43.2% 32 / 74 CC 1 SCAR 6.3
CC
1
Cov
28%
id
2.0
object
2.0
amount
2.0
CRAP 1.9
« Stripe/Checkout/Session.pm ↑ Summary Stripe/Charge.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Treasury/OutboundPayment.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::OutboundPayment;
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 cancelable { return( shift->_set_get_boolean( 'cancelable', @_ ) ); }
Subroutine cancelable: not called CC=1 SCAR=6.9
Pod documented
25  
26 0 ▶sub created { return( shift->_set_get_datetime( 'created', @_ ) ); }
Subroutine created: not called CC=1 SCAR=6.9
Pod documented
27  
28 0 ▶sub currency { return( shift->_set_get_number( 'currency', @_ ) ); }
Subroutine currency: not called CC=1 SCAR=6.9
Pod documented
29  
30 0 ▶sub customer { return( shift->_set_get_scalar( 'customer', @_ ) ); }
Subroutine customer: not called CC=1 SCAR=6.9
Pod documented
31  
32 0 ▶sub description { return( shift->_set_get_scalar( 'description', @_ ) ); }
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
33  
34 0 ▶sub destination_payment_method { return( shift->_set_get_scalar( 'destination_payment_method', @_ ) ); }
Subroutine destination_payment_method: not called CC=1 SCAR=6.9
Pod documented
35  
36 0 ▶sub destination_payment_method_details { return( shift->_set_get_class( 'destination_payment_method_details',
Subroutine destination_payment_method_details: not called CC=1 SCAR=6.9
Pod documented
37 {
38 billing_details => { package => "Net::API::Stripe::Billing::Details", type => "object" },
39 financial_account => {
40 package => "Net::API::Stripe::Connect::ExternalAccount::Card",
41 type => "object",
42 },
43 type => { type => "scalar" },
44 us_bank_account => {
45 package => "Net::API::Stripe::Connect::ExternalAccount::Bank",
46 type => "object",
47 },
48 }, @_ ) ); }
49  
50 0 ▶sub end_user_details { return( shift->_set_get_class( 'end_user_details',
Subroutine end_user_details: not called CC=1 SCAR=6.9
Pod documented
51 {
52 ip_address => { type => "scalar" },
53 present => { type => "boolean" },
54 }, @_ ) ); }
55  
56 0 ▶sub expected_arrival_date { return( shift->_set_get_datetime( 'expected_arrival_date', @_ ) ); }
Subroutine expected_arrival_date: not called CC=1 SCAR=6.9
Pod documented
57  
58 0 ▶sub financial_account { return( shift->_set_get_scalar( 'financial_account', @_ ) ); }
Subroutine financial_account: not called CC=1 SCAR=6.9
Pod documented
59  
60 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
61  
62 0 ▶sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); }
Subroutine livemode: not called CC=1 SCAR=6.9
Pod documented
63  
64 0 ▶sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); }
Subroutine metadata: not called CC=1 SCAR=6.9
Pod documented
65  
66 0 ▶sub returned_details { return( shift->_set_get_class( 'returned_details',
Subroutine returned_details: not called CC=1 SCAR=6.9
Pod documented
67 {
68 code => { type => "scalar" },
69 transaction => {
70 package => "Net::API::Stripe::Treasury::Transaction",
71 type => "scalar_or_object",
72 },
73 }, @_ ) ); }
74  
75 0 ▶sub statement_descriptor { return( shift->_set_get_scalar( 'statement_descriptor', @_ ) ); }
Subroutine statement_descriptor: not called CC=1 SCAR=6.9
Pod documented
76  
77 0 ▶sub status { return( shift->_set_get_scalar( 'status', @_ ) ); }
Subroutine status: not called CC=1 SCAR=6.9
Pod documented
78  
79 0 ▶sub status_transitions { return( shift->_set_get_class( 'status_transitions',
Subroutine status_transitions: not called CC=1 SCAR=6.9
Pod documented
80 {
81 canceled_at => { type => "datetime" },
82 failed_at => { type => "datetime" },
83 posted_at => { type => "datetime" },
84 returned_at => { type => "datetime" },
85 }, @_ ) ); }
86  
87 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
88  
89 2 1;
90 # NOTE: POD
91 __END__
« Stripe/Checkout/Session.pm ↑ Summary Stripe/Charge.pm »