NAME
WebService::NetSuite::SuiteTalk - NetSuite SOAP interface that caches compiled calls in memory
VERSION
version 0.001
SYNOPSIS
use WebService::NetSuite::SuiteTalk;
my $suitetalk = WebService::NetSuite::SuiteTalk->new(
account_id => '12345678',
email_address => 'netsuite_customer@example.com',
password => 'sekrit',
xsi_auto => 1,
);
my $answer_ref = $suitetalk->changePassword(
changePassword => {
currentPassword => 'sekrit',
newPassword => 'tirkes',
newPassword2 => 'tirkes',
justThisAccount => 'true',
},
);
DESCRIPTION
This class provides an in-memory lazy cache for compiled SOAP calls using NetSuite SuiteTalk web services. The first call to any SOAP method uses XML::Compile::WSDL11 to compile and execute that method against the specified NetSuite SuiteTalk service; subsequent calls can vary the parameters but will use the same compiled code.
Available method names are dynamically loaded from the SuiteTalk WSDL file's operations, and can be passed either a hash or reference to a hash with the necessary parameters. In scalar context they return a reference to a hash containing the results of the SOAP call; in list context they return the results hashref and an XML::Compile::SOAP::Trace object suitable for debugging and exception handling.
If there is no result then an exception will be thrown.
As of this writing the following operations are published in the NetSuite SuiteTalk API 2014.2 schema. Consult NetSuite's Help Center for full documentation on input and output parameters for each operation.
METHODS
add
addList
asyncAddList
asyncDeleteList
asyncGetList
asyncInitializeList
asyncSearch
asyncUpdateList
asyncUpsertList
attach
changeEmail
changePassword
checkAsyncStatus
delete
deleteList
detach
get
getAll
getAsyncResult
getBudgetExchangeRate
getConsolidatedExchangeRate
getCurrencyRate
getCustomizationId
getDataCenterUrls
getDeleted
getItemAvailability
getList
getPostingTransactionSummary
getSavedSearch
getSelectValue
getServerTime
initialize
initializeList
login
logout
mapSso
search
searchMore
searchMoreWithId
searchNext
ssoLogin
update
updateInviteeStatus
updateInviteeStatusList
updateList
upsert
upsertList
OTHER METHODS AND ATTRIBUTES
Because this class consumes the WebService::NetSuite::SuiteTalk::Role::Connection
role, it also has that role's attributes and methods. For example, you can use the user_agent
attribute to access the LWP::UserAgent used to retrieve and call the SuiteTalk service, or the wsdl
method to access the underlying XML::Compile::WSDL11 object.
SUPPORT
Perldoc
You can find documentation for this module with the perldoc command.
perldoc WebService::NetSuite::SuiteTalk
Websites
The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.
MetaCPAN
A modern, open-source CPAN search engine, useful to view POD in HTML format.
Search CPAN
The default CPAN search engine, useful to view POD in HTML format.
AnnoCPAN
The AnnoCPAN is a website that allows community annotations of Perl module documentation.
CPAN Ratings
The CPAN Ratings is a website that allows community ratings and reviews of Perl modules.
CPAN Forum
The CPAN Forum is a web forum for discussing Perl modules.
CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
http://cpants.cpanauthors.org/dist/WebService-NetSuite-SuiteTalk
CPAN Testers
The CPAN Testers is a network of smokers who run automated tests on uploaded CPAN distributions.
http://www.cpantesters.org/distro/W/WebService-NetSuite-SuiteTalk
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
http://matrix.cpantesters.org/?dist=WebService-NetSuite-SuiteTalk
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
http://deps.cpantesters.org/?module=WebService::NetSuite::SuiteTalk
Bugs / Feature Requests
Please report any bugs or feature requests through the web interface at https://github.com/mjgardner/webservice-netsuite-suitetalk/issues. You will be automatically notified of any progress on the request by the system.
Source Code
The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)
https://github.com/mjgardner/webservice-netsuite-suitetalk
https://github.com/mjgardner/webservice-netsuite-suitetalk.git
AUTHOR
Mark Gardner <mjgardner@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by ZipRecruiter.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.