Difference between revisions of "Freeside:3:Documentation:Developer/FS/cust main/API"

From Freeside
Jump to: navigation, search
(Edit via perl MediaWiki framework (1.13))
 
(No difference)

Latest revision as of 06:39, 24 March 2015

API_getinfo FIELD => VALUE, ...; API_insert
Class method (constructor).
Example:

 use FS::cust_main;
 FS::cust_main->API_insert(
   'agentnum' => 1,
   'refnum'   => 1,
   'first'    => 'Harvey',
   'last'     => 'Black',
   'address1' => '5354 Pink Rabbit Lane',
   'city'     => 'Farscape',
   'state'    => 'CA',
   'zip'      => '54144',

   'invoicing_list' => 'harvey2@example.com',
 );

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 8:
'=item' outside of any '=over'