« Shipment/FedEx/WSDL/RateTypes/DestinationControlStatementType.pm
↑ Summary
Shipment/FedEx/WSDL/RateTypes/Distance.pm »
| 1 | package Shipment::FedEx::WSDL::RateTypes::Dimensions; | ||
| 2 | $Shipment::FedEx::WSDL::RateTypes::Dimensions::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 %Length_of : ATTR(:get<Length>); | ||
| 26 | my %Width_of : ATTR(:get<Width>); | ||
| 27 | my %Height_of : ATTR(:get<Height>); | ||
| 28 | my %Units_of : ATTR(:get<Units>); | ||
| 29 | |||
| 30 | __PACKAGE__->_factory( | ||
| 31 | [ qw( Length | ||
| 32 | Width | ||
| 33 | Height | ||
| 34 | Units | ||
| 35 | |||
| 36 | ) | ||
| 37 | ], | ||
| 38 | { 'Length' => \%Length_of, | ||
| 39 | 'Width' => \%Width_of, | ||
| 40 | 'Height' => \%Height_of, | ||
| 41 | 'Units' => \%Units_of, | ||
| 42 | }, | ||
| 43 | { | ||
| 44 | |||
| 45 | 'Length' => | ||
| 46 | 'Shipment::FedEx::WSDL::RateTypes::Dimensions::_Length', | ||
| 47 | |||
| 48 | 'Width' => 'Shipment::FedEx::WSDL::RateTypes::Dimensions::_Width', | ||
| 49 | |||
| 50 | 'Height' => | ||
| 51 | 'Shipment::FedEx::WSDL::RateTypes::Dimensions::_Height', | ||
| 52 | 'Units' => 'Shipment::FedEx::WSDL::RateTypes::LinearUnits', | ||
| 53 | }, | ||
| 54 | { | ||
| 55 | |||
| 56 | 'Length' => 'Length', | ||
| 57 | 'Width' => 'Width', | ||
| 58 | 'Height' => 'Height', | ||
| 59 | 'Units' => 'Units', | ||
| 60 | } | ||
| 61 | ); | ||
| 62 | |||
| 63 | } # end BLOCK | ||
| 64 | |||
| 65 | |||
| 66 | package Shipment::FedEx::WSDL::RateTypes::Dimensions::_Height; | ||
| 67 | $Shipment::FedEx::WSDL::RateTypes::Dimensions::_Height::VERSION = '3.11'; | ||
| 68 | use strict; | ||
| 69 | use warnings; | ||
| 70 | { | ||
| 71 | # derivation by restriction | ||
| 72 | use base qw( | ||
| 73 | SOAP::WSDL::XSD::Typelib::Builtin::nonNegativeInteger); | ||
| 74 | |||
| 75 | |||
| 76 | } | ||
| 77 | |||
| 78 | |||
| 79 | package Shipment::FedEx::WSDL::RateTypes::Dimensions::_Length; | ||
| 80 | $Shipment::FedEx::WSDL::RateTypes::Dimensions::_Length::VERSION = '3.11'; | ||
| 81 | use strict; | ||
| 82 | use warnings; | ||
| 83 | { | ||
| 84 | # derivation by restriction | ||
| 85 | use base qw( | ||
| 86 | SOAP::WSDL::XSD::Typelib::Builtin::nonNegativeInteger); | ||
| 87 | |||
| 88 | |||
| 89 | } | ||
| 90 | |||
| 91 | |||
| 92 | package Shipment::FedEx::WSDL::RateTypes::Dimensions::_Width; | ||
| 93 | $Shipment::FedEx::WSDL::RateTypes::Dimensions::_Width::VERSION = '3.11'; | ||
| 94 | use strict; | ||
| 95 | use warnings; | ||
| 96 | { | ||
| 97 | # derivation by restriction | ||
| 98 | use base qw( | ||
| 99 | SOAP::WSDL::XSD::Typelib::Builtin::nonNegativeInteger); | ||
| 100 | |||
| 101 | |||
| 102 | } | ||
| 103 | |||
| 104 | |||
| 105 | 1; | ||
| 106 | |||
| 107 | __END__ |