Shipment/FedEx/WSDL/ShipTypes/PackageRating.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::FedEx::WSDL::ShipTypes::PackageRating;
2 $Shipment::FedEx::WSDL::ShipTypes::PackageRating::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/ship/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 %ActualRateType_of : ATTR(:get<ActualRateType>);
26 my %EffectiveNetDiscount_of : ATTR(:get<EffectiveNetDiscount>);
27 my %PackageRateDetails_of : ATTR(:get<PackageRateDetails>);
28  
29 __PACKAGE__->_factory(
30 [ qw( ActualRateType
31 EffectiveNetDiscount
32 PackageRateDetails
33  
34 )
35 ],
36 { 'ActualRateType' => \%ActualRateType_of,
37 'EffectiveNetDiscount' => \%EffectiveNetDiscount_of,
38 'PackageRateDetails' => \%PackageRateDetails_of,
39 },
40 { 'ActualRateType' =>
41 'Shipment::FedEx::WSDL::ShipTypes::ReturnedRateType',
42 'EffectiveNetDiscount' =>
43 'Shipment::FedEx::WSDL::ShipTypes::Money',
44 'PackageRateDetails' =>
45 'Shipment::FedEx::WSDL::ShipTypes::PackageRateDetail',
46 },
47 {
48  
49 'ActualRateType' => 'ActualRateType',
50 'EffectiveNetDiscount' => 'EffectiveNetDiscount',
51 'PackageRateDetails' => 'PackageRateDetails',
52 }
53 );
54  
55 } # end BLOCK
56  
57  
58 1;
59  
60 __END__