Shipment/Purolator/WSDLV2/Types/ShortAddress.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 39 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::Purolator::WSDLV2::Types::ShortAddress;
2 $Shipment::Purolator::WSDLV2::Types::ShortAddress::VERSION = '3.11';
3 use strict;
4 use warnings;
5  
6  
7 __PACKAGE__->_set_element_form_qualified(1);
8  
9 sub get_xmlns {'http://purolator.com/pws/datatypes/v2'}
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 %City_of : ATTR(:get<City>);
26 my %Province_of : ATTR(:get<Province>);
27 my %Country_of : ATTR(:get<Country>);
28 my %PostalCode_of : ATTR(:get<PostalCode>);
29  
30 __PACKAGE__->_factory(
31 [ qw( City
32 Province
33 Country
34 PostalCode
35  
36 )
37 ],
38 { 'City' => \%City_of,
39 'Province' => \%Province_of,
40 'Country' => \%Country_of,
41 'PostalCode' => \%PostalCode_of,
42 },
43 { 'City' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
44 'Province' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
45 'Country' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
46 'PostalCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
47 },
48 {
49  
50 'City' => 'City',
51 'Province' => 'Province',
52 'Country' => 'Country',
53 'PostalCode' => 'PostalCode',
54 }
55 );
56  
57 } # end BLOCK
58  
59  
60 1;
61  
62 __END__