Shipment/UPS/WSDL/RateTypes/ShipToAddressType.pm untested

filter: Statementstmt 0.0% 0 / 36 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 45 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::ShipToAddressType;
2 $Shipment::UPS::WSDL::RateTypes::ShipToAddressType::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  
19 use base qw(Shipment::UPS::WSDL::RateTypes::AddressType);
20  
21 # Variety: sequence
22 use Class::Std::Fast::Storable constructor => 'none';
23 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
24  
25 Class::Std::initialize();
26  
27 { # BLOCK to scope variables
28  
29 my %AddressLine_of : ATTR(:get<AddressLine>);
30 my %City_of : ATTR(:get<City>);
31 my %StateProvinceCode_of : ATTR(:get<StateProvinceCode>);
32 my %PostalCode_of : ATTR(:get<PostalCode>);
33 my %CountryCode_of : ATTR(:get<CountryCode>);
34 my %ResidentialAddressIndicator_of :
35 ATTR(:get<ResidentialAddressIndicator>);
36  
37 __PACKAGE__->_factory(
38 [ qw( AddressLine
39 City
40 StateProvinceCode
41 PostalCode
42 CountryCode
43 ResidentialAddressIndicator
44  
45 )
46 ],
47 { 'AddressLine' => \%AddressLine_of,
48 'City' => \%City_of,
49 'StateProvinceCode' => \%StateProvinceCode_of,
50 'PostalCode' => \%PostalCode_of,
51 'CountryCode' => \%CountryCode_of,
52 'ResidentialAddressIndicator' => \%ResidentialAddressIndicator_of,
53 },
54 { 'AddressLine' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
55 'City' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 'StateProvinceCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57 'PostalCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
58 'CountryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
59 'ResidentialAddressIndicator' =>
60 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61 },
62 {
63  
64 'AddressLine' => 'AddressLine',
65 'City' => 'City',
66 'StateProvinceCode' => 'StateProvinceCode',
67 'PostalCode' => 'PostalCode',
68 'CountryCode' => 'CountryCode',
69 'ResidentialAddressIndicator' => 'ResidentialAddressIndicator',
70 }
71 );
72  
73 } # end BLOCK
74  
75  
76 1;
77  
78 __END__