line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Customer/Sources.pm |
3
|
|
|
|
|
|
|
## Version v0.100.0 |
4
|
|
|
|
|
|
|
## Copyright(c) 2019 DEGUEST Pte. Ltd. |
5
|
|
|
|
|
|
|
## Author: Jacques Deguest <@sitael.tokyo.deguest.jp> |
6
|
|
|
|
|
|
|
## Created 2019/11/02 |
7
|
|
|
|
|
|
|
## Modified 2020/05/15 |
8
|
|
|
|
|
|
|
## |
9
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
10
|
|
|
|
|
|
|
package Net::API::Stripe::Customer::Sources; |
11
|
|
|
|
|
|
|
BEGIN |
12
|
|
|
|
|
|
|
{ |
13
|
1
|
|
|
1
|
|
823
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
28
|
|
14
|
1
|
|
|
1
|
|
5
|
use parent qw( Net::API::Stripe::List ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
15
|
1
|
|
|
1
|
|
78
|
our( $VERSION ) = 'v0.100.0'; |
16
|
|
|
|
|
|
|
}; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
# Inherited |
19
|
|
|
|
|
|
|
# sub object { shift->_set_get_scalar( 'object', @_ ); } |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
## An array of variable class so we use the object variant method |
22
|
|
|
|
|
|
|
## sub data { shift->_set_get_object_array( 'data', 'Net::API::Stripe::Payment::Source', @_ ); } |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# Inherited |
25
|
|
|
|
|
|
|
# sub has_more { shift->_set_get_scalar( 'has_more', @_ ); } |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
# Inherited |
28
|
|
|
|
|
|
|
# sub total_count { shift->_set_get_scalar( 'total_count', @_ ); } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# Inherited |
31
|
|
|
|
|
|
|
# sub url { shift->_set_get_uri( 'url', @_ ); } |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=encoding utf8 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 NAME |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Net::API::Stripe::Customer::Sources - A Stripe Sources List Object |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 DESCRIPTION |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
This module inherits completely from L<Net::API::Stripe::List> and may be removed in the future. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 AUTHOR |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 SEE ALSO |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Stripe API documentation: |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
L<https://stripe.com/docs/api/invoices/line_item> |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Copyright (c) 2019-2020 DEGUEST Pte. Ltd. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
62
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |