Shipment/Temando/WSDL/Types/Request.pm untested

filter: Statementstmt 0.0% 0 / 98 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 17 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 119 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
__get_attr_class
2.0
CRAP 2.0
1 package Shipment::Temando::WSDL::Types::Request;
2 $Shipment::Temando::WSDL::Types::Request::VERSION = '3.11';
3 use strict;
4 use warnings;
5  
6  
7 __PACKAGE__->_set_element_form_qualified(0);
8  
9 sub get_xmlns {
10 'http://'
11 . $Shipment::Temando::WSDL::Interfaces::quoting_Service::quoting_port::ns_url
12 . '/schema/2009_06/common.xsd';
13 }
14  
15 our $XML_ATTRIBUTE_CLASS =
16 'Shipment::Temando::WSDL::Types::Request::_Request::XmlAttr';
17  
18 sub __get_attr_class {
19 return $XML_ATTRIBUTE_CLASS;
20 }
21  
22 use Class::Std::Fast::Storable constructor => 'none';
23 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
24  
25 Class::Std::initialize();
26  
27 { # BLOCK to scope variables
28  
29 my %status_of : ATTR(:get<status>);
30 my %anythings_of : ATTR(:get<anythings>);
31 my %anywhere_of : ATTR(:get<anywhere>);
32 my %anytime_of : ATTR(:get<anytime>);
33 my %general_of : ATTR(:get<general>);
34 my %origin_of : ATTR(:get<origin>);
35 my %destination_of : ATTR(:get<destination>);
36 my %quotes_of : ATTR(:get<quotes>);
37 my %instructions_of : ATTR(:get<instructions>);
38 my %comments_of : ATTR(:get<comments>);
39 my %reference_of : ATTR(:get<reference>);
40  
41 __PACKAGE__->_factory(
42 [ qw( status
43 anythings
44 anywhere
45 anytime
46 general
47 origin
48 destination
49 quotes
50 instructions
51 comments
52 reference
53  
54 )
55 ],
56 { 'status' => \%status_of,
57 'anythings' => \%anythings_of,
58 'anywhere' => \%anywhere_of,
59 'anytime' => \%anytime_of,
60 'general' => \%general_of,
61 'origin' => \%origin_of,
62 'destination' => \%destination_of,
63 'quotes' => \%quotes_of,
64 'instructions' => \%instructions_of,
65 'comments' => \%comments_of,
66 'reference' => \%reference_of,
67 },
68 { 'status' => 'Shipment::Temando::WSDL::Types::RequestStatus',
69  
70 'anythings' =>
71 'Shipment::Temando::WSDL::Types::Request::_anythings',
72 'anywhere' => 'Shipment::Temando::WSDL::Types::Anywhere',
73 'anytime' => 'Shipment::Temando::WSDL::Types::Anytime',
74 'general' => 'Shipment::Temando::WSDL::Types::General',
75 'origin' => 'Shipment::Temando::WSDL::Types::Location',
76 'destination' => 'Shipment::Temando::WSDL::Types::Location',
77  
78 'quotes' => 'Shipment::Temando::WSDL::Types::Request::_quotes',
79 'instructions' => 'Shipment::Temando::WSDL::Types::Instructions',
80 'comments' => 'Shipment::Temando::WSDL::Types::Comments',
81 'reference' => 'Shipment::Temando::WSDL::Types::ClientReference',
82 },
83 {
84  
85 'status' => 'status',
86 'anythings' => 'anythings',
87 'anywhere' => 'anywhere',
88 'anytime' => 'anytime',
89 'general' => 'general',
90 'origin' => 'origin',
91 'destination' => 'destination',
92 'quotes' => 'quotes',
93 'instructions' => 'instructions',
94 'comments' => 'comments',
95 'reference' => 'reference',
96 }
97 );
98  
99 } # end BLOCK
100  
101  
102 package Shipment::Temando::WSDL::Types::Request::_anythings;
103 $Shipment::Temando::WSDL::Types::Request::_anythings::VERSION = '3.11';
104 use strict;
105 use warnings;
106 {
107 our $XML_ATTRIBUTE_CLASS;
108 undef $XML_ATTRIBUTE_CLASS;
109  
110 sub __get_attr_class {
111 return $XML_ATTRIBUTE_CLASS;
112 }
113  
114 use Class::Std::Fast::Storable constructor => 'none';
115 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
116  
117 Class::Std::initialize();
118  
119 { # BLOCK to scope variables
120  
121 my %anything_of : ATTR(:get<anything>);
122  
123 __PACKAGE__->_factory(
124 [ qw( anything
125  
126 )
127 ],
128 {'anything' => \%anything_of,},
129 {'anything' => 'Shipment::Temando::WSDL::Types::Anything',},
130 {
131  
132 'anything' => 'anything',
133 }
134 );
135  
136 } # end BLOCK
137  
138  
139 }
140  
141  
142 package Shipment::Temando::WSDL::Types::Request::_quotes;
143 $Shipment::Temando::WSDL::Types::Request::_quotes::VERSION = '3.11';
144 use strict;
145 use warnings;
146 {
147 our $XML_ATTRIBUTE_CLASS;
148 undef $XML_ATTRIBUTE_CLASS;
149  
150 sub __get_attr_class {
151 return $XML_ATTRIBUTE_CLASS;
152 }
153  
154 use Class::Std::Fast::Storable constructor => 'none';
155 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
156  
157 Class::Std::initialize();
158  
159 { # BLOCK to scope variables
160  
161 my %quote_of : ATTR(:get<quote>);
162  
163 __PACKAGE__->_factory(
164 [ qw( quote
165  
166 )
167 ],
168 {'quote' => \%quote_of,},
169 {'quote' => 'Shipment::Temando::WSDL::Types::AvailableQuote',},
170 {
171  
172 'quote' => 'quote',
173 }
174 );
175  
176 } # end BLOCK
177  
178  
179 }
180  
181  
182 package Shipment::Temando::WSDL::Types::Request::_Request::XmlAttr;
183 $Shipment::Temando::WSDL::Types::Request::_Request::XmlAttr::VERSION = '3.11';
184 use base qw(SOAP::WSDL::XSD::Typelib::AttributeSet);
185  
186 { # BLOCK to scope variables
187  
188 my %id_of : ATTR(:get<id>);
189  
190 __PACKAGE__->_factory(
191 [ qw(
192 id
193 )
194 ],
195 {
196  
197 id => \%id_of,
198 },
199 {id => 'SOAP::WSDL::XSD::Typelib::Builtin::positiveInteger',}
200 );
201  
202 } # end BLOCK
203  
204  
205 1;
206  
207 __END__