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

filter: Statementstmt 0.0% 0 / 59 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 11 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 73 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::Extra;
2 $Shipment::Temando::WSDL::Types::Extra::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 %summary_of : ATTR(:get<summary>);
30 my %details_of : ATTR(:get<details>);
31 my %totalPrice_of : ATTR(:get<totalPrice>);
32 my %basePrice_of : ATTR(:get<basePrice>);
33 my %tax_of : ATTR(:get<tax>);
34 my %adjustments_of : ATTR(:get<adjustments>);
35  
36 __PACKAGE__->_factory(
37 [ qw( summary
38 details
39 totalPrice
40 basePrice
41 tax
42 adjustments
43  
44 )
45 ],
46 { 'summary' => \%summary_of,
47 'details' => \%details_of,
48 'totalPrice' => \%totalPrice_of,
49 'basePrice' => \%basePrice_of,
50 'tax' => \%tax_of,
51 'adjustments' => \%adjustments_of,
52 },
53 { 'summary' => 'Shipment::Temando::WSDL::Types::ExtraSummary',
54 'details' => 'Shipment::Temando::WSDL::Types::ExtraDetails',
55 'totalPrice' => 'Shipment::Temando::WSDL::Types::CurrencyAmount',
56 'basePrice' => 'Shipment::Temando::WSDL::Types::CurrencyAmount',
57 'tax' => 'Shipment::Temando::WSDL::Types::CurrencyAmount',
58  
59 'adjustments' =>
60 'Shipment::Temando::WSDL::Types::Extra::_adjustments',
61 },
62 {
63  
64 'summary' => 'summary',
65 'details' => 'details',
66 'totalPrice' => 'totalPrice',
67 'basePrice' => 'basePrice',
68 'tax' => 'tax',
69 'adjustments' => 'adjustments',
70 }
71 );
72  
73 } # end BLOCK
74  
75  
76 package Shipment::Temando::WSDL::Types::Extra::_adjustments;
77 $Shipment::Temando::WSDL::Types::Extra::_adjustments::VERSION = '3.11';
78 use strict;
79 use warnings;
80 {
81 our $XML_ATTRIBUTE_CLASS;
82 undef $XML_ATTRIBUTE_CLASS;
83  
84 sub __get_attr_class {
85 return $XML_ATTRIBUTE_CLASS;
86 }
87  
88 use Class::Std::Fast::Storable constructor => 'none';
89 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
90  
91 Class::Std::initialize();
92  
93 { # BLOCK to scope variables
94  
95 my %adjustment_of : ATTR(:get<adjustment>);
96  
97 __PACKAGE__->_factory(
98 [ qw( adjustment
99  
100 )
101 ],
102 {'adjustment' => \%adjustment_of,},
103 {'adjustment' => 'Shipment::Temando::WSDL::Types::Adjustment',},
104 {
105  
106 'adjustment' => 'adjustment',
107 }
108 );
109  
110 } # end BLOCK
111  
112  
113 }
114  
115  
116 1;
117  
118 __END__