« Shipment/Temando/WSDL/Types/DeliveryType.pm
↑ Summary
Shipment/Temando/WSDL/Types/DepotInstructions.pm »
| 1 | package Shipment::Temando::WSDL::Types::Depot; | ||
| 2 | $Shipment::Temando::WSDL::Types::Depot::VERSION = '3.11'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | |||
| 7 | __PACKAGE__->_set_element_form_qualified(0); | ||
| 8 | |||
| 9 | sub get_xmlns { | ||
| 10 | 'http://' | ||
| 11 | . $Shipment::Temando::WSDL::Interfaces::quoting_Service::quoting_port::ns_url | ||
| 12 | . '/schema/2009_06/common.xsd'; | ||
| 13 | } | ||
| 14 | |||
| 15 | our $XML_ATTRIBUTE_CLASS; | ||
| 16 | undef $XML_ATTRIBUTE_CLASS; | ||
| 17 | |||
| 18 | sub __get_attr_class { | ||
| 19 | return $XML_ATTRIBUTE_CLASS; | ||
| 20 | } | ||
| 21 | |||
| 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 %street_of : ATTR(:get<street>); | ||
| 31 | my %suburb_of : ATTR(:get<suburb>); | ||
| 32 | my %city_of : ATTR(:get<city>); | ||
| 33 | my %state_of : ATTR(:get<state>); | ||
| 34 | my %code_of : ATTR(:get<code>); | ||
| 35 | my %country_of : ATTR(:get<country>); | ||
| 36 | my %phone1_of : ATTR(:get<phone1>); | ||
| 37 | my %phone2_of : ATTR(:get<phone2>); | ||
| 38 | my %fax_of : ATTR(:get<fax>); | ||
| 39 | my %instructions_of : ATTR(:get<instructions>); | ||
| 40 | |||
| 41 | __PACKAGE__->_factory( | ||
| 42 | [ qw( name | ||
| 43 | street | ||
| 44 | suburb | ||
| 45 | city | ||
| 46 | state | ||
| 47 | code | ||
| 48 | country | ||
| 49 | phone1 | ||
| 50 | phone2 | ||
| 51 | fax | ||
| 52 | instructions | ||
| 53 | |||
| 54 | ) | ||
| 55 | ], | ||
| 56 | { 'name' => \%name_of, | ||
| 57 | 'street' => \%street_of, | ||
| 58 | 'suburb' => \%suburb_of, | ||
| 59 | 'city' => \%city_of, | ||
| 60 | 'state' => \%state_of, | ||
| 61 | 'code' => \%code_of, | ||
| 62 | 'country' => \%country_of, | ||
| 63 | 'phone1' => \%phone1_of, | ||
| 64 | 'phone2' => \%phone2_of, | ||
| 65 | 'fax' => \%fax_of, | ||
| 66 | 'instructions' => \%instructions_of, | ||
| 67 | }, | ||
| 68 | { 'name' => 'Shipment::Temando::WSDL::Types::DepotName', | ||
| 69 | 'street' => 'Shipment::Temando::WSDL::Types::Address', | ||
| 70 | 'suburb' => 'Shipment::Temando::WSDL::Types::Suburb', | ||
| 71 | 'city' => 'Shipment::Temando::WSDL::Types::City', | ||
| 72 | 'state' => 'Shipment::Temando::WSDL::Types::State', | ||
| 73 | 'code' => 'Shipment::Temando::WSDL::Types::PostalCode', | ||
| 74 | 'country' => 'Shipment::Temando::WSDL::Types::CountryCode', | ||
| 75 | 'phone1' => 'Shipment::Temando::WSDL::Types::Phone', | ||
| 76 | 'phone2' => 'Shipment::Temando::WSDL::Types::Phone', | ||
| 77 | 'fax' => 'Shipment::Temando::WSDL::Types::Fax', | ||
| 78 | 'instructions' => | ||
| 79 | 'Shipment::Temando::WSDL::Types::DepotInstructions', | ||
| 80 | }, | ||
| 81 | { | ||
| 82 | |||
| 83 | 'name' => 'name', | ||
| 84 | 'street' => 'street', | ||
| 85 | 'suburb' => 'suburb', | ||
| 86 | 'city' => 'city', | ||
| 87 | 'state' => 'state', | ||
| 88 | 'code' => 'code', | ||
| 89 | 'country' => 'country', | ||
| 90 | 'phone1' => 'phone1', | ||
| 91 | 'phone2' => 'phone2', | ||
| 92 | 'fax' => 'fax', | ||
| 93 | 'instructions' => 'instructions', | ||
| 94 | } | ||
| 95 | ); | ||
| 96 | |||
| 97 | } # end BLOCK | ||
| 98 | |||
| 99 | |||
| 100 | 1; | ||
| 101 | |||
| 102 | __END__ |