line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Payjp::TenantTransfer; |
2
|
|
|
|
|
|
|
|
3
|
11
|
|
|
11
|
|
77
|
use strict; |
|
11
|
|
|
|
|
23
|
|
|
11
|
|
|
|
|
331
|
|
4
|
11
|
|
|
11
|
|
56
|
use warnings; |
|
11
|
|
|
|
|
21
|
|
|
11
|
|
|
|
|
314
|
|
5
|
|
|
|
|
|
|
|
6
|
11
|
|
|
11
|
|
80
|
use base 'Net::Payjp'; |
|
11
|
|
|
|
|
24
|
|
|
11
|
|
|
|
|
3023
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub retrieve{ |
9
|
1
|
|
|
1
|
1
|
3
|
my $self = shift; |
10
|
1
|
|
|
|
|
3
|
my $id = shift; |
11
|
1
|
50
|
|
|
|
5
|
$self->id($id) if $id; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
10
|
$self->_request(method => 'GET', url => $self->_instance_url); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub all{ |
17
|
1
|
|
|
1
|
1
|
4
|
my $self = shift; |
18
|
1
|
|
|
|
|
4
|
my %p = @_; |
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
|
|
7
|
$self->_request(method => 'GET', url => $self->_class_url, param => \%p); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub charges{ |
24
|
1
|
|
|
1
|
1
|
5
|
my $self = shift; |
25
|
1
|
|
|
|
|
3
|
my %p = @_; |
26
|
|
|
|
|
|
|
|
27
|
1
|
|
|
|
|
9
|
$self->_request(method => 'GET', url => $self->_instance_url.'/charges', param => \%p); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub _class_url{ |
31
|
3
|
|
|
3
|
|
4
|
my $self = shift; |
32
|
3
|
|
|
|
|
11
|
return $self->api_base.'/v1/tenant_transfers'; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |