NAME
Shipment::Purolator::WSDL::Interfaces::ServiceAvailabilityService::ServiceAvailabilityServiceEndpoint
VERSION
version 3.10
SYNOPSIS
use Shipment::Purolator::WSDL::Interfaces::ServiceAvailabilityService::ServiceAvailabilityServiceEndpoint;
my $interface = Shipment::Purolator::WSDL::Interfaces::ServiceAvailabilityService::ServiceAvailabilityServiceEndpoint->new();
my $response;
$response = $interface->GetServicesOptions();
$response = $interface->GetServiceRules();
$response = $interface->ValidateCityPostalCodeZip();
DESCRIPTION
SOAP Interface for the ServiceAvailabilityService web service located at https://devwebservices.purolator.com/EWS/V1/ServiceAvailability/ServiceAvailabilityService.asmx.
NAME
Shipment::Purolator::WSDL::Interfaces::ServiceAvailabilityService::ServiceAvailabilityServiceEndpoint - SOAP Interface for the ServiceAvailabilityService Web Service
SERVICE ServiceAvailabilityService
Port ServiceAvailabilityServiceEndpoint
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.
GetServicesOptions
GetServicesOptions @param request GetServicesOptionsRequest @return GetServicesOptionsResponse
Returns a Shipment::Purolator::WSDL::Elements::GetServicesOptionsResponse object.
$response = $interface->GetServicesOptions( { # Shipment::Purolator::WSDL::Types::GetServicesOptionsRequestContainer
BillingAccountNumber => $some_value, # string
SenderAddress => { # Shipment::Purolator::WSDL::Types::ShortAddress
City => $some_value, # string
Province => $some_value, # string
Country => $some_value, # string
PostalCode => $some_value, # string
},
ReceiverAddress => {}, # Shipment::Purolator::WSDL::Types::ShortAddress
},,
);
GetServiceRules
GetServiceRules @param request GetServiceRulesRequest @return GetServiceRulesResponse
Returns a Shipment::Purolator::WSDL::Elements::GetServiceRulesResponse object.
$response = $interface->GetServiceRules( { # Shipment::Purolator::WSDL::Types::GetServiceRulesRequestContainer
BillingAccountNumber => $some_value, # string
SenderAddress => { # Shipment::Purolator::WSDL::Types::ShortAddress
City => $some_value, # string
Province => $some_value, # string
Country => $some_value, # string
PostalCode => $some_value, # string
},
ReceiverAddress => {}, # Shipment::Purolator::WSDL::Types::ShortAddress
},,
);
ValidateCityPostalCodeZip
ValidateCityPostalCodeZip @param request ValidateCityPostalCodeZipRequest @return ValidateCityPostalCodeZipResponse
Returns a Shipment::Purolator::WSDL::Elements::ValidateCityPostalCodeZipResponse object.
$response = $interface->ValidateCityPostalCodeZip( { # Shipment::Purolator::WSDL::Types::ValidateCityPostalCodeZipRequestContainer
Addresses => { # Shipment::Purolator::WSDL::Types::ArrayOfShortAddress
ShortAddress => { # Shipment::Purolator::WSDL::Types::ShortAddress
City => $some_value, # string
Province => $some_value, # string
Country => $some_value, # string
PostalCode => $some_value, # string
},
},
},,
);
AUTHOR
Generated by SOAP::WSDL on Wed Sep 15 15:52:15 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.