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

filter: Statementstmt 0.0% 0 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 45 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::ShipmentType;
2 $Shipment::UPS::WSDL::RateTypes::ShipmentType::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 %Shipper_of : ATTR(:get<Shipper>);
26 my %ShipTo_of : ATTR(:get<ShipTo>);
27 my %ShipFrom_of : ATTR(:get<ShipFrom>);
28 my %FRSPaymentInformation_of : ATTR(:get<FRSPaymentInformation>);
29 my %Service_of : ATTR(:get<Service>);
30 my %DocumentsOnlyIndicator_of : ATTR(:get<DocumentsOnlyIndicator>);
31 my %Package_of : ATTR(:get<Package>);
32 my %ShipmentServiceOptions_of : ATTR(:get<ShipmentServiceOptions>);
33 my %ShipmentRatingOptions_of : ATTR(:get<ShipmentRatingOptions>);
34 my %InvoiceLineTotal_of : ATTR(:get<InvoiceLineTotal>);
35  
36 __PACKAGE__->_factory(
37 [ qw( Shipper
38 ShipTo
39 ShipFrom
40 FRSPaymentInformation
41 Service
42 DocumentsOnlyIndicator
43 Package
44 ShipmentServiceOptions
45 ShipmentRatingOptions
46 InvoiceLineTotal
47  
48 )
49 ],
50 { 'Shipper' => \%Shipper_of,
51 'ShipTo' => \%ShipTo_of,
52 'ShipFrom' => \%ShipFrom_of,
53 'FRSPaymentInformation' => \%FRSPaymentInformation_of,
54 'Service' => \%Service_of,
55 'DocumentsOnlyIndicator' => \%DocumentsOnlyIndicator_of,
56 'Package' => \%Package_of,
57 'ShipmentServiceOptions' => \%ShipmentServiceOptions_of,
58 'ShipmentRatingOptions' => \%ShipmentRatingOptions_of,
59 'InvoiceLineTotal' => \%InvoiceLineTotal_of,
60 },
61 { 'Shipper' => 'Shipment::UPS::WSDL::RateTypes::ShipperType',
62 'ShipTo' => 'Shipment::UPS::WSDL::RateTypes::ShipToType',
63 'ShipFrom' => 'Shipment::UPS::WSDL::RateTypes::ShipFromType',
64 'FRSPaymentInformation' =>
65 'Shipment::UPS::WSDL::RateTypes::FRSPaymentInfoType',
66 'Service' => 'Shipment::UPS::WSDL::RateTypes::CodeDescriptionType',
67 'DocumentsOnlyIndicator' =>
68 'SOAP::WSDL::XSD::Typelib::Builtin::string',
69 'Package' => 'Shipment::UPS::WSDL::RateTypes::PackageType',
70 'ShipmentServiceOptions' =>
71 'Shipment::UPS::WSDL::RateTypes::ShipmentServiceOptionsType',
72 'ShipmentRatingOptions' =>
73 'Shipment::UPS::WSDL::RateTypes::ShipmentRatingOptionsType',
74 'InvoiceLineTotal' =>
75 'Shipment::UPS::WSDL::RateTypes::InvoiceLineTotalType',
76 },
77 {
78  
79 'Shipper' => 'Shipper',
80 'ShipTo' => 'ShipTo',
81 'ShipFrom' => 'ShipFrom',
82 'FRSPaymentInformation' => 'FRSPaymentInformation',
83 'Service' => 'Service',
84 'DocumentsOnlyIndicator' => 'DocumentsOnlyIndicator',
85 'Package' => 'Package',
86 'ShipmentServiceOptions' => 'ShipmentServiceOptions',
87 'ShipmentRatingOptions' => 'ShipmentRatingOptions',
88 'InvoiceLineTotal' => 'InvoiceLineTotal',
89 }
90 );
91  
92 } # end BLOCK
93  
94  
95 1;
96  
97 __END__