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

filter: Statementstmt 0.0% 0 / 76 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 12 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 91 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::makeBookingByRequest;
3 $Shipment::Temando::WSDL::Elements::makeBookingByRequest::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('makeBookingByRequest');
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 %anythings_of : ATTR(:get<anythings>);
41 my %anywhere_of : ATTR(:get<anywhere>);
42 my %anytime_of : ATTR(:get<anytime>);
43 my %general_of : ATTR(:get<general>);
44 my %origin_of : ATTR(:get<origin>);
45 my %destination_of : ATTR(:get<destination>);
46 my %quote_of : ATTR(:get<quote>);
47 my %quoteFilter_of : ATTR(:get<quoteFilter>);
48 my %payment_of : ATTR(:get<payment>);
49 my %instructions_of : ATTR(:get<instructions>);
50 my %comments_of : ATTR(:get<comments>);
51 my %reference_of : ATTR(:get<reference>);
52 my %promotionCode_of : ATTR(:get<promotionCode>);
53 my %clientId_of : ATTR(:get<clientId>);
54 my %labelPrinterType_of : ATTR(:get<labelPrinterType>);
55  
56 __PACKAGE__->_factory(
57 [ qw( anythings
58 anywhere
59 anytime
60 general
61 origin
62 destination
63 quote
64 quoteFilter
65 payment
66 instructions
67 comments
68 reference
69 promotionCode
70 clientId
71 labelPrinterType
72  
73 )
74 ],
75 { 'anythings' => \%anythings_of,
76 'anywhere' => \%anywhere_of,
77 'anytime' => \%anytime_of,
78 'general' => \%general_of,
79 'origin' => \%origin_of,
80 'destination' => \%destination_of,
81 'quote' => \%quote_of,
82 'quoteFilter' => \%quoteFilter_of,
83 'payment' => \%payment_of,
84 'instructions' => \%instructions_of,
85 'comments' => \%comments_of,
86 'reference' => \%reference_of,
87 'promotionCode' => \%promotionCode_of,
88 'clientId' => \%clientId_of,
89 'labelPrinterType' => \%labelPrinterType_of,
90 },
91 {
92  
93 'anythings' =>
94 'Shipment::Temando::WSDL::Elements::makeBookingByRequest::_anythings',
95 'anywhere' => 'Shipment::Temando::WSDL::Types::Anywhere',
96 'anytime' => 'Shipment::Temando::WSDL::Types::Anytime',
97 'general' => 'Shipment::Temando::WSDL::Types::General',
98 'origin' => 'Shipment::Temando::WSDL::Types::Location',
99 'destination' => 'Shipment::Temando::WSDL::Types::Location',
100 'quote' => 'Shipment::Temando::WSDL::Types::BookingQuote',
101 'quoteFilter' => 'Shipment::Temando::WSDL::Types::QuoteFilter',
102 'payment' => 'Shipment::Temando::WSDL::Types::Payment',
103 'instructions' =>
104 'Shipment::Temando::WSDL::Types::Instructions',
105 'comments' => 'Shipment::Temando::WSDL::Types::Comments',
106 'reference' =>
107 'Shipment::Temando::WSDL::Types::ClientReference',
108 'promotionCode' =>
109 'Shipment::Temando::WSDL::Types::PromotionCode',
110 'clientId' => 'Shipment::Temando::WSDL::Types::ClientId',
111 'labelPrinterType' =>
112 'Shipment::Temando::WSDL::Types::LabelPrinterType',
113 },
114 {
115  
116 'anythings' => 'anythings',
117 'anywhere' => 'anywhere',
118 'anytime' => 'anytime',
119 'general' => 'general',
120 'origin' => 'origin',
121 'destination' => 'destination',
122 'quote' => 'quote',
123 'quoteFilter' => 'quoteFilter',
124 'payment' => 'payment',
125 'instructions' => 'instructions',
126 'comments' => 'comments',
127 'reference' => 'reference',
128 'promotionCode' => 'promotionCode',
129 'clientId' => 'clientId',
130 'labelPrinterType' => 'labelPrinterType',
131 }
132 );
133  
134 } # end BLOCK
135  
136  
137 package Shipment::Temando::WSDL::Elements::makeBookingByRequest::_anythings;
138 $Shipment::Temando::WSDL::Elements::makeBookingByRequest::_anythings::VERSION
139 = '3.11';
140 use strict;
141 use warnings;
142 {
143 our $XML_ATTRIBUTE_CLASS;
144 undef $XML_ATTRIBUTE_CLASS;
145  
146 sub __get_attr_class {
147 return $XML_ATTRIBUTE_CLASS;
148 }
149  
150 use Class::Std::Fast::Storable constructor => 'none';
151 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
152  
153 Class::Std::initialize();
154  
155 { # BLOCK to scope variables
156  
157 my %anything_of : ATTR(:get<anything>);
158  
159 __PACKAGE__->_factory(
160 [ qw( anything
161  
162 )
163 ],
164 {'anything' => \%anything_of,},
165 {'anything' => 'Shipment::Temando::WSDL::Types::Anything',},
166 {
167  
168 'anything' => 'anything',
169 }
170 );
171  
172 } # end BLOCK
173  
174  
175 }
176  
177  
178 } # end of BLOCK
179  
180  
181 1;
182  
183 __END__