« Shipment/UPS/WSDL/XAVElements/XAVRequest.pm
↑ Summary
Shipment/UPS/WSDL/XAVTypemaps/XAVService.pm »
| 1 | |||
| 2 | package Shipment::UPS::WSDL::XAVElements::XAVResponse; | ||
| 3 | $Shipment::UPS::WSDL::XAVElements::XAVResponse::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/xav/v1.0'} | ||
| 10 | |||
| 11 | __PACKAGE__->__set_name('XAVResponse'); | ||
| 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 %ValidAddressIndicator_of : ATTR(:get<ValidAddressIndicator>); | ||
| 38 | my %AmbiguousAddressIndicator_of : | ||
| 39 | ATTR(:get<AmbiguousAddressIndicator>); | ||
| 40 | my %NoCandidatesIndicator_of : ATTR(:get<NoCandidatesIndicator>); | ||
| 41 | my %AddressClassification_of : ATTR(:get<AddressClassification>); | ||
| 42 | my %Candidate_of : ATTR(:get<Candidate>); | ||
| 43 | |||
| 44 | __PACKAGE__->_factory( | ||
| 45 | [ qw( Response | ||
| 46 | ValidAddressIndicator | ||
| 47 | AmbiguousAddressIndicator | ||
| 48 | NoCandidatesIndicator | ||
| 49 | AddressClassification | ||
| 50 | Candidate | ||
| 51 | |||
| 52 | ) | ||
| 53 | ], | ||
| 54 | { 'Response' => \%Response_of, | ||
| 55 | 'ValidAddressIndicator' => \%ValidAddressIndicator_of, | ||
| 56 | 'AmbiguousAddressIndicator' => \%AmbiguousAddressIndicator_of, | ||
| 57 | 'NoCandidatesIndicator' => \%NoCandidatesIndicator_of, | ||
| 58 | 'AddressClassification' => \%AddressClassification_of, | ||
| 59 | 'Candidate' => \%Candidate_of, | ||
| 60 | }, | ||
| 61 | { 'Response' => 'Shipment::UPS::WSDL::XAVElements::Response', | ||
| 62 | |||
| 63 | 'ValidAddressIndicator' => | ||
| 64 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 65 | 'AmbiguousAddressIndicator' => | ||
| 66 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 67 | 'NoCandidatesIndicator' => | ||
| 68 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 69 | 'AddressClassification' => | ||
| 70 | 'Shipment::UPS::WSDL::XAVTypes::AddressClassificationType', | ||
| 71 | 'Candidate' => 'Shipment::UPS::WSDL::XAVTypes::CandidateType', | ||
| 72 | }, | ||
| 73 | { | ||
| 74 | |||
| 75 | 'Response' => '', | ||
| 76 | 'ValidAddressIndicator' => 'ValidAddressIndicator', | ||
| 77 | 'AmbiguousAddressIndicator' => 'AmbiguousAddressIndicator', | ||
| 78 | 'NoCandidatesIndicator' => 'NoCandidatesIndicator', | ||
| 79 | 'AddressClassification' => 'AddressClassification', | ||
| 80 | 'Candidate' => 'Candidate', | ||
| 81 | } | ||
| 82 | ); | ||
| 83 | |||
| 84 | } # end BLOCK | ||
| 85 | |||
| 86 | |||
| 87 | } # end of BLOCK | ||
| 88 | |||
| 89 | |||
| 90 | 1; | ||
| 91 | |||
| 92 | __END__ |