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
|
|
|
|
|
|
|
package Net::API::Stripe::Connect::Account::LoginLink; |
17
|
|
|
|
|
|
|
BEGIN |
18
|
|
|
|
|
|
|
{ |
19
|
2
|
|
|
2
|
|
21276444
|
use strict; |
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
72
|
|
20
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
56
|
|
21
|
2
|
|
|
2
|
|
11
|
use parent qw( Net::API::Stripe::Generic ); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
20
|
|
22
|
2
|
|
|
2
|
|
138
|
use vars qw( $VERSION ); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
118
|
|
23
|
2
|
|
|
2
|
|
39
|
our( $VERSION ) = 'v0.100.0'; |
24
|
|
|
|
|
|
|
}; |
25
|
|
|
|
|
|
|
|
26
|
2
|
|
|
2
|
|
10
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
43
|
|
27
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
200
|
|
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
0
|
1
|
|
sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
30
|
|
|
|
|
|
|
|
31
|
0
|
|
|
0
|
1
|
|
sub created { return( shift->_set_get_datetime( 'created', @_ ) ); } |
32
|
|
|
|
|
|
|
|
33
|
0
|
|
|
0
|
1
|
|
sub url { return( shift->_set_get_uri( 'url', @_ ) ); } |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__END__ |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=encoding utf8 |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 NAME |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Net::API::Stripe::Connect::Account::LoginLink - A Stripe Login Link Object |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 SYNOPSIS |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
my $login_lnk = $stripe->login_link({ |
48
|
|
|
|
|
|
|
url => 'https://example.com/login', |
49
|
|
|
|
|
|
|
}); |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 VERSION |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
v0.100.0 |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 DESCRIPTION |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Login link module as documented on the Stripe Account section |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 CONSTRUCTOR |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 new( %ARG ) |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Creates a new L<Net::API::Stripe::Connect::Account::LoginLink> object. |
64
|
|
|
|
|
|
|
It may also take an hash like arguments, that also are method of the same name. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 METHODS |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 object string, value is "login_link" |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
String representing the object’s type. Objects of the same type share the same value. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 created timestamp |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Time at which the object was created. Measured in seconds since the Unix epoch. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 url string |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
The URL for the login link. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 API SAMPLE |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
{ |
83
|
|
|
|
|
|
|
"object": "login_link", |
84
|
|
|
|
|
|
|
"created": 1571735987, |
85
|
|
|
|
|
|
|
"url": "https://connect.stripe.com/express/nnmcnbmzbcnm" |
86
|
|
|
|
|
|
|
} |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head1 HISTORY |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 v0.1 |
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
|
|
|
|
|
|
|
Stripe API documentation: |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
L<https://stripe.com/docs/api/account/login_link> |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Copyright (c) 2019-2020 DEGUEST Pte. Ltd. |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
109
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=cut |