line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Payment/Method/Details.pm |
3
|
|
|
|
|
|
|
## Version v1.0.0 |
4
|
|
|
|
|
|
|
## Copyright(c) 2022 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
|
|
|
|
|
|
|
## |
11
|
|
|
|
|
|
|
## This program is free software; you can redistribute it and/or modify it |
12
|
|
|
|
|
|
|
## under the same terms as Perl itself. |
13
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
14
|
|
|
|
|
|
|
package Net::API::Stripe::Payment::Method::Details; |
15
|
|
|
|
|
|
|
BEGIN |
16
|
|
|
|
|
|
|
{ |
17
|
2
|
|
|
2
|
|
21343544
|
use strict; |
|
2
|
|
|
|
|
16
|
|
|
2
|
|
|
|
|
64
|
|
18
|
2
|
|
|
2
|
|
21
|
use warnings; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
63
|
|
19
|
2
|
|
|
2
|
|
13
|
use parent qw( Net::API::Stripe::Payment::Method::Options ); |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
10
|
|
20
|
2
|
|
|
2
|
|
144
|
use vars qw( $VERSION ); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
97
|
|
21
|
2
|
|
|
2
|
|
44
|
our $VERSION = 'v1.0.0'; |
22
|
|
|
|
|
|
|
}; |
23
|
|
|
|
|
|
|
|
24
|
2
|
|
|
2
|
|
21
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
47
|
|
25
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
846
|
|
26
|
|
|
|
|
|
|
|
27
|
0
|
|
|
0
|
1
|
|
sub acss_debit { return( shift->_set_get_class( 'acss_debit', |
28
|
|
|
|
|
|
|
{ |
29
|
|
|
|
|
|
|
bank_name => { type => "scalar" }, |
30
|
|
|
|
|
|
|
fingerprint => { type => "scalar" }, |
31
|
|
|
|
|
|
|
institution_number => { type => "scalar" }, |
32
|
|
|
|
|
|
|
last4 => { type => "scalar" }, |
33
|
|
|
|
|
|
|
mandate => { type => "scalar" }, |
34
|
|
|
|
|
|
|
transit_number => { type => "scalar" }, |
35
|
|
|
|
|
|
|
}, @_ ) ); } |
36
|
|
|
|
|
|
|
|
37
|
0
|
|
|
0
|
1
|
|
sub alipay { return( shift->_set_get_class( 'alipay', |
38
|
|
|
|
|
|
|
{ |
39
|
|
|
|
|
|
|
buyer_id => { type => "scalar" }, |
40
|
|
|
|
|
|
|
fingerprint => { type => "scalar" }, |
41
|
|
|
|
|
|
|
transaction_id => { type => "scalar" }, |
42
|
|
|
|
|
|
|
}, @_ ) ); } |
43
|
|
|
|
|
|
|
|
44
|
0
|
|
|
0
|
1
|
|
sub au_becs_debit { return( shift->_set_get_object( 'au_becs_debit', 'Net::API::Stripe::Billing::PortalSession', @_ ) ); } |
45
|
|
|
|
|
|
|
|
46
|
0
|
|
|
0
|
1
|
|
sub blik { return( shift->_set_get_class( 'blik', |
47
|
|
|
|
|
|
|
{ |
48
|
|
|
|
|
|
|
expires_after => { type => "datetime" }, |
49
|
|
|
|
|
|
|
off_session => { package => "Net::API::Stripe::Billing::Plan", type => "object" }, |
50
|
|
|
|
|
|
|
type => { type => "scalar" }, |
51
|
|
|
|
|
|
|
}, @_ ) ); } |
52
|
|
|
|
|
|
|
|
53
|
0
|
|
|
0
|
1
|
|
sub boleto { return( shift->_set_get_object( 'boleto', 'Net::API::Stripe::Customer::TaxInfo', @_ ) ); } |
54
|
|
|
|
|
|
|
|
55
|
0
|
|
|
0
|
1
|
|
sub klarna { return( shift->_set_get_class( 'klarna', |
56
|
|
|
|
|
|
|
{ |
57
|
|
|
|
|
|
|
payment_method_category => { type => "scalar" }, |
58
|
|
|
|
|
|
|
preferred_locale => { type => "scalar" }, |
59
|
|
|
|
|
|
|
}, @_ ) ); } |
60
|
|
|
|
|
|
|
|
61
|
0
|
|
|
0
|
1
|
|
sub konbini { return( shift->_set_get_class( 'konbini', |
62
|
|
|
|
|
|
|
{ |
63
|
|
|
|
|
|
|
store => { definition => { chain => { type => "scalar" } }, type => "class" }, |
64
|
|
|
|
|
|
|
}, @_ ) ); } |
65
|
|
|
|
|
|
|
|
66
|
0
|
|
|
0
|
1
|
|
sub link { return( CORE::shift->_set_get_hash( 'link', @_ ) ); } |
67
|
|
|
|
|
|
|
|
68
|
0
|
|
|
0
|
1
|
|
sub paynow { return( CORE::shift->_set_get_object( 'paynow', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); } |
69
|
|
|
|
|
|
|
|
70
|
0
|
|
|
0
|
1
|
|
sub promptpay { return( CORE::shift->_set_get_object( 'promptpay', 'Net::API::Stripe::Connect::ExternalAccount::Card', @_ ) ); } |
71
|
|
|
|
|
|
|
|
72
|
0
|
|
|
0
|
1
|
|
sub us_bank_account { return( shift->_set_get_object( 'us_bank_account', 'Net::API::Stripe::Connect::ExternalAccount::Bank', @_ ) ); } |
73
|
|
|
|
|
|
|
|
74
|
0
|
|
|
0
|
1
|
|
sub wechat_pay { return( CORE::shift->_set_get_class( 'wechat_pay', |
75
|
|
|
|
|
|
|
{ |
76
|
|
|
|
|
|
|
fingerprint => { type => "scalar" }, |
77
|
|
|
|
|
|
|
transaction_id => { type => "scalar" }, |
78
|
|
|
|
|
|
|
}, @_ ) ); } |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
1; |
81
|
|
|
|
|
|
|
# NOTE: POD |
82
|
|
|
|
|
|
|
__END__ |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=encoding utf-8 |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head1 NAME |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Net::API::Stripe::Payment::Method::Details - Stripe API |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head1 SYNOPSIS |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
use Net::API::Stripe::Payment::Method::Details; |
93
|
|
|
|
|
|
|
my $this = Net::API::Stripe::Payment::Method::Details->new || |
94
|
|
|
|
|
|
|
die( Net::API::Stripe::Payment::Method::Details->error, "\n" ); |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head1 VERSION |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
v1.0.0 |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head1 DESCRIPTION |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
This package is called in Stripe api, but is really an alias for L<Net::API::Stripe::Payment::Method::Options> and inherits everything from it. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head1 AUTHOR |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head1 SEE ALSO |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
L<perl> |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Copyright(c) 2022 DEGUEST Pte. Ltd. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
All rights reserved. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=cut |