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