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

filter: Statementstmt 0.0% 0 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 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::RatedShipmentType;
2 $Shipment::UPS::WSDL::RateTypes::RatedShipmentType::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 %Service_of : ATTR(:get<Service>);
26 my %RatedShipmentAlert_of : ATTR(:get<RatedShipmentAlert>);
27 my %BillingWeight_of : ATTR(:get<BillingWeight>);
28 my %TransportationCharges_of : ATTR(:get<TransportationCharges>);
29 my %FRSShipmentData_of : ATTR(:get<FRSShipmentData>);
30 my %ServiceOptionsCharges_of : ATTR(:get<ServiceOptionsCharges>);
31 my %TotalCharges_of : ATTR(:get<TotalCharges>);
32 my %NegotiatedRateCharges_of : ATTR(:get<NegotiatedRateCharges>);
33 my %GuaranteedDelivery_of : ATTR(:get<GuaranteedDelivery>);
34 my %RatedPackage_of : ATTR(:get<RatedPackage>);
35  
36 __PACKAGE__->_factory(
37 [ qw( Service
38 RatedShipmentAlert
39 BillingWeight
40 TransportationCharges
41 FRSShipmentData
42 ServiceOptionsCharges
43 TotalCharges
44 NegotiatedRateCharges
45 GuaranteedDelivery
46 RatedPackage
47  
48 )
49 ],
50 { 'Service' => \%Service_of,
51 'RatedShipmentAlert' => \%RatedShipmentAlert_of,
52 'BillingWeight' => \%BillingWeight_of,
53 'TransportationCharges' => \%TransportationCharges_of,
54 'FRSShipmentData' => \%FRSShipmentData_of,
55 'ServiceOptionsCharges' => \%ServiceOptionsCharges_of,
56 'TotalCharges' => \%TotalCharges_of,
57 'NegotiatedRateCharges' => \%NegotiatedRateCharges_of,
58 'GuaranteedDelivery' => \%GuaranteedDelivery_of,
59 'RatedPackage' => \%RatedPackage_of,
60 },
61 { 'Service' => 'Shipment::UPS::WSDL::RateTypes::CodeDescriptionType',
62 'RatedShipmentAlert' =>
63 'Shipment::UPS::WSDL::RateTypes::RatedShipmentInfoType',
64 'BillingWeight' =>
65 'Shipment::UPS::WSDL::RateTypes::BillingWeightType',
66 'TransportationCharges' =>
67 'Shipment::UPS::WSDL::RateTypes::ChargesType',
68 'FRSShipmentData' =>
69 'Shipment::UPS::WSDL::RateTypes::FRSShipmentType',
70 'ServiceOptionsCharges' =>
71 'Shipment::UPS::WSDL::RateTypes::ChargesType',
72 'TotalCharges' => 'Shipment::UPS::WSDL::RateTypes::ChargesType',
73 'NegotiatedRateCharges' =>
74 'Shipment::UPS::WSDL::RateTypes::TotalChargeType',
75 'GuaranteedDelivery' =>
76 'Shipment::UPS::WSDL::RateTypes::GuaranteedDeliveryType',
77 'RatedPackage' =>
78 'Shipment::UPS::WSDL::RateTypes::RatedPackageType',
79 },
80 {
81  
82 'Service' => 'Service',
83 'RatedShipmentAlert' => 'RatedShipmentAlert',
84 'BillingWeight' => 'BillingWeight',
85 'TransportationCharges' => 'TransportationCharges',
86 'FRSShipmentData' => 'FRSShipmentData',
87 'ServiceOptionsCharges' => 'ServiceOptionsCharges',
88 'TotalCharges' => 'TotalCharges',
89 'NegotiatedRateCharges' => 'NegotiatedRateCharges',
90 'GuaranteedDelivery' => 'GuaranteedDelivery',
91 'RatedPackage' => 'RatedPackage',
92 }
93 );
94  
95 } # end BLOCK
96  
97  
98 1;
99  
100 __END__