« Shipment/UPS/WSDL/TrackTypes/CODStatusType.pm
↑ Summary
Shipment/UPS/WSDL/TrackTypes/CarrierActivityInformationType.pm »
| 1 | package Shipment::UPS::WSDL::TrackTypes::CODType; | ||
| 2 | $Shipment::UPS::WSDL::TrackTypes::CODType::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/Track/v2.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 %Amount_of : ATTR(:get<Amount>); | ||
| 26 | my %Status_of : ATTR(:get<Status>); | ||
| 27 | my %ControlNumber_of : ATTR(:get<ControlNumber>); | ||
| 28 | |||
| 29 | __PACKAGE__->_factory( | ||
| 30 | [ qw( Amount | ||
| 31 | Status | ||
| 32 | ControlNumber | ||
| 33 | |||
| 34 | ) | ||
| 35 | ], | ||
| 36 | { 'Amount' => \%Amount_of, | ||
| 37 | 'Status' => \%Status_of, | ||
| 38 | 'ControlNumber' => \%ControlNumber_of, | ||
| 39 | }, | ||
| 40 | { 'Amount' => 'Shipment::UPS::WSDL::TrackTypes::AmountType', | ||
| 41 | 'Status' => 'Shipment::UPS::WSDL::TrackTypes::CODStatusType', | ||
| 42 | 'ControlNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 43 | }, | ||
| 44 | { | ||
| 45 | |||
| 46 | 'Amount' => 'Amount', | ||
| 47 | 'Status' => 'Status', | ||
| 48 | 'ControlNumber' => 'ControlNumber', | ||
| 49 | } | ||
| 50 | ); | ||
| 51 | |||
| 52 | } # end BLOCK | ||
| 53 | |||
| 54 | |||
| 55 | 1; | ||
| 56 | |||
| 57 | __END__ |