line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Billing/UserRecord/Summary.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
|
|
|
|
|
|
|
BEGIN |
11
|
|
|
|
|
|
|
{ |
12
|
|
|
|
|
|
|
use strict; |
13
|
2
|
|
|
2
|
|
24160085
|
use parent qw( Net::API::Stripe::Generic ); |
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
80
|
|
14
|
2
|
|
|
2
|
|
14
|
our( $VERSION ) = 'v0.1.0'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
15
|
2
|
|
|
2
|
|
481
|
}; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
0
|
1
|
|
|
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
1
|
|
|
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
1
|
|
|
23
|
|
|
|
|
|
|
|
24
|
0
|
|
|
0
|
1
|
|
1; |
25
|
|
|
|
|
|
|
# NOTE: POD |
26
|
0
|
|
|
0
|
1
|
|
|
27
|
|
|
|
|
|
|
=encoding utf8 |
28
|
0
|
|
|
0
|
1
|
|
|
29
|
|
|
|
|
|
|
=head1 NAME |
30
|
0
|
|
|
0
|
1
|
|
|
31
|
|
|
|
|
|
|
Net::API::Stripe::Billing::UserRecord::Summary - Usage Record Summary |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SYNOPSIS |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 VERSION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
v0.1.0 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 DESCRIPTION |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 METHODS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 id string |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 object string |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 invoice string |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 livemode integer |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 period hash |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head2 subscription_item string |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 total_usage integer |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 API SAMPLE |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
[ |
74
|
|
|
|
|
|
|
{ |
75
|
|
|
|
|
|
|
"id" : "sis_1DkWqo2eZvKYlo2Cs4NSCMMw", |
76
|
|
|
|
|
|
|
"invoice" : "in_1DkWqo2eZvKYlo2Cghtks5xk", |
77
|
|
|
|
|
|
|
"livemode" : "0", |
78
|
|
|
|
|
|
|
"object" : "usage_record_summary", |
79
|
|
|
|
|
|
|
"period" : { |
80
|
|
|
|
|
|
|
"end" : null, |
81
|
|
|
|
|
|
|
"start" : null |
82
|
|
|
|
|
|
|
}, |
83
|
|
|
|
|
|
|
"subscription_item" : "si_18PMl42eZvKYlo2CGduFchWC", |
84
|
|
|
|
|
|
|
"total_usage" : "1" |
85
|
|
|
|
|
|
|
} |
86
|
|
|
|
|
|
|
] |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head1 HISTORY |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 v0.1.0 |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Initial version |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head1 AUTHOR |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head1 SEE ALSO |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
L<Stripe API documentation|> |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Copyright (c) 2019-2022 DEGUEST Pte. Ltd. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
107
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=cut |