« Shipment/UPS/WSDL/XAVElements/ClientInformation.pm
↑ Summary
Shipment/UPS/WSDL/XAVElements/Request.pm »
| 1 | |||
| 2 | package Shipment::UPS::WSDL::XAVElements::Errors; | ||
| 3 | $Shipment::UPS::WSDL::XAVElements::Errors::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/Error/v1.1'} | ||
| 10 | |||
| 11 | __PACKAGE__->__set_name('Errors'); | ||
| 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 %ErrorDetail_of : ATTR(:get<ErrorDetail>); | ||
| 37 | my %TransactionReference_of : ATTR(:get<TransactionReference>); | ||
| 38 | |||
| 39 | __PACKAGE__->_factory( | ||
| 40 | [ qw( ErrorDetail | ||
| 41 | TransactionReference | ||
| 42 | |||
| 43 | ) | ||
| 44 | ], | ||
| 45 | { 'ErrorDetail' => \%ErrorDetail_of, | ||
| 46 | 'TransactionReference' => \%TransactionReference_of, | ||
| 47 | }, | ||
| 48 | { 'ErrorDetail' => | ||
| 49 | 'Shipment::UPS::WSDL::XAVTypes::ErrorDetailType', | ||
| 50 | 'TransactionReference' => | ||
| 51 | 'Shipment::UPS::WSDL::XAVTypes::TransactionReferenceType', | ||
| 52 | }, | ||
| 53 | { | ||
| 54 | |||
| 55 | 'ErrorDetail' => 'ErrorDetail', | ||
| 56 | 'TransactionReference' => 'TransactionReference', | ||
| 57 | } | ||
| 58 | ); | ||
| 59 | |||
| 60 | } # end BLOCK | ||
| 61 | |||
| 62 | |||
| 63 | } # end of BLOCK | ||
| 64 | |||
| 65 | |||
| 66 | 1; | ||
| 67 | |||
| 68 | __END__ |