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

filter: Statementstmt 0.0% 0 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 38 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 package Shipment::Temando::WSDL::Types::Adjustment;
2 $Shipment::Temando::WSDL::Types::Adjustment::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 %description_of : ATTR(:get<description>);
30 my %amount_of : ATTR(:get<amount>);
31 my %tax_of : ATTR(:get<tax>);
32  
33 __PACKAGE__->_factory(
34 [ qw( description
35 amount
36 tax
37  
38 )
39 ],
40 { 'description' => \%description_of,
41 'amount' => \%amount_of,
42 'tax' => \%tax_of,
43 },
44 { 'description' =>
45 'Shipment::Temando::WSDL::Types::AdjustmentDescription',
46 'amount' => 'Shipment::Temando::WSDL::Types::CurrencyAmount',
47 'tax' => 'Shipment::Temando::WSDL::Types::CurrencyAmount',
48 },
49 {
50  
51 'description' => 'description',
52 'amount' => 'amount',
53 'tax' => 'tax',
54 }
55 );
56  
57 } # end BLOCK
58  
59  
60 1;
61  
62 __END__