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

filter: Statementstmt 0.0% 0 / 40 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 49 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::addBookingDetails;
3 $Shipment::Temando::WSDL::Elements::addBookingDetails::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('addBookingDetails');
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  
46 __PACKAGE__->_factory(
47 [ qw( requestId
48 bookingNumber
49 consignmentNumber
50 consignmentDocument
51 consignmentDocumentType
52  
53 )
54 ],
55 { 'requestId' => \%requestId_of,
56 'bookingNumber' => \%bookingNumber_of,
57 'consignmentNumber' => \%consignmentNumber_of,
58 'consignmentDocument' => \%consignmentDocument_of,
59 'consignmentDocumentType' => \%consignmentDocumentType_of,
60 },
61 { 'requestId' =>
62 'SOAP::WSDL::XSD::Typelib::Builtin::positiveInteger',
63 'bookingNumber' =>
64 'Shipment::Temando::WSDL::Types::BookingNumber',
65 'consignmentNumber' =>
66 'Shipment::Temando::WSDL::Types::ConsignmentNumber',
67 'consignmentDocument' =>
68 'Shipment::Temando::WSDL::Types::ConsignmentDocument',
69 'consignmentDocumentType' =>
70 'Shipment::Temando::WSDL::Types::ConsignmentDocumentType',
71 },
72 {
73  
74 'requestId' => 'requestId',
75 'bookingNumber' => 'bookingNumber',
76 'consignmentNumber' => 'consignmentNumber',
77 'consignmentDocument' => 'consignmentDocument',
78 'consignmentDocumentType' => 'consignmentDocumentType',
79 }
80 );
81  
82 } # end BLOCK
83  
84  
85 } # end of BLOCK
86  
87  
88 1;
89  
90 __END__