Shipment/UPS/WSDL/TrackElements/TrackRequest.pm untested

filter: Statementstmt 0.0% 0 / 40 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 49 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  
2 package Shipment::UPS::WSDL::TrackElements::TrackRequest;
3 $Shipment::UPS::WSDL::TrackElements::TrackRequest::VERSION = '3.11';
4 use strict;
5 use warnings;
6  
7 { # BLOCK to scope variables
8  
9 sub get_xmlns {'http://www.ups.com/XMLSchema/XOLTWS/Track/v2.0'}
10  
11 __PACKAGE__->__set_name('TrackRequest');
12 __PACKAGE__->__set_nillable();
13 __PACKAGE__->__set_minOccurs();
14 __PACKAGE__->__set_maxOccurs();
15 __PACKAGE__->__set_ref();
16  
17 use base qw(
18 SOAP::WSDL::XSD::Typelib::Element
19 SOAP::WSDL::XSD::Typelib::ComplexType
20 );
21  
22 our $XML_ATTRIBUTE_CLASS;
23 undef $XML_ATTRIBUTE_CLASS;
24  
25 sub __get_attr_class {
26 return $XML_ATTRIBUTE_CLASS;
27 }
28  
29 use Class::Std::Fast::Storable constructor => 'none';
30 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
31  
32 Class::Std::initialize();
33  
34 { # BLOCK to scope variables
35  
36 my %Request_of : ATTR(:get<Request>);
37 my %InquiryNumber_of : ATTR(:get<InquiryNumber>);
38 my %TrackingOption_of : ATTR(:get<TrackingOption>);
39 my %CandidateBookmark_of : ATTR(:get<CandidateBookmark>);
40 my %ShipperAccountInfo_of : ATTR(:get<ShipperAccountInfo>);
41  
42 __PACKAGE__->_factory(
43 [ qw( Request
44 InquiryNumber
45 TrackingOption
46 CandidateBookmark
47 ShipperAccountInfo
48  
49 )
50 ],
51 { 'Request' => \%Request_of,
52 'InquiryNumber' => \%InquiryNumber_of,
53 'TrackingOption' => \%TrackingOption_of,
54 'CandidateBookmark' => \%CandidateBookmark_of,
55 'ShipperAccountInfo' => \%ShipperAccountInfo_of,
56 },
57 { 'Request' => 'Shipment::UPS::WSDL::TrackElements::Request',
58  
59 'InquiryNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
60 'TrackingOption' =>
61 'SOAP::WSDL::XSD::Typelib::Builtin::string',
62 'CandidateBookmark' =>
63 'SOAP::WSDL::XSD::Typelib::Builtin::string',
64 'ShipperAccountInfo' =>
65 'Shipment::UPS::WSDL::TrackTypes::ShipperAccountInfoType',
66 },
67 {
68  
69 'Request' => '',
70 'InquiryNumber' => 'InquiryNumber',
71 'TrackingOption' => 'TrackingOption',
72 'CandidateBookmark' => 'CandidateBookmark',
73 'ShipperAccountInfo' => 'ShipperAccountInfo',
74 }
75 );
76  
77 } # end BLOCK
78  
79  
80 } # end of BLOCK
81  
82  
83 1;
84  
85 __END__