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

filter: Statementstmt 0.0% 0 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 41 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::ErrorDetailType;
2 $Shipment::UPS::WSDL::RateTypes::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 my %AdditionalInformation_of : ATTR(:get<AdditionalInformation>);
31  
32 __PACKAGE__->_factory(
33 [ qw( Severity
34 PrimaryErrorCode
35 MinimumRetrySeconds
36 Location
37 SubErrorCode
38 AdditionalInformation
39  
40 )
41 ],
42 { 'Severity' => \%Severity_of,
43 'PrimaryErrorCode' => \%PrimaryErrorCode_of,
44 'MinimumRetrySeconds' => \%MinimumRetrySeconds_of,
45 'Location' => \%Location_of,
46 'SubErrorCode' => \%SubErrorCode_of,
47 'AdditionalInformation' => \%AdditionalInformation_of,
48 },
49 { 'Severity' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
50 'PrimaryErrorCode' => 'Shipment::UPS::WSDL::RateTypes::CodeType',
51 'MinimumRetrySeconds' =>
52 'SOAP::WSDL::XSD::Typelib::Builtin::string',
53 'Location' => 'Shipment::UPS::WSDL::RateTypes::LocationType',
54 'SubErrorCode' => 'Shipment::UPS::WSDL::RateTypes::CodeType',
55 'AdditionalInformation' =>
56 'Shipment::UPS::WSDL::RateTypes::AdditionalInfoType',
57 },
58 {
59  
60 'Severity' => 'Severity',
61 'PrimaryErrorCode' => 'PrimaryErrorCode',
62 'MinimumRetrySeconds' => 'MinimumRetrySeconds',
63 'Location' => 'Location',
64 'SubErrorCode' => 'SubErrorCode',
65 'AdditionalInformation' => 'AdditionalInformation',
66 }
67 );
68  
69 } # end BLOCK
70  
71  
72 1;
73  
74 __END__