APT/Contact.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« APT/ConditionalFilterResponse.pm ↑ Summary APT/ContactResponse.pm »
1 package Yahoo::Marketing::APT::Contact;
2 # Copyright (c) 2010 Yahoo! Inc. All rights reserved.
3 # The copyrights to the contents of this file are licensed under the Perl Artistic License (ver. 15 Aug 1997)
4  
5 45 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 45 ▶use base qw/Yahoo::Marketing::ComplexType/;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 =head1 NAME
10  
11 Yahoo::Marketing::APT::Contact - a data object to represent a Contact.
12  
13 =cut
14  
15 45 ▶sub _user_setable_attributes {
Subroutine _user_setable_attributes: called CC=1 SCAR=0.0
16 45 return ( qw/
17 ID
18 createTimestamp
19 email
20 fax
21 firstName
22 firstNameFurigana
23 homePhone
24 isActive
25 isPrimary
26 lastName
27 lastNameFurigana
28 lastUpdateTimestamp
29 locale
30 middleInitial
31 mobilePhone
32 title
33 username
34 workPhone
35 / );
36 }
37  
38 45 ▶sub _read_only_attributes {
Subroutine _read_only_attributes: called CC=1 SCAR=0.0
39 45 return ( qw/
40 / );
41 }
42  
43 45 __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
44 __PACKAGE__->_read_only_attributes
45 );
46  
47  
48 45 1;
49 =head1 SYNOPSIS
50  
51 See L<http://help.yahoo.com/l/us/yahoo/ewsapt/webservices/reference/data/> for documentation of the various data objects.
52  
53  
54 =cut
55  
56 =head1 METHODS
57  
58 =head2 new
59  
60 Creates a new instance
61  
62 =head2 get/set methods
63  
64 =over 8
65  
66 ID
67 createTimestamp
68 email
69 fax
70 firstName
71 firstNameFurigana
72 homePhone
73 isActive
74 isPrimary
75 lastName
76 lastNameFurigana
77 lastUpdateTimestamp
78 locale
79 middleInitial
80 mobilePhone
81 title
82 username
83 workPhone
84  
85 =back
86  
87 =head2 get (read only) methods
88  
89 =over 8
90  
91  
92 =back
93  
94 =cut
95  
« APT/ConditionalFilterResponse.pm ↑ Summary APT/ContactResponse.pm »