| 1 | package Shipment::UPS::WSDL::ShipTypes::ShipperType; | ||
| 2 | $Shipment::UPS::WSDL::ShipTypes::ShipperType::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/Ship/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 | |||
| 19 | use base qw(Shipment::UPS::WSDL::ShipTypes::CompanyInfoType); | ||
| 20 | |||
| 21 | # Variety: sequence | ||
| 22 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 23 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 24 | |||
| 25 | Class::Std::initialize(); | ||
| 26 | |||
| 27 | { # BLOCK to scope variables | ||
| 28 | |||
| 29 | my %Name_of : ATTR(:get<Name>); | ||
| 30 | my %AttentionName_of : ATTR(:get<AttentionName>); | ||
| 31 | my %TaxIdentificationNumber_of : ATTR(:get<TaxIdentificationNumber>); | ||
| 32 | my %Phone_of : ATTR(:get<Phone>); | ||
| 33 | my %ShipperNumber_of : ATTR(:get<ShipperNumber>); | ||
| 34 | my %FaxNumber_of : ATTR(:get<FaxNumber>); | ||
| 35 | my %EMailAddress_of : ATTR(:get<EMailAddress>); | ||
| 36 | my %Address_of : ATTR(:get<Address>); | ||
| 37 | |||
| 38 | __PACKAGE__->_factory( | ||
| 39 | [ qw( Name | ||
| 40 | AttentionName | ||
| 41 | TaxIdentificationNumber | ||
| 42 | Phone | ||
| 43 | ShipperNumber | ||
| 44 | FaxNumber | ||
| 45 | EMailAddress | ||
| 46 | Address | ||
| 47 | |||
| 48 | ) | ||
| 49 | ], | ||
| 50 | { 'Name' => \%Name_of, | ||
| 51 | 'AttentionName' => \%AttentionName_of, | ||
| 52 | 'TaxIdentificationNumber' => \%TaxIdentificationNumber_of, | ||
| 53 | 'Phone' => \%Phone_of, | ||
| 54 | 'ShipperNumber' => \%ShipperNumber_of, | ||
| 55 | 'FaxNumber' => \%FaxNumber_of, | ||
| 56 | 'EMailAddress' => \%EMailAddress_of, | ||
| 57 | 'Address' => \%Address_of, | ||
| 58 | }, | ||
| 59 | { 'Name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 60 | 'AttentionName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 61 | 'TaxIdentificationNumber' => | ||
| 62 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 63 | 'Phone' => 'Shipment::UPS::WSDL::ShipTypes::ShipPhoneType', | ||
| 64 | 'ShipperNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 65 | 'FaxNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 66 | 'EMailAddress' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 67 | 'Address' => 'Shipment::UPS::WSDL::ShipTypes::ShipAddressType', | ||
| 68 | }, | ||
| 69 | { | ||
| 70 | |||
| 71 | 'Name' => 'Name', | ||
| 72 | 'AttentionName' => 'AttentionName', | ||
| 73 | 'TaxIdentificationNumber' => 'TaxIdentificationNumber', | ||
| 74 | 'Phone' => 'Phone', | ||
| 75 | 'ShipperNumber' => 'ShipperNumber', | ||
| 76 | 'FaxNumber' => 'FaxNumber', | ||
| 77 | 'EMailAddress' => 'EMailAddress', | ||
| 78 | 'Address' => 'Address', | ||
| 79 | } | ||
| 80 | ); | ||
| 81 | |||
| 82 | } # end BLOCK | ||
| 83 | |||
| 84 | |||
| 85 | 1; | ||
| 86 | |||
| 87 | __END__ |