Freeside:3:Documentation:Developer/FS/cust main/API

From Freeside
< Freeside:3:Documentation:Developer‎ | FS‎ | cust main
Revision as of 06:39, 24 March 2015 by Jeremyd (talk | contribs) (Edit via perl MediaWiki framework (1.13))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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'