Shipment::FedEx::WSDL::CloseInterfaces::CloseService::CloseServicePort
version 0.12
use Shipment::FedEx::WSDL::CloseInterfaces::CloseService::CloseServicePort; my $interface = Shipment::FedEx::WSDL::CloseInterfaces::CloseService::CloseServicePort->new(); my $response; $response = $interface->smartPostClose(); $response = $interface->groundClose(); $response = $interface->groundCloseReportsReprint(); $response = $interface->groundCloseWithDocuments(); $response = $interface->reprintGroundCloseDocuments();
SOAP Interface for the CloseService web service located at https://gatewaybeta.fedex.com:443/web-services/close.
Shipment::FedEx::WSDL::CloseInterfaces::CloseService::CloseServicePort - SOAP Interface for the CloseService Web Service
Constructor.
All arguments are forwarded to SOAP::WSDL::Client.
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.
Returns a Shipment::FedEx::WSDL::CloseElements::SmartPostCloseReply object.
$response = $interface->smartPostClose( { # Shipment::FedEx::WSDL::CloseTypes::SmartPostCloseRequest WebAuthenticationDetail => { # Shipment::FedEx::WSDL::CloseTypes::WebAuthenticationDetail UserCredential => { # Shipment::FedEx::WSDL::CloseTypes::WebAuthenticationCredential Key => $some_value, # string Password => $some_value, # string }, }, ClientDetail => { # Shipment::FedEx::WSDL::CloseTypes::ClientDetail AccountNumber => $some_value, # string MeterNumber => $some_value, # string IntegratorId => $some_value, # string Localization => { # Shipment::FedEx::WSDL::CloseTypes::Localization LanguageCode => $some_value, # string LocaleCode => $some_value, # string }, }, TransactionDetail => { # Shipment::FedEx::WSDL::CloseTypes::TransactionDetail CustomerTransactionId => $some_value, # string Localization => {}, # Shipment::FedEx::WSDL::CloseTypes::Localization }, Version => { # Shipment::FedEx::WSDL::CloseTypes::VersionId ServiceId => $some_value, # string Major => $some_value, # int Intermediate => $some_value, # int Minor => $some_value, # int }, HubId => $some_value, # string CustomerManifestId => $some_value, # string DestinationCountryCode => $some_value, # string PickUpCarrier => $some_value, # CarrierCodeType },, );
Returns a Shipment::FedEx::WSDL::CloseElements::GroundCloseReply object.
$response = $interface->groundClose( { # Shipment::FedEx::WSDL::CloseTypes::GroundCloseRequest WebAuthenticationDetail => { # Shipment::FedEx::WSDL::CloseTypes::WebAuthenticationDetail UserCredential => { # Shipment::FedEx::WSDL::CloseTypes::WebAuthenticationCredential Key => $some_value, # string Password => $some_value, # string }, }, ClientDetail => { # Shipment::FedEx::WSDL::CloseTypes::ClientDetail AccountNumber => $some_value, # string MeterNumber => $some_value, # string IntegratorId => $some_value, # string Localization => { # Shipment::FedEx::WSDL::CloseTypes::Localization LanguageCode => $some_value, # string LocaleCode => $some_value, # string }, }, TransactionDetail => { # Shipment::FedEx::WSDL::CloseTypes::TransactionDetail CustomerTransactionId => $some_value, # string Localization => {}, # Shipment::FedEx::WSDL::CloseTypes::Localization }, Version => { # Shipment::FedEx::WSDL::CloseTypes::VersionId ServiceId => $some_value, # string Major => $some_value, # int Intermediate => $some_value, # int Minor => $some_value, # int }, TimeUpToWhichShipmentsAreToBeClosed => $some_value, # dateTime },, );
Returns a Shipment::FedEx::WSDL::CloseElements::GroundCloseReportsReprintReply object.
$response = $interface->groundCloseReportsReprint( { # Shipment::FedEx::WSDL::CloseTypes::GroundCloseReportsReprintRequest WebAuthenticationDetail => { # Shipment::FedEx::WSDL::CloseTypes::WebAuthenticationDetail UserCredential => { # Shipment::FedEx::WSDL::CloseTypes::WebAuthenticationCredential Key => $some_value, # string Password => $some_value, # string }, }, ClientDetail => { # Shipment::FedEx::WSDL::CloseTypes::ClientDetail AccountNumber => $some_value, # string MeterNumber => $some_value, # string IntegratorId => $some_value, # string Localization => { # Shipment::FedEx::WSDL::CloseTypes::Localization LanguageCode => $some_value, # string LocaleCode => $some_value, # string }, }, TransactionDetail => { # Shipment::FedEx::WSDL::CloseTypes::TransactionDetail CustomerTransactionId => $some_value, # string Localization => {}, # Shipment::FedEx::WSDL::CloseTypes::Localization }, Version => { # Shipment::FedEx::WSDL::CloseTypes::VersionId ServiceId => $some_value, # string Major => $some_value, # int Intermediate => $some_value, # int Minor => $some_value, # int }, ReportDate => $some_value, # date TrackingNumber => $some_value, # string CloseReportType => $some_value, # CloseReportType },, );
Returns a Shipment::FedEx::WSDL::CloseElements::GroundCloseDocumentsReply object.
$response = $interface->groundCloseWithDocuments( { # Shipment::FedEx::WSDL::CloseTypes::GroundCloseWithDocumentsRequest WebAuthenticationDetail => { # Shipment::FedEx::WSDL::CloseTypes::WebAuthenticationDetail UserCredential => { # Shipment::FedEx::WSDL::CloseTypes::WebAuthenticationCredential Key => $some_value, # string Password => $some_value, # string }, }, ClientDetail => { # Shipment::FedEx::WSDL::CloseTypes::ClientDetail AccountNumber => $some_value, # string MeterNumber => $some_value, # string IntegratorId => $some_value, # string Localization => { # Shipment::FedEx::WSDL::CloseTypes::Localization LanguageCode => $some_value, # string LocaleCode => $some_value, # string }, }, TransactionDetail => { # Shipment::FedEx::WSDL::CloseTypes::TransactionDetail CustomerTransactionId => $some_value, # string Localization => {}, # Shipment::FedEx::WSDL::CloseTypes::Localization }, Version => { # Shipment::FedEx::WSDL::CloseTypes::VersionId ServiceId => $some_value, # string Major => $some_value, # int Intermediate => $some_value, # int Minor => $some_value, # int }, CloseDate => $some_value, # date CloseDocumentSpecification => { # Shipment::FedEx::WSDL::CloseTypes::CloseDocumentSpecification CloseDocumentTypes => $some_value, # CloseDocumentType Op950Detail => { # Shipment::FedEx::WSDL::CloseTypes::Op950Detail Format => { # Shipment::FedEx::WSDL::CloseTypes::CloseDocumentFormat Dispositions => { # Shipment::FedEx::WSDL::CloseTypes::ShippingDocumentDispositionDetail DispositionType => $some_value, # ShippingDocumentDispositionType Grouping => $some_value, # ShippingDocumentGroupingType StorageDetail => { # Shipment::FedEx::WSDL::CloseTypes::ShippingDocumentStorageDetail FilePath => $some_value, # string FileNaming => $some_value, # ShippingDocumentNamingType FileSuffix => $some_value, # string }, EMailDetail => { # Shipment::FedEx::WSDL::CloseTypes::ShippingDocumentEMailDetail EMailRecipients => { # Shipment::FedEx::WSDL::CloseTypes::ShippingDocumentEMailRecipient RecipientType => $some_value, # EMailNotificationRecipientType Address => $some_value, # string }, Grouping => $some_value, # ShippingDocumentEMailGroupingType }, PrintDetail => { # Shipment::FedEx::WSDL::CloseTypes::ShippingDocumentPrintDetail PrinterId => $some_value, # string }, }, TopOfPageOffset => { # Shipment::FedEx::WSDL::CloseTypes::LinearMeasure Value => $some_value, # decimal Units => $some_value, # LinearUnits }, ImageType => $some_value, # ShippingDocumentImageType StockType => $some_value, # ShippingDocumentStockType ProvideInstructions => $some_value, # boolean Localization => {}, # Shipment::FedEx::WSDL::CloseTypes::Localization }, CustomerImageUsages => { # Shipment::FedEx::WSDL::CloseTypes::CustomerImageUsage Type => $some_value, # CustomerImageUsageType Id => $some_value, # ImageId InternalId => $some_value, # string InternalImageType => $some_value, # InternalImageType }, SignatureName => $some_value, # string }, }, },, );
$response = $interface->reprintGroundCloseDocuments( { # Shipment::FedEx::WSDL::CloseTypes::ReprintGroundCloseDocumentsRequest WebAuthenticationDetail => { # Shipment::FedEx::WSDL::CloseTypes::WebAuthenticationDetail UserCredential => { # Shipment::FedEx::WSDL::CloseTypes::WebAuthenticationCredential Key => $some_value, # string Password => $some_value, # string }, }, ClientDetail => { # Shipment::FedEx::WSDL::CloseTypes::ClientDetail AccountNumber => $some_value, # string MeterNumber => $some_value, # string IntegratorId => $some_value, # string Localization => { # Shipment::FedEx::WSDL::CloseTypes::Localization LanguageCode => $some_value, # string LocaleCode => $some_value, # string }, }, TransactionDetail => { # Shipment::FedEx::WSDL::CloseTypes::TransactionDetail CustomerTransactionId => $some_value, # string Localization => {}, # Shipment::FedEx::WSDL::CloseTypes::Localization }, Version => { # Shipment::FedEx::WSDL::CloseTypes::VersionId ServiceId => $some_value, # string Major => $some_value, # int Intermediate => $some_value, # int Minor => $some_value, # int }, ReprintOption => $some_value, # ReprintGroundCloseDocumentsOptionType CloseDate => $some_value, # date TrackingNumber => $some_value, # string CloseDocumentSpecification => { # Shipment::FedEx::WSDL::CloseTypes::CloseDocumentSpecification CloseDocumentTypes => $some_value, # CloseDocumentType Op950Detail => { # Shipment::FedEx::WSDL::CloseTypes::Op950Detail Format => { # Shipment::FedEx::WSDL::CloseTypes::CloseDocumentFormat Dispositions => { # Shipment::FedEx::WSDL::CloseTypes::ShippingDocumentDispositionDetail DispositionType => $some_value, # ShippingDocumentDispositionType Grouping => $some_value, # ShippingDocumentGroupingType StorageDetail => { # Shipment::FedEx::WSDL::CloseTypes::ShippingDocumentStorageDetail FilePath => $some_value, # string FileNaming => $some_value, # ShippingDocumentNamingType FileSuffix => $some_value, # string }, EMailDetail => { # Shipment::FedEx::WSDL::CloseTypes::ShippingDocumentEMailDetail EMailRecipients => { # Shipment::FedEx::WSDL::CloseTypes::ShippingDocumentEMailRecipient RecipientType => $some_value, # EMailNotificationRecipientType Address => $some_value, # string }, Grouping => $some_value, # ShippingDocumentEMailGroupingType }, PrintDetail => { # Shipment::FedEx::WSDL::CloseTypes::ShippingDocumentPrintDetail PrinterId => $some_value, # string }, }, TopOfPageOffset => { # Shipment::FedEx::WSDL::CloseTypes::LinearMeasure Value => $some_value, # decimal Units => $some_value, # LinearUnits }, ImageType => $some_value, # ShippingDocumentImageType StockType => $some_value, # ShippingDocumentStockType ProvideInstructions => $some_value, # boolean Localization => {}, # Shipment::FedEx::WSDL::CloseTypes::Localization }, CustomerImageUsages => { # Shipment::FedEx::WSDL::CloseTypes::CustomerImageUsage Type => $some_value, # CustomerImageUsageType Id => $some_value, # ImageId InternalId => $some_value, # string InternalImageType => $some_value, # InternalImageType }, SignatureName => $some_value, # string }, }, },, );
Generated by SOAP::WSDL on Thu Oct 14 17:01:35 2010
Andrew Baerg <baergaj@cpan.org>
This software is copyright (c) 2013 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.
To install Shipment, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Shipment
CPAN shell
perl -MCPAN -e shell install Shipment
For more information on module installation, please visit the detailed CPAN module installation guide.