« Shipment/Purolator/WSDLV2/Types/Shipment.pm
↑ Summary
Shipment/Purolator/WSDLV2/Types/ShipmentManifestDocumentCriteria.pm »
| 1 | package Shipment::Purolator::WSDLV2::Types::ShipmentEstimate; | ||
| 2 | $Shipment::Purolator::WSDLV2::Types::ShipmentEstimate::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/v2'} | ||
| 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 %ServiceID_of : ATTR(:get<ServiceID>); | ||
| 26 | my %ShipmentDate_of : ATTR(:get<ShipmentDate>); | ||
| 27 | my %ExpectedDeliveryDate_of : ATTR(:get<ExpectedDeliveryDate>); | ||
| 28 | my %EstimatedTransitDays_of : ATTR(:get<EstimatedTransitDays>); | ||
| 29 | my %BasePrice_of : ATTR(:get<BasePrice>); | ||
| 30 | my %Surcharges_of : ATTR(:get<Surcharges>); | ||
| 31 | my %Taxes_of : ATTR(:get<Taxes>); | ||
| 32 | my %OptionPrices_of : ATTR(:get<OptionPrices>); | ||
| 33 | my %TotalPrice_of : ATTR(:get<TotalPrice>); | ||
| 34 | |||
| 35 | __PACKAGE__->_factory( | ||
| 36 | [ qw( ServiceID | ||
| 37 | ShipmentDate | ||
| 38 | ExpectedDeliveryDate | ||
| 39 | EstimatedTransitDays | ||
| 40 | BasePrice | ||
| 41 | Surcharges | ||
| 42 | Taxes | ||
| 43 | OptionPrices | ||
| 44 | TotalPrice | ||
| 45 | |||
| 46 | ) | ||
| 47 | ], | ||
| 48 | { 'ServiceID' => \%ServiceID_of, | ||
| 49 | 'ShipmentDate' => \%ShipmentDate_of, | ||
| 50 | 'ExpectedDeliveryDate' => \%ExpectedDeliveryDate_of, | ||
| 51 | 'EstimatedTransitDays' => \%EstimatedTransitDays_of, | ||
| 52 | 'BasePrice' => \%BasePrice_of, | ||
| 53 | 'Surcharges' => \%Surcharges_of, | ||
| 54 | 'Taxes' => \%Taxes_of, | ||
| 55 | 'OptionPrices' => \%OptionPrices_of, | ||
| 56 | 'TotalPrice' => \%TotalPrice_of, | ||
| 57 | }, | ||
| 58 | { 'ServiceID' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 59 | 'ShipmentDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 60 | 'ExpectedDeliveryDate' => | ||
| 61 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 62 | 'EstimatedTransitDays' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 63 | 'BasePrice' => 'SOAP::WSDL::XSD::Typelib::Builtin::decimal', | ||
| 64 | 'Surcharges' => | ||
| 65 | 'Shipment::Purolator::WSDLV2::Types::ArrayOfSurcharge', | ||
| 66 | 'Taxes' => 'Shipment::Purolator::WSDLV2::Types::ArrayOfTax', | ||
| 67 | 'OptionPrices' => | ||
| 68 | 'Shipment::Purolator::WSDLV2::Types::ArrayOfOptionPrice', | ||
| 69 | 'TotalPrice' => 'SOAP::WSDL::XSD::Typelib::Builtin::decimal', | ||
| 70 | }, | ||
| 71 | { | ||
| 72 | |||
| 73 | 'ServiceID' => 'ServiceID', | ||
| 74 | 'ShipmentDate' => 'ShipmentDate', | ||
| 75 | 'ExpectedDeliveryDate' => 'ExpectedDeliveryDate', | ||
| 76 | 'EstimatedTransitDays' => 'EstimatedTransitDays', | ||
| 77 | 'BasePrice' => 'BasePrice', | ||
| 78 | 'Surcharges' => 'Surcharges', | ||
| 79 | 'Taxes' => 'Taxes', | ||
| 80 | 'OptionPrices' => 'OptionPrices', | ||
| 81 | 'TotalPrice' => 'TotalPrice', | ||
| 82 | } | ||
| 83 | ); | ||
| 84 | |||
| 85 | } # end BLOCK | ||
| 86 | |||
| 87 | |||
| 88 | 1; | ||
| 89 | |||
| 90 | __END__ |