« Shipment/UPS/WSDL/TrackElements/TrackRequest.pm
↑ Summary
Shipment/UPS/WSDL/TrackElements/UPSSecurity.pm »
| 1 | |||
| 2 | package Shipment::UPS::WSDL::TrackElements::TrackResponse; | ||
| 3 | $Shipment::UPS::WSDL::TrackElements::TrackResponse::VERSION = '3.11'; | ||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | |||
| 7 | { # BLOCK to scope variables | ||
| 8 | |||
| 9 | sub get_xmlns {'http://www.ups.com/XMLSchema/XOLTWS/Track/v2.0'} | ||
| 10 | |||
| 11 | __PACKAGE__->__set_name('TrackResponse'); | ||
| 12 | __PACKAGE__->__set_nillable(); | ||
| 13 | __PACKAGE__->__set_minOccurs(); | ||
| 14 | __PACKAGE__->__set_maxOccurs(); | ||
| 15 | __PACKAGE__->__set_ref(); | ||
| 16 | |||
| 17 | use base qw( | ||
| 18 | SOAP::WSDL::XSD::Typelib::Element | ||
| 19 | SOAP::WSDL::XSD::Typelib::ComplexType | ||
| 20 | ); | ||
| 21 | |||
| 22 | our $XML_ATTRIBUTE_CLASS; | ||
| 23 | undef $XML_ATTRIBUTE_CLASS; | ||
| 24 | |||
| 25 | sub __get_attr_class { | ||
| 26 | return $XML_ATTRIBUTE_CLASS; | ||
| 27 | } | ||
| 28 | |||
| 29 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 30 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 31 | |||
| 32 | Class::Std::initialize(); | ||
| 33 | |||
| 34 | { # BLOCK to scope variables | ||
| 35 | |||
| 36 | my %Response_of : ATTR(:get<Response>); | ||
| 37 | my %Shipment_of : ATTR(:get<Shipment>); | ||
| 38 | my %Disclaimer_of : ATTR(:get<Disclaimer>); | ||
| 39 | |||
| 40 | __PACKAGE__->_factory( | ||
| 41 | [ qw( Response | ||
| 42 | Shipment | ||
| 43 | Disclaimer | ||
| 44 | |||
| 45 | ) | ||
| 46 | ], | ||
| 47 | { 'Response' => \%Response_of, | ||
| 48 | 'Shipment' => \%Shipment_of, | ||
| 49 | 'Disclaimer' => \%Disclaimer_of, | ||
| 50 | }, | ||
| 51 | { 'Response' => 'Shipment::UPS::WSDL::TrackElements::Response', | ||
| 52 | |||
| 53 | 'Shipment' => 'Shipment::UPS::WSDL::TrackTypes::ShipmentType', | ||
| 54 | 'Disclaimer' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 55 | }, | ||
| 56 | { | ||
| 57 | |||
| 58 | 'Response' => '', | ||
| 59 | 'Shipment' => 'Shipment', | ||
| 60 | 'Disclaimer' => 'Disclaimer', | ||
| 61 | } | ||
| 62 | ); | ||
| 63 | |||
| 64 | } # end BLOCK | ||
| 65 | |||
| 66 | |||
| 67 | } # end of BLOCK | ||
| 68 | |||
| 69 | |||
| 70 | 1; | ||
| 71 | |||
| 72 | __END__ |