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

filter: Statementstmt 0.0% 0 / 79 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 87 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::Temando::WSDL::Types::DispatchDetails;
2 $Shipment::Temando::WSDL::Types::DispatchDetails::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 undef $XML_ATTRIBUTE_CLASS;
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 %reference_of : ATTR(:get<reference>);
30 my %carrierName_of : ATTR(:get<carrierName>);
31 my %carrierId_of : ATTR(:get<carrierId>);
32 my %accountNo_of : ATTR(:get<accountNo>);
33 my %creatorId_of : ATTR(:get<creatorId>);
34 my %currency_of : ATTR(:get<currency>);
35 my %changedCarrier_of : ATTR(:get<changedCarrier>);
36 my %consignmentEdited_of : ATTR(:get<consignmentEdited>);
37 my %consignmentNumber_of : ATTR(:get<consignmentNumber>);
38 my %consignmentDate_of : ATTR(:get<consignmentDate>);
39 my %deliveryMethod_of : ATTR(:get<deliveryMethod>);
40 my %rateName_of : ATTR(:get<rateName>);
41 my %description_of : ATTR(:get<description>);
42 my %distanceMeasurementType_of : ATTR(:get<distanceMeasurementType>);
43 my %weightMeasurementType_of : ATTR(:get<weightMeasurementType>);
44 my %length_of : ATTR(:get<length>);
45 my %width_of : ATTR(:get<width>);
46 my %height_of : ATTR(:get<height>);
47 my %actualWeight_of : ATTR(:get<actualWeight>);
48 my %chargeableWeight_of : ATTR(:get<chargeableWeight>);
49 my %actualCubic_of : ATTR(:get<actualCubic>);
50 my %chargeableCubic_of : ATTR(:get<chargeableCubic>);
51 my %actualQuantity_of : ATTR(:get<actualQuantity>);
52 my %chargeableQuantity_of : ATTR(:get<chargeableQuantity>);
53 my %basePrice_of : ATTR(:get<basePrice>);
54 my %surcharges_of : ATTR(:get<surcharges>);
55 my %tax_of : ATTR(:get<tax>);
56 my %totalPrice_of : ATTR(:get<totalPrice>);
57 my %originZoneName_of : ATTR(:get<originZoneName>);
58 my %originContactName_of : ATTR(:get<originContactName>);
59 my %originCompanyName_of : ATTR(:get<originCompanyName>);
60 my %originStreet_of : ATTR(:get<originStreet>);
61 my %originSuburb_of : ATTR(:get<originSuburb>);
62 my %originState_of : ATTR(:get<originState>);
63 my %originCode_of : ATTR(:get<originCode>);
64 my %originCountry_of : ATTR(:get<originCountry>);
65 my %originPhone1_of : ATTR(:get<originPhone1>);
66 my %originPhone2_of : ATTR(:get<originPhone2>);
67 my %originFax_of : ATTR(:get<originFax>);
68 my %originEmail_of : ATTR(:get<originEmail>);
69 my %destinationZoneName_of : ATTR(:get<destinationZoneName>);
70 my %destinationContactName_of : ATTR(:get<destinationContactName>);
71 my %destinationCompanyName_of : ATTR(:get<destinationCompanyName>);
72 my %destinationStreet_of : ATTR(:get<destinationStreet>);
73 my %destinationSuburb_of : ATTR(:get<destinationSuburb>);
74 my %destinationState_of : ATTR(:get<destinationState>);
75 my %destinationCode_of : ATTR(:get<destinationCode>);
76 my %destinationCountry_of : ATTR(:get<destinationCountry>);
77 my %destinationPhone1_of : ATTR(:get<destinationPhone1>);
78 my %destinationPhone2_of : ATTR(:get<destinationPhone2>);
79 my %destinationFax_of : ATTR(:get<destinationFax>);
80 my %destinationEmail_of : ATTR(:get<destinationEmail>);
81  
82 __PACKAGE__->_factory(
83 [ qw( reference
84 carrierName
85 carrierId
86 accountNo
87 creatorId
88 currency
89 changedCarrier
90 consignmentEdited
91 consignmentNumber
92 consignmentDate
93 deliveryMethod
94 rateName
95 description
96 distanceMeasurementType
97 weightMeasurementType
98 length
99 width
100 height
101 actualWeight
102 chargeableWeight
103 actualCubic
104 chargeableCubic
105 actualQuantity
106 chargeableQuantity
107 basePrice
108 surcharges
109 tax
110 totalPrice
111 originZoneName
112 originContactName
113 originCompanyName
114 originStreet
115 originSuburb
116 originState
117 originCode
118 originCountry
119 originPhone1
120 originPhone2
121 originFax
122 originEmail
123 destinationZoneName
124 destinationContactName
125 destinationCompanyName
126 destinationStreet
127 destinationSuburb
128 destinationState
129 destinationCode
130 destinationCountry
131 destinationPhone1
132 destinationPhone2
133 destinationFax
134 destinationEmail
135  
136 )
137 ],
138 { 'reference' => \%reference_of,
139 'carrierName' => \%carrierName_of,
140 'carrierId' => \%carrierId_of,
141 'accountNo' => \%accountNo_of,
142 'creatorId' => \%creatorId_of,
143 'currency' => \%currency_of,
144 'changedCarrier' => \%changedCarrier_of,
145 'consignmentEdited' => \%consignmentEdited_of,
146 'consignmentNumber' => \%consignmentNumber_of,
147 'consignmentDate' => \%consignmentDate_of,
148 'deliveryMethod' => \%deliveryMethod_of,
149 'rateName' => \%rateName_of,
150 'description' => \%description_of,
151 'distanceMeasurementType' => \%distanceMeasurementType_of,
152 'weightMeasurementType' => \%weightMeasurementType_of,
153 'length' => \%length_of,
154 'width' => \%width_of,
155 'height' => \%height_of,
156 'actualWeight' => \%actualWeight_of,
157 'chargeableWeight' => \%chargeableWeight_of,
158 'actualCubic' => \%actualCubic_of,
159 'chargeableCubic' => \%chargeableCubic_of,
160 'actualQuantity' => \%actualQuantity_of,
161 'chargeableQuantity' => \%chargeableQuantity_of,
162 'basePrice' => \%basePrice_of,
163 'surcharges' => \%surcharges_of,
164 'tax' => \%tax_of,
165 'totalPrice' => \%totalPrice_of,
166 'originZoneName' => \%originZoneName_of,
167 'originContactName' => \%originContactName_of,
168 'originCompanyName' => \%originCompanyName_of,
169 'originStreet' => \%originStreet_of,
170 'originSuburb' => \%originSuburb_of,
171 'originState' => \%originState_of,
172 'originCode' => \%originCode_of,
173 'originCountry' => \%originCountry_of,
174 'originPhone1' => \%originPhone1_of,
175 'originPhone2' => \%originPhone2_of,
176 'originFax' => \%originFax_of,
177 'originEmail' => \%originEmail_of,
178 'destinationZoneName' => \%destinationZoneName_of,
179 'destinationContactName' => \%destinationContactName_of,
180 'destinationCompanyName' => \%destinationCompanyName_of,
181 'destinationStreet' => \%destinationStreet_of,
182 'destinationSuburb' => \%destinationSuburb_of,
183 'destinationState' => \%destinationState_of,
184 'destinationCode' => \%destinationCode_of,
185 'destinationCountry' => \%destinationCountry_of,
186 'destinationPhone1' => \%destinationPhone1_of,
187 'destinationPhone2' => \%destinationPhone2_of,
188 'destinationFax' => \%destinationFax_of,
189 'destinationEmail' => \%destinationEmail_of,
190 },
191 { 'reference' => 'Shipment::Temando::WSDL::Types::CarrierReference',
192 'carrierName' => 'Shipment::Temando::WSDL::Types::CompanyName',
193 'carrierId' => 'Shipment::Temando::WSDL::Types::CarrierId',
194 'accountNo' =>
195 'Shipment::Temando::WSDL::Types::CarrierAccountNumber',
196 'creatorId' => 'Shipment::Temando::WSDL::Types::CarrierCreatorId',
197 'currency' => 'Shipment::Temando::WSDL::Types::CurrencyType',
198 'changedCarrier' => 'Shipment::Temando::WSDL::Types::YesNoOption',
199 'consignmentEdited' =>
200 'Shipment::Temando::WSDL::Types::YesNoOption',
201 'consignmentNumber' =>
202 'Shipment::Temando::WSDL::Types::ConsignmentNumber',
203 'consignmentDate' => 'Shipment::Temando::WSDL::Types::Date',
204 'deliveryMethod' =>
205 'Shipment::Temando::WSDL::Types::DeliveryMethod',
206 'rateName' => 'Shipment::Temando::WSDL::Types::RateName',
207 'description' => 'Shipment::Temando::WSDL::Types::ItemDescription',
208 'distanceMeasurementType' =>
209 'Shipment::Temando::WSDL::Types::DistanceMeasurementType',
210 'weightMeasurementType' =>
211 'Shipment::Temando::WSDL::Types::WeightMeasurementType',
212 'length' => 'Shipment::Temando::WSDL::Types::Length',
213 'width' => 'Shipment::Temando::WSDL::Types::Width',
214 'height' => 'Shipment::Temando::WSDL::Types::Height',
215 'actualWeight' => 'Shipment::Temando::WSDL::Types::Weight',
216 'chargeableWeight' => 'Shipment::Temando::WSDL::Types::Weight',
217 'actualCubic' => 'Shipment::Temando::WSDL::Types::Cubic',
218 'chargeableCubic' => 'Shipment::Temando::WSDL::Types::Cubic',
219 'actualQuantity' => 'Shipment::Temando::WSDL::Types::Quantity',
220 'chargeableQuantity' => 'Shipment::Temando::WSDL::Types::Quantity',
221 'basePrice' => 'Shipment::Temando::WSDL::Types::CurrencyAmount',
222 'surcharges' => 'Shipment::Temando::WSDL::Types::CurrencyAmount',
223 'tax' => 'Shipment::Temando::WSDL::Types::CurrencyAmount',
224 'totalPrice' => 'Shipment::Temando::WSDL::Types::CurrencyAmount',
225 'originZoneName' => 'Shipment::Temando::WSDL::Types::ZoneName',
226 'originContactName' =>
227 'Shipment::Temando::WSDL::Types::ContactName',
228 'originCompanyName' =>
229 'Shipment::Temando::WSDL::Types::CompanyName',
230 'originStreet' => 'Shipment::Temando::WSDL::Types::Address',
231 'originSuburb' => 'Shipment::Temando::WSDL::Types::Suburb',
232 'originState' => 'Shipment::Temando::WSDL::Types::State',
233 'originCode' => 'Shipment::Temando::WSDL::Types::PostalCode',
234 'originCountry' => 'Shipment::Temando::WSDL::Types::CountryCode',
235 'originPhone1' => 'Shipment::Temando::WSDL::Types::Phone',
236 'originPhone2' => 'Shipment::Temando::WSDL::Types::Phone',
237 'originFax' => 'Shipment::Temando::WSDL::Types::Fax',
238 'originEmail' => 'Shipment::Temando::WSDL::Types::Email',
239 'destinationZoneName' =>
240 'Shipment::Temando::WSDL::Types::ZoneName',
241 'destinationContactName' =>
242 'Shipment::Temando::WSDL::Types::ContactName',
243 'destinationCompanyName' =>
244 'Shipment::Temando::WSDL::Types::CompanyName',
245 'destinationStreet' => 'Shipment::Temando::WSDL::Types::Address',
246 'destinationSuburb' => 'Shipment::Temando::WSDL::Types::Suburb',
247 'destinationState' => 'Shipment::Temando::WSDL::Types::State',
248 'destinationCode' => 'Shipment::Temando::WSDL::Types::PostalCode',
249 'destinationCountry' =>
250 'Shipment::Temando::WSDL::Types::CountryCode',
251 'destinationPhone1' => 'Shipment::Temando::WSDL::Types::Phone',
252 'destinationPhone2' => 'Shipment::Temando::WSDL::Types::Phone',
253 'destinationFax' => 'Shipment::Temando::WSDL::Types::Fax',
254 'destinationEmail' => 'Shipment::Temando::WSDL::Types::Email',
255 },
256 {
257  
258 'reference' => 'reference',
259 'carrierName' => 'carrierName',
260 'carrierId' => 'carrierId',
261 'accountNo' => 'accountNo',
262 'creatorId' => 'creatorId',
263 'currency' => 'currency',
264 'changedCarrier' => 'changedCarrier',
265 'consignmentEdited' => 'consignmentEdited',
266 'consignmentNumber' => 'consignmentNumber',
267 'consignmentDate' => 'consignmentDate',
268 'deliveryMethod' => 'deliveryMethod',
269 'rateName' => 'rateName',
270 'description' => 'description',
271 'distanceMeasurementType' => 'distanceMeasurementType',
272 'weightMeasurementType' => 'weightMeasurementType',
273 'length' => 'length',
274 'width' => 'width',
275 'height' => 'height',
276 'actualWeight' => 'actualWeight',
277 'chargeableWeight' => 'chargeableWeight',
278 'actualCubic' => 'actualCubic',
279 'chargeableCubic' => 'chargeableCubic',
280 'actualQuantity' => 'actualQuantity',
281 'chargeableQuantity' => 'chargeableQuantity',
282 'basePrice' => 'basePrice',
283 'surcharges' => 'surcharges',
284 'tax' => 'tax',
285 'totalPrice' => 'totalPrice',
286 'originZoneName' => 'originZoneName',
287 'originContactName' => 'originContactName',
288 'originCompanyName' => 'originCompanyName',
289 'originStreet' => 'originStreet',
290 'originSuburb' => 'originSuburb',
291 'originState' => 'originState',
292 'originCode' => 'originCode',
293 'originCountry' => 'originCountry',
294 'originPhone1' => 'originPhone1',
295 'originPhone2' => 'originPhone2',
296 'originFax' => 'originFax',
297 'originEmail' => 'originEmail',
298 'destinationZoneName' => 'destinationZoneName',
299 'destinationContactName' => 'destinationContactName',
300 'destinationCompanyName' => 'destinationCompanyName',
301 'destinationStreet' => 'destinationStreet',
302 'destinationSuburb' => 'destinationSuburb',
303 'destinationState' => 'destinationState',
304 'destinationCode' => 'destinationCode',
305 'destinationCountry' => 'destinationCountry',
306 'destinationPhone1' => 'destinationPhone1',
307 'destinationPhone2' => 'destinationPhone2',
308 'destinationFax' => 'destinationFax',
309 'destinationEmail' => 'destinationEmail',
310 }
311 );
312  
313 } # end BLOCK
314  
315  
316 1;
317  
318 __END__