« Shipment/FedEx/WSDL/TrackTypes/TrackDetailAttributeType.pm
↑ Summary
Shipment/FedEx/WSDL/TrackTypes/TrackIdentifierType.pm »
| 1 | package Shipment::FedEx::WSDL::TrackTypes::TrackEvent; | ||
| 2 | $Shipment::FedEx::WSDL::TrackTypes::TrackEvent::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/track/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 %Timestamp_of : ATTR(:get<Timestamp>); | ||
| 26 | my %EventType_of : ATTR(:get<EventType>); | ||
| 27 | my %EventDescription_of : ATTR(:get<EventDescription>); | ||
| 28 | my %StatusExceptionCode_of : ATTR(:get<StatusExceptionCode>); | ||
| 29 | my %StatusExceptionDescription_of : ATTR(:get<StatusExceptionDescription>); | ||
| 30 | my %Address_of : ATTR(:get<Address>); | ||
| 31 | my %StationId_of : ATTR(:get<StationId>); | ||
| 32 | my %ArrivalLocation_of : ATTR(:get<ArrivalLocation>); | ||
| 33 | |||
| 34 | __PACKAGE__->_factory( | ||
| 35 | [ qw( Timestamp | ||
| 36 | EventType | ||
| 37 | EventDescription | ||
| 38 | StatusExceptionCode | ||
| 39 | StatusExceptionDescription | ||
| 40 | Address | ||
| 41 | StationId | ||
| 42 | ArrivalLocation | ||
| 43 | |||
| 44 | ) | ||
| 45 | ], | ||
| 46 | { 'Timestamp' => \%Timestamp_of, | ||
| 47 | 'EventType' => \%EventType_of, | ||
| 48 | 'EventDescription' => \%EventDescription_of, | ||
| 49 | 'StatusExceptionCode' => \%StatusExceptionCode_of, | ||
| 50 | 'StatusExceptionDescription' => \%StatusExceptionDescription_of, | ||
| 51 | 'Address' => \%Address_of, | ||
| 52 | 'StationId' => \%StationId_of, | ||
| 53 | 'ArrivalLocation' => \%ArrivalLocation_of, | ||
| 54 | }, | ||
| 55 | { 'Timestamp' => 'SOAP::WSDL::XSD::Typelib::Builtin::dateTime', | ||
| 56 | 'EventType' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 57 | 'EventDescription' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 58 | 'StatusExceptionCode' => | ||
| 59 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 60 | 'StatusExceptionDescription' => | ||
| 61 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 62 | 'Address' => 'Shipment::FedEx::WSDL::TrackTypes::Address', | ||
| 63 | 'StationId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 64 | 'ArrivalLocation' => | ||
| 65 | 'Shipment::FedEx::WSDL::TrackTypes::ArrivalLocationType', | ||
| 66 | }, | ||
| 67 | { | ||
| 68 | |||
| 69 | 'Timestamp' => 'Timestamp', | ||
| 70 | 'EventType' => 'EventType', | ||
| 71 | 'EventDescription' => 'EventDescription', | ||
| 72 | 'StatusExceptionCode' => 'StatusExceptionCode', | ||
| 73 | 'StatusExceptionDescription' => 'StatusExceptionDescription', | ||
| 74 | 'Address' => 'Address', | ||
| 75 | 'StationId' => 'StationId', | ||
| 76 | 'ArrivalLocation' => 'ArrivalLocation', | ||
| 77 | } | ||
| 78 | ); | ||
| 79 | |||
| 80 | } # end BLOCK | ||
| 81 | |||
| 82 | |||
| 83 | 1; | ||
| 84 | |||
| 85 | __END__ |