Shipment/UPS/WSDL/XAVTypes/ErrorDetailType.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::XAVTypes::ErrorDetailType;
2 $Shipment::UPS::WSDL::XAVTypes::ErrorDetailType::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/Error/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 %Severity_of : ATTR(:get<Severity>);
26 my %PrimaryErrorCode_of : ATTR(:get<PrimaryErrorCode>);
27 my %MinimumRetrySeconds_of : ATTR(:get<MinimumRetrySeconds>);
28 my %Location_of : ATTR(:get<Location>);
29 my %SubErrorCode_of : ATTR(:get<SubErrorCode>);
30  
31 __PACKAGE__->_factory(
32 [ qw( Severity
33 PrimaryErrorCode
34 MinimumRetrySeconds
35 Location
36 SubErrorCode
37  
38 )
39 ],
40 { 'Severity' => \%Severity_of,
41 'PrimaryErrorCode' => \%PrimaryErrorCode_of,
42 'MinimumRetrySeconds' => \%MinimumRetrySeconds_of,
43 'Location' => \%Location_of,
44 'SubErrorCode' => \%SubErrorCode_of,
45 },
46 { 'Severity' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
47 'PrimaryErrorCode' => 'Shipment::UPS::WSDL::XAVTypes::CodeType',
48 'MinimumRetrySeconds' =>
49 'SOAP::WSDL::XSD::Typelib::Builtin::string',
50 'Location' => 'Shipment::UPS::WSDL::XAVTypes::LocationType',
51 'SubErrorCode' => 'Shipment::UPS::WSDL::XAVTypes::CodeType',
52 },
53 {
54  
55 'Severity' => 'Severity',
56 'PrimaryErrorCode' => 'PrimaryErrorCode',
57 'MinimumRetrySeconds' => 'MinimumRetrySeconds',
58 'Location' => 'Location',
59 'SubErrorCode' => 'SubErrorCode',
60 }
61 );
62  
63 } # end BLOCK
64  
65  
66 1;
67  
68 __END__