Shipment/FedEx/WSDL/RateTypes/Address.pm untested

filter: Statementstmt 0.0% 0 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 42 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::FedEx::WSDL::RateTypes::Address;
2 $Shipment::FedEx::WSDL::RateTypes::Address::VERSION = '3.11';
3 use strict;
4 use warnings;
5  
6  
7 __PACKAGE__->_set_element_form_qualified(1);
8  
9 sub get_xmlns {'http://fedex.com/ws/rate/v9'}
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 %StreetLines_of : ATTR(:get<StreetLines>);
26 my %City_of : ATTR(:get<City>);
27 my %StateOrProvinceCode_of : ATTR(:get<StateOrProvinceCode>);
28 my %PostalCode_of : ATTR(:get<PostalCode>);
29 my %UrbanizationCode_of : ATTR(:get<UrbanizationCode>);
30 my %CountryCode_of : ATTR(:get<CountryCode>);
31 my %Residential_of : ATTR(:get<Residential>);
32  
33 __PACKAGE__->_factory(
34 [ qw( StreetLines
35 City
36 StateOrProvinceCode
37 PostalCode
38 UrbanizationCode
39 CountryCode
40 Residential
41  
42 )
43 ],
44 { 'StreetLines' => \%StreetLines_of,
45 'City' => \%City_of,
46 'StateOrProvinceCode' => \%StateOrProvinceCode_of,
47 'PostalCode' => \%PostalCode_of,
48 'UrbanizationCode' => \%UrbanizationCode_of,
49 'CountryCode' => \%CountryCode_of,
50 'Residential' => \%Residential_of,
51 },
52 { 'StreetLines' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
53 'City' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
54 'StateOrProvinceCode' =>
55 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 'PostalCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57 'UrbanizationCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
58 'CountryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
59 'Residential' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
60 },
61 {
62  
63 'StreetLines' => 'StreetLines',
64 'City' => 'City',
65 'StateOrProvinceCode' => 'StateOrProvinceCode',
66 'PostalCode' => 'PostalCode',
67 'UrbanizationCode' => 'UrbanizationCode',
68 'CountryCode' => 'CountryCode',
69 'Residential' => 'Residential',
70 }
71 );
72  
73 } # end BLOCK
74  
75  
76 1;
77  
78 __END__