Shipment/Purolator/WSDLV2/Types/Shipment.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::Purolator::WSDLV2::Types::Shipment;
2 $Shipment::Purolator::WSDLV2::Types::Shipment::VERSION = '3.11';
3 use strict;
4 use warnings;
5  
6  
7 __PACKAGE__->_set_element_form_qualified(1);
8  
9 sub get_xmlns {'http://purolator.com/pws/datatypes/v2'}
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 %SenderInformation_of : ATTR(:get<SenderInformation>);
26 my %ReceiverInformation_of : ATTR(:get<ReceiverInformation>);
27 my %PackageInformation_of : ATTR(:get<PackageInformation>);
28 my %InternationalInformation_of : ATTR(:get<InternationalInformation>);
29 my %ReturnShipmentInformation_of : ATTR(:get<ReturnShipmentInformation>);
30 my %PaymentInformation_of : ATTR(:get<PaymentInformation>);
31 my %PickupInformation_of : ATTR(:get<PickupInformation>);
32 my %NotificationInformation_of : ATTR(:get<NotificationInformation>);
33 my %TrackingReferenceInformation_of :
34 ATTR(:get<TrackingReferenceInformation>);
35 my %OtherInformation_of : ATTR(:get<OtherInformation>);
36  
37 __PACKAGE__->_factory(
38 [ qw( SenderInformation
39 ReceiverInformation
40 PackageInformation
41 InternationalInformation
42 ReturnShipmentInformation
43 PaymentInformation
44 PickupInformation
45 NotificationInformation
46 TrackingReferenceInformation
47 OtherInformation
48  
49 )
50 ],
51 { 'SenderInformation' => \%SenderInformation_of,
52 'ReceiverInformation' => \%ReceiverInformation_of,
53 'PackageInformation' => \%PackageInformation_of,
54 'InternationalInformation' => \%InternationalInformation_of,
55 'ReturnShipmentInformation' => \%ReturnShipmentInformation_of,
56 'PaymentInformation' => \%PaymentInformation_of,
57 'PickupInformation' => \%PickupInformation_of,
58 'NotificationInformation' => \%NotificationInformation_of,
59 'TrackingReferenceInformation' =>
60 \%TrackingReferenceInformation_of,
61 'OtherInformation' => \%OtherInformation_of,
62 },
63 { 'SenderInformation' =>
64 'Shipment::Purolator::WSDLV2::Types::SenderInformation',
65 'ReceiverInformation' =>
66 'Shipment::Purolator::WSDLV2::Types::ReceiverInformation',
67 'PackageInformation' =>
68 'Shipment::Purolator::WSDLV2::Types::PackageInformation',
69 'InternationalInformation' =>
70 'Shipment::Purolator::WSDLV2::Types::InternationalInformation',
71 'ReturnShipmentInformation' =>
72 'Shipment::Purolator::WSDLV2::Types::ReturnShipmentInformation',
73 'PaymentInformation' =>
74 'Shipment::Purolator::WSDLV2::Types::PaymentInformation',
75 'PickupInformation' =>
76 'Shipment::Purolator::WSDLV2::Types::PickupInformation',
77 'NotificationInformation' =>
78 'Shipment::Purolator::WSDLV2::Types::NotificationInformation',
79 'TrackingReferenceInformation' =>
80 'Shipment::Purolator::WSDLV2::Types::TrackingReferenceInformation',
81 'OtherInformation' =>
82 'Shipment::Purolator::WSDLV2::Types::OtherInformation',
83 },
84 {
85  
86 'SenderInformation' => 'SenderInformation',
87 'ReceiverInformation' => 'ReceiverInformation',
88 'PackageInformation' => 'PackageInformation',
89 'InternationalInformation' => 'InternationalInformation',
90 'ReturnShipmentInformation' => 'ReturnShipmentInformation',
91 'PaymentInformation' => 'PaymentInformation',
92 'PickupInformation' => 'PickupInformation',
93 'NotificationInformation' => 'NotificationInformation',
94 'TrackingReferenceInformation' => 'TrackingReferenceInformation',
95 'OtherInformation' => 'OtherInformation',
96 }
97 );
98  
99 } # end BLOCK
100  
101  
102 1;
103  
104 __END__