« Shipment/UPS/WSDL/ShipTypes/PackageResultsType.pm
↑ Summary
Shipment/UPS/WSDL/ShipTypes/PackageType.pm »
| 1 | package Shipment::UPS::WSDL::ShipTypes::PackageServiceOptionsType; | ||
| 2 | $Shipment::UPS::WSDL::ShipTypes::PackageServiceOptionsType::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/Ship/v1.0'} | ||
| 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 %DeliveryConfirmation_of : ATTR(:get<DeliveryConfirmation>); | ||
| 26 | my %DeclaredValue_of : ATTR(:get<DeclaredValue>); | ||
| 27 | my %COD_of : ATTR(:get<COD>); | ||
| 28 | my %VerbalConfirmation_of : ATTR(:get<VerbalConfirmation>); | ||
| 29 | my %ShipperReleaseIndicator_of : ATTR(:get<ShipperReleaseIndicator>); | ||
| 30 | my %Notification_of : ATTR(:get<Notification>); | ||
| 31 | my %ReturnsFlexibleAccessIndicator_of : | ||
| 32 | ATTR(:get<ReturnsFlexibleAccessIndicator>); | ||
| 33 | |||
| 34 | __PACKAGE__->_factory( | ||
| 35 | [ qw( DeliveryConfirmation | ||
| 36 | DeclaredValue | ||
| 37 | COD | ||
| 38 | VerbalConfirmation | ||
| 39 | ShipperReleaseIndicator | ||
| 40 | Notification | ||
| 41 | ReturnsFlexibleAccessIndicator | ||
| 42 | |||
| 43 | ) | ||
| 44 | ], | ||
| 45 | { 'DeliveryConfirmation' => \%DeliveryConfirmation_of, | ||
| 46 | 'DeclaredValue' => \%DeclaredValue_of, | ||
| 47 | 'COD' => \%COD_of, | ||
| 48 | 'VerbalConfirmation' => \%VerbalConfirmation_of, | ||
| 49 | 'ShipperReleaseIndicator' => \%ShipperReleaseIndicator_of, | ||
| 50 | 'Notification' => \%Notification_of, | ||
| 51 | 'ReturnsFlexibleAccessIndicator' => | ||
| 52 | \%ReturnsFlexibleAccessIndicator_of, | ||
| 53 | }, | ||
| 54 | { 'DeliveryConfirmation' => | ||
| 55 | 'Shipment::UPS::WSDL::ShipTypes::DeliveryConfirmationType', | ||
| 56 | 'DeclaredValue' => | ||
| 57 | 'Shipment::UPS::WSDL::ShipTypes::PackageDeclaredValueType', | ||
| 58 | 'COD' => 'Shipment::UPS::WSDL::ShipTypes::PSOCODType', | ||
| 59 | 'VerbalConfirmation' => | ||
| 60 | 'Shipment::UPS::WSDL::ShipTypes::VerbalConfirmationType', | ||
| 61 | 'ShipperReleaseIndicator' => | ||
| 62 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 63 | 'Notification' => | ||
| 64 | 'Shipment::UPS::WSDL::ShipTypes::PSONotificationType', | ||
| 65 | 'ReturnsFlexibleAccessIndicator' => | ||
| 66 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | |||
| 70 | 'DeliveryConfirmation' => 'DeliveryConfirmation', | ||
| 71 | 'DeclaredValue' => 'DeclaredValue', | ||
| 72 | 'COD' => 'COD', | ||
| 73 | 'VerbalConfirmation' => 'VerbalConfirmation', | ||
| 74 | 'ShipperReleaseIndicator' => 'ShipperReleaseIndicator', | ||
| 75 | 'Notification' => 'Notification', | ||
| 76 | 'ReturnsFlexibleAccessIndicator' => | ||
| 77 | 'ReturnsFlexibleAccessIndicator', | ||
| 78 | } | ||
| 79 | ); | ||
| 80 | |||
| 81 | } # end BLOCK | ||
| 82 | |||
| 83 | |||
| 84 | 1; | ||
| 85 | |||
| 86 | __END__ |