NAME

WebService::NetSuite::SuiteTalk::Role::Connection - Wrapper for NetSuite SuiteTalk web services

VERSION

version 0.003

SYNOPSIS

use Moo;
with 'WebService::NetSuite::SuiteTalk::Role::Connection';

DESCRIPTION

This role integrates NetSuite SuiteTalk web services. Apart from basic web service proxying, it also handles selecting the correct NetSuite data center on login.

To use as a plain Perl class, consult WebService::NetSuite::SuiteTalk.

ATTRIBUTES

account_id

The NetSuite account ID used for authentication.

email_address

The email address used for NetSuite authentication.

password

The password used for NetSuite authentication.

user_role

Optional name of the NetSuite role used for authorization.

endpoint

A URI object indicating the NetSuite WSDL file to load. Defaults to https://webservices.netsuite.com/wsdl/v2014_2_0/netsuite.wsdl, which is the current NetSuite SuiteTalk API as of this writing.

wsdl

Read-only access to the XML::Compile::WSDL11 instance used internally by this class.

debug

When set to true, the Log::Report dispatcher used by XML::Compile and friends is set to DEBUG mode.

xsi_auto

When set to true, all complex abstract types from the NetSuite platformCore schema are added as XML Schema Instance types.

METHODS

has_user_role

A predicate method that returns true if the user_role attribute is set.

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.

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

git clone git://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.