« Shipment/UPS/WSDL/ShipTypes/ShipmentResultsType.pm
↑ Summary
Shipment/UPS/WSDL/ShipTypes/ShipmentType.pm »
| 1 | package Shipment::UPS::WSDL::ShipTypes::ShipmentServiceOptionsType; | ||
| 2 | $Shipment::UPS::WSDL::ShipTypes::ShipmentServiceOptionsType::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 %SaturdayDeliveryIndicator_of : ATTR(:get<SaturdayDeliveryIndicator>); | ||
| 26 | my %OnCall_of : ATTR(:get<OnCall>); | ||
| 27 | my %COD_of : ATTR(:get<COD>); | ||
| 28 | my %Notification_of : ATTR(:get<Notification>); | ||
| 29 | my %LabelDelivery_of : ATTR(:get<LabelDelivery>); | ||
| 30 | my %InternationalForms_of : ATTR(:get<InternationalForms>); | ||
| 31 | my %DeliveryConfirmation_of : ATTR(:get<DeliveryConfirmation>); | ||
| 32 | my %ReturnOfDocumentIndicator_of : ATTR(:get<ReturnOfDocumentIndicator>); | ||
| 33 | my %ImportControlIndicator_of : ATTR(:get<ImportControlIndicator>); | ||
| 34 | my %LabelMethod_of : ATTR(:get<LabelMethod>); | ||
| 35 | my %CommercialInvoiceRemovalIndicator_of : | ||
| 36 | ATTR(:get<CommercialInvoiceRemovalIndicator>); | ||
| 37 | my %UPScarbonneutralIndicator_of : ATTR(:get<UPScarbonneutralIndicator>); | ||
| 38 | |||
| 39 | __PACKAGE__->_factory( | ||
| 40 | [ qw( SaturdayDeliveryIndicator | ||
| 41 | OnCall | ||
| 42 | COD | ||
| 43 | Notification | ||
| 44 | LabelDelivery | ||
| 45 | InternationalForms | ||
| 46 | DeliveryConfirmation | ||
| 47 | ReturnOfDocumentIndicator | ||
| 48 | ImportControlIndicator | ||
| 49 | LabelMethod | ||
| 50 | CommercialInvoiceRemovalIndicator | ||
| 51 | UPScarbonneutralIndicator | ||
| 52 | |||
| 53 | ) | ||
| 54 | ], | ||
| 55 | { 'SaturdayDeliveryIndicator' => \%SaturdayDeliveryIndicator_of, | ||
| 56 | 'OnCall' => \%OnCall_of, | ||
| 57 | 'COD' => \%COD_of, | ||
| 58 | 'Notification' => \%Notification_of, | ||
| 59 | 'LabelDelivery' => \%LabelDelivery_of, | ||
| 60 | 'InternationalForms' => \%InternationalForms_of, | ||
| 61 | 'DeliveryConfirmation' => \%DeliveryConfirmation_of, | ||
| 62 | 'ReturnOfDocumentIndicator' => \%ReturnOfDocumentIndicator_of, | ||
| 63 | 'ImportControlIndicator' => \%ImportControlIndicator_of, | ||
| 64 | 'LabelMethod' => \%LabelMethod_of, | ||
| 65 | 'CommercialInvoiceRemovalIndicator' => | ||
| 66 | \%CommercialInvoiceRemovalIndicator_of, | ||
| 67 | 'UPScarbonneutralIndicator' => \%UPScarbonneutralIndicator_of, | ||
| 68 | }, | ||
| 69 | { 'SaturdayDeliveryIndicator' => | ||
| 70 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 71 | 'OnCall' => 'Shipment::UPS::WSDL::ShipTypes::OnCallType', | ||
| 72 | 'COD' => 'Shipment::UPS::WSDL::ShipTypes::CODType', | ||
| 73 | 'Notification' => | ||
| 74 | 'Shipment::UPS::WSDL::ShipTypes::NotificationType', | ||
| 75 | 'LabelDelivery' => | ||
| 76 | 'Shipment::UPS::WSDL::ShipTypes::LabelDeliveryType', | ||
| 77 | 'InternationalForms' => | ||
| 78 | 'Shipment::UPS::WSDL::ShipTypes::InternationalFormType', | ||
| 79 | 'DeliveryConfirmation' => | ||
| 80 | 'Shipment::UPS::WSDL::ShipTypes::DeliveryConfirmationType', | ||
| 81 | 'ReturnOfDocumentIndicator' => | ||
| 82 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 83 | 'ImportControlIndicator' => | ||
| 84 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 85 | 'LabelMethod' => 'Shipment::UPS::WSDL::ShipTypes::LabelMethodType', | ||
| 86 | 'CommercialInvoiceRemovalIndicator' => | ||
| 87 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 88 | 'UPScarbonneutralIndicator' => | ||
| 89 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 90 | }, | ||
| 91 | { | ||
| 92 | |||
| 93 | 'SaturdayDeliveryIndicator' => 'SaturdayDeliveryIndicator', | ||
| 94 | 'OnCall' => 'OnCall', | ||
| 95 | 'COD' => 'COD', | ||
| 96 | 'Notification' => 'Notification', | ||
| 97 | 'LabelDelivery' => 'LabelDelivery', | ||
| 98 | 'InternationalForms' => 'InternationalForms', | ||
| 99 | 'DeliveryConfirmation' => 'DeliveryConfirmation', | ||
| 100 | 'ReturnOfDocumentIndicator' => 'ReturnOfDocumentIndicator', | ||
| 101 | 'ImportControlIndicator' => 'ImportControlIndicator', | ||
| 102 | 'LabelMethod' => 'LabelMethod', | ||
| 103 | 'CommercialInvoiceRemovalIndicator' => | ||
| 104 | 'CommercialInvoiceRemovalIndicator', | ||
| 105 | 'UPScarbonneutralIndicator' => 'UPScarbonneutralIndicator', | ||
| 106 | } | ||
| 107 | ); | ||
| 108 | |||
| 109 | } # end BLOCK | ||
| 110 | |||
| 111 | |||
| 112 | 1; | ||
| 113 | |||
| 114 | __END__ |