« Shipment/UPS/WSDL/ShipTypes/ProducerType.pm
↑ Summary
Shipment/UPS/WSDL/ShipTypes/ProductWeightType.pm »
| 1 | package Shipment::UPS::WSDL::ShipTypes::ProductType; | ||
| 2 | $Shipment::UPS::WSDL::ShipTypes::ProductType::VERSION = '3.11'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | |||
| 7 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 8 | |||
| 9 | sub get_xmlns {'http://www.ups.com/XMLSchema/XOLTWS/IF/v1.0'} | ||
| 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 %Description_of : ATTR(:get<Description>); | ||
| 26 | my %Unit_of : ATTR(:get<Unit>); | ||
| 27 | my %CommodityCode_of : ATTR(:get<CommodityCode>); | ||
| 28 | my %PartNumber_of : ATTR(:get<PartNumber>); | ||
| 29 | my %OriginCountryCode_of : ATTR(:get<OriginCountryCode>); | ||
| 30 | my %JointProductionIndicator_of : ATTR(:get<JointProductionIndicator>); | ||
| 31 | my %NetCostCode_of : ATTR(:get<NetCostCode>); | ||
| 32 | my %NetCostDateRange_of : ATTR(:get<NetCostDateRange>); | ||
| 33 | my %PreferenceCriteria_of : ATTR(:get<PreferenceCriteria>); | ||
| 34 | my %ProducerInfo_of : ATTR(:get<ProducerInfo>); | ||
| 35 | my %MarksAndNumbers_of : ATTR(:get<MarksAndNumbers>); | ||
| 36 | my %NumberOfPackagesPerCommodity_of : | ||
| 37 | ATTR(:get<NumberOfPackagesPerCommodity>); | ||
| 38 | my %ProductWeight_of : ATTR(:get<ProductWeight>); | ||
| 39 | my %VehicleID_of : ATTR(:get<VehicleID>); | ||
| 40 | my %ScheduleB_of : ATTR(:get<ScheduleB>); | ||
| 41 | my %ExportType_of : ATTR(:get<ExportType>); | ||
| 42 | my %SEDTotalValue_of : ATTR(:get<SEDTotalValue>); | ||
| 43 | |||
| 44 | __PACKAGE__->_factory( | ||
| 45 | [ qw( Description | ||
| 46 | Unit | ||
| 47 | CommodityCode | ||
| 48 | PartNumber | ||
| 49 | OriginCountryCode | ||
| 50 | JointProductionIndicator | ||
| 51 | NetCostCode | ||
| 52 | NetCostDateRange | ||
| 53 | PreferenceCriteria | ||
| 54 | ProducerInfo | ||
| 55 | MarksAndNumbers | ||
| 56 | NumberOfPackagesPerCommodity | ||
| 57 | ProductWeight | ||
| 58 | VehicleID | ||
| 59 | ScheduleB | ||
| 60 | ExportType | ||
| 61 | SEDTotalValue | ||
| 62 | |||
| 63 | ) | ||
| 64 | ], | ||
| 65 | { 'Description' => \%Description_of, | ||
| 66 | 'Unit' => \%Unit_of, | ||
| 67 | 'CommodityCode' => \%CommodityCode_of, | ||
| 68 | 'PartNumber' => \%PartNumber_of, | ||
| 69 | 'OriginCountryCode' => \%OriginCountryCode_of, | ||
| 70 | 'JointProductionIndicator' => \%JointProductionIndicator_of, | ||
| 71 | 'NetCostCode' => \%NetCostCode_of, | ||
| 72 | 'NetCostDateRange' => \%NetCostDateRange_of, | ||
| 73 | 'PreferenceCriteria' => \%PreferenceCriteria_of, | ||
| 74 | 'ProducerInfo' => \%ProducerInfo_of, | ||
| 75 | 'MarksAndNumbers' => \%MarksAndNumbers_of, | ||
| 76 | 'NumberOfPackagesPerCommodity' => | ||
| 77 | \%NumberOfPackagesPerCommodity_of, | ||
| 78 | 'ProductWeight' => \%ProductWeight_of, | ||
| 79 | 'VehicleID' => \%VehicleID_of, | ||
| 80 | 'ScheduleB' => \%ScheduleB_of, | ||
| 81 | 'ExportType' => \%ExportType_of, | ||
| 82 | 'SEDTotalValue' => \%SEDTotalValue_of, | ||
| 83 | }, | ||
| 84 | { 'Description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 85 | 'Unit' => 'Shipment::UPS::WSDL::ShipTypes::UnitType', | ||
| 86 | 'CommodityCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 87 | 'PartNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 88 | 'OriginCountryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 89 | 'JointProductionIndicator' => | ||
| 90 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 91 | 'NetCostCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 92 | 'NetCostDateRange' => | ||
| 93 | 'Shipment::UPS::WSDL::ShipTypes::NetCostDateType', | ||
| 94 | 'PreferenceCriteria' => | ||
| 95 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 96 | 'ProducerInfo' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 97 | 'MarksAndNumbers' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 98 | 'NumberOfPackagesPerCommodity' => | ||
| 99 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 100 | 'ProductWeight' => | ||
| 101 | 'Shipment::UPS::WSDL::ShipTypes::ProductWeightType', | ||
| 102 | 'VehicleID' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 103 | 'ScheduleB' => 'Shipment::UPS::WSDL::ShipTypes::ScheduleBType', | ||
| 104 | 'ExportType' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 105 | 'SEDTotalValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 106 | }, | ||
| 107 | { | ||
| 108 | |||
| 109 | 'Description' => 'Description', | ||
| 110 | 'Unit' => 'Unit', | ||
| 111 | 'CommodityCode' => 'CommodityCode', | ||
| 112 | 'PartNumber' => 'PartNumber', | ||
| 113 | 'OriginCountryCode' => 'OriginCountryCode', | ||
| 114 | 'JointProductionIndicator' => 'JointProductionIndicator', | ||
| 115 | 'NetCostCode' => 'NetCostCode', | ||
| 116 | 'NetCostDateRange' => 'NetCostDateRange', | ||
| 117 | 'PreferenceCriteria' => 'PreferenceCriteria', | ||
| 118 | 'ProducerInfo' => 'ProducerInfo', | ||
| 119 | 'MarksAndNumbers' => 'MarksAndNumbers', | ||
| 120 | 'NumberOfPackagesPerCommodity' => 'NumberOfPackagesPerCommodity', | ||
| 121 | 'ProductWeight' => 'ProductWeight', | ||
| 122 | 'VehicleID' => 'VehicleID', | ||
| 123 | 'ScheduleB' => 'ScheduleB', | ||
| 124 | 'ExportType' => 'ExportType', | ||
| 125 | 'SEDTotalValue' => 'SEDTotalValue', | ||
| 126 | } | ||
| 127 | ); | ||
| 128 | |||
| 129 | } # end BLOCK | ||
| 130 | |||
| 131 | |||
| 132 | 1; | ||
| 133 | |||
| 134 | __END__ |