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 <@sitael.tokyo.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
|
1
|
|
|
1
|
|
828
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
20
|
1
|
|
|
1
|
|
5
|
use parent qw( Net::API::Stripe::Generic ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
21
|
1
|
|
|
1
|
|
115
|
our( $VERSION ) = 'v0.100.0'; |
22
|
|
|
|
|
|
|
}; |
23
|
|
|
|
|
|
|
|
24
|
0
|
|
|
0
|
1
|
|
sub object { shift->_set_get_scalar( 'object', @_ ); } |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
0
|
1
|
|
sub created { shift->_set_get_datetime( 'created', @_ ); } |
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
0
|
1
|
|
sub url { shift->_set_get_uri( 'url', @_ ); } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__END__ |
33
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
=over 4 |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item B<new>( %ARG ) |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Creates a new L<Net::API::Stripe::Connect::Account::LoginLink> object. |
61
|
|
|
|
|
|
|
It may also take an hash like arguments, that also are method of the same name. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=back |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 METHODS |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=over 4 |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=item B<object> string, value is "login_link" |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
String representing the objectâs type. Objects of the same type share the same value. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=item B<created> timestamp |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Time at which the object was created. Measured in seconds since the Unix epoch. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=item B<url> string |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
The URL for the login link. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=back |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 API SAMPLE |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
{ |
86
|
|
|
|
|
|
|
"object": "login_link", |
87
|
|
|
|
|
|
|
"created": 1571735987, |
88
|
|
|
|
|
|
|
"url": "https://connect.stripe.com/express/nnmcnbmzbcnm" |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 HISTORY |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 v0.1 |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Initial version |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head1 AUTHOR |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head1 SEE ALSO |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Stripe API documentation: |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
L<https://stripe.com/docs/api/account/login_link> |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
Copyright (c) 2019-2020 DEGUEST Pte. Ltd. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
112
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=cut |