Stripe/Payment/Method/Options.pm

filter: Statementstmt 41.5% 22 / 53 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 18.4% 7 / 38 Podpod 100% 31 / 31 totaltotal 49.1% 60 / 122 CC 1 SCAR 6.0
CC
1
Cov
42%
ach_credit_transfer
2.0
ach_debit
2.0
acss_debit
2.0
CRAP 1.8
« Stripe/Treasury/DebitReversal.pm ↑ Summary Stripe/Treasury/CreditReversal.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Payment/Method/Details.pm
3 ## Version v0.103.0
4 ## Copyright(c) 2020 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2022/08/11
7 ## Modified 2022/10/29
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 package Net::API::Stripe::Payment::Method::Options;
14 BEGIN
15 3 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
16 3 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 3 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 3 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
19 3 ▶ use vars qw( $VERSION @EXPORT_OK %EXPORT_TAGS );
Subroutine BEGIN: called CC=1 SCAR=0.0
20 3 our @EXPORT_OK = qw(
21 ach_credit_transfer ach_debit acss_debit affirm afterpay_clearpay alipay au_becs_debit
22 bacs_debit bancontact blik boleto card card_present customer_balance eps fpx
23 giropay grabpay ideal interac_present klarna konbini multibanco oxxo p24 sepa_debit
24 sofort stripe_account us_bank_account wechat
25 );
26 3 our %EXPORT_TAGS = ( all => \@EXPORT_OK );
27 3 our( $VERSION ) = 'v0.103.0';
28 };
29  
30 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
31 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
32  
33 0 ▶sub ach_credit_transfer { return( shift->_set_get_object( 'ach_credit_transfer', 'Net::API::Stripe::Payment::Source::ACHCreditTransfer', @_ ) ); }
Subroutine ach_credit_transfer: not called CC=1 SCAR=6.9
Pod documented
34  
35 0 ▶sub ach_debit { return( shift->_set_get_object( 'ach_debit', 'Net::API::Stripe::Payment::Source::ACHDebit', @_ ) ); }
Subroutine ach_debit: not called CC=1 SCAR=6.9
Pod documented
36  
37 0 ▶sub acss_debit { return( shift->_set_get_object( 'acss_debit', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine acss_debit: not called CC=1 SCAR=6.9
Pod documented
38  
39 0 ▶sub affirm { return( shift->_set_get_class( 'affirm',
Subroutine affirm: not called CC=1 SCAR=6.9
Pod documented
40 {
41 capture_method => { type => 'string' },
42 setup_future_usage => { type => 'string' },
43 }, @_ ) ); }
44  
45 0 ▶sub afterpay_clearpay { return( shift->_set_get_class( 'afterpay_clearpay',
Subroutine afterpay_clearpay: not called CC=1 SCAR=6.9
Pod documented
46 {
47 capture_method => { type => 'string' },
48 reference => { type => 'string' },
49 setup_future_usage => { type => 'string' },
50 }, @_ ) ); }
51  
52 0 ▶sub alipay { return( shift->_set_get_class( 'alipay',
Subroutine alipay: not called CC=1 SCAR=6.9
Pod documented
53 {
54 fingerprint => { type => "scalar" },
55 setup_future_usage => { type => "scalar" },
56 transaction_id => { type => "scalar" },
57 }, @_ ) ); }
58  
59 0 ▶sub au_becs_debit { return( shift->_set_get_class( 'au_becs_debit',
Subroutine au_becs_debit: not called CC=1 SCAR=6.9
Pod documented
60 {
61 bsb_number => { type => "scalar" },
62 fingerprint => { type => "scalar" },
63 last4 => { type => "scalar" },
64 mandate => { type => "scalar" },
65 setup_future_usage => { type => "scalar" },
66 }, @_ ) ); }
67  
68 0 ▶sub bacs_debit { return( shift->_set_get_class( 'bacs_debit',
Subroutine bacs_debit: not called CC=1 SCAR=6.9
Pod documented
69 {
70 fingerprint => { type => "scalar" },
71 last4 => { type => "scalar" },
72 mandate => { type => "scalar" },
73 network_status => { type => "scalar" },
74 reference => { type => "scalar" },
75 setup_future_usage => { type => "scalar" },
76 sort_code => { type => "scalar" },
77 url => { type => "uri" },
78 }, @_ ) ); }
79  
80 0 ▶sub bancontact { return( shift->_set_get_class( 'bancontact',
Subroutine bancontact: not called CC=1 SCAR=6.9
Pod documented
81 {
82 bank_code => { type => "scalar" },
83 bank_name => { type => "scalar" },
84 bic => { type => "scalar" },
85 generated_sepa_debit => {
86 package => "Net::API::Stripe::Payment::Method",
87 type => "scalar_or_object",
88 },
89 generated_sepa_debit_mandate => { package => "Net::API::Stripe::Mandate", type => "scalar_or_object" },
90 iban_last4 => { type => "scalar" },
91 preferred_language => { type => "scalar" },
92 setup_future_usage => { type => "scalar" },
93 verified_name => { type => "scalar" },
94 }, @_ ) ); }
95  
96 0 ▶sub blik { return( shift->_set_get_object( 'blik', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine blik: not called CC=1 SCAR=6.9
Pod documented
97  
98 0 ▶sub boleto { return( shift->_set_get_class( 'boleto',
Subroutine boleto: not called CC=1 SCAR=6.9
Pod documented
99 {
100 expires_after_days => { type => 'integer' },
101 setup_future_usage => { type => "scalar" },
102 }, @_ ) ); }
103  
104 # sub card { return( shift->_set_get_object( 'card', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
105  
106 0 ▶sub card { return( shift->_set_get_object( 'card', 'Net::API::Stripe::Payment::Card', @_ ) ); }
Subroutine card: not called CC=1 SCAR=6.9
Pod documented
107  
108 0 ▶sub card_present { return( shift->_set_get_object( 'card_present', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine card_present: not called CC=1 SCAR=6.9
Pod documented
109  
110 0 ▶sub customer_balance { return( shift->_set_get_class( 'customer_balance',
Subroutine customer_balance: not called CC=1 SCAR=6.9
Pod documented
111 {
112 bank_transfer => {
113 definition => {
114 eu_bank_transfer => { package => "Net::API::Stripe::Address", type => "object" },
115 requested_address_types => { type => "array" },
116 type => { type => "scalar" },
117 },
118 type => "class",
119 },
120 funding_type => { type => "scalar" },
121 setup_future_usage => { type => "scalar" },
122 }, @_ ) ); }
123  
124 0 ▶sub eps { return( shift->_set_get_object( 'eps', 'Net::API::Stripe::Connect::Account::Verification', @_ ) ); }
Subroutine eps: not called CC=1 SCAR=6.9
Pod documented
125  
126 0 ▶sub fpx { return( shift->_set_get_object( 'fpx', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine fpx: not called CC=1 SCAR=6.9
Pod documented
127  
128 0 ▶sub giropay { return( shift->_set_get_object( 'giropay', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine giropay: not called CC=1 SCAR=6.9
Pod documented
129  
130 0 ▶sub grabpay { return( shift->_set_get_object( 'grabpay', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine grabpay: not called CC=1 SCAR=6.9
Pod documented
131  
132 0 ▶sub ideal { return( shift->_set_get_object( 'ideal', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine ideal: not called CC=1 SCAR=6.9
Pod documented
133  
134 0 ▶sub interac_present { return( shift->_set_get_object( 'interac_present', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine interac_present: not called CC=1 SCAR=6.9
Pod documented
135  
136 0 ▶sub klarna { return( shift->_set_get_object( 'klarna', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine klarna: not called CC=1 SCAR=6.9
Pod documented
137  
138 0 ▶sub konbini { return( shift->_set_get_class( 'konbini',
Subroutine konbini: not called CC=1 SCAR=6.9
Pod documented
139 {
140 confirmation_number => { type => "scalar" },
141 expires_after_days => { type => "number" },
142 expires_at => { type => "datetime" },
143 product_description => { type => "scalar" },
144 setup_future_usage => { type => "scalar" },
145 }, @_ ) ); }
146  
147 0 ▶sub multibanco { return( shift->_set_get_class( 'multibanco',
Subroutine multibanco: not called CC=1 SCAR=6.9
Pod documented
148 {
149 entity => { type => "scalar" },
150 reference => { type => "scalar" },
151 }, @_ ) ); }
152  
153 0 ▶sub oxxo { return( shift->_set_get_object( 'oxxo', 'Net::API::Stripe::Issuing::Card', @_ ) ); }
Subroutine oxxo: not called CC=1 SCAR=6.9
Pod documented
154  
155 0 ▶sub p24 { return( shift->_set_get_object( 'p24', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine p24: not called CC=1 SCAR=6.9
Pod documented
156  
157 0 ▶sub sepa_debit { return( shift->_set_get_object( 'sepa_debit', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); }
Subroutine sepa_debit: not called CC=1 SCAR=6.9
Pod documented
158  
159 0 ▶sub sofort { return( shift->_set_get_class( 'sofort',
Subroutine sofort: not called CC=1 SCAR=6.9
Pod documented
160 {
161 preferred_language => { type => "scalar" },
162 setup_future_usage => { type => "scalar" },
163 }, @_ ) ); }
164  
165 0 ▶sub stripe_account { return( shift->_set_get_hash_as_object( 'stripe_account', 'Net::API::Stripe::Payment::Method::Options::StripeAccount', @_ ) ); }
Subroutine stripe_account: not called CC=1 SCAR=6.9
Pod documented
166  
167 0 ▶sub type { return( shift->_set_get_scalar( 'type', @_ ) ); }
Subroutine type: not called CC=1 SCAR=6.9
Pod documented
168  
169 0 ▶sub us_bank_account { return( shift->_set_get_class( 'us_bank_account',
Subroutine us_bank_account: not called CC=1 SCAR=6.9
Pod documented
170 {
171 financial_connections => {
172 definition => { permissions => { type => "array" } },
173 type => "class",
174 },
175 setup_future_usage => { type => "scalar" },
176 verification_method => { type => "scalar" },
177 }, @_ ) ); }
178  
179 0 ▶sub wechat { return( shift->_set_get_hash_as_object( 'wechat', 'Net::API::Stripe::Payment::Method::Options::WeChat', @_ ) ); }
Subroutine wechat: not called CC=1 SCAR=6.9
Pod documented
180  
181 3 1;
182 # NOTE: POD
183 __END__
« Stripe/Treasury/DebitReversal.pm ↑ Summary Stripe/Treasury/CreditReversal.pm »