line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Issuing/FundingInstructions.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::Issuing::FundingInstructions; |
11
|
|
|
|
|
|
|
BEGIN |
12
|
|
|
|
|
|
|
{ |
13
|
2
|
|
|
2
|
|
21368981
|
use strict; |
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
70
|
|
14
|
2
|
|
|
2
|
|
13
|
use parent qw( Net::API::Stripe::Generic ); |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
11
|
|
15
|
2
|
|
|
2
|
|
499
|
our( $VERSION ) = 'v0.1.0'; |
16
|
|
|
|
|
|
|
}; |
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
0
|
1
|
|
sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
1
|
|
sub bank_transfer { return( shift->_set_get_object( 'bank_transfer', 'Net::API::Stripe::Billing::TaxID', @_ ) ); } |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
1
|
|
sub currency { return( shift->_set_get_scalar( 'currency', @_ ) ); } |
23
|
|
|
|
|
|
|
|
24
|
0
|
|
|
0
|
1
|
|
sub funding_type { return( shift->_set_get_scalar( 'funding_type', @_ ) ); } |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
0
|
1
|
|
sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
# NOTE: POD |
30
|
|
|
|
|
|
|
__END__ |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=encoding utf8 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 NAME |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Net::API::Stripe::Issuing::FundingInstructions - The FundingInstruction object |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 SYNOPSIS |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 VERSION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
v0.1.0 |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 DESCRIPTION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Funding Instructions contain reusable bank account and routing information. Push funds to these addresses via bank transfer to L<top up Issuing Balances|https://stripe.com/docs/issuing/funding/balance>. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 METHODS |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 object string |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
String representing the object's type. Objects of the same type share the same value. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head2 bank_transfer object |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Details to display instructions for initiating a bank transfer |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This is a L<Net::API::Stripe::Billing::TaxID> object. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 currency string |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Three-letter L<ISO currency code|https://www.iso.org/iso-4217-currency-codes.html>, in lowercase. Must be a L<supported currency|https://stripe.com/docs/currencies>. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head2 funding_type string |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
The C<funding_type> of the returned instructions |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 livemode boolean |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Has the value C<true> if the object exists in live mode or the value C<false> if the object exists in test mode. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 API SAMPLE |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
[ |
75
|
|
|
|
|
|
|
{ |
76
|
|
|
|
|
|
|
"bank_transfer" : { |
77
|
|
|
|
|
|
|
"country" : "DE", |
78
|
|
|
|
|
|
|
"financial_addresses" : [ |
79
|
|
|
|
|
|
|
{ |
80
|
|
|
|
|
|
|
"iban" : { |
81
|
|
|
|
|
|
|
"account_holder_name" : "Stripe Technology Europe Limited", |
82
|
|
|
|
|
|
|
"bic" : "SXPYDEHH", |
83
|
|
|
|
|
|
|
"country" : "DE", |
84
|
|
|
|
|
|
|
"iban" : "DE00000000000000000001" |
85
|
|
|
|
|
|
|
}, |
86
|
|
|
|
|
|
|
"supported_networks" : [ |
87
|
|
|
|
|
|
|
"sepa" |
88
|
|
|
|
|
|
|
], |
89
|
|
|
|
|
|
|
"type" : "iban" |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
], |
92
|
|
|
|
|
|
|
"type" : "eu_bank_transfer" |
93
|
|
|
|
|
|
|
}, |
94
|
|
|
|
|
|
|
"currency" : "eur", |
95
|
|
|
|
|
|
|
"funding_type" : "bank_transfer", |
96
|
|
|
|
|
|
|
"livemode" : 0, |
97
|
|
|
|
|
|
|
"object" : "funding_instructions" |
98
|
|
|
|
|
|
|
} |
99
|
|
|
|
|
|
|
] |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head1 HISTORY |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 v0.1.0 |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Initial version |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head1 AUTHOR |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head1 SEE ALSO |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
L<Stripe API documentation|https://stripe.com/docs/api/issuing/funding_instructions> |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Copyright (c) 2019-2022 DEGUEST Pte. Ltd. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
120
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=cut |