| 1 | package Net::Braintree::DisbursementDetails; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | extends 'Net::Braintree::ResultObject'; | |||||||||
| 5 | |||||||||||
| 6 | 1 | my $meta = __PACKAGE__->meta; | |||||||||
| 7 | |||||||||||
| 8 | 0 | ▶ | sub BUILD { | ||||||||
|
Subroutine
BUILD: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 9 | 0 | my ($self, $attributes) = @_; | |||||||||
| 10 | 0 | $self->set_attributes_from_hash($self, $attributes); | |||||||||
| 11 | } | ||||||||||
| 12 | |||||||||||
| 13 | 0 | ▶ | sub is_valid { | ||||||||
|
Subroutine
is_valid: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 14 | 0 | my $self = shift; | |||||||||
| 15 | 0 | ▶ | if (defined($self->disbursement_date)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 0 | 1; | |||||||||
| 17 | } else { | ||||||||||
| 18 | 0 | 0; | |||||||||
| 19 | } | ||||||||||
| 20 | }; | ||||||||||
| 21 | |||||||||||
| 22 | 1 | 1; | |||||||||