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

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