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

filter: Statementstmt 0.0% 0 / 40 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 48 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::CommercialInvoice;
2 $Shipment::FedEx::WSDL::RateTypes::CommercialInvoice::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 %Comments_of : ATTR(:get<Comments>);
26 my %FreightCharge_of : ATTR(:get<FreightCharge>);
27 my %TaxesOrMiscellaneousCharge_of : ATTR(:get<TaxesOrMiscellaneousCharge>);
28 my %PackingCosts_of : ATTR(:get<PackingCosts>);
29 my %HandlingCosts_of : ATTR(:get<HandlingCosts>);
30 my %SpecialInstructions_of : ATTR(:get<SpecialInstructions>);
31 my %DeclarationStatment_of : ATTR(:get<DeclarationStatment>);
32 my %PaymentTerms_of : ATTR(:get<PaymentTerms>);
33 my %Purpose_of : ATTR(:get<Purpose>);
34 my %PurposeOfShipmentDescription_of :
35 ATTR(:get<PurposeOfShipmentDescription>);
36 my %CustomerInvoiceNumber_of : ATTR(:get<CustomerInvoiceNumber>);
37 my %OriginatorName_of : ATTR(:get<OriginatorName>);
38 my %TermsOfSale_of : ATTR(:get<TermsOfSale>);
39  
40 __PACKAGE__->_factory(
41 [ qw( Comments
42 FreightCharge
43 TaxesOrMiscellaneousCharge
44 PackingCosts
45 HandlingCosts
46 SpecialInstructions
47 DeclarationStatment
48 PaymentTerms
49 Purpose
50 PurposeOfShipmentDescription
51 CustomerInvoiceNumber
52 OriginatorName
53 TermsOfSale
54  
55 )
56 ],
57 { 'Comments' => \%Comments_of,
58 'FreightCharge' => \%FreightCharge_of,
59 'TaxesOrMiscellaneousCharge' => \%TaxesOrMiscellaneousCharge_of,
60 'PackingCosts' => \%PackingCosts_of,
61 'HandlingCosts' => \%HandlingCosts_of,
62 'SpecialInstructions' => \%SpecialInstructions_of,
63 'DeclarationStatment' => \%DeclarationStatment_of,
64 'PaymentTerms' => \%PaymentTerms_of,
65 'Purpose' => \%Purpose_of,
66 'PurposeOfShipmentDescription' =>
67 \%PurposeOfShipmentDescription_of,
68 'CustomerInvoiceNumber' => \%CustomerInvoiceNumber_of,
69 'OriginatorName' => \%OriginatorName_of,
70 'TermsOfSale' => \%TermsOfSale_of,
71 },
72 { 'Comments' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
73 'FreightCharge' => 'Shipment::FedEx::WSDL::RateTypes::Money',
74 'TaxesOrMiscellaneousCharge' =>
75 'Shipment::FedEx::WSDL::RateTypes::Money',
76 'PackingCosts' => 'Shipment::FedEx::WSDL::RateTypes::Money',
77 'HandlingCosts' => 'Shipment::FedEx::WSDL::RateTypes::Money',
78 'SpecialInstructions' =>
79 'SOAP::WSDL::XSD::Typelib::Builtin::string',
80 'DeclarationStatment' =>
81 'SOAP::WSDL::XSD::Typelib::Builtin::string',
82 'PaymentTerms' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
83 'Purpose' =>
84 'Shipment::FedEx::WSDL::RateTypes::PurposeOfShipmentType',
85 'PurposeOfShipmentDescription' =>
86 'SOAP::WSDL::XSD::Typelib::Builtin::string',
87 'CustomerInvoiceNumber' =>
88 'SOAP::WSDL::XSD::Typelib::Builtin::string',
89 'OriginatorName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
90 'TermsOfSale' =>
91 'Shipment::FedEx::WSDL::RateTypes::TermsOfSaleType',
92 },
93 {
94  
95 'Comments' => 'Comments',
96 'FreightCharge' => 'FreightCharge',
97 'TaxesOrMiscellaneousCharge' => 'TaxesOrMiscellaneousCharge',
98 'PackingCosts' => 'PackingCosts',
99 'HandlingCosts' => 'HandlingCosts',
100 'SpecialInstructions' => 'SpecialInstructions',
101 'DeclarationStatment' => 'DeclarationStatment',
102 'PaymentTerms' => 'PaymentTerms',
103 'Purpose' => 'Purpose',
104 'PurposeOfShipmentDescription' => 'PurposeOfShipmentDescription',
105 'CustomerInvoiceNumber' => 'CustomerInvoiceNumber',
106 'OriginatorName' => 'OriginatorName',
107 'TermsOfSale' => 'TermsOfSale',
108 }
109 );
110  
111 } # end BLOCK
112  
113  
114 1;
115  
116 __END__