|
NAMENet::FreshBooks::API::Payment - FreshBooks Payment access VERSIONversion 0.24 SYNOPSIS my $fb = Net::FreshBooks::API->new({ ... });
my $payment = $fb->payment;
createCreate a new payment in the FreshBooks system my $payment = $fb->payment->create({...});
delete my $payment = $fb->payment->get({ payment_id => $payment_id });
$payment->delete;
get my $payment = $fb->payment->get({ payment_id => $payment_id });
update $payment->notes('Payment Refunded.');
$payment->update;
# or more directly
$client->update( { notes => 'Payment refunded' } );
listReturns a Net::FreshBooks::API::Iterator object. my $payments = $fb->payment->list;
while ( my $payment = $payments->next ) {
print $payment->payment_id, "\n";
}
DESCRIPTIONThis class gives you object to FreshBooks payment information. Net::FreshBooks::API will construct this object for you. AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2011 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.
|