From 35227000d6222f35ec49bc4226e94200b77abc4f Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 23 Apr 2001 12:41:57 +0000 Subject: new API documentation --- htdocs/docs/man/FS/SignupClient.html | 125 +++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 htdocs/docs/man/FS/SignupClient.html (limited to 'htdocs/docs/man/FS/SignupClient.html') diff --git a/htdocs/docs/man/FS/SignupClient.html b/htdocs/docs/man/FS/SignupClient.html new file mode 100644 index 000000000..0c621edcb --- /dev/null +++ b/htdocs/docs/man/FS/SignupClient.html @@ -0,0 +1,125 @@ + + +FS::SignupClient - Freeside signup client API + + + + + + + + + + +
+

+

NAME

+

+FS::SignupClient - Freeside signup client API + +

+


+

SYNOPSIS

+

+

  use FS::SignupClient qw( signup_info new_customer );
+
+

+

  ( $locales, $packages, $pops ) = signup_info;
+
+

+

  $error = new_customer ( {
+    'first'          => $first,
+    'last'           => $last,
+    'ss'             => $ss,
+    'comapny'        => $company,
+    'address1'       => $address1,
+    'address2'       => $address2,
+    'city'           => $city,
+    'county'         => $county,
+    'state'          => $state,
+    'zip'            => $zip,
+    'country'        => $country,
+    'daytime'        => $daytime,
+    'night'          => $night,
+    'fax'            => $fax,
+    'payby'          => $payby,
+    'payinfo'        => $payinfo,
+    'paydate'        => $paydate,
+    'payname'        => $payname,
+    'invoicing_list' => $invoicing_list,
+    'pkgpart'        => $pkgpart,
+    'username'       => $username,
+    '_password'       => $password,
+    'popnum'         => $popnum,
+  } );
+
+

+


+

DESCRIPTION

+

+This module provides an API for a remote signup server. + +

+It needs to be run as the freeside user. Because of this, the program which +calls these subroutines should be written very carefully. + +

+


+

SUBROUTINES

+
+
signup_info
+

+Returns three array references of hash references. + +

+The first set of hash references is of allowable locales. Each hash +reference has the following keys: taxnum state county country + +

+The second set of hash references is of allowable packages. Each hash +reference has the following keys: pkgpart pkg + +

+The third set of hash references is of allowable POPs (Points Of Presence). +Each hash reference has the following keys: popnum city state ac exch + +

new_customer HASHREF
+

+Adds a customer to the remote Freeside system. Requires a hash reference as +a paramater with the following keys: first last ss comapny address1 +address2 city county state zip country daytime night fax payby payinfo +paydate payname invoicing_list pkgpart username _password popnum + +

+Returns a scalar error message, or the empty string for success. + +

+

+


+

VERSION

+

+$Id: SignupClient.html,v 1.1 2001-04-23 12:41:57 ivan Exp $ + +

+


+

BUGS

+

+


+

SEE ALSO

+

+fs_signupd, FS::SignupServer, FS::cust_main + + + + + + -- cgit v1.2.1