line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::Braintree::DisbursementDetails; |
2
|
|
|
|
|
|
|
$WebService::Braintree::DisbursementDetails::VERSION = '0.94'; |
3
|
20
|
|
|
20
|
|
447
|
use 5.010_001; |
|
20
|
|
|
|
|
67
|
|
4
|
20
|
|
|
20
|
|
111
|
use strictures 1; |
|
20
|
|
|
|
|
155
|
|
|
20
|
|
|
|
|
820
|
|
5
|
|
|
|
|
|
|
|
6
|
20
|
|
|
20
|
|
2169
|
use Moose; |
|
20
|
|
|
|
|
39
|
|
|
20
|
|
|
|
|
134
|
|
7
|
|
|
|
|
|
|
extends 'WebService::Braintree::ResultObject'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub BUILD { |
10
|
0
|
|
|
0
|
0
|
|
my ($self, $attributes) = @_; |
11
|
0
|
|
|
|
|
|
$self->set_attributes_from_hash($self, $attributes); |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub is_valid { |
15
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
16
|
0
|
0
|
|
|
|
|
if (defined($self->disbursement_date)) { |
17
|
0
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
} else { |
19
|
0
|
|
|
|
|
|
0; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
__END__ |