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

filter: Statementstmt 0.0% 0 / 72 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 12 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 87 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::makeBookingByRequestResponse;
3 $Shipment::Temando::WSDL::Elements::makeBookingByRequestResponse::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('makeBookingByRequestResponse');
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 %consignmentNumber_of : ATTR(:get<consignmentNumber>);
43 my %consignmentDocument_of : ATTR(:get<consignmentDocument>);
44 my %consignmentDocumentType_of : ATTR(:get<consignmentDocumentType>);
45 my %labelDocument_of : ATTR(:get<labelDocument>);
46 my %labelDocumentType_of : ATTR(:get<labelDocumentType>);
47 my %anytime_of : ATTR(:get<anytime>);
48 my %quote_of : ATTR(:get<quote>);
49 my %manifestNumber_of : ATTR(:get<manifestNumber>);
50 my %articles_of : ATTR(:get<articles>);
51  
52 __PACKAGE__->_factory(
53 [ qw( requestId
54 bookingNumber
55 consignmentNumber
56 consignmentDocument
57 consignmentDocumentType
58 labelDocument
59 labelDocumentType
60 anytime
61 quote
62 manifestNumber
63 articles
64  
65 )
66 ],
67 { 'requestId' => \%requestId_of,
68 'bookingNumber' => \%bookingNumber_of,
69 'consignmentNumber' => \%consignmentNumber_of,
70 'consignmentDocument' => \%consignmentDocument_of,
71 'consignmentDocumentType' => \%consignmentDocumentType_of,
72 'labelDocument' => \%labelDocument_of,
73 'labelDocumentType' => \%labelDocumentType_of,
74 'anytime' => \%anytime_of,
75 'quote' => \%quote_of,
76 'manifestNumber' => \%manifestNumber_of,
77 'articles' => \%articles_of,
78 },
79 { 'requestId' =>
80 'SOAP::WSDL::XSD::Typelib::Builtin::positiveInteger',
81 'bookingNumber' =>
82 'Shipment::Temando::WSDL::Types::BookingNumber',
83 'consignmentNumber' =>
84 'Shipment::Temando::WSDL::Types::ConsignmentNumber',
85 'consignmentDocument' =>
86 'Shipment::Temando::WSDL::Types::ConsignmentDocument',
87 'consignmentDocumentType' =>
88 'Shipment::Temando::WSDL::Types::ConsignmentDocumentType',
89 'labelDocument' =>
90 'Shipment::Temando::WSDL::Types::LabelDocument',
91 'labelDocumentType' =>
92 'Shipment::Temando::WSDL::Types::LabelDocumentType',
93 'anytime' => 'Shipment::Temando::WSDL::Types::Anytime',
94 'quote' => 'Shipment::Temando::WSDL::Types::AvailableQuote',
95 'manifestNumber' =>
96 'Shipment::Temando::WSDL::Types::ManifestNumber',
97  
98 'articles' =>
99 'Shipment::Temando::WSDL::Elements::makeBookingByRequestResponse::_articles',
100 },
101 {
102  
103 'requestId' => 'requestId',
104 'bookingNumber' => 'bookingNumber',
105 'consignmentNumber' => 'consignmentNumber',
106 'consignmentDocument' => 'consignmentDocument',
107 'consignmentDocumentType' => 'consignmentDocumentType',
108 'labelDocument' => 'labelDocument',
109 'labelDocumentType' => 'labelDocumentType',
110 'anytime' => 'anytime',
111 'quote' => 'quote',
112 'manifestNumber' => 'manifestNumber',
113 'articles' => 'articles',
114 }
115 );
116  
117 } # end BLOCK
118  
119  
120 package Shipment::Temando::WSDL::Elements::makeBookingByRequestResponse::_articles;
121 $Shipment::Temando::WSDL::Elements::makeBookingByRequestResponse::_articles::VERSION
122 = '3.11';
123 use strict;
124 use warnings;
125 {
126 our $XML_ATTRIBUTE_CLASS;
127 undef $XML_ATTRIBUTE_CLASS;
128  
129 sub __get_attr_class {
130 return $XML_ATTRIBUTE_CLASS;
131 }
132  
133 use Class::Std::Fast::Storable constructor => 'none';
134 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
135  
136 Class::Std::initialize();
137  
138 { # BLOCK to scope variables
139  
140 my %article_of : ATTR(:get<article>);
141  
142 __PACKAGE__->_factory(
143 [ qw( article
144  
145 )
146 ],
147 {'article' => \%article_of,},
148 {'article' => 'Shipment::Temando::WSDL::Types::Article',},
149 {
150  
151 'article' => 'article',
152 }
153 );
154  
155 } # end BLOCK
156  
157  
158 }
159  
160  
161 } # end of BLOCK
162  
163  
164 1;
165  
166 __END__