blib/lib/Google/Ads/AdWords/v201402/Address.pm untested

filter: Statementstmt 0.0% 0 / 32 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::v201402::Address;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' };
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17 use Class::Std::Fast::Storable constructor => 'none';
18 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
19  
20 Class::Std::initialize();
21  
22 { # BLOCK to scope variables
23  
24 my %streetAddress_of :ATTR(:get<streetAddress>);
25 my %streetAddress2_of :ATTR(:get<streetAddress2>);
26 my %cityName_of :ATTR(:get<cityName>);
27 my %provinceCode_of :ATTR(:get<provinceCode>);
28 my %provinceName_of :ATTR(:get<provinceName>);
29 my %postalCode_of :ATTR(:get<postalCode>);
30 my %countryCode_of :ATTR(:get<countryCode>);
31  
32 __PACKAGE__->_factory(
33 [ qw( streetAddress
34 streetAddress2
35 cityName
36 provinceCode
37 provinceName
38 postalCode
39 countryCode
40  
41 ) ],
42 {
43 'streetAddress' => \%streetAddress_of,
44 'streetAddress2' => \%streetAddress2_of,
45 'cityName' => \%cityName_of,
46 'provinceCode' => \%provinceCode_of,
47 'provinceName' => \%provinceName_of,
48 'postalCode' => \%postalCode_of,
49 'countryCode' => \%countryCode_of,
50 },
51 {
52 'streetAddress' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
53 'streetAddress2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
54 'cityName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
55 'provinceCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 'provinceName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57 'postalCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
58 'countryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
59 },
60 {
61  
62 'streetAddress' => 'streetAddress',
63 'streetAddress2' => 'streetAddress2',
64 'cityName' => 'cityName',
65 'provinceCode' => 'provinceCode',
66 'provinceName' => 'provinceName',
67 'postalCode' => 'postalCode',
68 'countryCode' => 'countryCode',
69 }
70 );
71  
72 } # end BLOCK
73  
74  
75  
76  
77  
78  
79  
80 1;
81  
82  
83 =pod
84  
85 =head1 NAME
86  
87 Google::Ads::AdWords::v201402::Address
88  
89 =head1 DESCRIPTION
90  
91 Perl data type class for the XML Schema defined complexType
92 Address from the namespace https://adwords.google.com/api/adwords/cm/v201402.
93  
94 Structure to specify an address location.
95  
96  
97  
98  
99 =head2 PROPERTIES
100  
101 The following properties may be accessed using get_PROPERTY / set_PROPERTY
102 methods:
103  
104 =over
105  
106 =item * streetAddress
107  
108  
109 =item * streetAddress2
110  
111  
112 =item * cityName
113  
114  
115 =item * provinceCode
116  
117  
118 =item * provinceName
119  
120  
121 =item * postalCode
122  
123  
124 =item * countryCode
125  
126  
127  
128  
129 =back
130  
131  
132 =head1 METHODS
133  
134 =head2 new
135  
136 Constructor. The following data structure may be passed to new():
137  
138  
139  
140  
141  
142  
143 =head1 AUTHOR
144  
145 Generated by SOAP::WSDL
146  
147 =cut
148