lib/WebService/Braintree/_/MerchantAccount/AddressDetails.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/WebService/Braintree/_/MerchantAccount.pm ↑ Summary lib/WebService/Braintree/_/MerchantAccount/BusinessDetails.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::_::MerchantAccount::AddressDetails;
4 22 $WebService::Braintree::_::MerchantAccount::AddressDetails::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::_::MerchantAccount::AddressDetails
11  
12 =head1 PURPOSE
13  
14 This class represents the address details for a merchant account.
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 locality()
29  
30 This is the locality for this address detail.
31  
32 =cut
33  
34 22 has locality => (
35 is => 'ro',
36 );
37  
38 =head2 postal_code()
39  
40 This is the postal code for this address detail.
41  
42 =cut
43  
44 22 has postal_code => (
45 is => 'ro',
46 );
47  
48 =head2 region()
49  
50 This is the region for this address detail.
51  
52 =cut
53  
54 22 has region => (
55 is => 'ro',
56 );
57  
58 =head2 street_address()
59  
60 This is the street address for this address detail.
61  
62 =cut
63  
64 22 has street_address => (
65 is => 'ro',
66 );
67  
68 22 __PACKAGE__->meta->make_immutable;
69  
70 22 1;
71 __END__
« lib/WebService/Braintree/_/MerchantAccount.pm ↑ Summary lib/WebService/Braintree/_/MerchantAccount/BusinessDetails.pm »