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

filter: Statementstmt 0.0% 0 / 55 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 11 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 69 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 package Shipment::Temando::WSDL::Types::CarrierPreference;
2 $Shipment::Temando::WSDL::Types::CarrierPreference::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 %carrierId_of : ATTR(:get<carrierId>);
30 my %deliveryMethods_of : ATTR(:get<deliveryMethods>);
31  
32 __PACKAGE__->_factory(
33 [ qw( carrierId
34 deliveryMethods
35  
36 )
37 ],
38 { 'carrierId' => \%carrierId_of,
39 'deliveryMethods' => \%deliveryMethods_of,
40 },
41 { 'carrierId' => 'Shipment::Temando::WSDL::Types::CarrierId',
42  
43 'deliveryMethods' =>
44 'Shipment::Temando::WSDL::Types::CarrierPreference::_deliveryMethods',
45 },
46 {
47  
48 'carrierId' => 'carrierId',
49 'deliveryMethods' => 'deliveryMethods',
50 }
51 );
52  
53 } # end BLOCK
54  
55  
56 package Shipment::Temando::WSDL::Types::CarrierPreference::_deliveryMethods;
57 $Shipment::Temando::WSDL::Types::CarrierPreference::_deliveryMethods::VERSION
58 = '3.11';
59 use strict;
60 use warnings;
61 {
62 our $XML_ATTRIBUTE_CLASS;
63 undef $XML_ATTRIBUTE_CLASS;
64  
65 sub __get_attr_class {
66 return $XML_ATTRIBUTE_CLASS;
67 }
68  
69 use Class::Std::Fast::Storable constructor => 'none';
70 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
71  
72 Class::Std::initialize();
73  
74 { # BLOCK to scope variables
75  
76 my %deliveryMethod_of : ATTR(:get<deliveryMethod>);
77  
78 __PACKAGE__->_factory(
79 [ qw( deliveryMethod
80  
81 )
82 ],
83 {'deliveryMethod' => \%deliveryMethod_of,},
84 { 'deliveryMethod' =>
85 'Shipment::Temando::WSDL::Types::DeliveryMethod',
86 },
87 {
88  
89 'deliveryMethod' => 'deliveryMethod',
90 }
91 );
92  
93 } # end BLOCK
94  
95  
96 }
97  
98  
99 1;
100  
101 __END__