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

filter: Statementstmt 0.0% 0 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 38 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::ShipToType;
2 $Shipment::UPS::WSDL::RateTypes::ShipToType::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 %Name_of : ATTR(:get<Name>);
26 my %Address_of : ATTR(:get<Address>);
27 my %Phone_of : ATTR(:get<Phone>);
28  
29 __PACKAGE__->_factory(
30 [ qw( Name
31 Address
32 Phone
33 )
34 ],
35 { 'Name' => \%Name_of,
36 'Address' => \%Address_of,
37 'Phone' => \%Phone_of,
38 },
39 { 'Name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
40 'Address' => 'Shipment::UPS::WSDL::RateTypes::ShipToAddressType',
41 'Phone' => 'Shipment::UPS::WSDL::RateTypes::ShipToPhoneType',
42 },
43 {
44  
45 'Name' => 'Name',
46 'Address' => 'Address',
47 'Phone' => 'Phone',
48 }
49 );
50  
51 } # end BLOCK
52  
53  
54 1;
55  
56 __END__