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