« Shipment/Purolator/WSDL/Types/PIN.pm
↑ Summary
Shipment/Purolator/WSDL/Types/PaymentInformation.pm »
| 1 | package Shipment::Purolator::WSDL::Types::PackageInformation; | ||
| 2 | $Shipment::Purolator::WSDL::Types::PackageInformation::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 %ServiceID_of : ATTR(:get<ServiceID>); | ||
| 26 | my %Description_of : ATTR(:get<Description>); | ||
| 27 | my %TotalWeight_of : ATTR(:get<TotalWeight>); | ||
| 28 | my %TotalPieces_of : ATTR(:get<TotalPieces>); | ||
| 29 | my %PiecesInformation_of : ATTR(:get<PiecesInformation>); | ||
| 30 | my %DangerousGoodsDeclarationDocumentIndicator_of : | ||
| 31 | ATTR(:get<DangerousGoodsDeclarationDocumentIndicator>); | ||
| 32 | my %OptionsInformation_of : ATTR(:get<OptionsInformation>); | ||
| 33 | |||
| 34 | __PACKAGE__->_factory( | ||
| 35 | [ qw( ServiceID | ||
| 36 | Description | ||
| 37 | TotalWeight | ||
| 38 | TotalPieces | ||
| 39 | PiecesInformation | ||
| 40 | DangerousGoodsDeclarationDocumentIndicator | ||
| 41 | OptionsInformation | ||
| 42 | |||
| 43 | ) | ||
| 44 | ], | ||
| 45 | { 'ServiceID' => \%ServiceID_of, | ||
| 46 | 'Description' => \%Description_of, | ||
| 47 | 'TotalWeight' => \%TotalWeight_of, | ||
| 48 | 'TotalPieces' => \%TotalPieces_of, | ||
| 49 | 'PiecesInformation' => \%PiecesInformation_of, | ||
| 50 | 'DangerousGoodsDeclarationDocumentIndicator' => | ||
| 51 | \%DangerousGoodsDeclarationDocumentIndicator_of, | ||
| 52 | 'OptionsInformation' => \%OptionsInformation_of, | ||
| 53 | }, | ||
| 54 | { 'ServiceID' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 55 | 'Description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 56 | 'TotalWeight' => 'Shipment::Purolator::WSDL::Types::TotalWeight', | ||
| 57 | 'TotalPieces' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 58 | 'PiecesInformation' => | ||
| 59 | 'Shipment::Purolator::WSDL::Types::ArrayOfPiece', | ||
| 60 | 'DangerousGoodsDeclarationDocumentIndicator' => | ||
| 61 | 'SOAP::WSDL::XSD::Typelib::Builtin::boolean', | ||
| 62 | 'OptionsInformation' => | ||
| 63 | 'Shipment::Purolator::WSDL::Types::OptionsInformation', | ||
| 64 | }, | ||
| 65 | { | ||
| 66 | |||
| 67 | 'ServiceID' => 'ServiceID', | ||
| 68 | 'Description' => 'Description', | ||
| 69 | 'TotalWeight' => 'TotalWeight', | ||
| 70 | 'TotalPieces' => 'TotalPieces', | ||
| 71 | 'PiecesInformation' => 'PiecesInformation', | ||
| 72 | 'DangerousGoodsDeclarationDocumentIndicator' => | ||
| 73 | 'DangerousGoodsDeclarationDocumentIndicator', | ||
| 74 | 'OptionsInformation' => 'OptionsInformation', | ||
| 75 | } | ||
| 76 | ); | ||
| 77 | |||
| 78 | } # end BLOCK | ||
| 79 | |||
| 80 | |||
| 81 | 1; | ||
| 82 | |||
| 83 | __END__ |