line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Bitcoin/Transaction.pm |
3
|
|
|
|
|
|
|
## Version v0.100.0 |
4
|
|
|
|
|
|
|
## Copyright(c) 2019 DEGUEST Pte. Ltd. |
5
|
|
|
|
|
|
|
## Author: Jacques Deguest <jack@deguest.jp> |
6
|
|
|
|
|
|
|
## Created 2019/11/02 |
7
|
|
|
|
|
|
|
## Modified 2020/05/15 |
8
|
|
|
|
|
|
|
## |
9
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
10
|
|
|
|
|
|
|
BEGIN |
11
|
|
|
|
|
|
|
{ |
12
|
|
|
|
|
|
|
use strict; |
13
|
1
|
|
|
1
|
|
934
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
14
|
1
|
|
|
1
|
|
5
|
use parent qw( Net::API::Stripe::Generic ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
27
|
|
15
|
1
|
|
|
1
|
|
5
|
use vars qw( $VERSION ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
16
|
1
|
|
|
1
|
|
65
|
our( $VERSION ) = 'v0.100.0'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
46
|
|
17
|
1
|
|
|
1
|
|
17
|
}; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
use strict; |
20
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
21
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
167
|
|
22
|
|
|
|
|
|
|
|
23
|
0
|
|
|
0
|
1
|
|
|
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
0
|
1
|
|
|
26
|
|
|
|
|
|
|
|
27
|
0
|
|
|
0
|
1
|
|
|
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
0
|
1
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
0
|
|
|
0
|
1
|
|
|
32
|
|
|
|
|
|
|
=encoding utf8 |
33
|
0
|
|
|
0
|
1
|
|
|
34
|
|
|
|
|
|
|
=head1 NAME |
35
|
0
|
|
|
0
|
1
|
|
|
36
|
|
|
|
|
|
|
Net::API::Stripe::Bitcoin::Transaction - A Stripe Bitcoin Transaction Object |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 VERSION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
v0.100.0 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 DESCRIPTION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
A Bitcoin Transaction module. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
As of 2019-11-01, this is an undocumented object in Stripe api documentation. It was found in L<https://stripe.com/docs/api/customers/object> under the I<sources> property. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 CONSTRUCTOR |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 new( %ARG ) |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Creates a new L<Net::API::Stripe::Bitcoin::Transaction> object. |
53
|
|
|
|
|
|
|
It may also take an hash like arguments, that also are method of the same name. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 METHODS |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 id string |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Unique identifier for the object. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 object string, value is "bitcoin_transaction" |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
String representing the object’s type. Objects of the same type share the same value. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head2 amount positive integer |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
The amount of currency that the transaction was converted to in real-time. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 bitcoin_amount positive integer |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
The amount of bitcoin contained in the transaction. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 created timestamp |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Time at which the object was created. Measured in seconds since the Unix epoch. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 currency currency |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Three-letter ISO code for the currency to which this transaction was converted. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 receiver string |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The receiver to which this transaction was sent. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 API SAMPLE |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
No API sample provided by Stripe yet. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 HISTORY |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 v0.1 |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Initial version |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 AUTHOR |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head1 SEE ALSO |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Stripe API documentation: |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
L<https://stripe.com/docs/api/customers/object> |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Copyright (c) 2019-2020 DEGUEST Pte. Ltd. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
110
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |