NAME

Shipment::Purolator::WSDL::Interfaces::ShippingDocumentsService::ShippingDocumentsServiceEndpoint

VERSION

version 3.05

SYNOPSIS

 use Shipment::Purolator::WSDL::Interfaces::ShippingDocumentsService::ShippingDocumentsServiceEndpoint;
 my $interface = Shipment::Purolator::WSDL::Interfaces::ShippingDocumentsService::ShippingDocumentsServiceEndpoint->new();

 my $response;
 $response = $interface->GetDocuments();
 $response = $interface->GetShipmentManifestDocument();

DESCRIPTION

SOAP Interface for the ShippingDocumentsService web service located at https://devwebservices.purolator.com/EWS/V1/ShippingDocuments/ShippingDocumentsService.asmx.

NAME

Shipment::Purolator::WSDL::Interfaces::ShippingDocumentsService::ShippingDocumentsServiceEndpoint - SOAP Interface for the ShippingDocumentsService Web Service

SERVICE ShippingDocumentsService

Port ShippingDocumentsServiceEndpoint

METHODS

General methods

new

Constructor.

All arguments are forwarded to SOAP::WSDL::Client.

SOAP Service methods

Method synopsis is displayed with hash refs as parameters.

The commented class names in the method's parameters denote that objects of the corresponding class can be passed instead of the marked hash ref.

You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure.

List items (i.e. multiple occurences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position.

XML attributes are not displayed in this synopsis and cannot be set using hash refs. See the respective class' documentation for additional information.

GetDocuments

GetDocuments @param request GetDocumentsRequest @return GetDocumentsResponse

Returns a Shipment::Purolator::WSDL::Elements::GetDocumentsResponse object.

 $response = $interface->GetDocuments( { # Shipment::Purolator::WSDL::Types::GetDocumentsRequestContainer
    DocumentCriterium =>  { # Shipment::Purolator::WSDL::Types::ArrayOfDocumentCriteria
      DocumentCriteria =>  { # Shipment::Purolator::WSDL::Types::DocumentCriteria
        PIN =>  { # Shipment::Purolator::WSDL::Types::PIN
          Value =>  $some_value, # string
        },
        DocumentTypes =>  { # Shipment::Purolator::WSDL::Types::DocumentTypes
          DocumentType =>  $some_value, # string
        },
      },
    },
  },,
 );

GetShipmentManifestDocument

GetShipemntManifestDocument @param request GetShipmentManifestDocumentRequest @return GetShipmentManifestDocumentResponse

Returns a Shipment::Purolator::WSDL::Elements::GetShipmentManifestDocumentResponse object.

 $response = $interface->GetShipmentManifestDocument( { # Shipment::Purolator::WSDL::Types::GetShipmentManifestDocumentRequestContainer
    ShipmentManifestDocumentCriterium =>  { # Shipment::Purolator::WSDL::Types::ArrayOfShipmentManifestDocumentCriteria
      ShipmentManifestDocumentCriteria =>  { # Shipment::Purolator::WSDL::Types::ShipmentManifestDocumentCriteria
        ManifestDate =>  $some_value, # string
      },
    },
  },,
 );

AUTHOR

Generated by SOAP::WSDL on Tue Sep 14 15:09:17 2010

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.