« Shipment/UPS/WSDL/XAVTypes/AddressClassificationType.pm
↑ Summary
Shipment/UPS/WSDL/XAVTypes/CandidateType.pm »
| 1 | package Shipment::UPS::WSDL::XAVTypes::AddressKeyFormatType; | ||
| 2 | $Shipment::UPS::WSDL::XAVTypes::AddressKeyFormatType::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/xav/v1.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 %ConsigneeName_of : ATTR(:get<ConsigneeName>); | ||
| 26 | my %AttentionName_of : ATTR(:get<AttentionName>); | ||
| 27 | my %AddressLine_of : ATTR(:get<AddressLine>); | ||
| 28 | my %PoliticalDivision2_of : ATTR(:get<PoliticalDivision2>); | ||
| 29 | my %PoliticalDivision1_of : ATTR(:get<PoliticalDivision1>); | ||
| 30 | my %PostcodePrimaryLow_of : ATTR(:get<PostcodePrimaryLow>); | ||
| 31 | my %PostcodeExtendedLow_of : ATTR(:get<PostcodeExtendedLow>); | ||
| 32 | my %Region_of : ATTR(:get<Region>); | ||
| 33 | my %Urbanization_of : ATTR(:get<Urbanization>); | ||
| 34 | my %CountryCode_of : ATTR(:get<CountryCode>); | ||
| 35 | |||
| 36 | __PACKAGE__->_factory( | ||
| 37 | [ qw( ConsigneeName | ||
| 38 | AttentionName | ||
| 39 | AddressLine | ||
| 40 | PoliticalDivision2 | ||
| 41 | PoliticalDivision1 | ||
| 42 | PostcodePrimaryLow | ||
| 43 | PostcodeExtendedLow | ||
| 44 | Region | ||
| 45 | Urbanization | ||
| 46 | CountryCode | ||
| 47 | |||
| 48 | ) | ||
| 49 | ], | ||
| 50 | { 'ConsigneeName' => \%ConsigneeName_of, | ||
| 51 | 'AttentionName' => \%AttentionName_of, | ||
| 52 | 'AddressLine' => \%AddressLine_of, | ||
| 53 | 'PoliticalDivision2' => \%PoliticalDivision2_of, | ||
| 54 | 'PoliticalDivision1' => \%PoliticalDivision1_of, | ||
| 55 | 'PostcodePrimaryLow' => \%PostcodePrimaryLow_of, | ||
| 56 | 'PostcodeExtendedLow' => \%PostcodeExtendedLow_of, | ||
| 57 | 'Region' => \%Region_of, | ||
| 58 | 'Urbanization' => \%Urbanization_of, | ||
| 59 | 'CountryCode' => \%CountryCode_of, | ||
| 60 | }, | ||
| 61 | { 'ConsigneeName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 62 | 'AttentionName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 63 | 'AddressLine' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 64 | 'PoliticalDivision2' => | ||
| 65 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 66 | 'PoliticalDivision1' => | ||
| 67 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 68 | 'PostcodePrimaryLow' => | ||
| 69 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 70 | 'PostcodeExtendedLow' => | ||
| 71 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 72 | 'Region' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 73 | 'Urbanization' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 74 | 'CountryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 75 | }, | ||
| 76 | { | ||
| 77 | |||
| 78 | 'ConsigneeName' => 'ConsigneeName', | ||
| 79 | 'AttentionName' => 'AttentionName', | ||
| 80 | 'AddressLine' => 'AddressLine', | ||
| 81 | 'PoliticalDivision2' => 'PoliticalDivision2', | ||
| 82 | 'PoliticalDivision1' => 'PoliticalDivision1', | ||
| 83 | 'PostcodePrimaryLow' => 'PostcodePrimaryLow', | ||
| 84 | 'PostcodeExtendedLow' => 'PostcodeExtendedLow', | ||
| 85 | 'Region' => 'Region', | ||
| 86 | 'Urbanization' => 'Urbanization', | ||
| 87 | 'CountryCode' => 'CountryCode', | ||
| 88 | } | ||
| 89 | ); | ||
| 90 | |||
| 91 | } # end BLOCK | ||
| 92 | |||
| 93 | |||
| 94 | 1; | ||
| 95 | |||
| 96 | __END__ |