Shipment/FedEx/WSDL/ShipTypes/RequestedShipment.pm untested

filter: Statementstmt 0.0% 0 / 59 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 67 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::ShipTypes::RequestedShipment;
2 $Shipment::FedEx::WSDL::ShipTypes::RequestedShipment::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/ship/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 %ShipTimestamp_of : ATTR(:get<ShipTimestamp>);
26 my %DropoffType_of : ATTR(:get<DropoffType>);
27 my %ServiceType_of : ATTR(:get<ServiceType>);
28 my %PackagingType_of : ATTR(:get<PackagingType>);
29 my %TotalWeight_of : ATTR(:get<TotalWeight>);
30 my %TotalInsuredValue_of : ATTR(:get<TotalInsuredValue>);
31 my %TotalDimensions_of : ATTR(:get<TotalDimensions>);
32 my %Shipper_of : ATTR(:get<Shipper>);
33 my %Recipient_of : ATTR(:get<Recipient>);
34 my %RecipientLocationNumber_of : ATTR(:get<RecipientLocationNumber>);
35 my %Origin_of : ATTR(:get<Origin>);
36 my %ShippingChargesPayment_of : ATTR(:get<ShippingChargesPayment>);
37 my %SpecialServicesRequested_of : ATTR(:get<SpecialServicesRequested>);
38 my %ExpressFreightDetail_of : ATTR(:get<ExpressFreightDetail>);
39 my %FreightShipmentDetail_of : ATTR(:get<FreightShipmentDetail>);
40 my %DeliveryInstructions_of : ATTR(:get<DeliveryInstructions>);
41 my %VariableHandlingChargeDetail_of :
42 ATTR(:get<VariableHandlingChargeDetail>);
43 my %CustomsClearanceDetail_of : ATTR(:get<CustomsClearanceDetail>);
44 my %PickupDetail_of : ATTR(:get<PickupDetail>);
45 my %SmartPostDetail_of : ATTR(:get<SmartPostDetail>);
46 my %BlockInsightVisibility_of : ATTR(:get<BlockInsightVisibility>);
47 my %ErrorLabelBehavior_of : ATTR(:get<ErrorLabelBehavior>);
48 my %LabelSpecification_of : ATTR(:get<LabelSpecification>);
49 my %ShippingDocumentSpecification_of :
50 ATTR(:get<ShippingDocumentSpecification>);
51 my %RateRequestTypes_of : ATTR(:get<RateRequestTypes>);
52 my %CustomerSelectedActualRateType_of :
53 ATTR(:get<CustomerSelectedActualRateType>);
54 my %EdtRequestType_of : ATTR(:get<EdtRequestType>);
55 my %MasterTrackingId_of : ATTR(:get<MasterTrackingId>);
56 my %CodReturnTrackingId_of : ATTR(:get<CodReturnTrackingId>);
57 my %PackageCount_of : ATTR(:get<PackageCount>);
58 my %PackageDetail_of : ATTR(:get<PackageDetail>);
59 my %RequestedPackageLineItems_of : ATTR(:get<RequestedPackageLineItems>);
60  
61 __PACKAGE__->_factory(
62 [ qw( ShipTimestamp
63 DropoffType
64 ServiceType
65 PackagingType
66 TotalWeight
67 TotalInsuredValue
68 TotalDimensions
69 Shipper
70 Recipient
71 RecipientLocationNumber
72 Origin
73 ShippingChargesPayment
74 SpecialServicesRequested
75 ExpressFreightDetail
76 FreightShipmentDetail
77 DeliveryInstructions
78 VariableHandlingChargeDetail
79 CustomsClearanceDetail
80 PickupDetail
81 SmartPostDetail
82 BlockInsightVisibility
83 ErrorLabelBehavior
84 LabelSpecification
85 ShippingDocumentSpecification
86 RateRequestTypes
87 CustomerSelectedActualRateType
88 EdtRequestType
89 MasterTrackingId
90 CodReturnTrackingId
91 PackageCount
92 PackageDetail
93 RequestedPackageLineItems
94  
95 )
96 ],
97 { 'ShipTimestamp' => \%ShipTimestamp_of,
98 'DropoffType' => \%DropoffType_of,
99 'ServiceType' => \%ServiceType_of,
100 'PackagingType' => \%PackagingType_of,
101 'TotalWeight' => \%TotalWeight_of,
102 'TotalInsuredValue' => \%TotalInsuredValue_of,
103 'TotalDimensions' => \%TotalDimensions_of,
104 'Shipper' => \%Shipper_of,
105 'Recipient' => \%Recipient_of,
106 'RecipientLocationNumber' => \%RecipientLocationNumber_of,
107 'Origin' => \%Origin_of,
108 'ShippingChargesPayment' => \%ShippingChargesPayment_of,
109 'SpecialServicesRequested' => \%SpecialServicesRequested_of,
110 'ExpressFreightDetail' => \%ExpressFreightDetail_of,
111 'FreightShipmentDetail' => \%FreightShipmentDetail_of,
112 'DeliveryInstructions' => \%DeliveryInstructions_of,
113 'VariableHandlingChargeDetail' =>
114 \%VariableHandlingChargeDetail_of,
115 'CustomsClearanceDetail' => \%CustomsClearanceDetail_of,
116 'PickupDetail' => \%PickupDetail_of,
117 'SmartPostDetail' => \%SmartPostDetail_of,
118 'BlockInsightVisibility' => \%BlockInsightVisibility_of,
119 'ErrorLabelBehavior' => \%ErrorLabelBehavior_of,
120 'LabelSpecification' => \%LabelSpecification_of,
121 'ShippingDocumentSpecification' =>
122 \%ShippingDocumentSpecification_of,
123 'RateRequestTypes' => \%RateRequestTypes_of,
124 'CustomerSelectedActualRateType' =>
125 \%CustomerSelectedActualRateType_of,
126 'EdtRequestType' => \%EdtRequestType_of,
127 'MasterTrackingId' => \%MasterTrackingId_of,
128 'CodReturnTrackingId' => \%CodReturnTrackingId_of,
129 'PackageCount' => \%PackageCount_of,
130 'PackageDetail' => \%PackageDetail_of,
131 'RequestedPackageLineItems' => \%RequestedPackageLineItems_of,
132 },
133 { 'ShipTimestamp' => 'SOAP::WSDL::XSD::Typelib::Builtin::dateTime',
134 'DropoffType' => 'Shipment::FedEx::WSDL::ShipTypes::DropoffType',
135 'ServiceType' => 'Shipment::FedEx::WSDL::ShipTypes::ServiceType',
136 'PackagingType' =>
137 'Shipment::FedEx::WSDL::ShipTypes::PackagingType',
138 'TotalWeight' => 'Shipment::FedEx::WSDL::ShipTypes::Weight',
139 'TotalInsuredValue' => 'Shipment::FedEx::WSDL::ShipTypes::Money',
140 'TotalDimensions' =>
141 'Shipment::FedEx::WSDL::ShipTypes::Dimensions',
142 'Shipper' => 'Shipment::FedEx::WSDL::ShipTypes::Party',
143 'Recipient' => 'Shipment::FedEx::WSDL::ShipTypes::Party',
144 'RecipientLocationNumber' =>
145 'SOAP::WSDL::XSD::Typelib::Builtin::string',
146 'Origin' => 'Shipment::FedEx::WSDL::ShipTypes::ContactAndAddress',
147 'ShippingChargesPayment' =>
148 'Shipment::FedEx::WSDL::ShipTypes::Payment',
149 'SpecialServicesRequested' =>
150 'Shipment::FedEx::WSDL::ShipTypes::ShipmentSpecialServicesRequested',
151 'ExpressFreightDetail' =>
152 'Shipment::FedEx::WSDL::ShipTypes::ExpressFreightDetail',
153 'FreightShipmentDetail' =>
154 'Shipment::FedEx::WSDL::ShipTypes::FreightShipmentDetail',
155 'DeliveryInstructions' =>
156 'SOAP::WSDL::XSD::Typelib::Builtin::string',
157 'VariableHandlingChargeDetail' =>
158 'Shipment::FedEx::WSDL::ShipTypes::VariableHandlingChargeDetail',
159 'CustomsClearanceDetail' =>
160 'Shipment::FedEx::WSDL::ShipTypes::CustomsClearanceDetail',
161 'PickupDetail' => 'Shipment::FedEx::WSDL::ShipTypes::PickupDetail',
162 'SmartPostDetail' =>
163 'Shipment::FedEx::WSDL::ShipTypes::SmartPostShipmentDetail',
164 'BlockInsightVisibility' =>
165 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
166 'ErrorLabelBehavior' =>
167 'Shipment::FedEx::WSDL::ShipTypes::ErrorLabelBehaviorType',
168 'LabelSpecification' =>
169 'Shipment::FedEx::WSDL::ShipTypes::LabelSpecification',
170 'ShippingDocumentSpecification' =>
171 'Shipment::FedEx::WSDL::ShipTypes::ShippingDocumentSpecification',
172 'RateRequestTypes' =>
173 'Shipment::FedEx::WSDL::ShipTypes::RateRequestType',
174 'CustomerSelectedActualRateType' =>
175 'Shipment::FedEx::WSDL::ShipTypes::ReturnedRateType',
176 'EdtRequestType' =>
177 'Shipment::FedEx::WSDL::ShipTypes::EdtRequestType',
178 'MasterTrackingId' =>
179 'Shipment::FedEx::WSDL::ShipTypes::TrackingId',
180 'CodReturnTrackingId' =>
181 'Shipment::FedEx::WSDL::ShipTypes::TrackingId',
182 'PackageCount' =>
183 'SOAP::WSDL::XSD::Typelib::Builtin::nonNegativeInteger',
184 'PackageDetail' =>
185 'Shipment::FedEx::WSDL::ShipTypes::RequestedPackageDetailType',
186 'RequestedPackageLineItems' =>
187 'Shipment::FedEx::WSDL::ShipTypes::RequestedPackageLineItem',
188 },
189 {
190  
191 'ShipTimestamp' => 'ShipTimestamp',
192 'DropoffType' => 'DropoffType',
193 'ServiceType' => 'ServiceType',
194 'PackagingType' => 'PackagingType',
195 'TotalWeight' => 'TotalWeight',
196 'TotalInsuredValue' => 'TotalInsuredValue',
197 'TotalDimensions' => 'TotalDimensions',
198 'Shipper' => 'Shipper',
199 'Recipient' => 'Recipient',
200 'RecipientLocationNumber' => 'RecipientLocationNumber',
201 'Origin' => 'Origin',
202 'ShippingChargesPayment' => 'ShippingChargesPayment',
203 'SpecialServicesRequested' => 'SpecialServicesRequested',
204 'ExpressFreightDetail' => 'ExpressFreightDetail',
205 'FreightShipmentDetail' => 'FreightShipmentDetail',
206 'DeliveryInstructions' => 'DeliveryInstructions',
207 'VariableHandlingChargeDetail' => 'VariableHandlingChargeDetail',
208 'CustomsClearanceDetail' => 'CustomsClearanceDetail',
209 'PickupDetail' => 'PickupDetail',
210 'SmartPostDetail' => 'SmartPostDetail',
211 'BlockInsightVisibility' => 'BlockInsightVisibility',
212 'ErrorLabelBehavior' => 'ErrorLabelBehavior',
213 'LabelSpecification' => 'LabelSpecification',
214 'ShippingDocumentSpecification' => 'ShippingDocumentSpecification',
215 'RateRequestTypes' => 'RateRequestTypes',
216 'CustomerSelectedActualRateType' =>
217 'CustomerSelectedActualRateType',
218 'EdtRequestType' => 'EdtRequestType',
219 'MasterTrackingId' => 'MasterTrackingId',
220 'CodReturnTrackingId' => 'CodReturnTrackingId',
221 'PackageCount' => 'PackageCount',
222 'PackageDetail' => 'PackageDetail',
223 'RequestedPackageLineItems' => 'RequestedPackageLineItems',
224 }
225 );
226  
227 } # end BLOCK
228  
229  
230 1;
231  
232 __END__