Shipment/Purolator/WSDLV2/Types/PackageInformation.pm untested

filter: Statementstmt 0.0% 0 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 42 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::PackageInformation;
2 $Shipment::Purolator::WSDLV2::Types::PackageInformation::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 %ServiceID_of : ATTR(:get<ServiceID>);
26 my %Description_of : ATTR(:get<Description>);
27 my %TotalWeight_of : ATTR(:get<TotalWeight>);
28 my %TotalPieces_of : ATTR(:get<TotalPieces>);
29 my %PiecesInformation_of : ATTR(:get<PiecesInformation>);
30 my %DangerousGoodsDeclarationDocumentIndicator_of :
31 ATTR(:get<DangerousGoodsDeclarationDocumentIndicator>);
32 my %OptionsInformation_of : ATTR(:get<OptionsInformation>);
33  
34 __PACKAGE__->_factory(
35 [ qw( ServiceID
36 Description
37 TotalWeight
38 TotalPieces
39 PiecesInformation
40 DangerousGoodsDeclarationDocumentIndicator
41 OptionsInformation
42  
43 )
44 ],
45 { 'ServiceID' => \%ServiceID_of,
46 'Description' => \%Description_of,
47 'TotalWeight' => \%TotalWeight_of,
48 'TotalPieces' => \%TotalPieces_of,
49 'PiecesInformation' => \%PiecesInformation_of,
50 'DangerousGoodsDeclarationDocumentIndicator' =>
51 \%DangerousGoodsDeclarationDocumentIndicator_of,
52 'OptionsInformation' => \%OptionsInformation_of,
53 },
54 { 'ServiceID' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
55 'Description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 'TotalWeight' => 'Shipment::Purolator::WSDLV2::Types::TotalWeight',
57 'TotalPieces' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
58 'PiecesInformation' =>
59 'Shipment::Purolator::WSDLV2::Types::ArrayOfPiece',
60 'DangerousGoodsDeclarationDocumentIndicator' =>
61 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
62 'OptionsInformation' =>
63 'Shipment::Purolator::WSDLV2::Types::OptionsInformation',
64 },
65 {
66  
67 'ServiceID' => 'ServiceID',
68 'Description' => 'Description',
69 'TotalWeight' => 'TotalWeight',
70 'TotalPieces' => 'TotalPieces',
71 'PiecesInformation' => 'PiecesInformation',
72 'DangerousGoodsDeclarationDocumentIndicator' =>
73 'DangerousGoodsDeclarationDocumentIndicator',
74 'OptionsInformation' => 'OptionsInformation',
75 }
76 );
77  
78 } # end BLOCK
79  
80  
81 1;
82  
83 __END__