1 package FS::Agent_Mixin;
4 use FS::Record qw( qsearchs );
9 FS::Agent_Mixin - Mixin class for objects that have an agent.
15 Returns the agent (see L<FS::agent>) for this object.
21 qsearchs( 'agent', { 'agentnum' => $self->agentnum } );
26 Returns the agent name (see L<FS::agent>) for this object.