line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::CaVirtex::API::Request::Withdraw; |
2
|
1
|
|
|
1
|
|
5
|
use base qw(Finance::CaVirtex::API::Request); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
79
|
|
3
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
31
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
5
|
use constant URL => 'https://cavirtex.com/api2/user/withdraw.json'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
53
|
|
6
|
1
|
|
|
1
|
|
5
|
use constant ATTRIBUTES => qw(amount currency address); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
233
|
|
7
|
|
|
|
|
|
|
|
8
|
0
|
|
|
0
|
0
|
|
sub amount { my $self = shift; $self->get_set(@_) } |
|
0
|
|
|
|
|
|
|
9
|
0
|
|
|
0
|
0
|
|
sub currency { my $self = shift; $self->get_set(@_) } |
|
0
|
|
|
|
|
|
|
10
|
0
|
|
|
0
|
0
|
|
sub address { my $self = shift; $self->get_set(@_) } |
|
0
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
0
|
|
|
0
|
0
|
|
sub url { URL } |
13
|
0
|
|
|
0
|
0
|
|
sub attributes { ATTRIBUTES } |
14
|
|
|
|
|
|
|
sub is_ready_to_send { |
15
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
16
|
0
|
0
|
0
|
|
|
|
return defined $self->amount and defined $self->currency and defined $self->address; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |