Stripe/Payment/Intent/NextAction.pm

filter: Statementstmt 57.1% 20 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 31.8% 7 / 22 Podpod 86.6% 13 / 15 totaltotal 55.5% 40 / 72 CC 1 SCAR 5.2
CC
1
Cov
57%
alipay_handle_redirect
2.0
boleto_display_details
2.0
card_await_notification
2.0
CRAP 1.7
« Stripe/Payment/Method.pm ↑ Summary Stripe/List/Item.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Payment/Intent/NextAction.pm
3 ## Version v0.101.0
4 ## Copyright(c) 2020 DEGUEST Pte. Ltd.
5 ## Author: Jacques Deguest <jack@deguest.jp>
6 ## Created 2019/11/02
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::Intent::NextAction;
14 BEGIN
15 2 ▶{
Subroutine BEGIN: called CC=1 SCAR=0.0
16 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 2 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
19 2 ▶ use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
20 2 our( $VERSION ) = 'v0.101.0';
21 };
22  
23 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
25  
26 0 ▶sub alipay_handle_redirect { return( shift->_set_get_class( 'alipay_handle_redirect', {
Subroutine alipay_handle_redirect: not called CC=1 SCAR=6.9
Pod undocumented
27 native_data => { type => "scalar" },
28 native_url => { type => "scalar" },
29 return_url => { type => "scalar" },
30 url => { type => "scalar" },
31 }, @_ ) ); }
32  
33 0 ▶sub boleto_display_details { return( shift->_set_get_class( 'boleto_display_details',
Subroutine boleto_display_details: not called CC=1 SCAR=6.9
Pod documented
34 {
35 expires_at => { type => "datetime" },
36 hosted_voucher_url => { type => "scalar" },
37 number => { type => "scalar" },
38 pdf => { type => "scalar" },
39 }, @_ ) ); }
40  
41 0 ▶sub card_await_notification { return( shift->_set_get_class( 'card_await_notification',
Subroutine card_await_notification: not called CC=1 SCAR=6.9
Pod documented
42 {
43 charge_attempt_at => { type => "datetime" },
44 customer_approval_required => { type => "boolean" },
45 }, @_ ) ); }
46  
47 0 ▶sub display_bank_transfer_instructions { return( shift->_set_get_class( 'display_bank_transfer_instructions',
Subroutine display_bank_transfer_instructions: not called CC=1 SCAR=6.9
Pod documented
48 {
49 amount_remaining => { type => "number" },
50 currency => { type => "number" },
51 financial_addresses => {
52 definition => {
53 iban => {
54 definition => {
55 account_holder_name => { type => "scalar" },
56 bic => { type => "scalar" },
57 country => { type => "scalar" },
58 iban => { type => "scalar" },
59 },
60 type => "class",
61 },
62 sort_code => {
63 definition => {
64 account_holder_name => { type => "scalar" },
65 account_number => { type => "scalar" },
66 sort_code => { type => "scalar" },
67 },
68 type => "class",
69 },
70 spei => {
71 definition => {
72 bank_code => { type => "scalar" },
73 bank_name => { type => "scalar" },
74 clabe => { type => "scalar" },
75 },
76 type => "class",
77 },
78 supported_networks => { type => "array" },
79 type => { type => "scalar" },
80 zengin => {
81 definition => {
82 account_holder_name => { type => "scalar" },
83 account_number => { type => "scalar" },
84 account_type => { type => "scalar" },
85 bank_code => { type => "scalar" },
86 bank_name => { type => "scalar" },
87 branch_code => { type => "scalar" },
88 branch_name => { type => "scalar" },
89 },
90 type => "class",
91 },
92 },
93 type => "class_array",
94 },
95 hosted_instructions_url => { type => "scalar" },
96 reference => { type => "scalar" },
97 type => { type => "scalar" },
98 }, @_ ) ); }
99  
100 0 ▶sub konbini_display_details { return( shift->_set_get_class( 'konbini_display_details',
Subroutine konbini_display_details: not called CC=1 SCAR=6.9
Pod documented
101 {
102 expires_at => { type => "datetime" },
103 hosted_voucher_url => { type => "scalar" },
104 stores => {
105 definition => {
106 familymart => {
107 definition => {
108 confirmation_number => { type => "scalar" },
109 payment_code => { type => "scalar" },
110 },
111 type => "class",
112 },
113 lawson => {
114 definition => {
115 confirmation_number => { type => "scalar" },
116 payment_code => { type => "scalar" },
117 },
118 type => "class",
119 },
120 ministop => {
121 definition => {
122 confirmation_number => { type => "scalar" },
123 payment_code => { type => "scalar" },
124 },
125 type => "class",
126 },
127 seicomart => {
128 definition => {
129 confirmation_number => { type => "scalar" },
130 payment_code => { type => "scalar" },
131 },
132 type => "class",
133 },
134 },
135 type => "class",
136 },
137 }, @_ ) ); }
138  
139 0 ▶sub oxxo_display_details { return( shift->_set_get_class( 'oxxo_display_details', {
Subroutine oxxo_display_details: not called CC=1 SCAR=6.9
Pod undocumented
140 expires_after => { type => "datetime" },
141 hosted_voucher_url => { type => "scalar" },
142 number => { type => "scalar" },
143 }, @_ ) ); }
144  
145 # sub redirect_to_url { return( shift->_set_get_hash( 'redirect_to_url', @_ ) ); }
146  
147 0 ▶sub paynow_display_qr_code { return( shift->_set_get_class( 'paynow_display_qr_code',
Subroutine paynow_display_qr_code: not called CC=1 SCAR=6.9
Pod documented
148 {
149 data => { type => "scalar" },
150 image_url_png => { type => "scalar" },
151 image_url_svg => { type => "scalar" },
152 }, @_ ) ); }
153  
154 0 ▶sub promptpay_display_qr_code { return( shift->_set_get_class( 'promptpay_display_qr_code',
Subroutine promptpay_display_qr_code: not called CC=1 SCAR=6.9
Pod documented
155 {
156 data => { type => "scalar" },
157 hosted_instructions_url => { type => "scalar" },
158 image_url_png => { type => "scalar" },
159 image_url_svg => { type => "scalar" },
160 }, @_ ) ); }
161  
162 sub redirect_to_url
163 0 ▶{
Subroutine redirect_to_url: not called CC=1 SCAR=6.9
Pod documented
164 0 return( shift->_set_get_class( 'redirect_to_url',
165 {
166 return_url => { type => 'uri' },
167 url => { type => 'uri' },
168 }, @_ ) );
169 }
170  
171 0 ▶sub type { return( shift->_set_get_scalar( 'type', @_ ) ); }
Subroutine type: not called CC=1 SCAR=6.9
Pod documented
172  
173 0 ▶sub use_stripe_sdk { return( shift->_set_get_hash( 'use_stripe_sdk', @_ ) ); }
Subroutine use_stripe_sdk: not called CC=1 SCAR=6.9
Pod documented
174  
175 0 ▶sub verify_with_microdeposits { return( shift->_set_get_class( 'verify_with_microdeposits',
Subroutine verify_with_microdeposits: not called CC=1 SCAR=6.9
Pod documented
176 {
177 arrival_date => { type => "datetime" },
178 hosted_verification_url => { type => "scalar" },
179 microdeposit_type => { type => "scalar" },
180 }, @_ ) ); }
181  
182 0 ▶sub wechat_pay_display_qr_code { return( shift->_set_get_class( 'wechat_pay_display_qr_code',
Subroutine wechat_pay_display_qr_code: not called CC=1 SCAR=6.9
Pod documented
183 {
184 data => { type => "scalar" },
185 image_data_url => { type => "scalar" },
186 image_url_png => { type => "scalar" },
187 image_url_svg => { type => "scalar" },
188 }, @_ ) ); }
189  
190 0 ▶sub wechat_pay_redirect_to_android_app { return( shift->_set_get_class( 'wechat_pay_redirect_to_android_app',
Subroutine wechat_pay_redirect_to_android_app: not called CC=1 SCAR=6.9
Pod documented
191 {
192 app_id => { type => "scalar" },
193 nonce_str => { type => "scalar" },
194 package => { type => "scalar" },
195 partner_id => { type => "scalar" },
196 prepay_id => { type => "scalar" },
197 sign => { type => "scalar" },
198 timestamp => { type => "scalar" },
199 }, @_ ) ); }
200  
201 0 ▶sub wechat_pay_redirect_to_ios_app { return( shift->_set_get_class( 'wechat_pay_redirect_to_ios_app',
Subroutine wechat_pay_redirect_to_ios_app: not called CC=1 SCAR=6.9
Pod documented
202 { native_url => { type => "scalar" } }, @_ ) ); }
203  
204 2 1;
205  
206 __END__
« Stripe/Payment/Method.pm ↑ Summary Stripe/List/Item.pm »