File Coverage

blib/lib/Yahoo/Marketing/Address.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Yahoo::Marketing::Address;
2             # Copyright (c) 2009 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 3     3   55734 use strict; use warnings;
  3     3   6  
  3         101  
  3         15  
  3         5  
  3         79  
6              
7 3     3   17 use base qw/Yahoo::Marketing::ComplexType/;
  3         3  
  3         1275  
8              
9             =head1 NAME
10              
11             Yahoo::Marketing::Address - an object to represent a Yahoo Marketing Address.
12              
13             =cut
14              
15             sub _user_setable_attributes {
16             return ( qw/
17             address1
18             address2
19             address3
20             city
21             country
22             county
23             postalCode
24             province
25             state
26             todofuken
27             / );
28             }
29              
30             sub _read_only_attributes {
31             return ( qw/
32             / );
33             }
34              
35             __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
36             __PACKAGE__->_read_only_attributes
37             );
38              
39              
40             1;
41             =head1 SYNOPSIS
42              
43             See L for documentation of the various data objects.
44              
45              
46             =cut
47              
48             =head1 METHODS
49              
50             =head2 new
51              
52             Creates a new instance
53              
54             =head2 get/set methods
55              
56             =over 8
57              
58             address1
59             address2
60             address3
61             city
62             country
63             county
64             postalCode
65             province
66             state
67             todofuken
68              
69             =back
70              
71             =head2 get (read only) methods
72              
73             =over 8
74              
75              
76             =back
77              
78             =cut
79