The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WebService::Avalara::AvaTax::Role::Connection - Common attributes and methods for AvaTax

VERSION

version 0.020

SYNOPSIS

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

DESCRIPTION

This role factors out the common attributes and methods used by the Avalara AvaTax (http://developer.avalara.com/api-docs/soap) web service interface.

ATTRIBUTES

username

The Avalara AvaTax Admin Console user name. Usually an email address. Required.

password

The password used for Avalara authentication. Required.

use_wss

A boolean value that indicates whether or not to use WSS security tokens in the SOAP header or to use those specified in Avalara's alternate security WSDL. Defaults to true. Normally you should leave this alone unless your application does not work correctly with WSS.

is_production

A boolean value that indicates whether to connect to the production AvaTax services (true) or development (false). Defaults to false.

debug

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

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 instance of LWPx::UserAgent::Cached. Note that we also set the HTTPS_CA_FILE environment variable to the result from Mozilla::CA::SSL_ca_file in order to correctly resolve certificate names.

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) 2016 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.