line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::Braintree::PartnerMerchant; |
2
|
|
|
|
|
|
|
$WebService::Braintree::PartnerMerchant::VERSION = '0.93'; |
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
WebService::Braintree::PartnerMerchant |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 PURPOSE |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
This class represents a partner merchant. |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=cut |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
11
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
12
|
|
14
|
|
|
|
|
|
|
extends 'WebService::Braintree::ResultObject'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 CLASS METHODS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
This class is B<NOT> an interface, so it does B<NOT> have any class methods. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 OBJECT METHODS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
NONE |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=cut |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub BUILD { |
27
|
0
|
|
|
0
|
0
|
|
my ($self, $attributes) = @_; |
28
|
0
|
|
|
|
|
|
$self->set_attributes_from_hash($self, $attributes); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
__END__ |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 TODO |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=over 4 |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item Need to document the keys and values that are returned |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=item Need to document the required and optional input parameters |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item Need to document the possible errors/exceptions |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=back |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut |