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

filter: Statementstmt 0.0% 0 / 39 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 48 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  
2 package Shipment::Temando::WSDL::Elements::getRequest;
3 $Shipment::Temando::WSDL::Elements::getRequest::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('getRequest');
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 %requestId_of : ATTR(:get<requestId>);
41 my %bookingNumber_of : ATTR(:get<bookingNumber>);
42 my %reference_of : ATTR(:get<reference>);
43 my %detail_of : ATTR(:get<detail>);
44  
45 __PACKAGE__->_factory(
46 [ qw( requestId
47 bookingNumber
48 reference
49 detail
50  
51 )
52 ],
53 { 'requestId' => \%requestId_of,
54 'bookingNumber' => \%bookingNumber_of,
55 'reference' => \%reference_of,
56 'detail' => \%detail_of,
57 },
58 { 'requestId' =>
59 'SOAP::WSDL::XSD::Typelib::Builtin::positiveInteger',
60 'bookingNumber' =>
61 'Shipment::Temando::WSDL::Types::BookingNumber',
62 'reference' =>
63 'Shipment::Temando::WSDL::Types::ClientReference',
64 'detail' => 'Shipment::Temando::WSDL::Types::Detail',
65 },
66 {
67  
68 'requestId' => 'requestId',
69 'bookingNumber' => 'bookingNumber',
70 'reference' => 'reference',
71 'detail' => 'detail',
72 }
73 );
74  
75 } # end BLOCK
76  
77  
78 } # end of BLOCK
79  
80  
81 1;
82  
83 __END__