« Shipment/UPS/WSDL/RateTypes/PhoneType.pm
↑ Summary
Shipment/UPS/WSDL/RateTypes/RatedShipmentInfoType.pm »
| 1 | package Shipment::UPS::WSDL::RateTypes::RatedPackageType; | ||
| 2 | $Shipment::UPS::WSDL::RateTypes::RatedPackageType::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/Rate/v1.1'} | ||
| 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 %TransportationCharges_of : ATTR(:get<TransportationCharges>); | ||
| 26 | my %SurePostDasCharges_of : ATTR(:get<SurePostDasCharges>); | ||
| 27 | my %ServiceOptionsCharges_of : ATTR(:get<ServiceOptionsCharges>); | ||
| 28 | my %TotalCharges_of : ATTR(:get<TotalCharges>); | ||
| 29 | my %Weight_of : ATTR(:get<Weight>); | ||
| 30 | my %BillingWeight_of : ATTR(:get<BillingWeight>); | ||
| 31 | |||
| 32 | __PACKAGE__->_factory( | ||
| 33 | [ qw( TransportationCharges | ||
| 34 | SurePostDasCharges | ||
| 35 | ServiceOptionsCharges | ||
| 36 | TotalCharges | ||
| 37 | Weight | ||
| 38 | BillingWeight | ||
| 39 | |||
| 40 | ) | ||
| 41 | ], | ||
| 42 | { 'TransportationCharges' => \%TransportationCharges_of, | ||
| 43 | 'SurePostDasCharges' => \%SurePostDasCharges_of, | ||
| 44 | 'ServiceOptionsCharges' => \%ServiceOptionsCharges_of, | ||
| 45 | 'TotalCharges' => \%TotalCharges_of, | ||
| 46 | 'Weight' => \%Weight_of, | ||
| 47 | 'BillingWeight' => \%BillingWeight_of, | ||
| 48 | }, | ||
| 49 | { 'TransportationCharges' => | ||
| 50 | 'Shipment::UPS::WSDL::RateTypes::ChargesType', | ||
| 51 | 'SurePostDasCharges' => | ||
| 52 | 'Shipment::UPS::WSDL::RateTypes::ChargesType', | ||
| 53 | 'ServiceOptionsCharges' => | ||
| 54 | 'Shipment::UPS::WSDL::RateTypes::ChargesType', | ||
| 55 | 'TotalCharges' => 'Shipment::UPS::WSDL::RateTypes::ChargesType', | ||
| 56 | 'Weight' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 57 | 'BillingWeight' => | ||
| 58 | 'Shipment::UPS::WSDL::RateTypes::BillingWeightType', | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | |||
| 62 | 'TransportationCharges' => 'TransportationCharges', | ||
| 63 | 'SurePostDasCharges' => 'SurePostDasCharges', | ||
| 64 | 'ServiceOptionsCharges' => 'ServiceOptionsCharges', | ||
| 65 | 'TotalCharges' => 'TotalCharges', | ||
| 66 | 'Weight' => 'Weight', | ||
| 67 | 'BillingWeight' => 'BillingWeight', | ||
| 68 | } | ||
| 69 | ); | ||
| 70 | |||
| 71 | } # end BLOCK | ||
| 72 | |||
| 73 | |||
| 74 | 1; | ||
| 75 | |||
| 76 | __END__ |