« Shipment/UPS/WSDL/ShipTypes/DeliveryConfirmationType.pm
↑ Summary
Shipment/UPS/WSDL/ShipTypes/EmailDetailsType.pm »
| 1 | package Shipment::UPS::WSDL::ShipTypes::DimensionsType; | ||
| 2 | $Shipment::UPS::WSDL::ShipTypes::DimensionsType::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/Ship/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 %UnitOfMeasurement_of : ATTR(:get<UnitOfMeasurement>); | ||
| 26 | my %Length_of : ATTR(:get<Length>); | ||
| 27 | my %Width_of : ATTR(:get<Width>); | ||
| 28 | my %Height_of : ATTR(:get<Height>); | ||
| 29 | |||
| 30 | __PACKAGE__->_factory( | ||
| 31 | [ qw( UnitOfMeasurement | ||
| 32 | Length | ||
| 33 | Width | ||
| 34 | Height | ||
| 35 | |||
| 36 | ) | ||
| 37 | ], | ||
| 38 | { 'UnitOfMeasurement' => \%UnitOfMeasurement_of, | ||
| 39 | 'Length' => \%Length_of, | ||
| 40 | 'Width' => \%Width_of, | ||
| 41 | 'Height' => \%Height_of, | ||
| 42 | }, | ||
| 43 | { 'UnitOfMeasurement' => | ||
| 44 | 'Shipment::UPS::WSDL::ShipTypes::ShipUnitOfMeasurementType', | ||
| 45 | 'Length' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 46 | 'Width' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 47 | 'Height' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 48 | }, | ||
| 49 | { | ||
| 50 | |||
| 51 | 'UnitOfMeasurement' => 'UnitOfMeasurement', | ||
| 52 | 'Length' => 'Length', | ||
| 53 | 'Width' => 'Width', | ||
| 54 | 'Height' => 'Height', | ||
| 55 | } | ||
| 56 | ); | ||
| 57 | |||
| 58 | } # end BLOCK | ||
| 59 | |||
| 60 | |||
| 61 | 1; | ||
| 62 | |||
| 63 | __END__ |