Net::Iugu::Invoices - Net::Iugu::Invoices - Methods to manage invoices
version 0.000002
Implements the API calls to manage invoices of Iugu accounts. It is used by the main module Net::Iugu and shouldn't be instantiated directly.
use Net::Iugu::Invoices; my $invoices = Net::Iugu::Invoices->new( token => 'my_api_token' ); my $res; $res = $invoices->create( $data ); $res = $invoices->read( $invoice_id ); $res = $invoices->update( $invoice_id, $data ); $res = $invoices->delete( $invoice_id ); $res = $invoices->cancel( $invoice_id ); $res = $invoices->refund( $invoice_id ); $res = $invoices->list( $params );
For a detailed reference of params and return values check the Official Documentation.
Inherited from Net::Iugu::CRUD, creates a new invoice.
Inherited from Net::Iugu::CRUD, returns data of an invoice.
Inherited from Net::Iugu::CRUD, updates an invoice.
Inherited from Net::Iugu::CRUD, removes an invoice.
Cancels an invoice.
Refunds an invoice.
Lists all invoices.
Blabos de Blebe <blabos@cpan.org>
This software is copyright (c) 2015 by Blabos de Blebe.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::Iugu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Iugu
CPAN shell
perl -MCPAN -e shell install Net::Iugu
For more information on module installation, please visit the detailed CPAN module installation guide.