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