Shipment/UPS/WSDL/ShipTypes/PackageResultsType.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::ShipTypes::PackageResultsType;
2 $Shipment::UPS::WSDL::ShipTypes::PackageResultsType::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/Ship/v1.0'}
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 %TrackingNumber_of : ATTR(:get<TrackingNumber>);
26 my %ServiceOptionsCharges_of : ATTR(:get<ServiceOptionsCharges>);
27 my %SurePostDasCharges_of : ATTR(:get<SurePostDasCharges>);
28 my %ShippingLabel_of : ATTR(:get<ShippingLabel>);
29 my %ShippingReceipt_of : ATTR(:get<ShippingReceipt>);
30 my %USPSPICNumber_of : ATTR(:get<USPSPICNumber>);
31  
32 __PACKAGE__->_factory(
33 [ qw( TrackingNumber
34 ServiceOptionsCharges
35 SurePostDasCharges
36 ShippingLabel
37 ShippingReceipt
38 USPSPICNumber
39  
40 )
41 ],
42 { 'TrackingNumber' => \%TrackingNumber_of,
43 'ServiceOptionsCharges' => \%ServiceOptionsCharges_of,
44 'SurePostDasCharges' => \%SurePostDasCharges_of,
45 'ShippingLabel' => \%ShippingLabel_of,
46 'ShippingReceipt' => \%ShippingReceipt_of,
47 'USPSPICNumber' => \%USPSPICNumber_of,
48 },
49 { 'TrackingNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
50 'ServiceOptionsCharges' =>
51 'Shipment::UPS::WSDL::ShipTypes::ShipChargeType',
52 'SurePostDasCharges' =>
53 'Shipment::UPS::WSDL::ShipTypes::ShipChargeType',
54 'ShippingLabel' => 'Shipment::UPS::WSDL::ShipTypes::LabelType',
55 'ShippingReceipt' => 'Shipment::UPS::WSDL::ShipTypes::ReceiptType',
56 'USPSPICNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57 },
58 {
59  
60 'TrackingNumber' => 'TrackingNumber',
61 'ServiceOptionsCharges' => 'ServiceOptionsCharges',
62 'SurePostDasCharges' => 'SurePostDasCharges',
63 'ShippingLabel' => 'ShippingLabel',
64 'ShippingReceipt' => 'ShippingReceipt',
65 'USPSPICNumber' => 'USPSPICNumber',
66 }
67 );
68  
69 } # end BLOCK
70  
71  
72 1;
73  
74 __END__