« Shipment/Purolator/WSDL/Types/ServiceRule.pm
↑ Summary
Shipment/Purolator/WSDL/Types/ShipmentEstimate.pm »
| 1 | package Shipment::Purolator::WSDL::Types::Shipment; | ||
| 2 | $Shipment::Purolator::WSDL::Types::Shipment::VERSION = '3.11'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | |||
| 7 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 8 | |||
| 9 | sub get_xmlns {'http://purolator.com/pws/datatypes/v1'} | ||
| 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 %SenderInformation_of : ATTR(:get<SenderInformation>); | ||
| 26 | my %ReceiverInformation_of : ATTR(:get<ReceiverInformation>); | ||
| 27 | my %PackageInformation_of : ATTR(:get<PackageInformation>); | ||
| 28 | my %InternationalInformation_of : ATTR(:get<InternationalInformation>); | ||
| 29 | my %ReturnShipmentInformation_of : ATTR(:get<ReturnShipmentInformation>); | ||
| 30 | my %PaymentInformation_of : ATTR(:get<PaymentInformation>); | ||
| 31 | my %PickupInformation_of : ATTR(:get<PickupInformation>); | ||
| 32 | my %NotificationInformation_of : ATTR(:get<NotificationInformation>); | ||
| 33 | my %TrackingReferenceInformation_of : | ||
| 34 | ATTR(:get<TrackingReferenceInformation>); | ||
| 35 | my %OtherInformation_of : ATTR(:get<OtherInformation>); | ||
| 36 | |||
| 37 | __PACKAGE__->_factory( | ||
| 38 | [ qw( SenderInformation | ||
| 39 | ReceiverInformation | ||
| 40 | PackageInformation | ||
| 41 | InternationalInformation | ||
| 42 | ReturnShipmentInformation | ||
| 43 | PaymentInformation | ||
| 44 | PickupInformation | ||
| 45 | NotificationInformation | ||
| 46 | TrackingReferenceInformation | ||
| 47 | OtherInformation | ||
| 48 | |||
| 49 | ) | ||
| 50 | ], | ||
| 51 | { 'SenderInformation' => \%SenderInformation_of, | ||
| 52 | 'ReceiverInformation' => \%ReceiverInformation_of, | ||
| 53 | 'PackageInformation' => \%PackageInformation_of, | ||
| 54 | 'InternationalInformation' => \%InternationalInformation_of, | ||
| 55 | 'ReturnShipmentInformation' => \%ReturnShipmentInformation_of, | ||
| 56 | 'PaymentInformation' => \%PaymentInformation_of, | ||
| 57 | 'PickupInformation' => \%PickupInformation_of, | ||
| 58 | 'NotificationInformation' => \%NotificationInformation_of, | ||
| 59 | 'TrackingReferenceInformation' => | ||
| 60 | \%TrackingReferenceInformation_of, | ||
| 61 | 'OtherInformation' => \%OtherInformation_of, | ||
| 62 | }, | ||
| 63 | { 'SenderInformation' => | ||
| 64 | 'Shipment::Purolator::WSDL::Types::SenderInformation', | ||
| 65 | 'ReceiverInformation' => | ||
| 66 | 'Shipment::Purolator::WSDL::Types::ReceiverInformation', | ||
| 67 | 'PackageInformation' => | ||
| 68 | 'Shipment::Purolator::WSDL::Types::PackageInformation', | ||
| 69 | 'InternationalInformation' => | ||
| 70 | 'Shipment::Purolator::WSDL::Types::InternationalInformation', | ||
| 71 | 'ReturnShipmentInformation' => | ||
| 72 | 'Shipment::Purolator::WSDL::Types::ReturnShipmentInformation', | ||
| 73 | 'PaymentInformation' => | ||
| 74 | 'Shipment::Purolator::WSDL::Types::PaymentInformation', | ||
| 75 | 'PickupInformation' => | ||
| 76 | 'Shipment::Purolator::WSDL::Types::PickupInformation', | ||
| 77 | 'NotificationInformation' => | ||
| 78 | 'Shipment::Purolator::WSDL::Types::NotificationInformation', | ||
| 79 | 'TrackingReferenceInformation' => | ||
| 80 | 'Shipment::Purolator::WSDL::Types::TrackingReferenceInformation', | ||
| 81 | 'OtherInformation' => | ||
| 82 | 'Shipment::Purolator::WSDL::Types::OtherInformation', | ||
| 83 | }, | ||
| 84 | { | ||
| 85 | |||
| 86 | 'SenderInformation' => 'SenderInformation', | ||
| 87 | 'ReceiverInformation' => 'ReceiverInformation', | ||
| 88 | 'PackageInformation' => 'PackageInformation', | ||
| 89 | 'InternationalInformation' => 'InternationalInformation', | ||
| 90 | 'ReturnShipmentInformation' => 'ReturnShipmentInformation', | ||
| 91 | 'PaymentInformation' => 'PaymentInformation', | ||
| 92 | 'PickupInformation' => 'PickupInformation', | ||
| 93 | 'NotificationInformation' => 'NotificationInformation', | ||
| 94 | 'TrackingReferenceInformation' => 'TrackingReferenceInformation', | ||
| 95 | 'OtherInformation' => 'OtherInformation', | ||
| 96 | } | ||
| 97 | ); | ||
| 98 | |||
| 99 | } # end BLOCK | ||
| 100 | |||
| 101 | |||
| 102 | 1; | ||
| 103 | |||
| 104 | __END__ |