« Shipment/FedEx/WSDL/RateTypes/ContactAndAddress.pm
↑ Summary
Shipment/FedEx/WSDL/RateTypes/CurrencyExchangeRate.pm »
| 1 | package Shipment::FedEx::WSDL::RateTypes::ContentRecord; | ||
| 2 | $Shipment::FedEx::WSDL::RateTypes::ContentRecord::VERSION = '3.11'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | |||
| 7 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 8 | |||
| 9 | sub get_xmlns {'http://fedex.com/ws/rate/v9'} | ||
| 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 %PartNumber_of : ATTR(:get<PartNumber>); | ||
| 26 | my %ItemNumber_of : ATTR(:get<ItemNumber>); | ||
| 27 | my %ReceivedQuantity_of : ATTR(:get<ReceivedQuantity>); | ||
| 28 | my %Description_of : ATTR(:get<Description>); | ||
| 29 | |||
| 30 | __PACKAGE__->_factory( | ||
| 31 | [ qw( PartNumber | ||
| 32 | ItemNumber | ||
| 33 | ReceivedQuantity | ||
| 34 | Description | ||
| 35 | |||
| 36 | ) | ||
| 37 | ], | ||
| 38 | { 'PartNumber' => \%PartNumber_of, | ||
| 39 | 'ItemNumber' => \%ItemNumber_of, | ||
| 40 | 'ReceivedQuantity' => \%ReceivedQuantity_of, | ||
| 41 | 'Description' => \%Description_of, | ||
| 42 | }, | ||
| 43 | { 'PartNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 44 | 'ItemNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 45 | 'ReceivedQuantity' => | ||
| 46 | 'SOAP::WSDL::XSD::Typelib::Builtin::nonNegativeInteger', | ||
| 47 | 'Description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 48 | }, | ||
| 49 | { | ||
| 50 | |||
| 51 | 'PartNumber' => 'PartNumber', | ||
| 52 | 'ItemNumber' => 'ItemNumber', | ||
| 53 | 'ReceivedQuantity' => 'ReceivedQuantity', | ||
| 54 | 'Description' => 'Description', | ||
| 55 | } | ||
| 56 | ); | ||
| 57 | |||
| 58 | } # end BLOCK | ||
| 59 | |||
| 60 | |||
| 61 | 1; | ||
| 62 | |||
| 63 | __END__ |