From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Shipment::Purolator::WSDL::Elements::Piece

VERSION

version 3.10

DESCRIPTION

Perl data type class for the XML Schema defined element Piece from the namespace http://purolator.com/pws/datatypes/v1.

NAME

Shipment::Purolator::WSDL::Elements::Piece

METHODS

new

my $element = Shipment::Purolator::WSDL::Elements::Piece->new($data);

Constructor. The following data structure may be passed to new():

{ # Shipment::Purolator::WSDL::Types::Piece
Weight => { # Shipment::Purolator::WSDL::Types::Weight
Value => $some_value, # decimal
WeightUnit => $some_value, # WeightUnit
},
Length => { # Shipment::Purolator::WSDL::Types::Dimension
Value => $some_value, # decimal
DimensionUnit => $some_value, # DimensionUnit
},
Width => {}, # Shipment::Purolator::WSDL::Types::Dimension
Height => {}, # Shipment::Purolator::WSDL::Types::Dimension
Options => { # Shipment::Purolator::WSDL::Types::ArrayOfOptionIDValuePair
OptionIDValuePair => { # Shipment::Purolator::WSDL::Types::OptionIDValuePair
ID => $some_value, # string
Value => $some_value, # string
},
},
},

AUTHOR

Generated by SOAP::WSDL

AUTHOR

Andrew Baerg <baergaj@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Andrew Baerg.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.