Shipment/UPS/WSDL/ShipTypes/AddressType.pm untested

filter: Statementstmt 0.0% 0 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 41 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 Shipment::UPS::WSDL::ShipTypes::AddressType;
2 $Shipment::UPS::WSDL::ShipTypes::AddressType::VERSION = '3.11';
3 use strict;
4 use warnings;
5  
6  
7 __PACKAGE__->_set_element_form_qualified(1);
8  
9 sub get_xmlns {'http://www.ups.com/XMLSchema/XOLTWS/IF/v1.0'}
10  
11 our $XML_ATTRIBUTE_CLASS;
12 undef $XML_ATTRIBUTE_CLASS;
13  
14 sub __get_attr_class {
15 return $XML_ATTRIBUTE_CLASS;
16 }
17  
18 use Class::Std::Fast::Storable constructor => 'none';
19 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
20  
21 Class::Std::initialize();
22  
23 { # BLOCK to scope variables
24  
25 my %AddressLine_of : ATTR(:get<AddressLine>);
26 my %City_of : ATTR(:get<City>);
27 my %StateProvinceCode_of : ATTR(:get<StateProvinceCode>);
28 my %Town_of : ATTR(:get<Town>);
29 my %PostalCode_of : ATTR(:get<PostalCode>);
30 my %CountryCode_of : ATTR(:get<CountryCode>);
31  
32 __PACKAGE__->_factory(
33 [ qw( AddressLine
34 City
35 StateProvinceCode
36 Town
37 PostalCode
38 CountryCode
39  
40 )
41 ],
42 { 'AddressLine' => \%AddressLine_of,
43 'City' => \%City_of,
44 'StateProvinceCode' => \%StateProvinceCode_of,
45 'Town' => \%Town_of,
46 'PostalCode' => \%PostalCode_of,
47 'CountryCode' => \%CountryCode_of,
48 },
49 { 'AddressLine' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
50 'City' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
51 'StateProvinceCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
52 'Town' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
53 'PostalCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
54 'CountryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
55 },
56 {
57  
58 'AddressLine' => 'AddressLine',
59 'City' => 'City',
60 'StateProvinceCode' => 'StateProvinceCode',
61 'Town' => 'Town',
62 'PostalCode' => 'PostalCode',
63 'CountryCode' => 'CountryCode',
64 }
65 );
66  
67 } # end BLOCK
68  
69  
70 1;
71  
72 __END__