Shipment/UPS/WSDL/RateTypes/AddressType.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 Shipment::UPS::WSDL::RateTypes::AddressType;
2 $Shipment::UPS::WSDL::RateTypes::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/Rate/v1.1'}
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 %PostalCode_of : ATTR(:get<PostalCode>);
29 my %CountryCode_of : ATTR(:get<CountryCode>);
30  
31 __PACKAGE__->_factory(
32 [ qw( AddressLine
33 City
34 StateProvinceCode
35 PostalCode
36 CountryCode
37  
38 )
39 ],
40 { 'AddressLine' => \%AddressLine_of,
41 'City' => \%City_of,
42 'StateProvinceCode' => \%StateProvinceCode_of,
43 'PostalCode' => \%PostalCode_of,
44 'CountryCode' => \%CountryCode_of,
45 },
46 { 'AddressLine' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
47 'City' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
48 'StateProvinceCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
49 'PostalCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
50 'CountryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
51 },
52 {
53  
54 'AddressLine' => 'AddressLine',
55 'City' => 'City',
56 'StateProvinceCode' => 'StateProvinceCode',
57 'PostalCode' => 'PostalCode',
58 'CountryCode' => 'CountryCode',
59 }
60 );
61  
62 } # end BLOCK
63  
64  
65 1;
66  
67 __END__