NAME

WebService::Avalara::AvaTax::Role::Service - Common attributes and methods for AvaTax services

VERSION

version 0.019

SYNOPSIS

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

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

uri

The URI of the WSDL file used to define the web service. Consumer classes are expected to set this attribute. As a convenience this can also be set with anything that Types::URI can coerce into a Uri.

port

The SOAP port identifier (not to be confused with the TCP/IP port) used in the WSDL file at "uri". Consumer classes are expected to set this attribute.

service

The SOAP service name used in the WSDL file at "uri". Consumer classes are expected to set this attribute.

wsdl

After construction, you can retrieve the created XML::Compile::WSDL11 instance.

Example:

my $wsdl = $avatax->wsdl;
my @soap_operations = map { $_->name } $wsdl->operations;

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.