| Net-FreshBooks-API documentation | Contained in the Net-FreshBooks-API distribution. |
Net::FreshBooks::API::Links - Provides FreshBooks Link objects to Clients and Invoices
version 0.21
my $fb = Net::FreshBooks::API->new(...);
my $invoice = $fb->invoice->get({ invoice_id => $invoice_id });
my $links = $invoice->links;
print "Send this link to client: " . $links->client_view;
my $client = $fb->client->get({ client_id => $client_id });
print "Client view: " . $client->links->client_view;
Provided for invoice, client and estimate links.
Provided for invoice and client links.
Provided for invoice links.
Provided for client links.
The methods on this object all return FreshBooks URLs.
This 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.
| Net-FreshBooks-API documentation | Contained in the Net-FreshBooks-API distribution. |
use strict; use warnings; package Net::FreshBooks::API::Links; BEGIN { $Net::FreshBooks::API::Links::VERSION = '0.21'; } use Moose; extends 'Net::FreshBooks::API::Base'; has $_ => ( is => _fields()->{$_}->{is} ) for sort keys %{ _fields() }; sub _fields { return { client_view => { is => 'ro' }, view => { is => 'ro' }, edit => { is => 'ro' }, statement => { is => 'ro' }, }; } __PACKAGE__->meta->make_immutable(); 1; # ABSTRACT: Provides FreshBooks Link objects to Clients and Invoices __END__