« Shipment/UPS/WSDL/ShipTypes/ShipperType.pm
↑ Summary
Shipment/UPS/WSDL/ShipTypes/TransactionReferenceType.pm »
| 1 | package Shipment::UPS::WSDL::ShipTypes::SoldToType; | ||
| 2 | $Shipment::UPS::WSDL::ShipTypes::SoldToType::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/IF/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 %Option_of : ATTR(:get<Option>); | ||
| 34 | my %Address_of : ATTR(:get<Address>); | ||
| 35 | |||
| 36 | __PACKAGE__->_factory( | ||
| 37 | [ qw( Name | ||
| 38 | AttentionName | ||
| 39 | TaxIdentificationNumber | ||
| 40 | Phone | ||
| 41 | Option | ||
| 42 | Address | ||
| 43 | |||
| 44 | ) | ||
| 45 | ], | ||
| 46 | { 'Name' => \%Name_of, | ||
| 47 | 'AttentionName' => \%AttentionName_of, | ||
| 48 | 'TaxIdentificationNumber' => \%TaxIdentificationNumber_of, | ||
| 49 | 'Phone' => \%Phone_of, | ||
| 50 | 'Option' => \%Option_of, | ||
| 51 | 'Address' => \%Address_of, | ||
| 52 | }, | ||
| 53 | { 'Name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 54 | 'AttentionName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 55 | 'TaxIdentificationNumber' => | ||
| 56 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 57 | 'Phone' => 'Shipment::UPS::WSDL::ShipTypes::PhoneType', | ||
| 58 | 'Option' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 59 | 'Address' => 'Shipment::UPS::WSDL::ShipTypes::AddressType', | ||
| 60 | }, | ||
| 61 | { | ||
| 62 | |||
| 63 | 'Name' => 'Name', | ||
| 64 | 'AttentionName' => 'AttentionName', | ||
| 65 | 'TaxIdentificationNumber' => 'TaxIdentificationNumber', | ||
| 66 | 'Phone' => 'Phone', | ||
| 67 | 'Option' => 'Option', | ||
| 68 | 'Address' => 'Address', | ||
| 69 | } | ||
| 70 | ); | ||
| 71 | |||
| 72 | } # end BLOCK | ||
| 73 | |||
| 74 | |||
| 75 | 1; | ||
| 76 | |||
| 77 | __END__ |