« Shipment/Temando/WSDL/Types/BookingQuote.pm
↑ Summary
Shipment/Temando/WSDL/Types/CarrierAccountNumber.pm »
| 1 | package Shipment::Temando::WSDL::Types::Carrier; | ||
| 2 | $Shipment::Temando::WSDL::Types::Carrier::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 %id_of : ATTR(:get<id>); | ||
| 30 | my %companyName_of : ATTR(:get<companyName>); | ||
| 31 | my %companyContact_of : ATTR(:get<companyContact>); | ||
| 32 | my %streetAddress_of : ATTR(:get<streetAddress>); | ||
| 33 | my %streetSuburb_of : ATTR(:get<streetSuburb>); | ||
| 34 | my %streetCity_of : ATTR(:get<streetCity>); | ||
| 35 | my %streetState_of : ATTR(:get<streetState>); | ||
| 36 | my %streetCode_of : ATTR(:get<streetCode>); | ||
| 37 | my %streetCountry_of : ATTR(:get<streetCountry>); | ||
| 38 | my %postalAddress_of : ATTR(:get<postalAddress>); | ||
| 39 | my %postalSuburb_of : ATTR(:get<postalSuburb>); | ||
| 40 | my %postalCity_of : ATTR(:get<postalCity>); | ||
| 41 | my %postalState_of : ATTR(:get<postalState>); | ||
| 42 | my %postalCode_of : ATTR(:get<postalCode>); | ||
| 43 | my %postalCountry_of : ATTR(:get<postalCountry>); | ||
| 44 | my %phone1_of : ATTR(:get<phone1>); | ||
| 45 | my %phone2_of : ATTR(:get<phone2>); | ||
| 46 | my %email_of : ATTR(:get<email>); | ||
| 47 | my %website_of : ATTR(:get<website>); | ||
| 48 | my %conditions_of : ATTR(:get<conditions>); | ||
| 49 | |||
| 50 | __PACKAGE__->_factory( | ||
| 51 | [ qw( id | ||
| 52 | companyName | ||
| 53 | companyContact | ||
| 54 | streetAddress | ||
| 55 | streetSuburb | ||
| 56 | streetCity | ||
| 57 | streetState | ||
| 58 | streetCode | ||
| 59 | streetCountry | ||
| 60 | postalAddress | ||
| 61 | postalSuburb | ||
| 62 | postalCity | ||
| 63 | postalState | ||
| 64 | postalCode | ||
| 65 | postalCountry | ||
| 66 | phone1 | ||
| 67 | phone2 | ||
| 68 | |||
| 69 | website | ||
| 70 | conditions | ||
| 71 | |||
| 72 | ) | ||
| 73 | ], | ||
| 74 | { 'id' => \%id_of, | ||
| 75 | 'companyName' => \%companyName_of, | ||
| 76 | 'companyContact' => \%companyContact_of, | ||
| 77 | 'streetAddress' => \%streetAddress_of, | ||
| 78 | 'streetSuburb' => \%streetSuburb_of, | ||
| 79 | 'streetCity' => \%streetCity_of, | ||
| 80 | 'streetState' => \%streetState_of, | ||
| 81 | 'streetCode' => \%streetCode_of, | ||
| 82 | 'streetCountry' => \%streetCountry_of, | ||
| 83 | 'postalAddress' => \%postalAddress_of, | ||
| 84 | 'postalSuburb' => \%postalSuburb_of, | ||
| 85 | 'postalCity' => \%postalCity_of, | ||
| 86 | 'postalState' => \%postalState_of, | ||
| 87 | 'postalCode' => \%postalCode_of, | ||
| 88 | 'postalCountry' => \%postalCountry_of, | ||
| 89 | 'phone1' => \%phone1_of, | ||
| 90 | 'phone2' => \%phone2_of, | ||
| 91 | 'email' => \%email_of, | ||
| 92 | 'website' => \%website_of, | ||
| 93 | 'conditions' => \%conditions_of, | ||
| 94 | }, | ||
| 95 | { 'id' => 'Shipment::Temando::WSDL::Types::CarrierId', | ||
| 96 | 'companyName' => 'Shipment::Temando::WSDL::Types::CompanyName', | ||
| 97 | 'companyContact' => 'Shipment::Temando::WSDL::Types::ContactName', | ||
| 98 | 'streetAddress' => 'Shipment::Temando::WSDL::Types::Address', | ||
| 99 | 'streetSuburb' => 'Shipment::Temando::WSDL::Types::Suburb', | ||
| 100 | 'streetCity' => 'Shipment::Temando::WSDL::Types::City', | ||
| 101 | 'streetState' => 'Shipment::Temando::WSDL::Types::State', | ||
| 102 | 'streetCode' => 'Shipment::Temando::WSDL::Types::PostalCode', | ||
| 103 | 'streetCountry' => 'Shipment::Temando::WSDL::Types::CountryCode', | ||
| 104 | 'postalAddress' => 'Shipment::Temando::WSDL::Types::Address', | ||
| 105 | 'postalSuburb' => 'Shipment::Temando::WSDL::Types::Suburb', | ||
| 106 | 'postalCity' => 'Shipment::Temando::WSDL::Types::City', | ||
| 107 | 'postalState' => 'Shipment::Temando::WSDL::Types::State', | ||
| 108 | 'postalCode' => 'Shipment::Temando::WSDL::Types::PostalCode', | ||
| 109 | 'postalCountry' => 'Shipment::Temando::WSDL::Types::CountryCode', | ||
| 110 | 'phone1' => 'Shipment::Temando::WSDL::Types::Phone', | ||
| 111 | 'phone2' => 'Shipment::Temando::WSDL::Types::Phone', | ||
| 112 | 'email' => 'Shipment::Temando::WSDL::Types::Email', | ||
| 113 | 'website' => 'Shipment::Temando::WSDL::Types::Website', | ||
| 114 | 'conditions' => | ||
| 115 | 'Shipment::Temando::WSDL::Types::CarrierConditions', | ||
| 116 | }, | ||
| 117 | { | ||
| 118 | |||
| 119 | 'id' => 'id', | ||
| 120 | 'companyName' => 'companyName', | ||
| 121 | 'companyContact' => 'companyContact', | ||
| 122 | 'streetAddress' => 'streetAddress', | ||
| 123 | 'streetSuburb' => 'streetSuburb', | ||
| 124 | 'streetCity' => 'streetCity', | ||
| 125 | 'streetState' => 'streetState', | ||
| 126 | 'streetCode' => 'streetCode', | ||
| 127 | 'streetCountry' => 'streetCountry', | ||
| 128 | 'postalAddress' => 'postalAddress', | ||
| 129 | 'postalSuburb' => 'postalSuburb', | ||
| 130 | 'postalCity' => 'postalCity', | ||
| 131 | 'postalState' => 'postalState', | ||
| 132 | 'postalCode' => 'postalCode', | ||
| 133 | 'postalCountry' => 'postalCountry', | ||
| 134 | 'phone1' => 'phone1', | ||
| 135 | 'phone2' => 'phone2', | ||
| 136 | 'email' => 'email', | ||
| 137 | 'website' => 'website', | ||
| 138 | 'conditions' => 'conditions', | ||
| 139 | } | ||
| 140 | ); | ||
| 141 | |||
| 142 | } # end BLOCK | ||
| 143 | |||
| 144 | |||
| 145 | 1; | ||
| 146 | |||
| 147 | __END__ |