« Shipment/FedEx/WSDL/ShipTypes/CommercialInvoiceDetail.pm
↑ Summary
Shipment/FedEx/WSDL/ShipTypes/CompletedEtdDetail.pm »
| 1 | package Shipment::FedEx::WSDL::ShipTypes::Commodity; | ||
| 2 | $Shipment::FedEx::WSDL::ShipTypes::Commodity::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 %Name_of : ATTR(:get<Name>); | ||
| 26 | my %NumberOfPieces_of : ATTR(:get<NumberOfPieces>); | ||
| 27 | my %Description_of : ATTR(:get<Description>); | ||
| 28 | my %CountryOfManufacture_of : ATTR(:get<CountryOfManufacture>); | ||
| 29 | my %HarmonizedCode_of : ATTR(:get<HarmonizedCode>); | ||
| 30 | my %Weight_of : ATTR(:get<Weight>); | ||
| 31 | my %Quantity_of : ATTR(:get<Quantity>); | ||
| 32 | my %QuantityUnits_of : ATTR(:get<QuantityUnits>); | ||
| 33 | my %AdditionalMeasures_of : ATTR(:get<AdditionalMeasures>); | ||
| 34 | my %UnitPrice_of : ATTR(:get<UnitPrice>); | ||
| 35 | my %CustomsValue_of : ATTR(:get<CustomsValue>); | ||
| 36 | my %ExciseConditions_of : ATTR(:get<ExciseConditions>); | ||
| 37 | my %ExportLicenseNumber_of : ATTR(:get<ExportLicenseNumber>); | ||
| 38 | my %ExportLicenseExpirationDate_of : | ||
| 39 | ATTR(:get<ExportLicenseExpirationDate>); | ||
| 40 | my %CIMarksAndNumbers_of : ATTR(:get<CIMarksAndNumbers>); | ||
| 41 | my %NaftaDetail_of : ATTR(:get<NaftaDetail>); | ||
| 42 | |||
| 43 | __PACKAGE__->_factory( | ||
| 44 | [ qw( Name | ||
| 45 | NumberOfPieces | ||
| 46 | Description | ||
| 47 | CountryOfManufacture | ||
| 48 | HarmonizedCode | ||
| 49 | Weight | ||
| 50 | Quantity | ||
| 51 | QuantityUnits | ||
| 52 | AdditionalMeasures | ||
| 53 | UnitPrice | ||
| 54 | CustomsValue | ||
| 55 | ExciseConditions | ||
| 56 | ExportLicenseNumber | ||
| 57 | ExportLicenseExpirationDate | ||
| 58 | CIMarksAndNumbers | ||
| 59 | NaftaDetail | ||
| 60 | |||
| 61 | ) | ||
| 62 | ], | ||
| 63 | { 'Name' => \%Name_of, | ||
| 64 | 'NumberOfPieces' => \%NumberOfPieces_of, | ||
| 65 | 'Description' => \%Description_of, | ||
| 66 | 'CountryOfManufacture' => \%CountryOfManufacture_of, | ||
| 67 | 'HarmonizedCode' => \%HarmonizedCode_of, | ||
| 68 | 'Weight' => \%Weight_of, | ||
| 69 | 'Quantity' => \%Quantity_of, | ||
| 70 | 'QuantityUnits' => \%QuantityUnits_of, | ||
| 71 | 'AdditionalMeasures' => \%AdditionalMeasures_of, | ||
| 72 | 'UnitPrice' => \%UnitPrice_of, | ||
| 73 | 'CustomsValue' => \%CustomsValue_of, | ||
| 74 | 'ExciseConditions' => \%ExciseConditions_of, | ||
| 75 | 'ExportLicenseNumber' => \%ExportLicenseNumber_of, | ||
| 76 | 'ExportLicenseExpirationDate' => \%ExportLicenseExpirationDate_of, | ||
| 77 | 'CIMarksAndNumbers' => \%CIMarksAndNumbers_of, | ||
| 78 | 'NaftaDetail' => \%NaftaDetail_of, | ||
| 79 | }, | ||
| 80 | { 'Name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 81 | 'NumberOfPieces' => | ||
| 82 | 'SOAP::WSDL::XSD::Typelib::Builtin::nonNegativeInteger', | ||
| 83 | 'Description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 84 | 'CountryOfManufacture' => | ||
| 85 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 86 | 'HarmonizedCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 87 | 'Weight' => 'Shipment::FedEx::WSDL::ShipTypes::Weight', | ||
| 88 | 'Quantity' => | ||
| 89 | 'SOAP::WSDL::XSD::Typelib::Builtin::nonNegativeInteger', | ||
| 90 | 'QuantityUnits' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 91 | 'AdditionalMeasures' => | ||
| 92 | 'Shipment::FedEx::WSDL::ShipTypes::Measure', | ||
| 93 | 'UnitPrice' => 'Shipment::FedEx::WSDL::ShipTypes::Money', | ||
| 94 | 'CustomsValue' => 'Shipment::FedEx::WSDL::ShipTypes::Money', | ||
| 95 | 'ExciseConditions' => | ||
| 96 | 'Shipment::FedEx::WSDL::ShipTypes::EdtExciseCondition', | ||
| 97 | 'ExportLicenseNumber' => | ||
| 98 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 99 | 'ExportLicenseExpirationDate' => | ||
| 100 | 'SOAP::WSDL::XSD::Typelib::Builtin::date', | ||
| 101 | 'CIMarksAndNumbers' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 102 | 'NaftaDetail' => | ||
| 103 | 'Shipment::FedEx::WSDL::ShipTypes::NaftaCommodityDetail', | ||
| 104 | }, | ||
| 105 | { | ||
| 106 | |||
| 107 | 'Name' => 'Name', | ||
| 108 | 'NumberOfPieces' => 'NumberOfPieces', | ||
| 109 | 'Description' => 'Description', | ||
| 110 | 'CountryOfManufacture' => 'CountryOfManufacture', | ||
| 111 | 'HarmonizedCode' => 'HarmonizedCode', | ||
| 112 | 'Weight' => 'Weight', | ||
| 113 | 'Quantity' => 'Quantity', | ||
| 114 | 'QuantityUnits' => 'QuantityUnits', | ||
| 115 | 'AdditionalMeasures' => 'AdditionalMeasures', | ||
| 116 | 'UnitPrice' => 'UnitPrice', | ||
| 117 | 'CustomsValue' => 'CustomsValue', | ||
| 118 | 'ExciseConditions' => 'ExciseConditions', | ||
| 119 | 'ExportLicenseNumber' => 'ExportLicenseNumber', | ||
| 120 | 'ExportLicenseExpirationDate' => 'ExportLicenseExpirationDate', | ||
| 121 | 'CIMarksAndNumbers' => 'CIMarksAndNumbers', | ||
| 122 | 'NaftaDetail' => 'NaftaDetail', | ||
| 123 | } | ||
| 124 | ); | ||
| 125 | |||
| 126 | } # end BLOCK | ||
| 127 | |||
| 128 | |||
| 129 | 1; | ||
| 130 | |||
| 131 | __END__ |