line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Braintree::MerchantAccount::IndividualDetails; |
2
|
1
|
|
|
1
|
|
321
|
use Net::Braintree::MerchantAccount::AddressDetails; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
44
|
|
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
8
|
use Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
5
|
|
|
|
|
|
|
extends "Net::Braintree::ResultObject"; |
6
|
|
|
|
|
|
|
my $meta = __PACKAGE__->meta; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub BUILD { |
9
|
0
|
|
|
0
|
0
|
|
my ($self, $attributes) = @_; |
10
|
|
|
|
|
|
|
|
11
|
0
|
|
|
|
|
|
$meta->add_attribute('address_details', is => 'rw'); |
12
|
0
|
0
|
|
|
|
|
$self->address_details(Net::Braintree::MerchantAccount::AddressDetails->new($attributes->{address})) if ref($attributes->{address}) eq 'HASH'; |
13
|
0
|
|
|
|
|
|
delete($attributes->{address}); |
14
|
|
|
|
|
|
|
|
15
|
0
|
|
|
|
|
|
$self->set_attributes_from_hash($self, $attributes); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |