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

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 27 / 27 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/AddressDetails.pm ↑ Summary lib/WebService/Braintree/_/MerchantAccount/FundingDetails.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::_::MerchantAccount::BusinessDetails;
4 22 $WebService::Braintree::_::MerchantAccount::BusinessDetails::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::BusinessDetails
11  
12 =head1 PURPOSE
13  
14 This class represents the business 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 ▶use MooX::Aliases;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 22 extends 'WebService::Braintree::_';
24  
25 22 ▶use WebService::Braintree::Types qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
26 MerchantAccount_AddressDetails
27 22 );
28  
29 =head1 ATTRIBUTES
30  
31 =cut
32  
33 =head2 address()
34  
35 This is the address for this business detail. This will be an object of type L<WebService::Braintree::_::MerchantAccount::AddressDetails/>.
36  
37 C<< address_details() >> is an alias for this attribute.
38  
39 =cut
40  
41 22 has address => (
42 is => 'ro',
43 isa => MerchantAccount_AddressDetails,
44 coerce => 1,
45 alias => 'address_details',
46 );
47  
48 =head2 dba_name()
49  
50 This is the DBA (Doing Business As) name for this business detail.
51  
52 =cut
53  
54 22 has dba_name => (
55 is => 'ro',
56 );
57  
58 =head2 legal_name()
59  
60 This is the legal name for this business detail.
61  
62 =cut
63  
64 22 has legal_name => (
65 is => 'ro',
66 );
67  
68 =head2 tax_id()
69  
70 This is the tax ID for this business detail.
71  
72 =cut
73  
74 22 has tax_id => (
75 is => 'ro',
76 );
77  
78 22 __PACKAGE__->meta->make_immutable;
79  
80 22 1;
81 __END__
« lib/WebService/Braintree/_/MerchantAccount/AddressDetails.pm ↑ Summary lib/WebService/Braintree/_/MerchantAccount/FundingDetails.pm »