line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Connect/Account/LoginLink.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
|
|
|
|
|
|
|
## https://stripe.com/docs/api/account/login_link |
11
|
|
|
|
|
|
|
# ( |
12
|
|
|
|
|
|
|
# "object": "login_link", |
13
|
|
|
|
|
|
|
# "created": 1540170121, |
14
|
|
|
|
|
|
|
# "url": "https://connect.stripe.com/express/JC0IkhqjOUma" |
15
|
|
|
|
|
|
|
# ) |
16
|
|
|
|
|
|
|
BEGIN |
17
|
|
|
|
|
|
|
{ |
18
|
|
|
|
|
|
|
use strict; |
19
|
2
|
|
|
2
|
|
24161069
|
use warnings; |
|
2
|
|
|
|
|
20
|
|
|
2
|
|
|
|
|
63
|
|
20
|
2
|
|
|
2
|
|
14
|
use parent qw( Net::API::Stripe::Generic ); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
61
|
|
21
|
2
|
|
|
2
|
|
10
|
use vars qw( $VERSION ); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
10
|
|
22
|
2
|
|
|
2
|
|
149
|
our( $VERSION ) = 'v0.100.0'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
160
|
|
23
|
2
|
|
|
2
|
|
46
|
}; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
use strict; |
26
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
40
|
|
27
|
2
|
|
|
2
|
|
11
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
203
|
|
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
0
|
1
|
|
|
30
|
|
|
|
|
|
|
|
31
|
0
|
|
|
0
|
1
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
0
|
|
|
0
|
1
|
|
|
34
|
|
|
|
|
|
|
=encoding utf8 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 NAME |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Net::API::Stripe::Connect::Account::LoginLink - A Stripe Login Link Object |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 SYNOPSIS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
my $login_lnk = $stripe->login_link({ |
43
|
|
|
|
|
|
|
url => 'https://example.com/login', |
44
|
|
|
|
|
|
|
}); |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 VERSION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
v0.100.0 |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 DESCRIPTION |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Login link module as documented on the Stripe Account section |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 CONSTRUCTOR |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 new( %ARG ) |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Creates a new L<Net::API::Stripe::Connect::Account::LoginLink> object. |
59
|
|
|
|
|
|
|
It may also take an hash like arguments, that also are method of the same name. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 METHODS |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 object string, value is "login_link" |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
String representing the object’s type. Objects of the same type share the same value. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 created timestamp |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Time at which the object was created. Measured in seconds since the Unix epoch. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 url string |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The URL for the login link. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 API SAMPLE |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
{ |
78
|
|
|
|
|
|
|
"object": "login_link", |
79
|
|
|
|
|
|
|
"created": 1571735987, |
80
|
|
|
|
|
|
|
"url": "https://connect.stripe.com/express/nnmcnbmzbcnm" |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 HISTORY |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 v0.1 |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Initial version |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 AUTHOR |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head1 SEE ALSO |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Stripe API documentation: |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
L<https://stripe.com/docs/api/account/login_link> |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Copyright (c) 2019-2020 DEGUEST Pte. Ltd. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
104
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=cut |