lib/WebService/Braintree/_/Dispute/Evidence.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/WebService/Braintree/_/Dispute.pm ↑ Summary lib/WebService/Braintree/_/Dispute/HistoryEvent.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::_::Dispute::Evidence;
4 22 $WebService::Braintree::_::Dispute::Evidence::VERSION = '1.7';
5 22 ▶use 5.010_001;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 22 ▶use strictures 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 WebService::Braintree::_::Dispute::Evidence
11  
12 =head1 PURPOSE
13  
14 This class represents an evidence of a dispute.
15  
16 This class will only be created as part of a L<response|WebService::Braintree::Result> or L<error response|WebService::Braintree::ErrorResult>.
17  
18 =cut
19  
20 22 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 22 ▶use MooX::Aliases;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 22 extends 'WebService::Braintree::_';
24  
25 =head1 ATTRIBUTES
26  
27 =cut
28  
29 =head2 category()
30  
31 This is the category for this dispute's evidence.
32  
33 =cut
34  
35 22 has category => (
36 is => 'ro',
37 );
38  
39 =head2 comment()
40  
41 This is the comment for this dispute's evidence.
42  
43 =cut
44  
45 22 has comment => (
46 is => 'ro',
47 );
48  
49 =head2 created_at()
50  
51 This is when this dispute's evidence was created.
52  
53 =cut
54  
55 22 has created_at => (
56 is => 'ro',
57 );
58  
59 =head2 id()
60  
61 This is the ID for this dispute's evidence.
62  
63 =cut
64  
65 22 has id => (
66 is => 'ro',
67 );
68  
69 =head2 sent_to_processor_at()
70  
71 This is when this dispute's evidence was sent to the processor.
72  
73 =cut
74  
75 # Coerce this to DateTime
76 22 has sent_to_processor_at => (
77 is => 'ro',
78 );
79  
80 =head2 sequence_number()
81  
82 This is the sequence number for this dispute's evidence.
83  
84 =cut
85  
86 22 has sequence_number => (
87 is => 'ro',
88 );
89  
90 =head2 url()
91  
92 This is the URL for this dispute's evidence.
93  
94 =cut
95  
96 22 has url => (
97 is => 'ro',
98 );
99  
100 22 __PACKAGE__->meta->make_immutable;
101  
102 22 1;
103 __END__
« lib/WebService/Braintree/_/Dispute.pm ↑ Summary lib/WebService/Braintree/_/Dispute/HistoryEvent.pm »