| 1 | package Net::Braintree::Dispute; | ||||||||||
| 2 | 1 | ▶ | use Net::Braintree::Dispute::TransactionDetails; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use Net::Braintree::Dispute::Status; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use Net::Braintree::Dispute::Reason; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 1 | extends 'Net::Braintree::ResultObject'; | |||||||||
| 8 | |||||||||||
| 9 | 1 | my $meta = __PACKAGE__->meta; | |||||||||
| 10 | |||||||||||
| 11 | 0 | ▶ | sub BUILD { | ||||||||
|
Subroutine
BUILD: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 12 | 0 | my ($self, $attributes) = @_; | |||||||||
| 13 | |||||||||||
| 14 | 0 | $meta->add_attribute('transaction_details', is => 'rw'); | |||||||||
| 15 | 0 | ▶ | $self->transaction_details(Net::Braintree::Dispute::TransactionDetails->new($attributes->{transaction})) if ref($attributes->{transaction}) eq 'HASH'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 0 | delete($attributes->{transaction}); | |||||||||
| 17 | 0 | $self->set_attributes_from_hash($self, $attributes); | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | 1 | 1; | |||||||||