« Shipment/FedEx/WSDL/RateTypes/UploadDocumentType.pm
↑ Summary
Shipment/FedEx/WSDL/RateTypes/VariableHandlingChargeType.pm »
| 1 | package Shipment::FedEx::WSDL::RateTypes::VariableHandlingChargeDetail; | ||
| 2 | $Shipment::FedEx::WSDL::RateTypes::VariableHandlingChargeDetail::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 %VariableHandlingChargeType_of : ATTR(:get<VariableHandlingChargeType>); | ||
| 26 | my %FixedValue_of : ATTR(:get<FixedValue>); | ||
| 27 | my %PercentValue_of : ATTR(:get<PercentValue>); | ||
| 28 | |||
| 29 | __PACKAGE__->_factory( | ||
| 30 | [ qw( VariableHandlingChargeType | ||
| 31 | FixedValue | ||
| 32 | PercentValue | ||
| 33 | |||
| 34 | ) | ||
| 35 | ], | ||
| 36 | { 'VariableHandlingChargeType' => \%VariableHandlingChargeType_of, | ||
| 37 | 'FixedValue' => \%FixedValue_of, | ||
| 38 | 'PercentValue' => \%PercentValue_of, | ||
| 39 | }, | ||
| 40 | { 'VariableHandlingChargeType' => | ||
| 41 | 'Shipment::FedEx::WSDL::RateTypes::VariableHandlingChargeType', | ||
| 42 | 'FixedValue' => 'Shipment::FedEx::WSDL::RateTypes::Money', | ||
| 43 | 'PercentValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::decimal', | ||
| 44 | }, | ||
| 45 | { | ||
| 46 | |||
| 47 | 'VariableHandlingChargeType' => 'VariableHandlingChargeType', | ||
| 48 | 'FixedValue' => 'FixedValue', | ||
| 49 | 'PercentValue' => 'PercentValue', | ||
| 50 | } | ||
| 51 | ); | ||
| 52 | |||
| 53 | } # end BLOCK | ||
| 54 | |||
| 55 | |||
| 56 | 1; | ||
| 57 | |||
| 58 | __END__ |