Shipment/Temando/WSDL/Elements/updateRequest.pm untested

filter: Statementstmt 0.0% 0 / 97 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 17 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 118 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  
2 package Shipment::Temando::WSDL::Elements::updateRequest;
3 $Shipment::Temando::WSDL::Elements::updateRequest::VERSION = '3.11';
4 use strict;
5 use warnings;
6  
7 { # BLOCK to scope variables
8  
9 sub get_xmlns {
10 'http://'
11 . $Shipment::Temando::WSDL::Interfaces::quoting_Service::quoting_port::ns_url
12 . '/schema/2009_06/server.xsd';
13 }
14  
15 __PACKAGE__->__set_name('updateRequest');
16 __PACKAGE__->__set_nillable();
17 __PACKAGE__->__set_minOccurs();
18 __PACKAGE__->__set_maxOccurs();
19 __PACKAGE__->__set_ref();
20  
21 use base qw(
22 SOAP::WSDL::XSD::Typelib::Element
23 SOAP::WSDL::XSD::Typelib::ComplexType
24 );
25  
26 our $XML_ATTRIBUTE_CLASS;
27 undef $XML_ATTRIBUTE_CLASS;
28  
29 sub __get_attr_class {
30 return $XML_ATTRIBUTE_CLASS;
31 }
32  
33 use Class::Std::Fast::Storable constructor => 'none';
34 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
35  
36 Class::Std::initialize();
37  
38 { # BLOCK to scope variables
39  
40 my %action_of : ATTR(:get<action>);
41 my %requestId_of : ATTR(:get<requestId>);
42 my %reference_of : ATTR(:get<reference>);
43 my %anythings_of : ATTR(:get<anythings>);
44 my %articles_of : ATTR(:get<articles>);
45 my %general_of : ATTR(:get<general>);
46 my %payment_of : ATTR(:get<payment>);
47 my %clientId_of : ATTR(:get<clientId>);
48 my %labelPrinterType_of : ATTR(:get<labelPrinterType>);
49 my %detail_of : ATTR(:get<detail>);
50  
51 __PACKAGE__->_factory(
52 [ qw( action
53 requestId
54 reference
55 anythings
56 articles
57 general
58 payment
59 clientId
60 labelPrinterType
61 detail
62  
63 )
64 ],
65 { 'action' => \%action_of,
66 'requestId' => \%requestId_of,
67 'reference' => \%reference_of,
68 'anythings' => \%anythings_of,
69 'articles' => \%articles_of,
70 'general' => \%general_of,
71 'payment' => \%payment_of,
72 'clientId' => \%clientId_of,
73 'labelPrinterType' => \%labelPrinterType_of,
74 'detail' => \%detail_of,
75 },
76 { 'action' => 'Shipment::Temando::WSDL::Types::UpdateAction',
77 'requestId' =>
78 'SOAP::WSDL::XSD::Typelib::Builtin::positiveInteger',
79 'reference' =>
80 'Shipment::Temando::WSDL::Types::ClientReference',
81  
82 'anythings' =>
83 'Shipment::Temando::WSDL::Elements::updateRequest::_anythings',
84  
85 'articles' =>
86 'Shipment::Temando::WSDL::Elements::updateRequest::_articles',
87 'general' => 'Shipment::Temando::WSDL::Types::General',
88 'payment' => 'Shipment::Temando::WSDL::Types::Payment',
89 'clientId' => 'Shipment::Temando::WSDL::Types::ClientId',
90 'labelPrinterType' =>
91 'Shipment::Temando::WSDL::Types::LabelPrinterType',
92 'detail' => 'Shipment::Temando::WSDL::Types::Detail',
93 },
94 {
95  
96 'action' => 'action',
97 'requestId' => 'requestId',
98 'reference' => 'reference',
99 'anythings' => 'anythings',
100 'articles' => 'articles',
101 'general' => 'general',
102 'payment' => 'payment',
103 'clientId' => 'clientId',
104 'labelPrinterType' => 'labelPrinterType',
105 'detail' => 'detail',
106 }
107 );
108  
109 } # end BLOCK
110  
111  
112 package Shipment::Temando::WSDL::Elements::updateRequest::_anythings;
113 $Shipment::Temando::WSDL::Elements::updateRequest::_anythings::VERSION =
114 '3.11';
115 use strict;
116 use warnings;
117 {
118 our $XML_ATTRIBUTE_CLASS;
119 undef $XML_ATTRIBUTE_CLASS;
120  
121 sub __get_attr_class {
122 return $XML_ATTRIBUTE_CLASS;
123 }
124  
125 use Class::Std::Fast::Storable constructor => 'none';
126 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
127  
128 Class::Std::initialize();
129  
130 { # BLOCK to scope variables
131  
132 my %anything_of : ATTR(:get<anything>);
133  
134 __PACKAGE__->_factory(
135 [ qw( anything
136  
137 )
138 ],
139 {'anything' => \%anything_of,},
140 {'anything' => 'Shipment::Temando::WSDL::Types::Anything',},
141 {
142  
143 'anything' => 'anything',
144 }
145 );
146  
147 } # end BLOCK
148  
149  
150 }
151  
152  
153 package Shipment::Temando::WSDL::Elements::updateRequest::_articles;
154 $Shipment::Temando::WSDL::Elements::updateRequest::_articles::VERSION =
155 '3.11';
156 use strict;
157 use warnings;
158 {
159 our $XML_ATTRIBUTE_CLASS;
160 undef $XML_ATTRIBUTE_CLASS;
161  
162 sub __get_attr_class {
163 return $XML_ATTRIBUTE_CLASS;
164 }
165  
166 use Class::Std::Fast::Storable constructor => 'none';
167 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
168  
169 Class::Std::initialize();
170  
171 { # BLOCK to scope variables
172  
173 my %article_of : ATTR(:get<article>);
174  
175 __PACKAGE__->_factory(
176 [ qw( article
177  
178 )
179 ],
180 {'article' => \%article_of,},
181 {'article' => 'Shipment::Temando::WSDL::Types::Article',},
182 {
183  
184 'article' => 'article',
185 }
186 );
187  
188 } # end BLOCK
189  
190  
191 }
192  
193  
194 } # end of BLOCK
195  
196  
197 1;
198  
199 __END__