NAME

WebService::Avalara::AvaTax::Role::Connection - Wrapper for Avalara AvaTax web services

VERSION

version 0.003

SYNOPSIS

use Moo;
with 'WebService::Avalara::AvaTax::Role::Connection';

DESCRIPTION

This role integrates Avalara AvaTax web services.

ATTRIBUTES

username

The Avalara email address used for authentication. Required.

password

The password used for Avalara authentication. Required.

soap_service

The SOAP service name for AvaTax. Defaults to TaxSvc.

soap_port

The SOAP service name for AvaTax. Defaults to TaxSvcSoap.

endpoint

A URI object indicating the AvaTax WSDL file to load. Defaults to https://development.avalara.net/tax/taxsvc.wsdl. For production API access one should set this to https://avatax.avalara.net/tax/taxsvc.wsdl.

debug

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

transport

An XML::Compile::Transport::SOAPHTTP object used to make SOAP calls. By default it uses user_agent along with wsdl's endPoint for the address, and adds a handler for POSTs to the endpoint to add the appropriate SOAPAction HTTP header.

user_agent

An instance of an LWP::UserAgent (sub-)class. You can use your own subclass to add features such as caching or enhanced logging.

If you do not specify a user_agent then we default to an LWPx::UserAgent::Cached with its ssl_opts parameter set to {verify_hostname => 0}.

METHODS

call

Given an operation name and parameters, makes a SOAP call.

SUPPORT

Perldoc

You can find documentation for this module with the perldoc command.

perldoc WebService::Avalara::AvaTax

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-Avalara-AvaTax/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-Avalara-AvaTax

git clone git://github.com/mjgardner/WebService-Avalara-AvaTax.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.