Shipment/UPS/WSDL/RateTypes/TransportationChargesType.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 39 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::UPS::WSDL::RateTypes::TransportationChargesType;
2 $Shipment::UPS::WSDL::RateTypes::TransportationChargesType::VERSION = '3.11';
3 use strict;
4 use warnings;
5  
6  
7 __PACKAGE__->_set_element_form_qualified(1);
8  
9 sub get_xmlns {'http://www.ups.com/XMLSchema/XOLTWS/Rate/v1.1'}
10  
11 our $XML_ATTRIBUTE_CLASS;
12 undef $XML_ATTRIBUTE_CLASS;
13  
14 sub __get_attr_class {
15 return $XML_ATTRIBUTE_CLASS;
16 }
17  
18 use Class::Std::Fast::Storable constructor => 'none';
19 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
20  
21 Class::Std::initialize();
22  
23 { # BLOCK to scope variables
24  
25 my %GrossCharge_of : ATTR(:get<GrossCharge>);
26 my %DiscountAmount_of : ATTR(:get<DiscountAmount>);
27 my %DiscountPercentage_of : ATTR(:get<DiscountPercentage>);
28 my %NetCharge_of : ATTR(:get<NetCharge>);
29  
30 __PACKAGE__->_factory(
31 [ qw( GrossCharge
32 DiscountAmount
33 DiscountPercentage
34 NetCharge
35  
36 )
37 ],
38 { 'GrossCharge' => \%GrossCharge_of,
39 'DiscountAmount' => \%DiscountAmount_of,
40 'DiscountPercentage' => \%DiscountPercentage_of,
41 'NetCharge' => \%NetCharge_of,
42 },
43 { 'GrossCharge' => 'Shipment::UPS::WSDL::RateTypes::ChargesType',
44 'DiscountAmount' => 'Shipment::UPS::WSDL::RateTypes::ChargesType',
45 'DiscountPercentage' =>
46 'SOAP::WSDL::XSD::Typelib::Builtin::string',
47 'NetCharge' => 'Shipment::UPS::WSDL::RateTypes::ChargesType',
48 },
49 {
50  
51 'GrossCharge' => 'GrossCharge',
52 'DiscountAmount' => 'DiscountAmount',
53 'DiscountPercentage' => 'DiscountPercentage',
54 'NetCharge' => 'NetCharge',
55 }
56 );
57  
58 } # end BLOCK
59  
60  
61 1;
62  
63 __END__