Net::FreshBooks::API::Payment
version 0.14
my $fb = Net::FreshBooks::API->new({ ... }); my $payment = $fb->payment;
Create a new payment in the FreshBooks system
my $payment = $fb->payment->create({...});
Please see client->update for an example of how to use this method.
my $payment = $fb->payment->get({ payment_id => $payment_id });
my $payment = $fb->payment->get({ payment_id => $payment_id }); $payment->delete;
Returns a Net::FreshBooks::API::Iterator object.
my $payments = $fb->payment->list; while ( my $payment = $payments->list ) { print $payment->payment_id, "\n"; }
This class gives you object to FreshBooks payment information. Net::FreshBooks::API will construct this object for you.
Edmund von der Burg <evdb@ecclestoad.co.uk>
Olaf Alders <olaf@wundercounter.com>
This software is copyright (c) 2010 by Edmund von der Burg & Olaf Alders.
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::FreshBooks::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::FreshBooks::API
CPAN shell
perl -MCPAN -e shell install Net::FreshBooks::API
For more information on module installation, please visit the detailed CPAN module installation guide.