[freeside-commits] branch master updated. e8e0a287f09e99e0ced6f05de8d90a41182e9e04

Christopher Burger burgerc at 420.am
Fri Jul 21 07:10:19 PDT 2017


The branch, master has been updated
       via  e8e0a287f09e99e0ced6f05de8d90a41182e9e04 (commit)
      from  dc9d1bf1200065b9c34fd2aca4ebbfc642e22b52 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e8e0a287f09e99e0ced6f05de8d90a41182e9e04
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Fri Jul 21 10:10:00 2017 -0400

    RT# 73993 - added new API call to list and documented it.

diff --git a/fs_selfservice/FS-SelfService/SelfService.pm b/fs_selfservice/FS-SelfService/SelfService.pm
index a62cf3e..b04a3ca 100644
--- a/fs_selfservice/FS-SelfService/SelfService.pm
+++ b/fs_selfservice/FS-SelfService/SelfService.pm
@@ -67,6 +67,7 @@ $socket .= '.'.$tag if defined $tag && length($tag);
   'process_prepay'            => 'MyAccount/process_prepay',
   'realtime_collect'          => 'MyAccount/realtime_collect',
   'list_pkgs'                 => 'MyAccount/list_pkgs',     #add to ss (added?)
+  'pkg_info'                  => 'MyAccount/pkg_info',
   'list_svcs'                 => 'MyAccount/list_svcs',     #add to ss (added?)
   'list_svc_usage'            => 'MyAccount/list_svc_usage',   
   'svc_status_html'           => 'MyAccount/svc_status_html',
@@ -1099,6 +1100,46 @@ Blank if the service is not over limit, or the date the service exceeded its usa
 
 =back
 
+=item pkg_info
+
+Returns package information for package.
+
+Takes a hash reference as parameter with the following keys:
+
+=over 4
+
+=item session_id
+
+Session identifier
+
+=item pkgnum
+
+Package Number
+
+=back
+
+Returns a hash reference containing customer package information.  The hash reference contains the following keys:
+
+=pkg_label
+
+Name of this package
+
+=pkgpart
+
+Part package primary key
+
+=classnum
+
+Package class number
+
+=error
+
+error message if errror.
+
+=back
+
+=back
+
 =item list_svcs
 
 Returns service information for this customer.

-----------------------------------------------------------------------

Summary of changes:
 fs_selfservice/FS-SelfService/SelfService.pm |   41 ++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)




More information about the freeside-commits mailing list