Shipment/FedEx/WSDL/RateTypes/RateDiscount.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::FedEx::WSDL::RateTypes::RateDiscount;
2 $Shipment::FedEx::WSDL::RateTypes::RateDiscount::VERSION = '3.11';
3 use strict;
4 use warnings;
5  
6  
7 __PACKAGE__->_set_element_form_qualified(1);
8  
9 sub get_xmlns {'http://fedex.com/ws/rate/v9'}
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 %RateDiscountType_of : ATTR(:get<RateDiscountType>);
26 my %Description_of : ATTR(:get<Description>);
27 my %Amount_of : ATTR(:get<Amount>);
28 my %Percent_of : ATTR(:get<Percent>);
29  
30 __PACKAGE__->_factory(
31 [ qw( RateDiscountType
32 Description
33 Amount
34 Percent
35  
36 )
37 ],
38 { 'RateDiscountType' => \%RateDiscountType_of,
39 'Description' => \%Description_of,
40 'Amount' => \%Amount_of,
41 'Percent' => \%Percent_of,
42 },
43 { 'RateDiscountType' =>
44 'Shipment::FedEx::WSDL::RateTypes::RateDiscountType',
45 'Description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
46 'Amount' => 'Shipment::FedEx::WSDL::RateTypes::Money',
47 'Percent' => 'SOAP::WSDL::XSD::Typelib::Builtin::decimal',
48 },
49 {
50  
51 'RateDiscountType' => 'RateDiscountType',
52 'Description' => 'Description',
53 'Amount' => 'Amount',
54 'Percent' => 'Percent',
55 }
56 );
57  
58 } # end BLOCK
59  
60  
61 1;
62  
63 __END__