Shipment/Purolator/WSDLV2/Types/Option.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::Purolator::WSDLV2::Types::Option;
2 $Shipment::Purolator::WSDLV2::Types::Option::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 %ID_of : ATTR(:get<ID>);
26 my %Description_of : ATTR(:get<Description>);
27 my %ValueType_of : ATTR(:get<ValueType>);
28 my %AvailableForPieces_of : ATTR(:get<AvailableForPieces>);
29 my %PossibleValues_of : ATTR(:get<PossibleValues>);
30 my %ChildServiceOptions_of : ATTR(:get<ChildServiceOptions>);
31  
32 __PACKAGE__->_factory(
33 [ qw( ID
34 Description
35 ValueType
36 AvailableForPieces
37 PossibleValues
38 ChildServiceOptions
39  
40 )
41 ],
42 { 'ID' => \%ID_of,
43 'Description' => \%Description_of,
44 'ValueType' => \%ValueType_of,
45 'AvailableForPieces' => \%AvailableForPieces_of,
46 'PossibleValues' => \%PossibleValues_of,
47 'ChildServiceOptions' => \%ChildServiceOptions_of,
48 },
49 { 'ID' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
50 'Description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
51 'ValueType' => 'Shipment::Purolator::WSDLV2::Types::ValueType',
52 'AvailableForPieces' =>
53 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
54 'PossibleValues' =>
55 'Shipment::Purolator::WSDLV2::Types::ArrayOfOptionValue',
56 'ChildServiceOptions' =>
57 'Shipment::Purolator::WSDLV2::Types::ArrayOfOption',
58 },
59 {
60  
61 'ID' => 'ID',
62 'Description' => 'Description',
63 'ValueType' => 'ValueType',
64 'AvailableForPieces' => 'AvailableForPieces',
65 'PossibleValues' => 'PossibleValues',
66 'ChildServiceOptions' => 'ChildServiceOptions',
67 }
68 );
69  
70 } # end BLOCK
71  
72  
73 1;
74  
75 __END__