lib/WebService/Braintree/_/DocumentUpload.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 21 / 21 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/TransactionDetails.pm ↑ Summary lib/WebService/Braintree/_/EuropeBankAccount.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::_::DocumentUpload;
4 22 $WebService::Braintree::_::DocumentUpload::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::_::DocumentUpload
11  
12 =head1 PURPOSE
13  
14 This class represents a document upload.
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 22 extends 'WebService::Braintree::_';
23  
24 =head1 ATTRIBUTES
25  
26 =cut
27  
28 =head2 content_type()
29  
30 This is the content type for this document upload.
31  
32 =cut
33  
34 22 has content_type => (
35 is => 'ro',
36 );
37  
38 =head2 expires_at()
39  
40 This is when this document upload expires.
41  
42 =cut
43  
44 # Coerce to a DateTime (YYYY-MM-DD)
45 22 has expires_at => (
46 is => 'ro',
47 );
48  
49 =head2 id()
50  
51 This is the id for this document upload.
52  
53 =cut
54  
55 22 has id => (
56 is => 'ro',
57 );
58  
59 =head2 kind()
60  
61 This is the kind for this document upload.
62  
63 =cut
64  
65 22 has kind => (
66 is => 'ro',
67 );
68  
69 =head2 name()
70  
71 This is the name for this document upload.
72  
73 =cut
74  
75 22 has name => (
76 is => 'ro',
77 );
78  
79 =head2 size()
80  
81 This is the size for this document upload.
82  
83 =cut
84  
85 22 has size => (
86 is => 'ro',
87 );
88  
89 22 __PACKAGE__->meta->make_immutable;
90  
91 22 1;
92 __END__
« lib/WebService/Braintree/_/Dispute/TransactionDetails.pm ↑ Summary lib/WebService/Braintree/_/EuropeBankAccount.pm »