Merge branch 'master' of https://gitlab.chiefsoft.net/Chiefsoft/CoreGrade
Conflicts: www/application/controllers/Auth.php
This commit is contained in:
@@ -14,13 +14,13 @@ Dear {{firstname}},
|
||||
</td></tr><tr><td>
|
||||
Welcome to {{site_name}}!. In order to complete your registration , click or copy the link below into the browser to set your password.
|
||||
</td></tr><tr><td style="height:20px; background-color:#CEF6E3">
|
||||
Click Link : https://{{server_name}}/vemail.html?vlnk={{verify_link}}
|
||||
Click Link : https://{{server_name}}/vemail?vlnk={{verify_link}}
|
||||
<br></td></tr><tr><td>
|
||||
{{site_name}} gives empowers you to form, find and join one or more groups. As a group member you will receive the benefit of wholesale prices on leading brands from reputable sellers on the purchases you need for your home, your business or your life!
|
||||
</td></tr><tr><td>
|
||||
|
||||
</td></tr><tr><td>
|
||||
Get in touch if you need further support at http://{{server_name}}/contact.html?vlnk=PLK-000634115584-000836017814-000634115584
|
||||
Get in touch if you need further support at https://{{server_name}}/contact?vlnk=PLK-000634115584-000836017814-000634115584
|
||||
</td></tr><tr><td>
|
||||
{{site_name}} Team
|
||||
</td></tr><tr><td>
|
||||
|
||||
@@ -16,13 +16,24 @@ database:
|
||||
port = 5432;
|
||||
};
|
||||
|
||||
mailsendBAK:
|
||||
{
|
||||
from = "savvy@chiefsoft.com";
|
||||
server = "smtp.google.com";
|
||||
domain = "chiefsoft.com";
|
||||
user = "savvy@chiefsoft.com";
|
||||
pass = "may12002!";
|
||||
name = "CoreGrade Beta";
|
||||
};
|
||||
|
||||
mailsend:
|
||||
{
|
||||
from = "demo@coregrade.com";
|
||||
server = "virtualmail.chiefsoft.com";
|
||||
from = "support@coregrade.com";
|
||||
# server = "virtualmail.chiefsoft.com";
|
||||
server = "10.0.0.23";
|
||||
domain = "coregrade.com";
|
||||
user = "demo@coregrade.com";
|
||||
pass = "demo001";
|
||||
user = "support@coregrade.com";
|
||||
pass = "may12002!x";
|
||||
name = "CoreGrade Support";
|
||||
};
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ srcdir = /home/oameye/coregrade/coregrade/src
|
||||
builddir = /home/oameye/coregrade/coregrade/src
|
||||
top_srcdir = /home/oameye/coregrade/coregrade/src
|
||||
top_builddir = /home/oameye/coregrade/coregrade/src
|
||||
EGREP = /bin/grep -E
|
||||
SED = /bin/sed
|
||||
EGREP = /usr/bin/grep -E
|
||||
SED = /usr/bin/sed
|
||||
CONFIGURE_COMMAND = './configure' '--enable-coregrade_api'
|
||||
CONFIGURE_OPTIONS = '--enable-coregrade_api'
|
||||
SHLIB_SUFFIX_NAME = so
|
||||
|
||||
+39
-40
@@ -28,7 +28,6 @@ uname -v = #1 SMP Fri Dec 6 15:49:49 UTC 2019
|
||||
/bin/universe = unknown
|
||||
|
||||
PATH: /usr/local/bin
|
||||
PATH: /bin
|
||||
PATH: /usr/bin
|
||||
PATH: /usr/local/sbin
|
||||
PATH: /usr/sbin
|
||||
@@ -41,13 +40,13 @@ PATH: /home/oameye/bin
|
||||
## ----------- ##
|
||||
|
||||
configure:2209: checking for grep that handles long lines and -e
|
||||
configure:2267: result: /bin/grep
|
||||
configure:2267: result: /usr/bin/grep
|
||||
configure:2272: checking for egrep
|
||||
configure:2334: result: /bin/grep -E
|
||||
configure:2334: result: /usr/bin/grep -E
|
||||
configure:2339: checking for a sed that does not truncate output
|
||||
configure:2403: result: /bin/sed
|
||||
configure:2403: result: /usr/bin/sed
|
||||
configure:2537: checking for cc
|
||||
configure:2553: found /bin/cc
|
||||
configure:2553: found /usr/bin/cc
|
||||
configure:2564: result: cc
|
||||
configure:2595: checking for C compiler version
|
||||
configure:2604: cc --version >&5
|
||||
@@ -206,12 +205,12 @@ configure:3838: checking for re2c
|
||||
configure:3868: result: no
|
||||
configure:3893: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
|
||||
configure:3907: checking for gawk
|
||||
configure:3924: found /bin/gawk
|
||||
configure:3924: found /usr/bin/gawk
|
||||
configure:3935: result: gawk
|
||||
configure:3978: checking Whether to enable the "coregrade_api" extension
|
||||
configure:4017: result: yes, shared
|
||||
configure:4084: checking for g++
|
||||
configure:4100: found /bin/g++
|
||||
configure:4100: found /usr/bin/g++
|
||||
configure:4111: result: g++
|
||||
configure:4138: checking for C++ compiler version
|
||||
configure:4147: g++ --version >&5
|
||||
@@ -289,18 +288,18 @@ configure: failed program was:
|
||||
configure:5112: checking how to print strings
|
||||
configure:5139: result: printf
|
||||
configure:5160: checking for a sed that does not truncate output
|
||||
configure:5224: result: /bin/sed
|
||||
configure:5224: result: /usr/bin/sed
|
||||
configure:5242: checking for fgrep
|
||||
configure:5304: result: /bin/grep -F
|
||||
configure:5304: result: /usr/bin/grep -F
|
||||
configure:5339: checking for ld used by cc
|
||||
configure:5406: result: /bin/ld
|
||||
configure:5413: checking if the linker (/bin/ld) is GNU ld
|
||||
configure:5406: result: /usr/bin/ld
|
||||
configure:5413: checking if the linker (/usr/bin/ld) is GNU ld
|
||||
configure:5428: result: yes
|
||||
configure:5440: checking for BSD- or MS-compatible name lister (nm)
|
||||
configure:5489: result: /bin/nm -B
|
||||
configure:5619: checking the name lister (/bin/nm -B) interface
|
||||
configure:5489: result: /usr/bin/nm -B
|
||||
configure:5619: checking the name lister (/usr/bin/nm -B) interface
|
||||
configure:5626: cc -c -g -O2 conftest.c >&5
|
||||
configure:5629: /bin/nm -B "conftest.o"
|
||||
configure:5629: /usr/bin/nm -B "conftest.o"
|
||||
configure:5632: output
|
||||
0000000000000000 B some_variable
|
||||
configure:5639: result: BSD nm
|
||||
@@ -316,10 +315,10 @@ configure:5856: checking how to convert x86_64-unknown-linux-gnu file names to x
|
||||
configure:5896: result: func_convert_file_noop
|
||||
configure:5903: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
|
||||
configure:5923: result: func_convert_file_noop
|
||||
configure:5930: checking for /bin/ld option to reload object files
|
||||
configure:5930: checking for /usr/bin/ld option to reload object files
|
||||
configure:5937: result: -r
|
||||
configure:6011: checking for objdump
|
||||
configure:6027: found /bin/objdump
|
||||
configure:6027: found /usr/bin/objdump
|
||||
configure:6038: result: objdump
|
||||
configure:6070: checking how to recognize dependent libraries
|
||||
configure:6272: result: pass_all
|
||||
@@ -328,7 +327,7 @@ configure:6387: result: no
|
||||
configure:6417: checking how to associate runtime and link libraries
|
||||
configure:6444: result: printf %s\n
|
||||
configure:6504: checking for ar
|
||||
configure:6520: found /bin/ar
|
||||
configure:6520: found /usr/bin/ar
|
||||
configure:6531: result: ar
|
||||
configure:6568: checking for archiver @FILE support
|
||||
configure:6585: cc -c -g -O2 conftest.c >&5
|
||||
@@ -340,17 +339,17 @@ ar: conftest.o: No such file or directory
|
||||
configure:6599: $? = 1
|
||||
configure:6611: result: @
|
||||
configure:6669: checking for strip
|
||||
configure:6685: found /bin/strip
|
||||
configure:6685: found /usr/bin/strip
|
||||
configure:6696: result: strip
|
||||
configure:6768: checking for ranlib
|
||||
configure:6784: found /bin/ranlib
|
||||
configure:6784: found /usr/bin/ranlib
|
||||
configure:6795: result: ranlib
|
||||
configure:6872: checking for gawk
|
||||
configure:6899: result: gawk
|
||||
configure:6939: checking command to parse /bin/nm -B output from cc object
|
||||
configure:6939: checking command to parse /usr/bin/nm -B output from cc object
|
||||
configure:7059: cc -c -g -O2 conftest.c >&5
|
||||
configure:7062: $? = 0
|
||||
configure:7066: /bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
|
||||
configure:7066: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
|
||||
configure:7069: $? = 0
|
||||
configure:7135: cc -o conftest -g -O2 -Wl,-rpath,/home/oameye/coregrade/coregrade/src/libconfig-1.3.1/.libs/ -L/home/oameye/coregrade/coregrade/src/libconfig-1.3.1/.libs/ conftest.c conftstm.o >&5
|
||||
configure:7138: $? = 0
|
||||
@@ -433,12 +432,12 @@ configure:9343: $? = 0
|
||||
configure:9365: result: yes
|
||||
configure:9373: checking if cc supports -c -o file.o
|
||||
configure:9420: result: yes
|
||||
configure:9453: checking whether the cc linker (/bin/ld -m elf_x86_64) supports shared libraries
|
||||
configure:9453: checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
|
||||
configure:10606: result: yes
|
||||
configure:10643: checking whether -lc should be explicitly linked in
|
||||
configure:10651: cc -c -g -O2 conftest.c >&5
|
||||
configure:10654: $? = 0
|
||||
configure:10669: cc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
|
||||
configure:10669: cc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
|
||||
configure:10672: $? = 0
|
||||
configure:10686: result: no
|
||||
configure:10846: checking dynamic linker characteristics
|
||||
@@ -489,10 +488,10 @@ configure: failed program was:
|
||||
| /* end confdefs.h. */
|
||||
| #include <ac_nonexistent.h>
|
||||
configure:12620: checking for ld used by g++
|
||||
configure:12687: result: /bin/ld -m elf_x86_64
|
||||
configure:12694: checking if the linker (/bin/ld -m elf_x86_64) is GNU ld
|
||||
configure:12687: result: /usr/bin/ld -m elf_x86_64
|
||||
configure:12694: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
|
||||
configure:12709: result: yes
|
||||
configure:12764: checking whether the g++ linker (/bin/ld -m elf_x86_64) supports shared libraries
|
||||
configure:12764: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
|
||||
configure:13769: result: yes
|
||||
configure:13805: g++ -c -g -O2 conftest.cpp >&5
|
||||
configure:13808: $? = 0
|
||||
@@ -510,7 +509,7 @@ configure:14466: $? = 0
|
||||
configure:14488: result: yes
|
||||
configure:14493: checking if g++ supports -c -o file.o
|
||||
configure:14540: result: yes
|
||||
configure:14570: checking whether the g++ linker (/bin/ld -m elf_x86_64) supports shared libraries
|
||||
configure:14570: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
|
||||
configure:14606: result: yes
|
||||
configure:14747: checking dynamic linker characteristics
|
||||
configure:15418: result: GNU/Linux ld.so
|
||||
@@ -583,10 +582,10 @@ ac_cv_header_sys_types_h=yes
|
||||
ac_cv_header_unistd_h=yes
|
||||
ac_cv_host=x86_64-unknown-linux-gnu
|
||||
ac_cv_objext=o
|
||||
ac_cv_path_EGREP='/bin/grep -E'
|
||||
ac_cv_path_FGREP='/bin/grep -F'
|
||||
ac_cv_path_GREP=/bin/grep
|
||||
ac_cv_path_SED=/bin/sed
|
||||
ac_cv_path_EGREP='/usr/bin/grep -E'
|
||||
ac_cv_path_FGREP='/usr/bin/grep -F'
|
||||
ac_cv_path_GREP=/usr/bin/grep
|
||||
ac_cv_path_SED=/usr/bin/sed
|
||||
ac_cv_prog_AWK=gawk
|
||||
ac_cv_prog_CPP='cc -E'
|
||||
ac_cv_prog_CXXCPP='g++ -E'
|
||||
@@ -609,9 +608,9 @@ lt_cv_file_magic_test_file=
|
||||
lt_cv_ld_reload_flag=-r
|
||||
lt_cv_nm_interface='BSD nm'
|
||||
lt_cv_objdir=.libs
|
||||
lt_cv_path_LD=/bin/ld
|
||||
lt_cv_path_LDCXX='/bin/ld -m elf_x86_64'
|
||||
lt_cv_path_NM='/bin/nm -B'
|
||||
lt_cv_path_LD=/usr/bin/ld
|
||||
lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
|
||||
lt_cv_path_NM='/usr/bin/nm -B'
|
||||
lt_cv_path_mainfest_tool=no
|
||||
lt_cv_prog_compiler_c_o=yes
|
||||
lt_cv_prog_compiler_c_o_CXX=yes
|
||||
@@ -658,11 +657,11 @@ DUMPBIN=''
|
||||
ECHO_C=''
|
||||
ECHO_N='-n'
|
||||
ECHO_T=''
|
||||
EGREP='/bin/grep -E'
|
||||
EGREP='/usr/bin/grep -E'
|
||||
EXEEXT=''
|
||||
FGREP='/bin/grep -F'
|
||||
GREP='/bin/grep'
|
||||
LD='/bin/ld -m elf_x86_64'
|
||||
FGREP='/usr/bin/grep -F'
|
||||
GREP='/usr/bin/grep'
|
||||
LD='/usr/bin/ld -m elf_x86_64'
|
||||
LDFLAGS=' -Wl,-rpath,/home/oameye/coregrade/coregrade/src/libconfig-1.3.1/.libs/ -L/home/oameye/coregrade/coregrade/src/libconfig-1.3.1/.libs/'
|
||||
LIBOBJS=''
|
||||
LIBS='-lconfig++ -lstdc++ '
|
||||
@@ -671,7 +670,7 @@ LIPO=''
|
||||
LN_S='ln -s'
|
||||
LTLIBOBJS=''
|
||||
MANIFEST_TOOL=':'
|
||||
NM='/bin/nm -B'
|
||||
NM='/usr/bin/nm -B'
|
||||
NMEDIT=''
|
||||
OBJDUMP='objdump'
|
||||
OBJEXT='o'
|
||||
@@ -686,7 +685,7 @@ PACKAGE_VERSION=''
|
||||
PATH_SEPARATOR=':'
|
||||
RANLIB='ranlib'
|
||||
RE2C='exit 0;'
|
||||
SED='/bin/sed'
|
||||
SED='/usr/bin/sed'
|
||||
SHELL='/bin/sh'
|
||||
SHLIB_DL_SUFFIX_NAME='so'
|
||||
SHLIB_SUFFIX_NAME='so'
|
||||
|
||||
@@ -547,13 +547,13 @@ host_os='linux-gnu'
|
||||
build_alias=''
|
||||
build='x86_64-unknown-linux-gnu'
|
||||
build_os='linux-gnu'
|
||||
SED='/bin/sed'
|
||||
Xsed='/bin/sed -e 1s/^X//'
|
||||
GREP='/bin/grep'
|
||||
EGREP='/bin/grep -E'
|
||||
FGREP='/bin/grep -F'
|
||||
LD='/bin/ld -m elf_x86_64'
|
||||
NM='/bin/nm -B'
|
||||
SED='/usr/bin/sed'
|
||||
Xsed='/usr/bin/sed -e 1s/^X//'
|
||||
GREP='/usr/bin/grep'
|
||||
EGREP='/usr/bin/grep -E'
|
||||
FGREP='/usr/bin/grep -F'
|
||||
LD='/usr/bin/ld -m elf_x86_64'
|
||||
NM='/usr/bin/nm -B'
|
||||
LN_S='ln -s'
|
||||
max_cmd_len='1572864'
|
||||
ac_objext='o'
|
||||
@@ -671,7 +671,7 @@ postdep_objects=''
|
||||
predeps=''
|
||||
postdeps=''
|
||||
compiler_lib_search_path=''
|
||||
LD_CXX='/bin/ld -m elf_x86_64'
|
||||
LD_CXX='/usr/bin/ld -m elf_x86_64'
|
||||
reload_flag_CXX=' -r'
|
||||
reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs'
|
||||
old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#define COREGRADE_VERIFY_PENDING_LINK 11015
|
||||
#define COREGRADE_ACCOUNT_CREATEACC 11020
|
||||
#define COREGRADE_ACCOUNT_LOGIN 11025
|
||||
#define COREGRADE_ACCOUNT_ADDCARD 11027
|
||||
|
||||
|
||||
#define COREGRADE_ACCOUNT_END 11999
|
||||
//**************************************************************
|
||||
|
||||
+401
-216
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,11 @@
|
||||
/* paylidStub.h
|
||||
Generated by gSOAP 2.7.16 from PaylidService.h
|
||||
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
This part of the software is released under one of the following licenses:
|
||||
GPL, the gSOAP public license, or Genivia's license for commercial use.
|
||||
Generated by gSOAP 2.8.16 from PaylidService.h
|
||||
|
||||
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The generated code is released under one of the following licenses:
|
||||
GPL or Genivia's license for commercial use.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
*/
|
||||
|
||||
#ifndef paylidStub_H
|
||||
@@ -16,6 +19,10 @@
|
||||
#define WITH_NOGLOBAL
|
||||
#endif
|
||||
#include "stdsoap2.h"
|
||||
#if GSOAP_VERSION != 20816
|
||||
# error "GSOAP VERSION MISMATCH IN GENERATED CODE: PLEASE REINSTALL PACKAGE"
|
||||
#endif
|
||||
|
||||
|
||||
namespace paylid {
|
||||
|
||||
@@ -40,11 +47,11 @@ namespace paylid {
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
#if 0 /* volatile type: do not redeclare here */
|
||||
#if 0 /* volatile type: do not declare here, declared elsewhere */
|
||||
|
||||
#endif
|
||||
|
||||
#if 0 /* volatile type: do not redeclare here */
|
||||
#if 0 /* volatile type: do not declare here, declared elsewhere */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -57,6 +64,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 8; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountBalanceResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -68,6 +77,8 @@ struct paylid__getAccountBalance
|
||||
public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 12; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountBalance */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -80,6 +91,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 13; } /* = unique id SOAP_TYPE_paylid_paylid__transferFundResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -92,6 +105,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string toDestination; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 16; } /* = unique id SOAP_TYPE_paylid_paylid__transferFund */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -104,6 +119,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 17; } /* = unique id SOAP_TYPE_paylid_paylid__checkTransferStatusResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -116,6 +133,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string transactionRef; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 20; } /* = unique id SOAP_TYPE_paylid_paylid__checkTransferStatus */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -128,6 +147,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 21; } /* = unique id SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -140,6 +161,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string topupData; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 24; } /* = unique id SOAP_TYPE_paylid_paylid__directAirTimeTopUp */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -152,6 +175,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 25; } /* = unique id SOAP_TYPE_paylid_paylid__currentXrateResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -164,6 +189,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string topupData; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 28; } /* = unique id SOAP_TYPE_paylid_paylid__currentXrate */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -176,6 +203,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 29; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -188,6 +217,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string topupData; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 32; } /* = unique id SOAP_TYPE_paylid_paylid__getAccount */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -200,6 +231,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 33; } /* = unique id SOAP_TYPE_paylid_paylid__getTrxStatusResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -212,6 +245,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string topupData; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 36; } /* = unique id SOAP_TYPE_paylid_paylid__getTrxStatus */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -224,6 +259,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 37; } /* = unique id SOAP_TYPE_paylid_paylid__getSupportedBanksResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -236,14 +273,20 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string topupData; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 40; } /* = unique id SOAP_TYPE_paylid_paylid__getSupportedBanks */
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Header (41)
|
||||
/* SOAP Header: */
|
||||
struct SOAP_ENV__Header
|
||||
{
|
||||
public:
|
||||
int soap_type() const { return 41; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Header */
|
||||
#ifdef WITH_NOEMPTYSTRUCT
|
||||
private:
|
||||
char dummy; /* dummy member to enable compilation */
|
||||
@@ -251,6 +294,10 @@ private:
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Code (42)
|
||||
/* SOAP Fault Code: */
|
||||
@@ -259,21 +306,33 @@ struct SOAP_ENV__Code
|
||||
public:
|
||||
char *SOAP_ENV__Value; /* optional element of type xsd:QName */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */
|
||||
public:
|
||||
int soap_type() const { return 42; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Code */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Detail (44)
|
||||
/* SOAP-ENV:Detail */
|
||||
struct SOAP_ENV__Detail
|
||||
{
|
||||
public:
|
||||
char *__any;
|
||||
int __type; /* any type of element <fault> (defined below) */
|
||||
void *fault; /* transient */
|
||||
char *__any;
|
||||
public:
|
||||
int soap_type() const { return 44; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Detail */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Reason (47)
|
||||
/* SOAP-ENV:Reason */
|
||||
@@ -281,9 +340,15 @@ struct SOAP_ENV__Reason
|
||||
{
|
||||
public:
|
||||
char *SOAP_ENV__Text; /* optional element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 47; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Reason */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Fault (48)
|
||||
/* SOAP Fault: */
|
||||
@@ -299,9 +364,13 @@ public:
|
||||
char *SOAP_ENV__Node; /* optional element of type xsd:string */
|
||||
char *SOAP_ENV__Role; /* optional element of type xsd:string */
|
||||
struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */
|
||||
public:
|
||||
int soap_type() const { return 48; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Fault */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Typedefs *
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
/* paylidpaylidwsdlBindingProxy.h
|
||||
Generated by gSOAP 2.7.16 from PaylidService.h
|
||||
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
This part of the software is released under one of the following licenses:
|
||||
GPL, the gSOAP public license, or Genivia's license for commercial use.
|
||||
Generated by gSOAP 2.8.16 from PaylidService.h
|
||||
|
||||
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The generated code is released under one of the following licenses:
|
||||
GPL or Genivia's license for commercial use.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
*/
|
||||
|
||||
#ifndef paylidpaylidwsdlBindingProxy_H
|
||||
@@ -17,60 +20,81 @@ class SOAP_CMAC paylidwsdlBindingProxy : public soap
|
||||
const char *soap_endpoint;
|
||||
/// Constructor
|
||||
paylidwsdlBindingProxy();
|
||||
/// Constructor with copy of another engine state
|
||||
/// Construct from another engine state
|
||||
paylidwsdlBindingProxy(const struct soap&);
|
||||
/// Constructor with endpoint URL
|
||||
paylidwsdlBindingProxy(const char *url);
|
||||
/// Constructor with engine input+output mode control
|
||||
paylidwsdlBindingProxy(soap_mode iomode);
|
||||
/// Constructor with URL and input+output mode control
|
||||
paylidwsdlBindingProxy(const char *url, soap_mode iomode);
|
||||
/// Constructor with engine input and output mode control
|
||||
paylidwsdlBindingProxy(soap_mode imode, soap_mode omode);
|
||||
/// Destructor frees deserialized data
|
||||
virtual ~paylidwsdlBindingProxy();
|
||||
/// Initializer used by constructors
|
||||
virtual void paylidwsdlBindingProxy_init(soap_mode imode, soap_mode omode);
|
||||
/// Delete all deserialized data (uses soap_destroy and soap_end)
|
||||
/// Delete all deserialized data (with soap_destroy and soap_end)
|
||||
virtual void destroy();
|
||||
/// Delete all deserialized data and reset to default
|
||||
virtual void reset();
|
||||
/// Disables and removes SOAP Header from message
|
||||
virtual void soap_noheader();
|
||||
/// Get SOAP Header structure (NULL when absent)
|
||||
virtual const SOAP_ENV__Header *soap_header();
|
||||
/// Get SOAP Fault structure (NULL when absent)
|
||||
virtual const SOAP_ENV__Fault *soap_fault();
|
||||
/// Get SOAP Fault string (NULL when absent)
|
||||
virtual const char *soap_fault_string();
|
||||
/// Get SOAP Fault detail as string (NULL when absent)
|
||||
virtual const char *soap_fault_detail();
|
||||
/// Force close connection (normally automatic, except for send_X ops)
|
||||
/// Close connection (normally automatic, except for send_X ops)
|
||||
virtual int soap_close_socket();
|
||||
/// Force close connection (can kill a thread blocked on IO)
|
||||
virtual int soap_force_close_socket();
|
||||
/// Print fault
|
||||
virtual void soap_print_fault(FILE*);
|
||||
#ifndef WITH_LEAN
|
||||
/// Print fault to stream
|
||||
#ifndef WITH_COMPAT
|
||||
virtual void soap_stream_fault(std::ostream&);
|
||||
#endif
|
||||
|
||||
/// Put fault into buffer
|
||||
virtual char *soap_sprint_fault(char *buf, size_t len);
|
||||
#endif
|
||||
|
||||
/// Web service operation 'getAccountBalance' (returns error code or SOAP_OK)
|
||||
virtual int getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1);
|
||||
virtual int getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1) { return this->getAccountBalance(NULL, NULL, terminalID, hmac, _param_1); }
|
||||
virtual int getAccountBalance(const char *endpoint, const char *soap_action, std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1);
|
||||
|
||||
/// Web service operation 'transferFund' (returns error code or SOAP_OK)
|
||||
virtual int transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2);
|
||||
virtual int transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2) { return this->transferFund(NULL, NULL, terminalID, toDestination, hmac, _param_2); }
|
||||
virtual int transferFund(const char *endpoint, const char *soap_action, std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2);
|
||||
|
||||
/// Web service operation 'checkTransferStatus' (returns error code or SOAP_OK)
|
||||
virtual int checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3);
|
||||
virtual int checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3) { return this->checkTransferStatus(NULL, NULL, terminalID, transactionRef, hmac, _param_3); }
|
||||
virtual int checkTransferStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3);
|
||||
|
||||
/// Web service operation 'directAirTimeTopUp' (returns error code or SOAP_OK)
|
||||
virtual int directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4);
|
||||
virtual int directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4) { return this->directAirTimeTopUp(NULL, NULL, terminalID, topupData, hmac, _param_4); }
|
||||
virtual int directAirTimeTopUp(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4);
|
||||
|
||||
/// Web service operation 'currentXrate' (returns error code or SOAP_OK)
|
||||
virtual int currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5);
|
||||
virtual int currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5) { return this->currentXrate(NULL, NULL, terminalID, topupData, hmac, _param_5); }
|
||||
virtual int currentXrate(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5);
|
||||
|
||||
/// Web service operation 'getAccount' (returns error code or SOAP_OK)
|
||||
virtual int getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6);
|
||||
virtual int getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6) { return this->getAccount(NULL, NULL, terminalID, topupData, hmac, _param_6); }
|
||||
virtual int getAccount(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6);
|
||||
|
||||
/// Web service operation 'getTrxStatus' (returns error code or SOAP_OK)
|
||||
virtual int getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7);
|
||||
virtual int getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7) { return this->getTrxStatus(NULL, NULL, terminalID, topupData, hmac, _param_7); }
|
||||
virtual int getTrxStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7);
|
||||
|
||||
/// Web service operation 'getSupportedBanks' (returns error code or SOAP_OK)
|
||||
virtual int getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8);
|
||||
virtual int getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8) { return this->getSupportedBanks(NULL, NULL, terminalID, topupData, hmac, _param_8); }
|
||||
virtual int getSupportedBanks(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8);
|
||||
};
|
||||
|
||||
} // namespace paylid
|
||||
|
||||
@@ -75,22 +75,22 @@ build=x86_64-unknown-linux-gnu
|
||||
build_os=linux-gnu
|
||||
|
||||
# A sed program that does not truncate output.
|
||||
SED="/bin/sed"
|
||||
SED="/usr/bin/sed"
|
||||
|
||||
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
||||
Xsed="$SED -e 1s/^X//"
|
||||
|
||||
# A grep program that handles long lines.
|
||||
GREP="/bin/grep"
|
||||
GREP="/usr/bin/grep"
|
||||
|
||||
# An ERE matcher.
|
||||
EGREP="/bin/grep -E"
|
||||
EGREP="/usr/bin/grep -E"
|
||||
|
||||
# A literal string matcher.
|
||||
FGREP="/bin/grep -F"
|
||||
FGREP="/usr/bin/grep -F"
|
||||
|
||||
# A BSD- or MS-compatible name lister.
|
||||
NM="/bin/nm -B"
|
||||
NM="/usr/bin/nm -B"
|
||||
|
||||
# Whether we need soft or hard links.
|
||||
LN_S="ln -s"
|
||||
@@ -292,7 +292,7 @@ striplib="strip --strip-unneeded"
|
||||
|
||||
|
||||
# The linker used to build libraries.
|
||||
LD="/bin/ld -m elf_x86_64"
|
||||
LD="/usr/bin/ld -m elf_x86_64"
|
||||
|
||||
# How to create reloadable object files.
|
||||
reload_flag=" -r"
|
||||
@@ -10093,7 +10093,7 @@ build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
|
||||
# ### BEGIN LIBTOOL TAG CONFIG: CXX
|
||||
|
||||
# The linker used to build libraries.
|
||||
LD="/bin/ld -m elf_x86_64"
|
||||
LD="/usr/bin/ld -m elf_x86_64"
|
||||
|
||||
# How to create reloadable object files.
|
||||
reload_flag=" -r"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -12,119 +12,104 @@
|
||||
#include "cfg.h"
|
||||
#include <curl/curl.h>
|
||||
|
||||
long groups_calls(CVars in, CVars &out) {
|
||||
logfmt(logINFO, "groups_calls()");
|
||||
out["result"] = "YES I GET TO BACK END";
|
||||
long action = REQ_LONG(in, "action", 0, -1);
|
||||
switch (action) {
|
||||
|
||||
|
||||
long groups_calls(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "groups_calls()" );
|
||||
out["result"] = "YES I GET TO BACK END";
|
||||
long action = REQ_LONG( in, "action", 0, -1);
|
||||
switch( action )
|
||||
{
|
||||
case COREGRADE_GROUP_ACCEPTGROUP:
|
||||
//return LoginCoreGradeAccount( in, out);
|
||||
break;
|
||||
|
||||
|
||||
case COREGRADE_GROUP_ACCEPTGROUP:
|
||||
//return LoginCoreGradeAccount( in, out);
|
||||
break;
|
||||
|
||||
case COREGRADE_GROUP_INVITEGROUP:
|
||||
//return CreateCoreGradeAccountPending(in, out);
|
||||
break;
|
||||
|
||||
case COREGRADE_GROUP_CREATEGROUP:
|
||||
return CreateCoreGradeGroup( in, out);
|
||||
break;
|
||||
}
|
||||
logfmt( logINFO, "/groups_calls()" );
|
||||
return 0;
|
||||
case COREGRADE_GROUP_INVITEGROUP:
|
||||
//return CreateCoreGradeAccountPending(in, out);
|
||||
break;
|
||||
|
||||
case COREGRADE_GROUP_CREATEGROUP:
|
||||
return CreateCoreGradeGroup(in, out);
|
||||
break;
|
||||
}
|
||||
logfmt(logINFO, "/groups_calls()");
|
||||
return 0;
|
||||
}
|
||||
|
||||
long CreateCoreGradeGroup(CVars in, CVars &out)
|
||||
{
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
out =in;
|
||||
long CreateCoreGradeGroup(CVars in, CVars &out) {
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
out = in;
|
||||
|
||||
REQ_STRING (in, "group_name", 5, 99, "(.*)");
|
||||
OPTIONAL( in, "description" ) REQ_STRING (in, "description", 1, 249, "(.*)");
|
||||
REQ_LONG( in, "contribute", 1, -1 );
|
||||
REQ_LONG( in, "member_id", 1, -1 );
|
||||
OPTIONAL( in, "loc" ) REQ_STRING (in, "loc", 3, 15, "(.*)");
|
||||
|
||||
CVars x;
|
||||
x["group_name"] = in["group_name"]; x["group_name"].set_valid( true );
|
||||
x["description"] = in["description"]; x["description"].set_valid( true );
|
||||
x["invite"] = "1"; x["invite"].set_valid( true );
|
||||
x["member_id"] = in["member_id"]; x["member_id"].set_valid( true );
|
||||
x["loc"] = in["loc"]; x["loc"].set_valid( true );
|
||||
ret = insert_db_record( DBS_VALID, "members_groups", "members_groups_id_seq", x );
|
||||
REQ_STRING(in, "group_name", 5, 99, "(.*)");
|
||||
OPTIONAL(in, "description") REQ_STRING(in, "description", 1, 249, "(.*)");
|
||||
REQ_LONG(in, "contribute", 1, -1);
|
||||
REQ_LONG(in, "member_id", 1, -1);
|
||||
OPTIONAL(in, "loc") REQ_STRING(in, "loc", 3, 15, "(.*)");
|
||||
|
||||
if ( ret > 0 )
|
||||
{
|
||||
if ( in["contribute"].Long() > 0 )
|
||||
{
|
||||
pgsql_exec("UPDATE members_groups SET contribute=NOW() WHERE id=%lu ", ret);
|
||||
}
|
||||
out["group_id"] = ret; out["group_id"].set_valid( true );
|
||||
x["group_id"] = ret; x["group_id"].set_valid( true );
|
||||
CVars y;
|
||||
y["member_id"] = in["member_id"]; y["member_id"].set_valid( true );
|
||||
y["admin_status"] = in["member_id"]; y["admin_status"].set_valid( true );
|
||||
y["group_id"] = out["group_id"]; y["group_id"].set_valid( true );
|
||||
y["loc"] = in["loc"]; y["loc"].set_valid( true );
|
||||
//ALTER TABLE group_members ADD admin_status INT REFERENCES members(id);
|
||||
CoreGradeGroupCreateMember(y,out);
|
||||
CreateCoreGradeGroupMail(y);
|
||||
}
|
||||
return ret;
|
||||
CVars x;
|
||||
x["group_name"] = in["group_name"];
|
||||
x["group_name"].set_valid(true);
|
||||
x["description"] = in["description"];
|
||||
x["description"].set_valid(true);
|
||||
x["invite"] = "1";
|
||||
x["invite"].set_valid(true);
|
||||
x["member_id"] = in["member_id"];
|
||||
x["member_id"].set_valid(true);
|
||||
x["loc"] = in["loc"];
|
||||
x["loc"].set_valid(true);
|
||||
ret = insert_db_record(DBS_VALID, "members_groups", "members_groups_id_seq", x);
|
||||
|
||||
if (ret > 0) {
|
||||
if (in["contribute"].Long() > 0) {
|
||||
pgsql_exec("UPDATE members_groups SET contribute=NOW() WHERE id=%lu ", ret);
|
||||
}
|
||||
out["group_id"] = ret;
|
||||
out["group_id"].set_valid(true);
|
||||
x["group_id"] = ret;
|
||||
x["group_id"].set_valid(true);
|
||||
CVars y;
|
||||
y["member_id"] = in["member_id"];
|
||||
y["member_id"].set_valid(true);
|
||||
y["admin_status"] = in["member_id"];
|
||||
y["admin_status"].set_valid(true);
|
||||
y["group_id"] = out["group_id"];
|
||||
y["group_id"].set_valid(true);
|
||||
y["loc"] = in["loc"];
|
||||
y["loc"].set_valid(true);
|
||||
//ALTER TABLE group_members ADD admin_status INT REFERENCES members(id);
|
||||
CoreGradeGroupCreateMember(y, out);
|
||||
CreateCoreGradeGroupMail(y);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
long CoreGradeGroupCreateMember(CVars in, CVars &out)
|
||||
{
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
out =in;
|
||||
REQ_LONG( in, "member_id", 1, -1 );
|
||||
REQ_LONG( in, "group_id", 1, -1 );
|
||||
OPTIONAL( in, "loc" ) REQ_STRING (in, "loc", 3, 15, "(.*)");
|
||||
|
||||
CVars x;
|
||||
x["group_id"] = in["group_id"]; x["group_id"].set_valid( true );
|
||||
x["member_id"] = in["member_id"]; x["member_id"].set_valid( true );
|
||||
x["loc"] = in["loc"]; x["loc"].set_valid( true );
|
||||
if (in["admin_status"].Long() > 0)
|
||||
{
|
||||
x["admin_status"] = in["admin_status"]; x["admin_status"].set_valid( true );
|
||||
}
|
||||
ret = insert_db_record( DBS_VALID, "group_members", "group_members_id_seq", x );
|
||||
long CoreGradeGroupCreateMember(CVars in, CVars &out) {
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
out = in;
|
||||
REQ_LONG(in, "member_id", 1, -1);
|
||||
REQ_LONG(in, "group_id", 1, -1);
|
||||
OPTIONAL(in, "loc") REQ_STRING(in, "loc", 3, 15, "(.*)");
|
||||
|
||||
if ( ret > 0 )
|
||||
{ out["group_member_id"] = ret; out["group_member_id"].set_valid( true );
|
||||
x["group_member_id"] = ret; x["group_member_id"].set_valid( true );
|
||||
GroupCreateMemberMail(x);
|
||||
pgsql_exec("UPDATE members_groups SET accepted = (SELECT count(*) FROM group_members WHERE group_id = %lu ) WHERE id=%lu",x["group_id"].Long(),x["group_id"].Long() );
|
||||
}
|
||||
return ret;
|
||||
CVars x;
|
||||
x["group_id"] = in["group_id"];
|
||||
x["group_id"].set_valid(true);
|
||||
x["member_id"] = in["member_id"];
|
||||
x["member_id"].set_valid(true);
|
||||
x["loc"] = in["loc"];
|
||||
x["loc"].set_valid(true);
|
||||
if (in["admin_status"].Long() > 0) {
|
||||
x["admin_status"] = in["admin_status"];
|
||||
x["admin_status"].set_valid(true);
|
||||
}
|
||||
ret = insert_db_record(DBS_VALID, "group_members", "group_members_id_seq", x);
|
||||
|
||||
if (ret > 0) {
|
||||
out["group_member_id"] = ret;
|
||||
out["group_member_id"].set_valid(true);
|
||||
x["group_member_id"] = ret;
|
||||
x["group_member_id"].set_valid(true);
|
||||
GroupCreateMemberMail(x);
|
||||
pgsql_exec("UPDATE members_groups SET accepted = (SELECT count(*) FROM group_members WHERE group_id = %lu ) WHERE id=%lu", x["group_id"].Long(), x["group_id"].Long());
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
//******************************************************************************
|
||||
|
||||
|
||||
/*
|
||||
CREATE TABLE group_members (
|
||||
id SERIAL,
|
||||
member_id INT REFERENCES members(id),
|
||||
group_name VARCHAR(100) UNIQUE NOT NULL,
|
||||
description VARCHAR(250),
|
||||
added timestamp without time zone DEFAULT now(),
|
||||
balance integer DEFAULT 0,
|
||||
contribute timestamp without time zone,
|
||||
alert integer DEFAULT 0,
|
||||
status integer DEFAULT 1,
|
||||
invite integer DEFAULT 0,
|
||||
accepted integer DEFAULT 0,
|
||||
rejected integer DEFAULT 0,
|
||||
loc INET
|
||||
);
|
||||
ALTER TABLE ONLY members_groups
|
||||
ADD CONSTRAINT members_groups_id_key UNIQUE (id);
|
||||
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,41 +1,45 @@
|
||||
namespace paylid {
|
||||
// Reminder: Modify typemap.dat to customize the header file generated by wsdl2h
|
||||
/* PaylidService.h
|
||||
Generated by wsdl2h 1.2.16 from http://www.paylid.com/rsl/service.php?wsdl and typemap.dat
|
||||
2020-01-09 17:52:18 GMT
|
||||
Generated by wsdl2h 2.8.16 from http://www.paylid.com/rsl/service.php?wsdl and typemap.dat
|
||||
2020-02-05 00:31:05 GMT
|
||||
|
||||
DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS
|
||||
USE THE soapcpp2-GENERATED SOURCE CODE FILES FOR YOUR PROJECT BUILDS
|
||||
|
||||
gSOAP XML Web services tools.
|
||||
Copyright (C) 2001-2010 Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright (C) 2000-2013 Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Part of this software is released under one of the following licenses:
|
||||
GPL or Genivia's license for commercial use.
|
||||
*/
|
||||
|
||||
/** @page page_notes Build Notes
|
||||
/** @page page_notes Usage Notes
|
||||
|
||||
NOTE:
|
||||
|
||||
- Run soapcpp2 on PaylidService.h to generate the SOAP/XML processing logic.
|
||||
Use soapcpp2 option -I to specify paths for #import
|
||||
Use soapcpp2 -I to specify paths for #import
|
||||
To build with STL, 'stlvector.h' is imported from 'import' dir in package.
|
||||
Use soapcpp2 option -i to generate improved proxy and server classes.
|
||||
- Use wsdl2h options -c and -s to generate pure C code or C++ code without STL.
|
||||
Use soapcpp2 -j to generate improved proxy and server classes.
|
||||
- Use wsdl2h -c and -s to generate pure C code or C++ code without STL.
|
||||
- Use 'typemap.dat' to control namespace bindings and type mappings.
|
||||
It is strongly recommended to customize the names of the namespace prefixes
|
||||
generated by wsdl2h. To do so, modify the prefix bindings in the Namespaces
|
||||
section below and add the modified lines to 'typemap.dat' to rerun wsdl2h.
|
||||
- Use Doxygen (www.doxygen.org) on this file to generate documentation.
|
||||
- Use wsdl2h options -nname and -Nname to globally rename the prefix 'ns'.
|
||||
- Use wsdl2h option -d to enable DOM support for xsd:anyType.
|
||||
- Use wsdl2h option -g to auto-generate readers and writers for root elements.
|
||||
- Use wsdl2h -R to generate REST operations.
|
||||
- Use wsdl2h -nname to use name as the base namespace prefix instead of 'ns'.
|
||||
- Use wsdl2h -Nname for service prefix and produce multiple service bindings
|
||||
- Use wsdl2h -d to enable DOM support for xsd:anyType.
|
||||
- Use wsdl2h -g to auto-generate readers and writers for root elements.
|
||||
- Use wsdl2h -b to auto-generate bi-directional operations (duplex ops).
|
||||
- Struct/class members serialized as XML attributes are annotated with a '@'.
|
||||
- Struct/class members that have a special role are annotated with a '$'.
|
||||
|
||||
WARNING:
|
||||
|
||||
DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS.
|
||||
USE THE SOURCE CODE FILES GENERATED BY soapcpp2 FOR YOUR PROJECT BUILDS:
|
||||
DO NOT INCLUDE THIS ANNOTATED FILE DIRECTLY IN YOUR PROJECT SOURCE CODE.
|
||||
USE THE FILES GENERATED BY soapcpp2 FOR YOUR PROJECT'S SOURCE CODE:
|
||||
THE soapStub.h FILE CONTAINS THIS CONTENT WITHOUT ANNOTATIONS.
|
||||
|
||||
LICENSE:
|
||||
@@ -43,12 +47,12 @@ LICENSE:
|
||||
@verbatim
|
||||
--------------------------------------------------------------------------------
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright (C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
|
||||
This software is released under one of the following two licenses:
|
||||
1) GPL or 2) Genivia's license for commercial use.
|
||||
This software is released under one of the following licenses:
|
||||
GPL or Genivia's license for commercial use.
|
||||
--------------------------------------------------------------------------------
|
||||
1) GPL license.
|
||||
GPL license.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -65,8 +69,11 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
Author contact information:
|
||||
engelen@genivia.com / engelen@acm.org
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
2) A commercial-use license is available from Genivia, Inc., contact@genivia.com
|
||||
A commercial-use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
@endverbatim
|
||||
|
||||
@@ -177,13 +184,18 @@ paylid = "urn:paylidwsdl"
|
||||
/** @mainpage Service Definitions
|
||||
|
||||
@section Service_bindings Service Bindings
|
||||
|
||||
- @ref paylidwsdlBinding
|
||||
|
||||
@section Service_more More Information
|
||||
- @ref page_notes "Notes"
|
||||
- @ref page_XMLDataBinding "XML Data Binding"
|
||||
- @ref SOAP_ENV__Header "SOAP Header Content"
|
||||
- @ref SOAP_ENV__Detail "SOAP Fault Detail Content" (when applicable)
|
||||
|
||||
- @ref page_notes "Usage Notes"
|
||||
|
||||
- @ref page_XMLDataBinding "XML Data Binding"
|
||||
|
||||
- @ref SOAP_ENV__Header "SOAP Header Content" (when applicable)
|
||||
|
||||
- @ref SOAP_ENV__Detail "SOAP Fault Detail Content" (when applicable)
|
||||
|
||||
|
||||
*/
|
||||
@@ -193,19 +205,27 @@ paylid = "urn:paylidwsdl"
|
||||
@page paylidwsdlBinding Binding "paylidwsdlBinding"
|
||||
|
||||
@section paylidwsdlBinding_operations Operations of Binding "paylidwsdlBinding"
|
||||
|
||||
- @ref paylid__getAccountBalance
|
||||
|
||||
- @ref paylid__transferFund
|
||||
|
||||
- @ref paylid__checkTransferStatus
|
||||
|
||||
- @ref paylid__directAirTimeTopUp
|
||||
|
||||
- @ref paylid__currentXrate
|
||||
|
||||
- @ref paylid__getAccount
|
||||
|
||||
- @ref paylid__getTrxStatus
|
||||
|
||||
- @ref paylid__getSupportedBanks
|
||||
|
||||
@section paylidwsdlBinding_ports Endpoints of Binding "paylidwsdlBinding"
|
||||
|
||||
- https://www.paylid.com:443/rsl/service.php
|
||||
|
||||
Note: use wsdl2h option -N to change the service binding prefix name
|
||||
|
||||
*/
|
||||
|
||||
@@ -224,7 +244,7 @@ Note: use wsdl2h option -N to change the service binding prefix name
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/// Operation response struct "paylid__getAccountBalanceResponse" of service binding "paylidwsdlBinding" operation "paylid__getAccountBalance"
|
||||
/// Operation response struct "paylid__getAccountBalanceResponse" of operation "paylid__getAccountBalance"
|
||||
struct paylid__getAccountBalanceResponse
|
||||
{
|
||||
std::string Code;
|
||||
@@ -237,10 +257,15 @@ struct paylid__getAccountBalanceResponse
|
||||
/**
|
||||
|
||||
Operation details:
|
||||
|
||||
Gets account balance
|
||||
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
- SOAP action="urn:paylidwsdl#getAccountBalance"
|
||||
|
||||
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
|
||||
|
||||
- Action: "urn:paylidwsdl#getAccountBalance"
|
||||
|
||||
- Addressing input action: "urn:paylidwsdl#getAccountBalance"
|
||||
|
||||
- Addressing output action: "urn:paylidwsdl#getAccountBalanceResponse"
|
||||
|
||||
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
@code
|
||||
@@ -248,10 +273,10 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
struct soap *soap,
|
||||
NULL, // char *endpoint = NULL selects default endpoint for this operation
|
||||
NULL, // char *action = NULL selects default action for this operation
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__getAccountBalanceResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -260,10 +285,10 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
|
||||
@code
|
||||
int paylid__getAccountBalance(
|
||||
struct soap *soap,
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__getAccountBalanceResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -272,23 +297,25 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
|
||||
@code
|
||||
class paylidwsdlBindingProxy;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
|
||||
|
||||
C++ service class (defined in soappaylidwsdlBindingService.h):
|
||||
@code
|
||||
class paylidwsdlBindingService;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
|
||||
|
||||
*/
|
||||
|
||||
//gsoap paylid service method-protocol: getAccountBalance SOAP
|
||||
//gsoap paylid service method-style: getAccountBalance rpc
|
||||
//gsoap paylid service method-encoding: getAccountBalance http://schemas.xmlsoap.org/soap/encoding/
|
||||
//gsoap paylid service method-action: getAccountBalance urn:paylidwsdl#getAccountBalance
|
||||
//gsoap paylid service method-input-action: getAccountBalance urn:paylidwsdl#getAccountBalance
|
||||
//gsoap paylid service method-output-action: getAccountBalance urn:paylidwsdl#getAccountBalanceResponse
|
||||
int paylid__getAccountBalance(
|
||||
std::string terminalID, ///< Request parameter
|
||||
std::string hmac, ///< Request parameter
|
||||
struct paylid__getAccountBalanceResponse& ///< Response struct parameter
|
||||
std::string terminalID, ///< Input parameter
|
||||
std::string hmac, ///< Input parameter
|
||||
struct paylid__getAccountBalanceResponse& ///< Output response struct parameter
|
||||
);
|
||||
|
||||
/******************************************************************************\
|
||||
@@ -298,7 +325,7 @@ int paylid__getAccountBalance(
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/// Operation response struct "paylid__transferFundResponse" of service binding "paylidwsdlBinding" operation "paylid__transferFund"
|
||||
/// Operation response struct "paylid__transferFundResponse" of operation "paylid__transferFund"
|
||||
struct paylid__transferFundResponse
|
||||
{
|
||||
std::string Code;
|
||||
@@ -311,10 +338,15 @@ struct paylid__transferFundResponse
|
||||
/**
|
||||
|
||||
Operation details:
|
||||
|
||||
Transfers funds
|
||||
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
- SOAP action="urn:paylidwsdl#transferFund"
|
||||
|
||||
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
|
||||
|
||||
- Action: "urn:paylidwsdl#transferFund"
|
||||
|
||||
- Addressing input action: "urn:paylidwsdl#transferFund"
|
||||
|
||||
- Addressing output action: "urn:paylidwsdl#transferFundResponse"
|
||||
|
||||
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
@code
|
||||
@@ -322,11 +354,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
struct soap *soap,
|
||||
NULL, // char *endpoint = NULL selects default endpoint for this operation
|
||||
NULL, // char *action = NULL selects default action for this operation
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string toDestination,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__transferFundResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -335,11 +367,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
|
||||
@code
|
||||
int paylid__transferFund(
|
||||
struct soap *soap,
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string toDestination,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__transferFundResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -348,24 +380,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
|
||||
@code
|
||||
class paylidwsdlBindingProxy;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
|
||||
|
||||
C++ service class (defined in soappaylidwsdlBindingService.h):
|
||||
@code
|
||||
class paylidwsdlBindingService;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
|
||||
|
||||
*/
|
||||
|
||||
//gsoap paylid service method-protocol: transferFund SOAP
|
||||
//gsoap paylid service method-style: transferFund rpc
|
||||
//gsoap paylid service method-encoding: transferFund http://schemas.xmlsoap.org/soap/encoding/
|
||||
//gsoap paylid service method-action: transferFund urn:paylidwsdl#transferFund
|
||||
//gsoap paylid service method-input-action: transferFund urn:paylidwsdl#transferFund
|
||||
//gsoap paylid service method-output-action: transferFund urn:paylidwsdl#transferFundResponse
|
||||
int paylid__transferFund(
|
||||
std::string terminalID, ///< Request parameter
|
||||
std::string toDestination, ///< Request parameter
|
||||
std::string hmac, ///< Request parameter
|
||||
struct paylid__transferFundResponse& ///< Response struct parameter
|
||||
std::string terminalID, ///< Input parameter
|
||||
std::string toDestination, ///< Input parameter
|
||||
std::string hmac, ///< Input parameter
|
||||
struct paylid__transferFundResponse& ///< Output response struct parameter
|
||||
);
|
||||
|
||||
/******************************************************************************\
|
||||
@@ -375,7 +409,7 @@ int paylid__transferFund(
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/// Operation response struct "paylid__checkTransferStatusResponse" of service binding "paylidwsdlBinding" operation "paylid__checkTransferStatus"
|
||||
/// Operation response struct "paylid__checkTransferStatusResponse" of operation "paylid__checkTransferStatus"
|
||||
struct paylid__checkTransferStatusResponse
|
||||
{
|
||||
std::string Code;
|
||||
@@ -388,10 +422,15 @@ struct paylid__checkTransferStatusResponse
|
||||
/**
|
||||
|
||||
Operation details:
|
||||
|
||||
Checks money transfer status
|
||||
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
- SOAP action="urn:paylidwsdl#checkTransferStatus"
|
||||
|
||||
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
|
||||
|
||||
- Action: "urn:paylidwsdl#checkTransferStatus"
|
||||
|
||||
- Addressing input action: "urn:paylidwsdl#checkTransferStatus"
|
||||
|
||||
- Addressing output action: "urn:paylidwsdl#checkTransferStatusResponse"
|
||||
|
||||
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
@code
|
||||
@@ -399,11 +438,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
struct soap *soap,
|
||||
NULL, // char *endpoint = NULL selects default endpoint for this operation
|
||||
NULL, // char *action = NULL selects default action for this operation
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string transactionRef,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__checkTransferStatusResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -412,11 +451,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
|
||||
@code
|
||||
int paylid__checkTransferStatus(
|
||||
struct soap *soap,
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string transactionRef,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__checkTransferStatusResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -425,24 +464,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
|
||||
@code
|
||||
class paylidwsdlBindingProxy;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
|
||||
|
||||
C++ service class (defined in soappaylidwsdlBindingService.h):
|
||||
@code
|
||||
class paylidwsdlBindingService;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
|
||||
|
||||
*/
|
||||
|
||||
//gsoap paylid service method-protocol: checkTransferStatus SOAP
|
||||
//gsoap paylid service method-style: checkTransferStatus rpc
|
||||
//gsoap paylid service method-encoding: checkTransferStatus http://schemas.xmlsoap.org/soap/encoding/
|
||||
//gsoap paylid service method-action: checkTransferStatus urn:paylidwsdl#checkTransferStatus
|
||||
//gsoap paylid service method-input-action: checkTransferStatus urn:paylidwsdl#checkTransferStatus
|
||||
//gsoap paylid service method-output-action: checkTransferStatus urn:paylidwsdl#checkTransferStatusResponse
|
||||
int paylid__checkTransferStatus(
|
||||
std::string terminalID, ///< Request parameter
|
||||
std::string transactionRef, ///< Request parameter
|
||||
std::string hmac, ///< Request parameter
|
||||
struct paylid__checkTransferStatusResponse& ///< Response struct parameter
|
||||
std::string terminalID, ///< Input parameter
|
||||
std::string transactionRef, ///< Input parameter
|
||||
std::string hmac, ///< Input parameter
|
||||
struct paylid__checkTransferStatusResponse& ///< Output response struct parameter
|
||||
);
|
||||
|
||||
/******************************************************************************\
|
||||
@@ -452,7 +493,7 @@ int paylid__checkTransferStatus(
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/// Operation response struct "paylid__directAirTimeTopUpResponse" of service binding "paylidwsdlBinding" operation "paylid__directAirTimeTopUp"
|
||||
/// Operation response struct "paylid__directAirTimeTopUpResponse" of operation "paylid__directAirTimeTopUp"
|
||||
struct paylid__directAirTimeTopUpResponse
|
||||
{
|
||||
std::string Code;
|
||||
@@ -465,10 +506,15 @@ struct paylid__directAirTimeTopUpResponse
|
||||
/**
|
||||
|
||||
Operation details:
|
||||
|
||||
Direct air time top up
|
||||
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
- SOAP action="urn:paylidwsdl#checkTransferStatus"
|
||||
|
||||
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
|
||||
|
||||
- Action: "urn:paylidwsdl#checkTransferStatus"
|
||||
|
||||
- Addressing input action: "urn:paylidwsdl#checkTransferStatus"
|
||||
|
||||
- Addressing output action: "urn:paylidwsdl#checkTransferStatusResponse"
|
||||
|
||||
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
@code
|
||||
@@ -476,11 +522,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
struct soap *soap,
|
||||
NULL, // char *endpoint = NULL selects default endpoint for this operation
|
||||
NULL, // char *action = NULL selects default action for this operation
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string topupData,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__directAirTimeTopUpResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -489,11 +535,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
|
||||
@code
|
||||
int paylid__directAirTimeTopUp(
|
||||
struct soap *soap,
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string topupData,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__directAirTimeTopUpResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -502,24 +548,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
|
||||
@code
|
||||
class paylidwsdlBindingProxy;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
|
||||
|
||||
C++ service class (defined in soappaylidwsdlBindingService.h):
|
||||
@code
|
||||
class paylidwsdlBindingService;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
|
||||
|
||||
*/
|
||||
|
||||
//gsoap paylid service method-protocol: directAirTimeTopUp SOAP
|
||||
//gsoap paylid service method-style: directAirTimeTopUp rpc
|
||||
//gsoap paylid service method-encoding: directAirTimeTopUp http://schemas.xmlsoap.org/soap/encoding/
|
||||
//gsoap paylid service method-action: directAirTimeTopUp urn:paylidwsdl#checkTransferStatus
|
||||
//gsoap paylid service method-input-action: directAirTimeTopUp urn:paylidwsdl#checkTransferStatus
|
||||
//gsoap paylid service method-output-action: directAirTimeTopUp urn:paylidwsdl#checkTransferStatusResponse
|
||||
int paylid__directAirTimeTopUp(
|
||||
std::string terminalID, ///< Request parameter
|
||||
std::string topupData, ///< Request parameter
|
||||
std::string hmac, ///< Request parameter
|
||||
struct paylid__directAirTimeTopUpResponse& ///< Response struct parameter
|
||||
std::string terminalID, ///< Input parameter
|
||||
std::string topupData, ///< Input parameter
|
||||
std::string hmac, ///< Input parameter
|
||||
struct paylid__directAirTimeTopUpResponse& ///< Output response struct parameter
|
||||
);
|
||||
|
||||
/******************************************************************************\
|
||||
@@ -529,7 +577,7 @@ int paylid__directAirTimeTopUp(
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/// Operation response struct "paylid__currentXrateResponse" of service binding "paylidwsdlBinding" operation "paylid__currentXrate"
|
||||
/// Operation response struct "paylid__currentXrateResponse" of operation "paylid__currentXrate"
|
||||
struct paylid__currentXrateResponse
|
||||
{
|
||||
std::string Code;
|
||||
@@ -542,10 +590,15 @@ struct paylid__currentXrateResponse
|
||||
/**
|
||||
|
||||
Operation details:
|
||||
|
||||
Get Current XRAte
|
||||
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
- SOAP action="urn:paylidwsdl#currentXrate"
|
||||
|
||||
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
|
||||
|
||||
- Action: "urn:paylidwsdl#currentXrate"
|
||||
|
||||
- Addressing input action: "urn:paylidwsdl#currentXrate"
|
||||
|
||||
- Addressing output action: "urn:paylidwsdl#currentXrateResponse"
|
||||
|
||||
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
@code
|
||||
@@ -553,11 +606,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
struct soap *soap,
|
||||
NULL, // char *endpoint = NULL selects default endpoint for this operation
|
||||
NULL, // char *action = NULL selects default action for this operation
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string topupData,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__currentXrateResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -566,11 +619,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
|
||||
@code
|
||||
int paylid__currentXrate(
|
||||
struct soap *soap,
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string topupData,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__currentXrateResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -579,24 +632,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
|
||||
@code
|
||||
class paylidwsdlBindingProxy;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
|
||||
|
||||
C++ service class (defined in soappaylidwsdlBindingService.h):
|
||||
@code
|
||||
class paylidwsdlBindingService;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
|
||||
|
||||
*/
|
||||
|
||||
//gsoap paylid service method-protocol: currentXrate SOAP
|
||||
//gsoap paylid service method-style: currentXrate rpc
|
||||
//gsoap paylid service method-encoding: currentXrate http://schemas.xmlsoap.org/soap/encoding/
|
||||
//gsoap paylid service method-action: currentXrate urn:paylidwsdl#currentXrate
|
||||
//gsoap paylid service method-input-action: currentXrate urn:paylidwsdl#currentXrate
|
||||
//gsoap paylid service method-output-action: currentXrate urn:paylidwsdl#currentXrateResponse
|
||||
int paylid__currentXrate(
|
||||
std::string terminalID, ///< Request parameter
|
||||
std::string topupData, ///< Request parameter
|
||||
std::string hmac, ///< Request parameter
|
||||
struct paylid__currentXrateResponse& ///< Response struct parameter
|
||||
std::string terminalID, ///< Input parameter
|
||||
std::string topupData, ///< Input parameter
|
||||
std::string hmac, ///< Input parameter
|
||||
struct paylid__currentXrateResponse& ///< Output response struct parameter
|
||||
);
|
||||
|
||||
/******************************************************************************\
|
||||
@@ -606,7 +661,7 @@ int paylid__currentXrate(
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/// Operation response struct "paylid__getAccountResponse" of service binding "paylidwsdlBinding" operation "paylid__getAccount"
|
||||
/// Operation response struct "paylid__getAccountResponse" of operation "paylid__getAccount"
|
||||
struct paylid__getAccountResponse
|
||||
{
|
||||
std::string Code;
|
||||
@@ -619,10 +674,15 @@ struct paylid__getAccountResponse
|
||||
/**
|
||||
|
||||
Operation details:
|
||||
|
||||
Get Account Properties
|
||||
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
- SOAP action="urn:paylidwsdl#getAccount"
|
||||
|
||||
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
|
||||
|
||||
- Action: "urn:paylidwsdl#getAccount"
|
||||
|
||||
- Addressing input action: "urn:paylidwsdl#getAccount"
|
||||
|
||||
- Addressing output action: "urn:paylidwsdl#getAccountResponse"
|
||||
|
||||
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
@code
|
||||
@@ -630,11 +690,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
struct soap *soap,
|
||||
NULL, // char *endpoint = NULL selects default endpoint for this operation
|
||||
NULL, // char *action = NULL selects default action for this operation
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string topupData,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__getAccountResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -643,11 +703,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
|
||||
@code
|
||||
int paylid__getAccount(
|
||||
struct soap *soap,
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string topupData,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__getAccountResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -656,24 +716,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
|
||||
@code
|
||||
class paylidwsdlBindingProxy;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
|
||||
|
||||
C++ service class (defined in soappaylidwsdlBindingService.h):
|
||||
@code
|
||||
class paylidwsdlBindingService;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
|
||||
|
||||
*/
|
||||
|
||||
//gsoap paylid service method-protocol: getAccount SOAP
|
||||
//gsoap paylid service method-style: getAccount rpc
|
||||
//gsoap paylid service method-encoding: getAccount http://schemas.xmlsoap.org/soap/encoding/
|
||||
//gsoap paylid service method-action: getAccount urn:paylidwsdl#getAccount
|
||||
//gsoap paylid service method-input-action: getAccount urn:paylidwsdl#getAccount
|
||||
//gsoap paylid service method-output-action: getAccount urn:paylidwsdl#getAccountResponse
|
||||
int paylid__getAccount(
|
||||
std::string terminalID, ///< Request parameter
|
||||
std::string topupData, ///< Request parameter
|
||||
std::string hmac, ///< Request parameter
|
||||
struct paylid__getAccountResponse & ///< Response struct parameter
|
||||
std::string terminalID, ///< Input parameter
|
||||
std::string topupData, ///< Input parameter
|
||||
std::string hmac, ///< Input parameter
|
||||
struct paylid__getAccountResponse & ///< Output response struct parameter
|
||||
);
|
||||
|
||||
/******************************************************************************\
|
||||
@@ -683,7 +745,7 @@ int paylid__getAccount(
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/// Operation response struct "paylid__getTrxStatusResponse" of service binding "paylidwsdlBinding" operation "paylid__getTrxStatus"
|
||||
/// Operation response struct "paylid__getTrxStatusResponse" of operation "paylid__getTrxStatus"
|
||||
struct paylid__getTrxStatusResponse
|
||||
{
|
||||
std::string Code;
|
||||
@@ -696,10 +758,15 @@ struct paylid__getTrxStatusResponse
|
||||
/**
|
||||
|
||||
Operation details:
|
||||
|
||||
General Get Transaction Status
|
||||
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
- SOAP action="urn:paylidwsdl#getTrxStatus"
|
||||
|
||||
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
|
||||
|
||||
- Action: "urn:paylidwsdl#getTrxStatus"
|
||||
|
||||
- Addressing input action: "urn:paylidwsdl#getTrxStatus"
|
||||
|
||||
- Addressing output action: "urn:paylidwsdl#getTrxStatusResponse"
|
||||
|
||||
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
@code
|
||||
@@ -707,11 +774,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
struct soap *soap,
|
||||
NULL, // char *endpoint = NULL selects default endpoint for this operation
|
||||
NULL, // char *action = NULL selects default action for this operation
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string topupData,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__getTrxStatusResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -720,11 +787,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
|
||||
@code
|
||||
int paylid__getTrxStatus(
|
||||
struct soap *soap,
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string topupData,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__getTrxStatusResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -733,24 +800,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
|
||||
@code
|
||||
class paylidwsdlBindingProxy;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
|
||||
|
||||
C++ service class (defined in soappaylidwsdlBindingService.h):
|
||||
@code
|
||||
class paylidwsdlBindingService;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
|
||||
|
||||
*/
|
||||
|
||||
//gsoap paylid service method-protocol: getTrxStatus SOAP
|
||||
//gsoap paylid service method-style: getTrxStatus rpc
|
||||
//gsoap paylid service method-encoding: getTrxStatus http://schemas.xmlsoap.org/soap/encoding/
|
||||
//gsoap paylid service method-action: getTrxStatus urn:paylidwsdl#getTrxStatus
|
||||
//gsoap paylid service method-input-action: getTrxStatus urn:paylidwsdl#getTrxStatus
|
||||
//gsoap paylid service method-output-action: getTrxStatus urn:paylidwsdl#getTrxStatusResponse
|
||||
int paylid__getTrxStatus(
|
||||
std::string terminalID, ///< Request parameter
|
||||
std::string topupData, ///< Request parameter
|
||||
std::string hmac, ///< Request parameter
|
||||
struct paylid__getTrxStatusResponse& ///< Response struct parameter
|
||||
std::string terminalID, ///< Input parameter
|
||||
std::string topupData, ///< Input parameter
|
||||
std::string hmac, ///< Input parameter
|
||||
struct paylid__getTrxStatusResponse& ///< Output response struct parameter
|
||||
);
|
||||
|
||||
/******************************************************************************\
|
||||
@@ -760,7 +829,7 @@ int paylid__getTrxStatus(
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/// Operation response struct "paylid__getSupportedBanksResponse" of service binding "paylidwsdlBinding" operation "paylid__getSupportedBanks"
|
||||
/// Operation response struct "paylid__getSupportedBanksResponse" of operation "paylid__getSupportedBanks"
|
||||
struct paylid__getSupportedBanksResponse
|
||||
{
|
||||
std::string Code;
|
||||
@@ -773,10 +842,15 @@ struct paylid__getSupportedBanksResponse
|
||||
/**
|
||||
|
||||
Operation details:
|
||||
|
||||
General List of supported banks based on country
|
||||
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
- SOAP action="urn:paylidwsdl#getSupportedBanks"
|
||||
|
||||
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
|
||||
|
||||
- Action: "urn:paylidwsdl#getSupportedBanks"
|
||||
|
||||
- Addressing input action: "urn:paylidwsdl#getSupportedBanks"
|
||||
|
||||
- Addressing output action: "urn:paylidwsdl#getSupportedBanksResponse"
|
||||
|
||||
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
@code
|
||||
@@ -784,11 +858,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||||
struct soap *soap,
|
||||
NULL, // char *endpoint = NULL selects default endpoint for this operation
|
||||
NULL, // char *action = NULL selects default action for this operation
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string topupData,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__getSupportedBanksResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -797,11 +871,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
|
||||
@code
|
||||
int paylid__getSupportedBanks(
|
||||
struct soap *soap,
|
||||
// request parameters:
|
||||
// input parameters:
|
||||
std::string terminalID,
|
||||
std::string topupData,
|
||||
std::string hmac,
|
||||
// response parameters:
|
||||
// output parameters:
|
||||
struct paylid__getSupportedBanksResponse&
|
||||
);
|
||||
@endcode
|
||||
@@ -810,26 +884,102 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
|
||||
@code
|
||||
class paylidwsdlBindingProxy;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
|
||||
|
||||
C++ service class (defined in soappaylidwsdlBindingService.h):
|
||||
@code
|
||||
class paylidwsdlBindingService;
|
||||
@endcode
|
||||
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
||||
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
|
||||
|
||||
*/
|
||||
|
||||
//gsoap paylid service method-protocol: getSupportedBanks SOAP
|
||||
//gsoap paylid service method-style: getSupportedBanks rpc
|
||||
//gsoap paylid service method-encoding: getSupportedBanks http://schemas.xmlsoap.org/soap/encoding/
|
||||
//gsoap paylid service method-action: getSupportedBanks urn:paylidwsdl#getSupportedBanks
|
||||
//gsoap paylid service method-input-action: getSupportedBanks urn:paylidwsdl#getSupportedBanks
|
||||
//gsoap paylid service method-output-action: getSupportedBanks urn:paylidwsdl#getSupportedBanksResponse
|
||||
int paylid__getSupportedBanks(
|
||||
std::string terminalID, ///< Request parameter
|
||||
std::string topupData, ///< Request parameter
|
||||
std::string hmac, ///< Request parameter
|
||||
struct paylid__getSupportedBanksResponse& ///< Response struct parameter
|
||||
std::string terminalID, ///< Input parameter
|
||||
std::string topupData, ///< Input parameter
|
||||
std::string hmac, ///< Input parameter
|
||||
struct paylid__getSupportedBanksResponse& ///< Output response struct parameter
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@page paylidwsdlBinding Binding "paylidwsdlBinding"
|
||||
|
||||
@section paylidwsdlBinding_policy_enablers Policy Enablers of Binding "paylidwsdlBinding"
|
||||
|
||||
Based on policies, this service imports
|
||||
|
||||
- WS-Policy reminders and enablers:
|
||||
- WS-Addressing 1.0 (2005/08, accepts 2004/08):
|
||||
@code
|
||||
#import "wsa5.h" // to be added to this header file for the soapcpp2 build step
|
||||
@endcode
|
||||
@code
|
||||
#include "plugin/wsaapi.h"
|
||||
soap_register_plugin(soap, soap_wsa); // register the wsa plugin in your code
|
||||
// See the user guide gsoap/doc/wsa/html/index.html
|
||||
@endcode
|
||||
- WS-Addressing (2004/08):
|
||||
@code
|
||||
#import "wsa.h" // to be added to this header file for the soapcpp2 build step
|
||||
@endcode
|
||||
@code
|
||||
#include "plugin/wsaapi.h"
|
||||
soap_register_plugin(soap, soap_wsa); // register the wsa plugin in your code
|
||||
// See the user guide gsoap/doc/wsa/html/index.html
|
||||
@endcode
|
||||
- WS-ReliableMessaging 1.0:
|
||||
@code
|
||||
#import "wsrm5.h" // to be added to this header file for the soapcpp2 build step
|
||||
@endcode
|
||||
@code
|
||||
#include "plugin/wsrmapi.h"
|
||||
soap_register_plugin(soap, soap_wsa); // register the wsa plugin in your code
|
||||
soap_register_plugin(soap, soap_wsrm); // register the wsrm plugin in your code
|
||||
// See the user guide gsoap/doc/wsrm/html/index.html
|
||||
@endcode
|
||||
- WS-ReliableMessaging 1.1:
|
||||
@code
|
||||
#import "wsrm.h" // to be added to this header file for the soapcpp2 build step
|
||||
@endcode
|
||||
@code
|
||||
#include "plugin/wsrmapi.h"
|
||||
soap_register_plugin(soap, soap_wsa); // register the wsa plugin in your code
|
||||
soap_register_plugin(soap, soap_wsrm); // register the wsrm plugin in your code
|
||||
// See the user guide gsoap/doc/wsrm/html/index.html
|
||||
@endcode
|
||||
- WS-Security (SOAP Message Security) 1.0 (accepts 1.1):
|
||||
@code
|
||||
#import "wsse.h" // to be added to this header file for the soapcpp2 build step
|
||||
@endcode
|
||||
@code
|
||||
#include "plugin/wsseapi.h"
|
||||
soap_register_plugin(soap, soap_wsse); // register the wsse plugin in your code
|
||||
// See the user guide gsoap/doc/wsse/html/index.html
|
||||
@endcode
|
||||
- WS-Security (SOAP Message Security) 1.1 (accepts 1.0):
|
||||
@code
|
||||
#import "wsse11.h" // to be added to this header file for the soapcpp2 build step
|
||||
@endcode
|
||||
@code
|
||||
#include "plugin/wsseapi.h"
|
||||
soap_register_plugin(soap, soap_wsse); // register the wsse plugin in your code
|
||||
// See the user guide gsoap/doc/wsse/html/index.html
|
||||
@endcode
|
||||
- HTTP Digest Authentication:
|
||||
@code
|
||||
#include "plugin/httpda.h"
|
||||
soap_register_plugin(soap, soap_http_da); // register the HTTP DA plugin in your code
|
||||
// See the user guide gsoap/doc/httpda/html/index.html
|
||||
@endcode
|
||||
*/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* XML Data Binding *
|
||||
@@ -853,18 +1003,24 @@ your code to import these data type and function declarations. Only use the
|
||||
soapcpp2-generated files in your project build. Do not include the wsdl2h-
|
||||
generated .h file in your code.
|
||||
|
||||
XML content can be retrieved from:
|
||||
- a FILE* fd, using soap->recvfd = fd
|
||||
Data can be read in XML and deserialized from:
|
||||
- a file descriptor, using soap->recvfd = fd
|
||||
- a socket, using soap->socket = ...
|
||||
- a C++ stream, using soap->is = ...
|
||||
- a buffer, using the soap->frecv() callback
|
||||
|
||||
XML content can be stored to:
|
||||
- a FILE* fd, using soap->sendfd = fd
|
||||
Data can be serialized in XML and written to:
|
||||
- a file descriptor, using soap->sendfd = fd
|
||||
- a socket, using soap->socket = ...
|
||||
- a C++ stream, using soap->os = ...
|
||||
- a buffer, using the soap->fsend() callback
|
||||
|
||||
The following options are available for (de)serialization control:
|
||||
- soap->encodingStyle = NULL; to remove SOAP 1.1/1.2 encodingStyle
|
||||
- soap_mode(soap, SOAP_XML_TREE); XML without id-ref (no cycles!)
|
||||
- soap_mode(soap, SOAP_XML_GRAPH); XML with id-ref (including cycles)
|
||||
- soap_set_namespaces(soap, struct Namespace *nsmap); to set xmlns bindings
|
||||
|
||||
|
||||
@section paylid Top-level root elements of schema "urn:paylidwsdl"
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,11 @@
|
||||
/* paylidStub.h
|
||||
Generated by gSOAP 2.7.16 from PaylidService.h
|
||||
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
This part of the software is released under one of the following licenses:
|
||||
GPL, the gSOAP public license, or Genivia's license for commercial use.
|
||||
Generated by gSOAP 2.8.16 from PaylidService.h
|
||||
|
||||
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The generated code is released under one of the following licenses:
|
||||
GPL or Genivia's license for commercial use.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
*/
|
||||
|
||||
#ifndef paylidStub_H
|
||||
@@ -16,6 +19,10 @@
|
||||
#define WITH_NOGLOBAL
|
||||
#endif
|
||||
#include "stdsoap2.h"
|
||||
#if GSOAP_VERSION != 20816
|
||||
# error "GSOAP VERSION MISMATCH IN GENERATED CODE: PLEASE REINSTALL PACKAGE"
|
||||
#endif
|
||||
|
||||
|
||||
namespace paylid {
|
||||
|
||||
@@ -40,11 +47,11 @@ namespace paylid {
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
#if 0 /* volatile type: do not redeclare here */
|
||||
#if 0 /* volatile type: do not declare here, declared elsewhere */
|
||||
|
||||
#endif
|
||||
|
||||
#if 0 /* volatile type: do not redeclare here */
|
||||
#if 0 /* volatile type: do not declare here, declared elsewhere */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -57,6 +64,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 8; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountBalanceResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -68,6 +77,8 @@ struct paylid__getAccountBalance
|
||||
public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 12; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountBalance */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -80,6 +91,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 13; } /* = unique id SOAP_TYPE_paylid_paylid__transferFundResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -92,6 +105,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string toDestination; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 16; } /* = unique id SOAP_TYPE_paylid_paylid__transferFund */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -104,6 +119,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 17; } /* = unique id SOAP_TYPE_paylid_paylid__checkTransferStatusResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -116,6 +133,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string transactionRef; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 20; } /* = unique id SOAP_TYPE_paylid_paylid__checkTransferStatus */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -128,6 +147,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 21; } /* = unique id SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -140,6 +161,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string topupData; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 24; } /* = unique id SOAP_TYPE_paylid_paylid__directAirTimeTopUp */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -152,6 +175,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 25; } /* = unique id SOAP_TYPE_paylid_paylid__currentXrateResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -164,6 +189,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string topupData; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 28; } /* = unique id SOAP_TYPE_paylid_paylid__currentXrate */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -176,6 +203,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 29; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -188,6 +217,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string topupData; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 32; } /* = unique id SOAP_TYPE_paylid_paylid__getAccount */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -200,6 +231,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 33; } /* = unique id SOAP_TYPE_paylid_paylid__getTrxStatusResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -212,6 +245,8 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string topupData; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 36; } /* = unique id SOAP_TYPE_paylid_paylid__getTrxStatus */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -224,6 +259,8 @@ public:
|
||||
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
|
||||
std::string Data; /* required element of type xsd:string */
|
||||
std::string Hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 37; } /* = unique id SOAP_TYPE_paylid_paylid__getSupportedBanksResponse */
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -236,14 +273,20 @@ public:
|
||||
std::string terminalID; /* required element of type xsd:string */
|
||||
std::string topupData; /* required element of type xsd:string */
|
||||
std::string hmac; /* required element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 40; } /* = unique id SOAP_TYPE_paylid_paylid__getSupportedBanks */
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Header (41)
|
||||
/* SOAP Header: */
|
||||
struct SOAP_ENV__Header
|
||||
{
|
||||
public:
|
||||
int soap_type() const { return 41; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Header */
|
||||
#ifdef WITH_NOEMPTYSTRUCT
|
||||
private:
|
||||
char dummy; /* dummy member to enable compilation */
|
||||
@@ -251,6 +294,10 @@ private:
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Code (42)
|
||||
/* SOAP Fault Code: */
|
||||
@@ -259,21 +306,33 @@ struct SOAP_ENV__Code
|
||||
public:
|
||||
char *SOAP_ENV__Value; /* optional element of type xsd:QName */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */
|
||||
public:
|
||||
int soap_type() const { return 42; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Code */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Detail (44)
|
||||
/* SOAP-ENV:Detail */
|
||||
struct SOAP_ENV__Detail
|
||||
{
|
||||
public:
|
||||
char *__any;
|
||||
int __type; /* any type of element <fault> (defined below) */
|
||||
void *fault; /* transient */
|
||||
char *__any;
|
||||
public:
|
||||
int soap_type() const { return 44; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Detail */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Reason (47)
|
||||
/* SOAP-ENV:Reason */
|
||||
@@ -281,9 +340,15 @@ struct SOAP_ENV__Reason
|
||||
{
|
||||
public:
|
||||
char *SOAP_ENV__Text; /* optional element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 47; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Reason */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Fault (48)
|
||||
/* SOAP Fault: */
|
||||
@@ -299,9 +364,13 @@ public:
|
||||
char *SOAP_ENV__Node; /* optional element of type xsd:string */
|
||||
char *SOAP_ENV__Role; /* optional element of type xsd:string */
|
||||
struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */
|
||||
public:
|
||||
int soap_type() const { return 48; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Fault */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Typedefs *
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
/* paylidpaylidwsdlBindingProxy.cpp
|
||||
Generated by gSOAP 2.7.16 from PaylidService.h
|
||||
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
This part of the software is released under one of the following licenses:
|
||||
GPL, the gSOAP public license, or Genivia's license for commercial use.
|
||||
Generated by gSOAP 2.8.16 from PaylidService.h
|
||||
|
||||
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The generated code is released under one of the following licenses:
|
||||
GPL or Genivia's license for commercial use.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
*/
|
||||
|
||||
#include "paylidpaylidwsdlBindingProxy.h"
|
||||
@@ -13,17 +16,30 @@ paylidwsdlBindingProxy::paylidwsdlBindingProxy()
|
||||
{ paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const struct soap &_soap) :soap(_soap)
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const struct soap &_soap) : soap(_soap)
|
||||
{ }
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const char *url)
|
||||
{ paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
||||
soap_endpoint = url;
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(soap_mode iomode)
|
||||
{ paylidwsdlBindingProxy_init(iomode, iomode);
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const char *url, soap_mode iomode)
|
||||
{ paylidwsdlBindingProxy_init(iomode, iomode);
|
||||
soap_endpoint = url;
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(soap_mode imode, soap_mode omode)
|
||||
{ paylidwsdlBindingProxy_init(imode, omode);
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::~paylidwsdlBindingProxy()
|
||||
{ }
|
||||
|
||||
void paylidwsdlBindingProxy::paylidwsdlBindingProxy_init(soap_mode imode, soap_mode omode)
|
||||
{ soap_imode(this, imode);
|
||||
soap_omode(this, omode);
|
||||
@@ -37,23 +53,31 @@ void paylidwsdlBindingProxy::paylidwsdlBindingProxy_init(soap_mode imode, soap_m
|
||||
{"paylid", "urn:paylidwsdl", NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
this->namespaces = namespaces;
|
||||
soap_set_namespaces(this, namespaces);
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::~paylidwsdlBindingProxy()
|
||||
{ }
|
||||
|
||||
void paylidwsdlBindingProxy::destroy()
|
||||
{ soap_destroy(this);
|
||||
soap_end(this);
|
||||
}
|
||||
|
||||
void paylidwsdlBindingProxy::reset()
|
||||
{ destroy();
|
||||
soap_done(this);
|
||||
soap_initialize(this);
|
||||
paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
||||
}
|
||||
|
||||
void paylidwsdlBindingProxy::soap_noheader()
|
||||
{ header = NULL;
|
||||
{ this->header = NULL;
|
||||
}
|
||||
|
||||
const SOAP_ENV__Header *paylidwsdlBindingProxy::soap_header()
|
||||
{ return this->header;
|
||||
}
|
||||
|
||||
const SOAP_ENV__Fault *paylidwsdlBindingProxy::soap_fault()
|
||||
{ return (const paylid::SOAP_ENV__Fault*)this->fault;
|
||||
{ return this->fault;
|
||||
}
|
||||
|
||||
const char *paylidwsdlBindingProxy::soap_fault_string()
|
||||
@@ -68,31 +92,40 @@ int paylidwsdlBindingProxy::soap_close_socket()
|
||||
{ return soap_closesock(this);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::soap_force_close_socket()
|
||||
{ return soap_force_closesock(this);
|
||||
}
|
||||
|
||||
void paylidwsdlBindingProxy::soap_print_fault(FILE *fd)
|
||||
{ ::soap_print_fault(this, fd);
|
||||
}
|
||||
|
||||
#ifndef WITH_LEAN
|
||||
#ifndef WITH_COMPAT
|
||||
void paylidwsdlBindingProxy::soap_stream_fault(std::ostream& os)
|
||||
{ ::soap_stream_fault(this, os);
|
||||
}
|
||||
#endif
|
||||
|
||||
char *paylidwsdlBindingProxy::soap_sprint_fault(char *buf, size_t len)
|
||||
{ return ::soap_sprint_fault(this, buf, len);
|
||||
}
|
||||
#endif
|
||||
|
||||
int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1)
|
||||
int paylidwsdlBindingProxy::getAccountBalance(const char *endpoint, const char *soap_action, std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__getAccountBalance soap_tmp_paylid__getAccountBalance;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#getAccountBalance";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#getAccountBalance";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__getAccountBalance.terminalID = terminalID;
|
||||
soap_tmp_paylid__getAccountBalance.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getAccountBalance(soap, &soap_tmp_paylid__getAccountBalance);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -108,7 +141,7 @@ int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::strin
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -137,18 +170,21 @@ int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::strin
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2)
|
||||
int paylidwsdlBindingProxy::transferFund(const char *endpoint, const char *soap_action, std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__transferFund soap_tmp_paylid__transferFund;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#transferFund";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#transferFund";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__transferFund.terminalID = terminalID;
|
||||
soap_tmp_paylid__transferFund.toDestination = toDestination;
|
||||
soap_tmp_paylid__transferFund.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__transferFund(soap, &soap_tmp_paylid__transferFund);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -164,7 +200,7 @@ int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toD
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -193,18 +229,21 @@ int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toD
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3)
|
||||
int paylidwsdlBindingProxy::checkTransferStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__checkTransferStatus soap_tmp_paylid__checkTransferStatus;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#checkTransferStatus";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#checkTransferStatus";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__checkTransferStatus.terminalID = terminalID;
|
||||
soap_tmp_paylid__checkTransferStatus.transactionRef = transactionRef;
|
||||
soap_tmp_paylid__checkTransferStatus.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__checkTransferStatus(soap, &soap_tmp_paylid__checkTransferStatus);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -220,7 +259,7 @@ int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::str
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -249,18 +288,21 @@ int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::str
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4)
|
||||
int paylidwsdlBindingProxy::directAirTimeTopUp(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__directAirTimeTopUp soap_tmp_paylid__directAirTimeTopUp;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#checkTransferStatus";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#checkTransferStatus";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__directAirTimeTopUp.terminalID = terminalID;
|
||||
soap_tmp_paylid__directAirTimeTopUp.topupData = topupData;
|
||||
soap_tmp_paylid__directAirTimeTopUp.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__directAirTimeTopUp(soap, &soap_tmp_paylid__directAirTimeTopUp);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -276,7 +318,7 @@ int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::stri
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -305,18 +347,21 @@ int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::stri
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5)
|
||||
int paylidwsdlBindingProxy::currentXrate(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__currentXrate soap_tmp_paylid__currentXrate;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#currentXrate";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#currentXrate";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__currentXrate.terminalID = terminalID;
|
||||
soap_tmp_paylid__currentXrate.topupData = topupData;
|
||||
soap_tmp_paylid__currentXrate.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__currentXrate(soap, &soap_tmp_paylid__currentXrate);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -332,7 +377,7 @@ int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string top
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -361,18 +406,21 @@ int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string top
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6)
|
||||
int paylidwsdlBindingProxy::getAccount(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__getAccount soap_tmp_paylid__getAccount;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#getAccount";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#getAccount";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__getAccount.terminalID = terminalID;
|
||||
soap_tmp_paylid__getAccount.topupData = topupData;
|
||||
soap_tmp_paylid__getAccount.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getAccount(soap, &soap_tmp_paylid__getAccount);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -388,7 +436,7 @@ int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topup
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -417,18 +465,21 @@ int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topup
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7)
|
||||
int paylidwsdlBindingProxy::getTrxStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__getTrxStatus soap_tmp_paylid__getTrxStatus;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#getTrxStatus";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#getTrxStatus";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__getTrxStatus.terminalID = terminalID;
|
||||
soap_tmp_paylid__getTrxStatus.topupData = topupData;
|
||||
soap_tmp_paylid__getTrxStatus.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getTrxStatus(soap, &soap_tmp_paylid__getTrxStatus);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -444,7 +495,7 @@ int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string top
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -473,18 +524,21 @@ int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string top
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8)
|
||||
int paylidwsdlBindingProxy::getSupportedBanks(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__getSupportedBanks soap_tmp_paylid__getSupportedBanks;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#getSupportedBanks";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#getSupportedBanks";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__getSupportedBanks.terminalID = terminalID;
|
||||
soap_tmp_paylid__getSupportedBanks.topupData = topupData;
|
||||
soap_tmp_paylid__getSupportedBanks.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getSupportedBanks(soap, &soap_tmp_paylid__getSupportedBanks);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -500,7 +554,7 @@ int paylidwsdlBindingProxy::getSupportedBanks(std::string terminalID, std::strin
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
/* paylidpaylidwsdlBindingProxy.h
|
||||
Generated by gSOAP 2.7.16 from PaylidService.h
|
||||
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
This part of the software is released under one of the following licenses:
|
||||
GPL, the gSOAP public license, or Genivia's license for commercial use.
|
||||
Generated by gSOAP 2.8.16 from PaylidService.h
|
||||
|
||||
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The generated code is released under one of the following licenses:
|
||||
GPL or Genivia's license for commercial use.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
*/
|
||||
|
||||
#ifndef paylidpaylidwsdlBindingProxy_H
|
||||
@@ -17,60 +20,81 @@ class SOAP_CMAC paylidwsdlBindingProxy : public soap
|
||||
const char *soap_endpoint;
|
||||
/// Constructor
|
||||
paylidwsdlBindingProxy();
|
||||
/// Constructor with copy of another engine state
|
||||
/// Construct from another engine state
|
||||
paylidwsdlBindingProxy(const struct soap&);
|
||||
/// Constructor with endpoint URL
|
||||
paylidwsdlBindingProxy(const char *url);
|
||||
/// Constructor with engine input+output mode control
|
||||
paylidwsdlBindingProxy(soap_mode iomode);
|
||||
/// Constructor with URL and input+output mode control
|
||||
paylidwsdlBindingProxy(const char *url, soap_mode iomode);
|
||||
/// Constructor with engine input and output mode control
|
||||
paylidwsdlBindingProxy(soap_mode imode, soap_mode omode);
|
||||
/// Destructor frees deserialized data
|
||||
virtual ~paylidwsdlBindingProxy();
|
||||
/// Initializer used by constructors
|
||||
virtual void paylidwsdlBindingProxy_init(soap_mode imode, soap_mode omode);
|
||||
/// Delete all deserialized data (uses soap_destroy and soap_end)
|
||||
/// Delete all deserialized data (with soap_destroy and soap_end)
|
||||
virtual void destroy();
|
||||
/// Delete all deserialized data and reset to default
|
||||
virtual void reset();
|
||||
/// Disables and removes SOAP Header from message
|
||||
virtual void soap_noheader();
|
||||
/// Get SOAP Header structure (NULL when absent)
|
||||
virtual const SOAP_ENV__Header *soap_header();
|
||||
/// Get SOAP Fault structure (NULL when absent)
|
||||
virtual const SOAP_ENV__Fault *soap_fault();
|
||||
/// Get SOAP Fault string (NULL when absent)
|
||||
virtual const char *soap_fault_string();
|
||||
/// Get SOAP Fault detail as string (NULL when absent)
|
||||
virtual const char *soap_fault_detail();
|
||||
/// Force close connection (normally automatic, except for send_X ops)
|
||||
/// Close connection (normally automatic, except for send_X ops)
|
||||
virtual int soap_close_socket();
|
||||
/// Force close connection (can kill a thread blocked on IO)
|
||||
virtual int soap_force_close_socket();
|
||||
/// Print fault
|
||||
virtual void soap_print_fault(FILE*);
|
||||
#ifndef WITH_LEAN
|
||||
/// Print fault to stream
|
||||
#ifndef WITH_COMPAT
|
||||
virtual void soap_stream_fault(std::ostream&);
|
||||
#endif
|
||||
|
||||
/// Put fault into buffer
|
||||
virtual char *soap_sprint_fault(char *buf, size_t len);
|
||||
#endif
|
||||
|
||||
/// Web service operation 'getAccountBalance' (returns error code or SOAP_OK)
|
||||
virtual int getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1);
|
||||
virtual int getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1) { return this->getAccountBalance(NULL, NULL, terminalID, hmac, _param_1); }
|
||||
virtual int getAccountBalance(const char *endpoint, const char *soap_action, std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1);
|
||||
|
||||
/// Web service operation 'transferFund' (returns error code or SOAP_OK)
|
||||
virtual int transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2);
|
||||
virtual int transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2) { return this->transferFund(NULL, NULL, terminalID, toDestination, hmac, _param_2); }
|
||||
virtual int transferFund(const char *endpoint, const char *soap_action, std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2);
|
||||
|
||||
/// Web service operation 'checkTransferStatus' (returns error code or SOAP_OK)
|
||||
virtual int checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3);
|
||||
virtual int checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3) { return this->checkTransferStatus(NULL, NULL, terminalID, transactionRef, hmac, _param_3); }
|
||||
virtual int checkTransferStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3);
|
||||
|
||||
/// Web service operation 'directAirTimeTopUp' (returns error code or SOAP_OK)
|
||||
virtual int directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4);
|
||||
virtual int directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4) { return this->directAirTimeTopUp(NULL, NULL, terminalID, topupData, hmac, _param_4); }
|
||||
virtual int directAirTimeTopUp(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4);
|
||||
|
||||
/// Web service operation 'currentXrate' (returns error code or SOAP_OK)
|
||||
virtual int currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5);
|
||||
virtual int currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5) { return this->currentXrate(NULL, NULL, terminalID, topupData, hmac, _param_5); }
|
||||
virtual int currentXrate(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5);
|
||||
|
||||
/// Web service operation 'getAccount' (returns error code or SOAP_OK)
|
||||
virtual int getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6);
|
||||
virtual int getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6) { return this->getAccount(NULL, NULL, terminalID, topupData, hmac, _param_6); }
|
||||
virtual int getAccount(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6);
|
||||
|
||||
/// Web service operation 'getTrxStatus' (returns error code or SOAP_OK)
|
||||
virtual int getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7);
|
||||
virtual int getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7) { return this->getTrxStatus(NULL, NULL, terminalID, topupData, hmac, _param_7); }
|
||||
virtual int getTrxStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7);
|
||||
|
||||
/// Web service operation 'getSupportedBanks' (returns error code or SOAP_OK)
|
||||
virtual int getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8);
|
||||
virtual int getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8) { return this->getSupportedBanks(NULL, NULL, terminalID, topupData, hmac, _param_8); }
|
||||
virtual int getSupportedBanks(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8);
|
||||
};
|
||||
|
||||
} // namespace paylid
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:checkTransferStatus>
|
||||
<terminalID></terminalID>
|
||||
<transactionRef></transactionRef>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:checkTransferStatusResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:currentXrate>
|
||||
<terminalID></terminalID>
|
||||
<topupData></topupData>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:currentXrateResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:directAirTimeTopUp>
|
||||
<terminalID></terminalID>
|
||||
<topupData></topupData>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:directAirTimeTopUpResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:getAccount>
|
||||
<terminalID></terminalID>
|
||||
<topupData></topupData>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:getAccountResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:getAccountBalance>
|
||||
<terminalID></terminalID>
|
||||
<hmac></hmac>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:getAccountBalanceResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:getSupportedBanks>
|
||||
<terminalID></terminalID>
|
||||
<topupData></topupData>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:getSupportedBanksResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:getTrxStatus>
|
||||
<terminalID></terminalID>
|
||||
<topupData></topupData>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:getTrxStatusResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:transferFund>
|
||||
<terminalID></terminalID>
|
||||
<toDestination></toDestination>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SOAP-ENV:Envelope
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:paylid="urn:paylidwsdl">
|
||||
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||
<paylid:transferFundResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,11 @@
|
||||
/* paylidpaylidwsdlBindingProxy.cpp
|
||||
Generated by gSOAP 2.7.16 from PaylidService.h
|
||||
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
This part of the software is released under one of the following licenses:
|
||||
GPL, the gSOAP public license, or Genivia's license for commercial use.
|
||||
Generated by gSOAP 2.8.16 from PaylidService.h
|
||||
|
||||
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The generated code is released under one of the following licenses:
|
||||
GPL or Genivia's license for commercial use.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
*/
|
||||
|
||||
#include "paylidpaylidwsdlBindingProxy.h"
|
||||
@@ -13,17 +16,30 @@ paylidwsdlBindingProxy::paylidwsdlBindingProxy()
|
||||
{ paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const struct soap &_soap) :soap(_soap)
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const struct soap &_soap) : soap(_soap)
|
||||
{ }
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const char *url)
|
||||
{ paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
||||
soap_endpoint = url;
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(soap_mode iomode)
|
||||
{ paylidwsdlBindingProxy_init(iomode, iomode);
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const char *url, soap_mode iomode)
|
||||
{ paylidwsdlBindingProxy_init(iomode, iomode);
|
||||
soap_endpoint = url;
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy(soap_mode imode, soap_mode omode)
|
||||
{ paylidwsdlBindingProxy_init(imode, omode);
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::~paylidwsdlBindingProxy()
|
||||
{ }
|
||||
|
||||
void paylidwsdlBindingProxy::paylidwsdlBindingProxy_init(soap_mode imode, soap_mode omode)
|
||||
{ soap_imode(this, imode);
|
||||
soap_omode(this, omode);
|
||||
@@ -37,23 +53,31 @@ void paylidwsdlBindingProxy::paylidwsdlBindingProxy_init(soap_mode imode, soap_m
|
||||
{"paylid", "urn:paylidwsdl", NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
this->namespaces = namespaces;
|
||||
soap_set_namespaces(this, namespaces);
|
||||
}
|
||||
|
||||
paylidwsdlBindingProxy::~paylidwsdlBindingProxy()
|
||||
{ }
|
||||
|
||||
void paylidwsdlBindingProxy::destroy()
|
||||
{ soap_destroy(this);
|
||||
soap_end(this);
|
||||
}
|
||||
|
||||
void paylidwsdlBindingProxy::reset()
|
||||
{ destroy();
|
||||
soap_done(this);
|
||||
soap_initialize(this);
|
||||
paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
||||
}
|
||||
|
||||
void paylidwsdlBindingProxy::soap_noheader()
|
||||
{ header = NULL;
|
||||
{ this->header = NULL;
|
||||
}
|
||||
|
||||
const SOAP_ENV__Header *paylidwsdlBindingProxy::soap_header()
|
||||
{ return this->header;
|
||||
}
|
||||
|
||||
const SOAP_ENV__Fault *paylidwsdlBindingProxy::soap_fault()
|
||||
{ return (const paylid::SOAP_ENV__Fault*)this->fault;
|
||||
{ return this->fault;
|
||||
}
|
||||
|
||||
const char *paylidwsdlBindingProxy::soap_fault_string()
|
||||
@@ -68,31 +92,40 @@ int paylidwsdlBindingProxy::soap_close_socket()
|
||||
{ return soap_closesock(this);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::soap_force_close_socket()
|
||||
{ return soap_force_closesock(this);
|
||||
}
|
||||
|
||||
void paylidwsdlBindingProxy::soap_print_fault(FILE *fd)
|
||||
{ ::soap_print_fault(this, fd);
|
||||
}
|
||||
|
||||
#ifndef WITH_LEAN
|
||||
#ifndef WITH_COMPAT
|
||||
void paylidwsdlBindingProxy::soap_stream_fault(std::ostream& os)
|
||||
{ ::soap_stream_fault(this, os);
|
||||
}
|
||||
#endif
|
||||
|
||||
char *paylidwsdlBindingProxy::soap_sprint_fault(char *buf, size_t len)
|
||||
{ return ::soap_sprint_fault(this, buf, len);
|
||||
}
|
||||
#endif
|
||||
|
||||
int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1)
|
||||
int paylidwsdlBindingProxy::getAccountBalance(const char *endpoint, const char *soap_action, std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__getAccountBalance soap_tmp_paylid__getAccountBalance;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#getAccountBalance";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#getAccountBalance";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__getAccountBalance.terminalID = terminalID;
|
||||
soap_tmp_paylid__getAccountBalance.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getAccountBalance(soap, &soap_tmp_paylid__getAccountBalance);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -108,7 +141,7 @@ int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::strin
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -137,18 +170,21 @@ int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::strin
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2)
|
||||
int paylidwsdlBindingProxy::transferFund(const char *endpoint, const char *soap_action, std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__transferFund soap_tmp_paylid__transferFund;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#transferFund";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#transferFund";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__transferFund.terminalID = terminalID;
|
||||
soap_tmp_paylid__transferFund.toDestination = toDestination;
|
||||
soap_tmp_paylid__transferFund.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__transferFund(soap, &soap_tmp_paylid__transferFund);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -164,7 +200,7 @@ int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toD
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -193,18 +229,21 @@ int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toD
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3)
|
||||
int paylidwsdlBindingProxy::checkTransferStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__checkTransferStatus soap_tmp_paylid__checkTransferStatus;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#checkTransferStatus";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#checkTransferStatus";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__checkTransferStatus.terminalID = terminalID;
|
||||
soap_tmp_paylid__checkTransferStatus.transactionRef = transactionRef;
|
||||
soap_tmp_paylid__checkTransferStatus.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__checkTransferStatus(soap, &soap_tmp_paylid__checkTransferStatus);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -220,7 +259,7 @@ int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::str
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -249,18 +288,21 @@ int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::str
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4)
|
||||
int paylidwsdlBindingProxy::directAirTimeTopUp(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__directAirTimeTopUp soap_tmp_paylid__directAirTimeTopUp;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#checkTransferStatus";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#checkTransferStatus";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__directAirTimeTopUp.terminalID = terminalID;
|
||||
soap_tmp_paylid__directAirTimeTopUp.topupData = topupData;
|
||||
soap_tmp_paylid__directAirTimeTopUp.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__directAirTimeTopUp(soap, &soap_tmp_paylid__directAirTimeTopUp);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -276,7 +318,7 @@ int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::stri
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -305,18 +347,21 @@ int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::stri
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5)
|
||||
int paylidwsdlBindingProxy::currentXrate(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__currentXrate soap_tmp_paylid__currentXrate;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#currentXrate";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#currentXrate";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__currentXrate.terminalID = terminalID;
|
||||
soap_tmp_paylid__currentXrate.topupData = topupData;
|
||||
soap_tmp_paylid__currentXrate.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__currentXrate(soap, &soap_tmp_paylid__currentXrate);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -332,7 +377,7 @@ int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string top
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -361,18 +406,21 @@ int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string top
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6)
|
||||
int paylidwsdlBindingProxy::getAccount(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__getAccount soap_tmp_paylid__getAccount;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#getAccount";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#getAccount";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__getAccount.terminalID = terminalID;
|
||||
soap_tmp_paylid__getAccount.topupData = topupData;
|
||||
soap_tmp_paylid__getAccount.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getAccount(soap, &soap_tmp_paylid__getAccount);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -388,7 +436,7 @@ int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topup
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -417,18 +465,21 @@ int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topup
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7)
|
||||
int paylidwsdlBindingProxy::getTrxStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__getTrxStatus soap_tmp_paylid__getTrxStatus;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#getTrxStatus";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#getTrxStatus";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__getTrxStatus.terminalID = terminalID;
|
||||
soap_tmp_paylid__getTrxStatus.topupData = topupData;
|
||||
soap_tmp_paylid__getTrxStatus.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getTrxStatus(soap, &soap_tmp_paylid__getTrxStatus);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -444,7 +495,7 @@ int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string top
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
@@ -473,18 +524,21 @@ int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string top
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
int paylidwsdlBindingProxy::getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8)
|
||||
int paylidwsdlBindingProxy::getSupportedBanks(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8)
|
||||
{ struct soap *soap = this;
|
||||
struct paylid__getSupportedBanks soap_tmp_paylid__getSupportedBanks;
|
||||
const char *soap_action = NULL;
|
||||
if (!soap_endpoint)
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
soap_action = "urn:paylidwsdl#getSupportedBanks";
|
||||
if (soap_action == NULL)
|
||||
soap_action = "urn:paylidwsdl#getSupportedBanks";
|
||||
soap_begin(soap);
|
||||
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
|
||||
soap_tmp_paylid__getSupportedBanks.terminalID = terminalID;
|
||||
soap_tmp_paylid__getSupportedBanks.topupData = topupData;
|
||||
soap_tmp_paylid__getSupportedBanks.hmac = hmac;
|
||||
soap_begin(soap);
|
||||
soap_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getSupportedBanks(soap, &soap_tmp_paylid__getSupportedBanks);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -500,7 +554,7 @@ int paylidwsdlBindingProxy::getSupportedBanks(std::string terminalID, std::strin
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
if (soap_connect(soap, soap_endpoint, soap_action)
|
||||
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|
||||
+218
-244
@@ -16,263 +16,237 @@
|
||||
#include "account.h"
|
||||
#include "storeface.h"
|
||||
|
||||
long CreateBulkTopupBatch(CVars in, CVars &out) {
|
||||
long ret = 0;
|
||||
REQ_STRING(in, "batch_name", 1, 50, "(.*)");
|
||||
REQ_LONG(in, "customer_id", 1, -1);
|
||||
CVars cust;
|
||||
cust["customer_id"] = in["customer_id"];
|
||||
cust["customer_id"].set_valid(true);
|
||||
cust["batch_name"] = in["batch_name"];
|
||||
cust["batch_name"].set_valid(true);
|
||||
|
||||
out["bulk_id"] = insert_db_record(DBS_VALID, "bulktopup_batch", "bulktopup_batch_id_seq", cust);
|
||||
if (out["bulk_id"].Long() > 0) {
|
||||
ret = out["bulk_id"].Long();
|
||||
}
|
||||
|
||||
|
||||
long CreateBulkTopupBatch(CVars in, CVars &out)
|
||||
{
|
||||
long ret = 0;
|
||||
REQ_STRING( in, "batch_name", 1, 50, "(.*)");
|
||||
REQ_LONG( in, "customer_id", 1, -1 );
|
||||
CVars cust;
|
||||
cust["customer_id"] = in["customer_id"]; cust["customer_id"].set_valid(true);
|
||||
cust["batch_name"] = in["batch_name"]; cust["batch_name"].set_valid(true);
|
||||
|
||||
out["bulk_id"] = insert_db_record( DBS_VALID, "bulktopup_batch", "bulktopup_batch_id_seq", cust );
|
||||
if (out["bulk_id"].Long() > 0 )
|
||||
{
|
||||
ret = out["bulk_id"].Long();
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
long AddBulkTopupBatchItem(CVars in, CVars &out)
|
||||
{
|
||||
long ret = 0;
|
||||
|
||||
/*
|
||||
CREATE TABLE bulktopup_batch_items
|
||||
(
|
||||
id serial NOT NULL,
|
||||
bulk_id INT REFERENCES bulktopup_batch(id),
|
||||
customer_id INT REFERENCES customer(id),
|
||||
topup_name VARCHAR(50),
|
||||
topup_number VARCHAR(15) NOT NULL,
|
||||
topup_amount INT DEFAULT 0,
|
||||
topup_network VARCHAR(10),
|
||||
order_id VARCHAR(25),
|
||||
deliver_status VARCHAR(15),
|
||||
status integer DEFAULT 1,
|
||||
added TIMESTAMP DEFAULT NOW()
|
||||
);
|
||||
*/
|
||||
|
||||
REQ_STRING( in, "topup_name", 1, 50, "(.*)");
|
||||
REQ_STRING( in, "topup_number", 1, 15, "(.*)");
|
||||
REQ_STRING( in, "topup_network", 1, 15, "(.*)");
|
||||
REQ_LONG( in, "topup_amount", 1, -1 );
|
||||
REQ_LONG( in, "customer_id", 1, -1 );
|
||||
REQ_LONG( in, "bulk_id", 1, -1 );
|
||||
|
||||
CVars cust;
|
||||
cust["topup_name"] = in["topup_name"]; cust["topup_name"].set_valid(true);
|
||||
cust["topup_number"] = in["topup_number"]; cust["topup_number"].set_valid(true);
|
||||
cust["topup_network"] = in["topup_network"]; cust["topup_network"].set_valid(true);
|
||||
cust["topup_amount"] = in["topup_amount"]; cust["topup_amount"].set_valid(true);
|
||||
cust["customer_id"] = in["customer_id"]; cust["customer_id"].set_valid(true);
|
||||
cust["bulk_id"] = in["bulk_id"]; cust["bulk_id"].set_valid(true);
|
||||
|
||||
out["bulk_item_id"] = insert_db_record( DBS_VALID, "bulktopup_batch_items", "bulktopup_batch_items_id_seq", cust );
|
||||
if (out["bulk_item_id"].Long() > 0 )
|
||||
{
|
||||
ret = out["bulk_item_id"].Long();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
long UpdateBulkTopupItem(CVars in, CVars &out)
|
||||
{
|
||||
long ret =0;
|
||||
REQ_LONG( in, "bulk_id", 1, -1 );
|
||||
REQ_LONG( in, "customer_id", 1, -1 );
|
||||
if ( load_db_record( out, "SELECT id FROM bulktopup_batch WHERE id= %lu AND status <> 5 AND completed IS NULL",in["bulk_id"].Long() ) )
|
||||
{
|
||||
pgsql_exec( "UPDATE bulktopup_batch SET status = 2 WHERE completed IS NULL AND status <> 5 AND id=%lu AND customer_id = %lu",in["bulk_id"].Long(),in["customer_id"].Long());
|
||||
ret = in["bulk_id"].Long();
|
||||
}
|
||||
|
||||
return ret;
|
||||
return ret;
|
||||
}
|
||||
|
||||
long DeliverBulkTopupItem(CVars in, CVars &out)
|
||||
{
|
||||
CVars xx;
|
||||
CVars yy;
|
||||
long ret = 0;
|
||||
REQ_LONG( in, "bulk_id", 1, -1 );
|
||||
REQ_LONG( in, "item_id", 1, -1 );
|
||||
REQ_STRING( in, "payment_code", 1, 50, "(.*)");
|
||||
|
||||
if ( load_db_record( out, "SELECT gid AS paymentitemid FROM interswitch_biller_payment_items WHERE paymentcode = '%lu'",in["payment_code"].Long() ) )
|
||||
{
|
||||
in["paymentitemid"] = out["paymentitemid"];
|
||||
xx["paymentitemid"] = out["paymentitemid"];
|
||||
in["paymentitemid"].set_valid( true );
|
||||
xx["paymentitemid"].set_valid( true );
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ( load_db_record( out, "SELECT * FROM bulktopup_batch WHERE id= %lu AND status <> 5 AND completed IS NULL",in["bulk_id"].Long() ) )
|
||||
{
|
||||
if ( load_db_record( yy, "SELECT * FROM bulktopup_batch_items WHERE id= %lu AND status <> 5 AND completed IS NULL",in["item_id"].Long() ) )
|
||||
{
|
||||
xx["customer_id"]= out["customer_id"]; xx["customer_id"].set_valid( true );
|
||||
xx["amount"]= yy["topup_amount"]; xx["amount"].set_valid( true );
|
||||
xx["recipient_no"]= yy["topup_number"]; xx["topup_number"].set_valid( true );
|
||||
xx["bulk_topup_item_id"] = yy["id"]; xx["bulk_topup_item_id"].set_valid( true );
|
||||
// pgsql_exec( "UPDATE bulktopup_batch SET status = 2 WHERE completed IS NULL AND status <> 5 AND id=%lu AND customer_id = %lu",in["bulk_id"].Long(),in["customer_id"].Long());
|
||||
xx["trans_not_id"] =CreateTopupOrder(xx,out);
|
||||
|
||||
if ( xx["trans_not_id"].Long() > 0 )
|
||||
{
|
||||
|
||||
pgsql_exec( "UPDATE bulktopup_batch_items SET order_id = '%s', payment_code = '%s' WHERE id = %lu",out["orderid"].c_str(),in["payment_code"].c_str(),in["item_id"].Long() );
|
||||
xx["customermobile"]=xx["recipient_no"]; xx["customermobile"].set_valid( true );
|
||||
xx["customerid"]= xx["customer_id"]; xx["customerid"].set_valid( true ); // bad but true
|
||||
xx["orderid"] =out["orderid"]; xx["orderid"].set_valid( true );
|
||||
xx["order_id"] =out["orderid"]; xx["order_id"].set_valid( true );
|
||||
xx["trans_not_id"].set_valid( true );
|
||||
xx["payment_code"] = in["payment_code"]; xx["payment_code"].set_valid( true );
|
||||
|
||||
if ( DeliverTopOrderByBalance(xx,out) == 100 )
|
||||
{
|
||||
pgsql_exec( "UPDATE bulktopup_batch_items SET completed=now(),status=5 WHERE id = %lu",in["item_id"].Long() );
|
||||
}
|
||||
}
|
||||
|
||||
ret = in["bulk_id"].Long();
|
||||
}
|
||||
long AddBulkTopupBatchItem(CVars in, CVars &out) {
|
||||
long ret = 0;
|
||||
|
||||
}
|
||||
return ret;
|
||||
|
||||
REQ_STRING(in, "topup_name", 1, 50, "(.*)");
|
||||
REQ_STRING(in, "topup_number", 1, 15, "(.*)");
|
||||
REQ_STRING(in, "topup_network", 1, 15, "(.*)");
|
||||
REQ_LONG(in, "topup_amount", 1, -1);
|
||||
REQ_LONG(in, "customer_id", 1, -1);
|
||||
REQ_LONG(in, "bulk_id", 1, -1);
|
||||
|
||||
CVars cust;
|
||||
cust["topup_name"] = in["topup_name"];
|
||||
cust["topup_name"].set_valid(true);
|
||||
cust["topup_number"] = in["topup_number"];
|
||||
cust["topup_number"].set_valid(true);
|
||||
cust["topup_network"] = in["topup_network"];
|
||||
cust["topup_network"].set_valid(true);
|
||||
cust["topup_amount"] = in["topup_amount"];
|
||||
cust["topup_amount"].set_valid(true);
|
||||
cust["customer_id"] = in["customer_id"];
|
||||
cust["customer_id"].set_valid(true);
|
||||
cust["bulk_id"] = in["bulk_id"];
|
||||
cust["bulk_id"].set_valid(true);
|
||||
|
||||
out["bulk_item_id"] = insert_db_record(DBS_VALID, "bulktopup_batch_items", "bulktopup_batch_items_id_seq", cust);
|
||||
if (out["bulk_item_id"].Long() > 0) {
|
||||
ret = out["bulk_item_id"].Long();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
long DeliverTopOrderByBalance(CVars in, CVars &out)
|
||||
{
|
||||
long retval=0;
|
||||
long process_status=0;
|
||||
// in["amount"] - arrives as niara - send cents/kobo to interswitch
|
||||
long UpdateBulkTopupItem(CVars in, CVars &out) {
|
||||
long ret = 0;
|
||||
REQ_LONG(in, "bulk_id", 1, -1);
|
||||
REQ_LONG(in, "customer_id", 1, -1);
|
||||
if (load_db_record(out, "SELECT id FROM bulktopup_batch WHERE id= %lu AND status <> 5 AND completed IS NULL", in["bulk_id"].Long())) {
|
||||
pgsql_exec("UPDATE bulktopup_batch SET status = 2 WHERE completed IS NULL AND status <> 5 AND id=%lu AND customer_id = %lu", in["bulk_id"].Long(), in["customer_id"].Long());
|
||||
ret = in["bulk_id"].Long();
|
||||
}
|
||||
|
||||
out["route_id"] = "0";
|
||||
out["route_etisalat"] = "0";
|
||||
if( load_db_record( out,"SELECT id AS route_id FROM airtime_route WHERE payment_code ='%s'",in["payment_code"].c_str() ) )
|
||||
{
|
||||
out["route_etisalat"] = "1";
|
||||
}else{ }
|
||||
|
||||
|
||||
|
||||
if ( in["pmode"].Long() == PAY_MODE_BALANCE ) // paying with balance
|
||||
{
|
||||
if ( load_db_record( out, "SELECT * FROM customer WHERE id = %lu",in["customer_id"].Long() ) )
|
||||
{
|
||||
long amount_in_cents = in["amount"].Long()*100;
|
||||
|
||||
if ( out["balance"].Long() < amount_in_cents )
|
||||
{
|
||||
out["status"] = "Insufficient Balance for Purchase";
|
||||
out["status_code"] = "F0004";
|
||||
}
|
||||
else
|
||||
{
|
||||
in["amount"] = amount_in_cents;
|
||||
in["amount"].set_valid( true );
|
||||
//--------------------------------------------------
|
||||
pgsql_exec( "UPDATE customer SET balance = balance - %lu WHERE id=%lu ",amount_in_cents,in["customer_id"].Long());
|
||||
//--------------------------------------------------
|
||||
//retval = INTW_sendBillPaymentAdvice( in, out );
|
||||
if ( out["route_etisalat"].Long() > 0 && out["route_id"].Long() > 0 )
|
||||
{
|
||||
retval = DeliverMobilseEtisalat( in, out );
|
||||
out["ResponseCode"] = retval;
|
||||
}
|
||||
else
|
||||
{
|
||||
retval = INTW_sendBillPaymentAdvice( in, out );
|
||||
}
|
||||
|
||||
if (out["ResponseCode"].Long() == 90000L) {
|
||||
process_status = 100; // completed
|
||||
out["status"] = "Completed";
|
||||
out["status_code"] = "A0001";
|
||||
pgsql_exec( "UPDATE trans_notification SET completed = now() WHERE id=%lu AND customer_id = %lu ",in["trans_not_id"].Long(),in["customer_id"].Long());
|
||||
out["email_alert"] = "I am sending Email of Success";
|
||||
//CustomerAirSale( in);
|
||||
VirtualAirSaleAlert(out);
|
||||
}
|
||||
else
|
||||
{
|
||||
//--------------------------------------------------
|
||||
pgsql_exec( "UPDATE customer SET balance = balance + %lu WHERE id=%lu ",amount_in_cents,in["customer_id"].Long());
|
||||
//--------------------------------------------------
|
||||
VirtualAirSaleAlert(out);
|
||||
out["email_alert"] = "I am sending Email of Failure";
|
||||
|
||||
out["status"] = "Unable to deliver topup";
|
||||
out["status_code"] = "F0005";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{ // customer not found
|
||||
out["status"] = "Account not found";
|
||||
out["status_code"] = "F0003";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return process_status;
|
||||
return ret;
|
||||
}
|
||||
|
||||
long DeliverBulkTopupItem(CVars in, CVars &out) {
|
||||
CVars xx;
|
||||
CVars yy;
|
||||
long ret = 0;
|
||||
REQ_LONG(in, "bulk_id", 1, -1);
|
||||
REQ_LONG(in, "item_id", 1, -1);
|
||||
REQ_STRING(in, "payment_code", 1, 50, "(.*)");
|
||||
|
||||
long CreateTopupOrder(CVars in, CVars &out)
|
||||
{
|
||||
CVars cust;
|
||||
CVars xx;
|
||||
char xtid[12];
|
||||
int r;
|
||||
long ret =0;
|
||||
if (load_db_record(out, "SELECT gid AS paymentitemid FROM interswitch_biller_payment_items WHERE paymentcode = '%lu'", in["payment_code"].Long())) {
|
||||
in["paymentitemid"] = out["paymentitemid"];
|
||||
xx["paymentitemid"] = out["paymentitemid"];
|
||||
in["paymentitemid"].set_valid(true);
|
||||
xx["paymentitemid"].set_valid(true);
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
||||
REQ_LONG( in, "amount", 1, -1 );
|
||||
REQ_STRING( in, "recipient_no", 1, 15, "(.*)");
|
||||
REQ_LONG( in, "customer_id", 1, -1 );
|
||||
if (load_db_record(out, "SELECT * FROM bulktopup_batch WHERE id= %lu AND status <> 5 AND completed IS NULL", in["bulk_id"].Long())) {
|
||||
if (load_db_record(yy, "SELECT * FROM bulktopup_batch_items WHERE id= %lu AND status <> 5 AND completed IS NULL", in["item_id"].Long())) {
|
||||
xx["customer_id"] = out["customer_id"];
|
||||
xx["customer_id"].set_valid(true);
|
||||
xx["amount"] = yy["topup_amount"];
|
||||
xx["amount"].set_valid(true);
|
||||
xx["recipient_no"] = yy["topup_number"];
|
||||
xx["topup_number"].set_valid(true);
|
||||
xx["bulk_topup_item_id"] = yy["id"];
|
||||
xx["bulk_topup_item_id"].set_valid(true);
|
||||
// pgsql_exec( "UPDATE bulktopup_batch SET status = 2 WHERE completed IS NULL AND status <> 5 AND id=%lu AND customer_id = %lu",in["bulk_id"].Long(),in["customer_id"].Long());
|
||||
xx["trans_not_id"] = CreateTopupOrder(xx, out);
|
||||
|
||||
if (xx["trans_not_id"].Long() > 0) {
|
||||
|
||||
|
||||
srand(time(NULL));
|
||||
r = abs( rand()*10000000);
|
||||
pgsql_exec("UPDATE bulktopup_batch_items SET order_id = '%s', payment_code = '%s' WHERE id = %lu", out["orderid"].c_str(), in["payment_code"].c_str(), in["item_id"].Long());
|
||||
xx["customermobile"] = xx["recipient_no"];
|
||||
xx["customermobile"].set_valid(true);
|
||||
xx["customerid"] = xx["customer_id"];
|
||||
xx["customerid"].set_valid(true); // bad but true
|
||||
xx["orderid"] = out["orderid"];
|
||||
xx["orderid"].set_valid(true);
|
||||
xx["order_id"] = out["orderid"];
|
||||
xx["order_id"].set_valid(true);
|
||||
xx["trans_not_id"].set_valid(true);
|
||||
xx["payment_code"] = in["payment_code"];
|
||||
xx["payment_code"].set_valid(true);
|
||||
|
||||
cust["orderid"] = r;
|
||||
in["orderid"] = r;
|
||||
|
||||
in["orderid"].set_valid(true);
|
||||
|
||||
cust["amount"] = in["amount"]; cust["amount"].set_valid(true);
|
||||
cust["description"] = in["description"]; cust["description"].set_valid(true);
|
||||
cust["customer_id"] = in["customer_id"]; cust["customer_id"].set_valid(true);
|
||||
cust["recipient_no"] = in["recipient_no"]; cust["recipient_no"].set_valid(true);
|
||||
|
||||
cust["orderid"].set_valid(true);
|
||||
out=in;
|
||||
|
||||
out["order_id"] = insert_db_record( DBS_VALID, "trans_notification", "trans_notification_id_seq", cust );
|
||||
|
||||
|
||||
if (out["order_id"].Long() > 0 )
|
||||
{
|
||||
|
||||
sprintf( xtid, "9%011lu", out["order_id"].Long() );
|
||||
xx["orderid"] = xtid;
|
||||
pgsql_exec( "UPDATE trans_notification SET orderid ='%s' WHERE id=%lu AND customer_id = %lu ",xtid,out["order_id"].Long(),in["customer_id"].Long());
|
||||
out["orderid"] = xtid;
|
||||
ret = out["order_id"].Long();
|
||||
}
|
||||
else
|
||||
{
|
||||
out["orderid"]="";
|
||||
}
|
||||
return ret;
|
||||
if (DeliverTopOrderByBalance(xx, out) == 100) {
|
||||
pgsql_exec("UPDATE bulktopup_batch_items SET completed=now(),status=5 WHERE id = %lu", in["item_id"].Long());
|
||||
}
|
||||
}
|
||||
|
||||
ret = in["bulk_id"].Long();
|
||||
}
|
||||
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
long DeliverTopOrderByBalance(CVars in, CVars &out) {
|
||||
long retval = 0;
|
||||
long process_status = 0;
|
||||
// in["amount"] - arrives as niara - send cents/kobo to interswitch
|
||||
|
||||
out["route_id"] = "0";
|
||||
out["route_etisalat"] = "0";
|
||||
if (load_db_record(out, "SELECT id AS route_id FROM airtime_route WHERE payment_code ='%s'", in["payment_code"].c_str())) {
|
||||
out["route_etisalat"] = "1";
|
||||
} else {
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (in["pmode"].Long() == PAY_MODE_BALANCE) // paying with balance
|
||||
{
|
||||
if (load_db_record(out, "SELECT * FROM customer WHERE id = %lu", in["customer_id"].Long())) {
|
||||
long amount_in_cents = in["amount"].Long()*100;
|
||||
|
||||
if (out["balance"].Long() < amount_in_cents) {
|
||||
out["status"] = "Insufficient Balance for Purchase";
|
||||
out["status_code"] = "F0004";
|
||||
} else {
|
||||
in["amount"] = amount_in_cents;
|
||||
in["amount"].set_valid(true);
|
||||
//--------------------------------------------------
|
||||
pgsql_exec("UPDATE customer SET balance = balance - %lu WHERE id=%lu ", amount_in_cents, in["customer_id"].Long());
|
||||
//--------------------------------------------------
|
||||
//retval = INTW_sendBillPaymentAdvice( in, out );
|
||||
if (out["route_etisalat"].Long() > 0 && out["route_id"].Long() > 0) {
|
||||
retval = DeliverMobilseEtisalat(in, out);
|
||||
out["ResponseCode"] = retval;
|
||||
}
|
||||
else {
|
||||
retval = INTW_sendBillPaymentAdvice(in, out);
|
||||
}
|
||||
|
||||
if (out["ResponseCode"].Long() == 90000L) {
|
||||
process_status = 100; // completed
|
||||
out["status"] = "Completed";
|
||||
out["status_code"] = "A0001";
|
||||
pgsql_exec("UPDATE trans_notification SET completed = now() WHERE id=%lu AND customer_id = %lu ", in["trans_not_id"].Long(), in["customer_id"].Long());
|
||||
out["email_alert"] = "I am sending Email of Success";
|
||||
//CustomerAirSale( in);
|
||||
VirtualAirSaleAlert(out);
|
||||
} else {
|
||||
//--------------------------------------------------
|
||||
pgsql_exec("UPDATE customer SET balance = balance + %lu WHERE id=%lu ", amount_in_cents, in["customer_id"].Long());
|
||||
//--------------------------------------------------
|
||||
VirtualAirSaleAlert(out);
|
||||
out["email_alert"] = "I am sending Email of Failure";
|
||||
|
||||
out["status"] = "Unable to deliver topup";
|
||||
out["status_code"] = "F0005";
|
||||
|
||||
}
|
||||
}
|
||||
} else { // customer not found
|
||||
out["status"] = "Account not found";
|
||||
out["status_code"] = "F0003";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return process_status;
|
||||
}
|
||||
|
||||
long CreateTopupOrder(CVars in, CVars &out) {
|
||||
CVars cust;
|
||||
CVars xx;
|
||||
char xtid[12];
|
||||
int r;
|
||||
long ret = 0;
|
||||
|
||||
REQ_LONG(in, "amount", 1, -1);
|
||||
REQ_STRING(in, "recipient_no", 1, 15, "(.*)");
|
||||
REQ_LONG(in, "customer_id", 1, -1);
|
||||
|
||||
|
||||
|
||||
srand(time(NULL));
|
||||
r = abs(rand()*10000000);
|
||||
|
||||
cust["orderid"] = r;
|
||||
in["orderid"] = r;
|
||||
|
||||
in["orderid"].set_valid(true);
|
||||
|
||||
cust["amount"] = in["amount"];
|
||||
cust["amount"].set_valid(true);
|
||||
cust["description"] = in["description"];
|
||||
cust["description"].set_valid(true);
|
||||
cust["customer_id"] = in["customer_id"];
|
||||
cust["customer_id"].set_valid(true);
|
||||
cust["recipient_no"] = in["recipient_no"];
|
||||
cust["recipient_no"].set_valid(true);
|
||||
|
||||
cust["orderid"].set_valid(true);
|
||||
out = in;
|
||||
|
||||
out["order_id"] = insert_db_record(DBS_VALID, "trans_notification", "trans_notification_id_seq", cust);
|
||||
|
||||
|
||||
if (out["order_id"].Long() > 0) {
|
||||
|
||||
sprintf(xtid, "9%011lu", out["order_id"].Long());
|
||||
xx["orderid"] = xtid;
|
||||
pgsql_exec("UPDATE trans_notification SET orderid ='%s' WHERE id=%lu AND customer_id = %lu ", xtid, out["order_id"].Long(), in["customer_id"].Long());
|
||||
out["orderid"] = xtid;
|
||||
ret = out["order_id"].Long();
|
||||
} else {
|
||||
out["orderid"] = "";
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -59,7 +59,8 @@ $autoload['packages'] = array();
|
||||
| $autoload['libraries'] = array('user_agent' => 'ua');
|
||||
*/
|
||||
//$autoload['libraries'] = array();
|
||||
$autoload['libraries'] = array('session','form_validation');
|
||||
//$autoload['libraries'] = array('session','form_validation');
|
||||
$autoload['libraries'] = array('database','session','form_validation');
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| Auto-load Drivers
|
||||
|
||||
@@ -90,4 +90,5 @@ define('COREGRADE_ACCOUNT_TESTEMAIL',11001);
|
||||
define('COREGRADE_ACCOUNT_PENDING',11010);
|
||||
define('COREGRADE_VERIFY_PENDING_LINK',11015);
|
||||
define('COREGRADE_ACCOUNT_CREATEACC',11020);
|
||||
define('COREGRADE_ACCOUNT_LOGIN',11025);
|
||||
define('COREGRADE_ACCOUNT_LOGIN',11025);
|
||||
define('COREGRADE_ACCOUNT_ADDCARD', 11027);
|
||||
@@ -73,7 +73,32 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$active_group = 'default';
|
||||
$query_builder = TRUE;
|
||||
|
||||
global $coregrade;
|
||||
|
||||
$db['default'] = array(
|
||||
'dsn' => '',
|
||||
'hostname' => $coregrade->cfgReadChar('database.host'), /* '10.142.0.10', */
|
||||
'username' => $coregrade->cfgReadChar('database.user'), /* 'savvy', */
|
||||
'password' => $coregrade->cfgReadChar('database.pass'), /* 'savvy001!', */
|
||||
'database' => $coregrade->cfgReadChar('database.name'), /* 'savvy', */
|
||||
'dbdriver' => 'postgre',
|
||||
'dbprefix' => '',
|
||||
'pconnect' => FALSE,
|
||||
'db_debug' => (ENVIRONMENT !== 'production'),
|
||||
'cache_on' => FALSE,
|
||||
'cachedir' => '',
|
||||
'char_set' => 'utf8',
|
||||
'dbcollat' => 'utf8_general_ci',
|
||||
'swap_pre' => '',
|
||||
'encrypt' => FALSE,
|
||||
'compress' => FALSE,
|
||||
'stricton' => FALSE,
|
||||
'failover' => array(),
|
||||
'save_queries' => TRUE
|
||||
);
|
||||
|
||||
|
||||
$db['defaultBAK'] = array(
|
||||
'dsn' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => '',
|
||||
|
||||
@@ -1,118 +0,0 @@
|
||||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Auth extends Start_Controller {
|
||||
|
||||
public function index() {
|
||||
$login_done = false;
|
||||
$data = array();
|
||||
$username = '';
|
||||
$password = '';
|
||||
$error_message = '';
|
||||
$valid_entry = false;
|
||||
$valid_login = false;
|
||||
$out = [];
|
||||
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||
|
||||
|
||||
$this->testLoginInput($username, $password, $error_message, $valid_entry);
|
||||
|
||||
if (true == $valid_entry) {
|
||||
if ($username != '' && $password != '') {
|
||||
|
||||
$data["page_title"] = "";
|
||||
$data["username"] = $username; //"auxsupport";
|
||||
$data["password"] = $password;
|
||||
$out = [];
|
||||
$this->coregrade_webapi(COREGRADE_ACCOUNT_LOGIN, $data, $out);
|
||||
//print_r( $data );
|
||||
//print_r( $out );
|
||||
if (count($out) > 0 && isset($out["session"])) {
|
||||
//print_r($out);
|
||||
//$this->getSessionData($out[0], $session_data); // just for testing
|
||||
|
||||
$this->buildUserSession(PHP_API_OK, $out);
|
||||
$valid_login = true;
|
||||
$this->session->set_flashdata('in', $out);
|
||||
// redirect("page/index");
|
||||
} else {
|
||||
$error_message = "Invalid Username/Password";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
$this->renderMemberPages('view_dash', $data);
|
||||
$login_done = true;
|
||||
|
||||
// exit();
|
||||
}
|
||||
echo 'Welcome on board!';
|
||||
$this->coregrade_webapi(100, $data, $out);
|
||||
|
||||
print_r($out);
|
||||
|
||||
if (false == $login_done) {
|
||||
$this->renderAuthPages('view_login', $data);
|
||||
}
|
||||
}
|
||||
|
||||
public function newuser() {
|
||||
//$this->load->view('home/home');
|
||||
$data["firstname"] = $data["lastname"] = $data["password"] = $data["email"] = "";
|
||||
$valid_entry = true;
|
||||
$valid_login = false;
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||
|
||||
$data['firstname'] = trim($this->input->post('firstname'));
|
||||
$data['lastname'] = trim($this->input->post('lastname'));
|
||||
$data['username'] = trim($this->input->post('username'));
|
||||
$data['password'] = trim($this->input->post('pass1'));
|
||||
$data['email'] = $data['username'];
|
||||
|
||||
if (true == $valid_entry) {
|
||||
if ($data['username'] != '' && $data['password'] != '') {
|
||||
$out = [];
|
||||
$this->coregrade_webapi(COREGRADE_ACCOUNT_PENDING, $data, $out);
|
||||
|
||||
//print_r( $data );
|
||||
// print_r($out);
|
||||
if (count($out) > 0 && isset($out["pending_id"]) && $out["pending_id"] > 0) {
|
||||
//print_r($out);
|
||||
//$this->getSessionData($out[0], $session_data); // just for testing
|
||||
|
||||
$this->renderAuthPages('view_pending', $data);
|
||||
$login_done = true;
|
||||
// redirect("page/index");
|
||||
} else {
|
||||
$error_message = "Invalid Username/Password";
|
||||
}
|
||||
}
|
||||
}
|
||||
// exit();
|
||||
}
|
||||
|
||||
|
||||
$this->load->view('auth/view_head');
|
||||
$this->load->view('auth/view_register');
|
||||
$this->load->view('auth/view_foot');
|
||||
}
|
||||
|
||||
public function resetpass() {
|
||||
//$this->load->view('home/home');
|
||||
//echo "START RESET 1";
|
||||
$this->load->view('auth/view_head');
|
||||
$this->load->view('auth/view_reset_password');
|
||||
$this->load->view('auth/view_foot');
|
||||
}
|
||||
|
||||
public function logout() {
|
||||
$this->index();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,16 +5,75 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
class Member extends Member_Controller {
|
||||
|
||||
public function index() {
|
||||
|
||||
|
||||
$data = array();
|
||||
|
||||
$mysql = "SELECT * FROM members_pages WHERE member_id = " . $_SESSION["member_id"];
|
||||
$r = $this->db->query($mysql);
|
||||
$data["page_card"] = $r->result();
|
||||
|
||||
|
||||
|
||||
$this->renderMemberPages('view_dash', $data);
|
||||
}
|
||||
|
||||
public function mycalendar(){
|
||||
public function page() {
|
||||
// echo 'yes'; view_mypage
|
||||
|
||||
$data = array();
|
||||
|
||||
//$mysql = "SELECT * FROM members_pages WHERE member_id = " . $_SESSION["member_id"];
|
||||
// $r = $this->db->query($mysql);
|
||||
// $data["page_card"] = $r->result();
|
||||
$this->renderMemberPages('view_mypage', $data);
|
||||
}
|
||||
|
||||
public function configure() {
|
||||
// echo 'yes'; view_mypage
|
||||
|
||||
$data = array();
|
||||
|
||||
|
||||
$mysql = "SELECT * FROM members_pages WHERE member_id = " . $_SESSION["member_id"];
|
||||
$r = $this->db->query($mysql);
|
||||
$data["page_card"] = $r->result();
|
||||
|
||||
|
||||
//$mysql = "SELECT * FROM members_pages WHERE member_id = " . $_SESSION["member_id"];
|
||||
// $r = $this->db->query($mysql);
|
||||
// $data["page_card"] = $r->result();
|
||||
$this->renderMemberPages('view_configure', $data);
|
||||
}
|
||||
|
||||
public function addcard() {
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||
|
||||
$data['description'] = trim($this->input->post('description'));
|
||||
$data['title'] = trim($this->input->post('title'));
|
||||
$data['member_id'] = $_SESSION["member_id"];
|
||||
$data['session'] = $_SESSION["sessionid"];
|
||||
|
||||
|
||||
|
||||
if ($data['description'] != '' && $data['title'] != '') {
|
||||
$out = [];
|
||||
$this->coregrade_webapi(COREGRADE_ACCOUNT_ADDCARD, $data, $out);
|
||||
}
|
||||
|
||||
// exit();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$this->configure();
|
||||
}
|
||||
|
||||
public function mycalendar() {
|
||||
$data = array();
|
||||
$this->renderMemberPages('view_mycalendar', $data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ class Vemail extends Start_Controller {
|
||||
//$this->load->view('home/home');
|
||||
$valid_entry = true;
|
||||
$valid_login = false;
|
||||
$data = [];
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == 'GET') {
|
||||
|
||||
@@ -19,16 +20,10 @@ class Vemail extends Start_Controller {
|
||||
$this->coregrade_webapi(COREGRADE_ACCOUNT_CREATEACC, $data, $out);
|
||||
//print_r( $data );
|
||||
//print_r( $out );
|
||||
if (count($out) > 0 && isset($out["session"])) {
|
||||
//print_r($out);
|
||||
//$this->getSessionData($out[0], $session_data); // just for testing
|
||||
if (count($out) > 0 && isset($out["member_id"]) && $out["member_id"] > 0) {
|
||||
// $this->renderAuthPages('view_login', $data);
|
||||
|
||||
|
||||
$this->buildUserSession(PHP_API_OK, $out);
|
||||
$valid_login = true;
|
||||
$this->session->set_flashdata('in', $out);
|
||||
|
||||
$this->renderMemberPages('view_dash', $data);
|
||||
$login_done = true;
|
||||
|
||||
// redirect("page/index");
|
||||
} else {
|
||||
@@ -44,9 +39,7 @@ class Vemail extends Start_Controller {
|
||||
}
|
||||
|
||||
|
||||
$this->load->view('auth/view_head');
|
||||
$this->load->view('auth/view_register');
|
||||
$this->load->view('auth/view_foot');
|
||||
$this->renderAuthPages('view_login', $data);
|
||||
}
|
||||
|
||||
public function resetpass() {
|
||||
|
||||
@@ -29,7 +29,7 @@ class Start_Controller extends COR_Controller {
|
||||
$_SESSION['firstname'] = $out["firstname"]; // $ret->firstname;
|
||||
$_SESSION['lastname'] = $out["lastname"]; // $ret->lastname;
|
||||
$_SESSION['email'] = $out["email"]; // $ret->email;
|
||||
$_SESSION['user_id'] = $out["member_id"]; // $ret->id;
|
||||
$_SESSION['member_id'] = $out["member_id"]; // $ret->id;
|
||||
$_SESSION['loc'] = $out["loc"];
|
||||
$_SESSION['mypage'] = $out["mypage"];
|
||||
}
|
||||
@@ -46,7 +46,7 @@ class Start_Controller extends COR_Controller {
|
||||
protected function testLoginInput(&$username, &$password, &$error_message, &$valid_entry) {
|
||||
$valid_entry = true;
|
||||
$username = trim($this->input->post('username'));
|
||||
$password = trim($this->input->post('password'));
|
||||
$password = trim($this->input->post('pass1'));
|
||||
if ($username == '' or $password == '') {
|
||||
$valid_entry = false;
|
||||
$error_message = 'Enter a Username/Password & PracticeID to continue';
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<div class="card-body pt-1">
|
||||
<form action="/auth" method="POST">
|
||||
<fieldset class="form-label-group form-group position-relative has-icon-left">
|
||||
<input type="text" class="form-control" id="user-name" placeholder="Username" required>
|
||||
<input type="text" class="form-control" name='username' id="user-name" placeholder="Username" required>
|
||||
<div class="form-control-position">
|
||||
<i class="feather icon-user"></i>
|
||||
</div>
|
||||
@@ -35,7 +35,7 @@
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="form-label-group position-relative has-icon-left">
|
||||
<input type="password" class="form-control" id="user-password" placeholder="Password" required>
|
||||
<input type="password" class="form-control" name='pass1' id="user-password" placeholder="Password" required>
|
||||
<div class="form-control-position">
|
||||
<i class="feather icon-lock"></i>
|
||||
</div>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
|
||||
<div class="main-menu-content">
|
||||
<ul class="navigation navigation-main" id="main-menu-navigation" data-menu="menu-navigation">
|
||||
<li class=" nav-item"><a href="#"><i class="feather icon-home"></i><span class="menu-title" data-i18n="Dashboard">Dashboard</span><span class="badge badge badge-warning badge-pill float-right mr-2">2</span></a>
|
||||
<li class=" nav-item"><a href="/member"><i class="feather icon-home"></i><span class="menu-title" data-i18n="Dashboard">Dashboard</span><span class="badge badge badge-warning badge-pill float-right mr-2">2</span></a>
|
||||
<ul class="menu-content">
|
||||
<li class="active"><a href="#"><i class="feather icon-circle"></i><span class="menu-item" data-i18n="Analytics">Analytics</span></a>
|
||||
<li class="active"><a href="/member"><i class="feather icon-circle"></i><span class="menu-item" data-i18n="my cards">My Cards</span></a>
|
||||
</li>
|
||||
<li><a href="#"><i class="feather icon-circle"></i><span class="menu-item" data-i18n="eCommerce">eCommerce</span></a>
|
||||
<li><a href="/member/configure"><i class="feather icon-circle"></i><span class="menu-item" data-i18n="eCommerce">Configure</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -41,27 +41,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class=" navigation-header"><span>Administration</span>
|
||||
</li>
|
||||
<li class=" nav-item"><a href="#"><i class="feather icon-list"></i><span class="menu-title" data-i18n="Data List">Data List</span><span class="badge badge badge-primary badge-pill float-right mr-2">New</span></a>
|
||||
<ul class="menu-content">
|
||||
<li><a href="#"><i class="feather icon-circle"></i><span class="menu-item" data-i18n="List View">List View</span></a>
|
||||
</li>
|
||||
<li><a href="#"><i class="feather icon-circle"></i><span class="menu-item" data-i18n="Thumb View">Thumb View</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class=" nav-item"><a href="#"><i class="feather icon-layout"></i><span class="menu-title" data-i18n="Content">Content</span></a>
|
||||
<ul class="menu-content">
|
||||
<li><a href="#"><i class="feather icon-circle"></i><span class="menu-item" data-i18n="Grid">Grid</span></a>
|
||||
</li>
|
||||
<li><a href="#"><i class="feather icon-circle"></i><span class="menu-item" data-i18n="Typography">Typography</span></a>
|
||||
</li>
|
||||
<li><a href="#"><i class="feather icon-circle"></i><span class="menu-item" data-i18n="Text Utilities">Text Utilities</span></a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
<?
|
||||
print_r($page_card);
|
||||
?>
|
||||
|
||||
<!-- BEGIN: Content-->
|
||||
<div class="app-content content">
|
||||
<div class="content-overlay"></div>
|
||||
<div class="header-navbar-shadow"></div>
|
||||
<div class="content-wrapper">
|
||||
<div class="content-header row">
|
||||
</div>
|
||||
<div class="content-body">
|
||||
<!-- Dashboard Analytics Start -->
|
||||
<section id="dashboard-analytics">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xl-4 col-md-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">Add New Card</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form class="form" method="POST" action="/member/addcard">
|
||||
<div class="form-body">
|
||||
<div class="form-group">
|
||||
<label for="feedback1" class="sr-only">Card Name</label>
|
||||
<input type="text" id="feedback1" class="form-control" placeholder="Title" name="title" value="<?=isset($title)?$title:''?>" maxlength="49">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="feedback3" class="sr-only">Description</label>
|
||||
<textarea id="feedback3" rows="3" class="form-control" name="description" placeholder="Description"><?=isset($description)?$description:''?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-primary mr-1">Add Card</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-xl-4 col-md-6 col-sm-12">
|
||||
|
||||
|
||||
|
||||
<div class="card collapse-icon accordion-icon-rotate">
|
||||
<div class="card-body">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">My Cards</h4>
|
||||
</div>
|
||||
|
||||
<div class="accordion" id="accordionExample" data-toggle-hover="true">
|
||||
|
||||
<?php
|
||||
foreach ($page_card AS $drow) {
|
||||
// print_r($drow);
|
||||
?>
|
||||
<div class="collapse-margin">
|
||||
<div class="card-header" id="headingOne" data-toggle="collapse" role="button" data-target="#collapseOne<?=$drow->id?>" aria-expanded="false" aria-controls="collapseOne">
|
||||
<span class="lead collapse-title collapsed">
|
||||
<?=$drow->title?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div id="collapseOne<?=$drow->id?>" class="collapse" aria-labelledby="headingOne" data-parent="#accordionExample">
|
||||
<div class="card-body">
|
||||
<?=$drow->description?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
?>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-4 col-md-6 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">Video Card</h4>
|
||||
</div>
|
||||
<div class="embed-responsive embed-responsive-item embed-responsive-16by9">
|
||||
<iframe class="img-thumbnail" src="https://www.youtube.com/embed/vTlSEMdC5qw" allowfullscreen></iframe>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-text">Candy cupcake sugar plum oat cake wafer marzipan jujubes.</p>
|
||||
<a href="#" class="card-link">Card link</a>
|
||||
<a href="#" class="card-link">Another link</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
<!-- Dashboard Analytics end -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END: Content-->
|
||||
|
||||
|
||||
@@ -1,61 +1,58 @@
|
||||
<?
|
||||
print_r($page_card);
|
||||
?>
|
||||
|
||||
<!-- BEGIN: Content-->
|
||||
<div class="app-content content">
|
||||
<div class="content-overlay"></div>
|
||||
<div class="header-navbar-shadow"></div>
|
||||
<div class="content-wrapper">
|
||||
<div class="content-header row">
|
||||
</div>
|
||||
<div class="content-body">
|
||||
<!-- Dashboard Analytics Start -->
|
||||
<section id="dashboard-analytics">
|
||||
<div class="row">
|
||||
|
||||
<!-- BEGIN: Content-->
|
||||
<div class="app-content content">
|
||||
<div class="content-overlay"></div>
|
||||
<div class="header-navbar-shadow"></div>
|
||||
<div class="content-wrapper">
|
||||
<div class="content-header row">
|
||||
</div>
|
||||
<div class="content-body">
|
||||
<!-- Dashboard Analytics Start -->
|
||||
<section id="dashboard-analytics">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-3 col-md-6 col-12">
|
||||
<div class="card">
|
||||
<?php
|
||||
foreach ($page_card AS $drow) {
|
||||
// print_r($drow);
|
||||
?>
|
||||
<div class="col-lg-3 col-md-6 col-12">
|
||||
<a href='/member/page?pgname=<?= $drow->page_key ?>'
|
||||
<div class="card">
|
||||
<div class="card-header d-flex flex-column align-items-start pb-0">
|
||||
<div class="avatar bg-rgba-primary p-50 m-0">
|
||||
<div class="avatar-content">
|
||||
<i class="feather icon-users text-primary font-medium-5"></i>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="text-bold-700 mt-1 mb-25">92.6k</h2>
|
||||
<p class="mb-0">Subscribers Gained</p>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<div id="subscribe-gain-chart"></div>
|
||||
<h2 class="text-bold-700 mt-1 mb-25"><?= $drow->title ?></h2>
|
||||
|
||||
</div>
|
||||
<div class="card-content" style="height: 80px; padding:20px;">
|
||||
<?=$drow->description?>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-6 col-12">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex flex-column align-items-start pb-0">
|
||||
<div class="avatar bg-rgba-warning p-50 m-0">
|
||||
<div class="avatar-content">
|
||||
<i class="feather icon-package text-warning font-medium-5"></i>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="text-bold-700 mt-1 mb-25">97.5K</h2>
|
||||
<p class="mb-0">Orders Received</p>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<div id="orders-received-chart"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
<!-- Dashboard Analytics end -->
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END: Content-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
<!-- Dashboard Analytics end -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END: Content-->
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,192 @@
|
||||
<!-- BEGIN: Content-->
|
||||
<div class="app-content content">
|
||||
<div class="content-overlay"></div>
|
||||
<div class="header-navbar-shadow"></div>
|
||||
<div class="content-wrapper">
|
||||
<div class="content-header row">
|
||||
</div>
|
||||
<div class="content-body">
|
||||
|
||||
|
||||
<!-- Nav Centered And Nav End Starts -->
|
||||
<section id="nav-tabs-centered">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="card overflow-hidden">
|
||||
|
||||
<div class="card-content">
|
||||
<div class="card-body">
|
||||
<ul class="nav nav-tabs justify-content-center" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="home-tab-center" data-toggle="tab" href="#home-center" aria-controls="home-center" role="tab" aria-selected="true"><h4 class="card-title">The Best Page In the world</h4></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" id="service-tab-center" data-toggle="tab" href="#service-center" aria-controls="service-center" role="tab" aria-selected="false">Manage</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane" id="home-center" aria-labelledby="home-tab-center" role="tabpanel">
|
||||
<p>Candy canes donut chupa chups candy canes lemon drops oat cake wafer. Cotton candy candy canes
|
||||
marzipan carrot cake. Sesame snaps lemon drops candy marzipan donut brownie tootsie roll. Icing
|
||||
croissant bonbon biscuit gummi bears.</p>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xl-4 col-md-6 col-sm-12">
|
||||
|
||||
|
||||
|
||||
<div class="card collapse-icon accordion-icon-rotate">
|
||||
<div class="card-body">
|
||||
<div class="accordion" id="accordionExample" data-toggle-hover="true">
|
||||
<div class="collapse-margin">
|
||||
<div class="card-header" id="headingOne" data-toggle="collapse" role="button" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
|
||||
<span class="lead collapse-title collapsed">
|
||||
Accordion Item 1
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div id="collapseOne" class="collapse" aria-labelledby="headingOne" data-parent="#accordionExample">
|
||||
<div class="card-body">
|
||||
Pastry pudding cookie toffee bonbon jujubes jujubes powder topping. Jelly beans gummi bears sweet roll
|
||||
bonbon muffin liquorice. Wafer lollipop sesame snaps.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="collapse-margin">
|
||||
<div class="card-header" id="headingTwo" data-toggle="collapse" role="button" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
|
||||
<span class="lead collapse-title collapsed">
|
||||
Accordion Item 2
|
||||
</span>
|
||||
</div>
|
||||
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionExample">
|
||||
<div class="card-body">
|
||||
Sweet pie candy jelly. Sesame snaps biscuit sugar plum. Sweet roll topping fruitcake. Caramels
|
||||
liquorice biscuit ice cream fruitcake cotton candy tart.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="collapse-margin">
|
||||
<div class="card-header" id="headingThree" data-toggle="collapse" role="button" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
|
||||
<span class="lead collapse-title">
|
||||
Accordion Item 3
|
||||
</span>
|
||||
</div>
|
||||
<div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
|
||||
<div class="card-body">
|
||||
Tart gummies dragée lollipop fruitcake pastry oat cake. Cookie jelly jelly macaroon icing jelly beans
|
||||
soufflé cake sweet. Macaroon sesame snaps cheesecake tart cake sugar plum.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="collapse-margin">
|
||||
<div class="card-header" id="headingFour" data-toggle="collapse" role="button" data-target="#collapseFour" aria-expanded="true" aria-controls="collapseFour">
|
||||
<span class="lead collapse-title">
|
||||
Accordion Item 4
|
||||
</span>
|
||||
</div>
|
||||
<div id="collapseFour" class="collapse show" aria-labelledby="headingFour" data-parent="#accordionExample">
|
||||
<div class="card-body">
|
||||
Cheesecake muffin cupcake dragée lemon drops tiramisu cake gummies chocolate cake. Marshmallow tart
|
||||
croissant. Tart dessert tiramisu marzipan lollipop lemon drops.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-4 col-md-6 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">Video Card</h4>
|
||||
</div>
|
||||
<div class="embed-responsive embed-responsive-item embed-responsive-16by9">
|
||||
<iframe class="img-thumbnail" src="https://www.youtube.com/embed/vTlSEMdC5qw" allowfullscreen></iframe>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-text">Candy cupcake sugar plum oat cake wafer marzipan jujubes.</p>
|
||||
<a href="#" class="card-link">Card link</a>
|
||||
<a href="#" class="card-link">Another link</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-4 col-md-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">Feedback Form</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form class="form">
|
||||
<div class="form-body">
|
||||
<div class="form-group">
|
||||
<label for="feedback1" class="sr-only">Name</label>
|
||||
<input type="text" id="feedback1" class="form-control" placeholder="Name" name="name">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="feedback2" class="sr-only">Email</label>
|
||||
<input type="email" id="feedback2" class="form-control" placeholder="Email" name="email">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="feedback3" class="sr-only">Suggestion</label>
|
||||
<textarea id="feedback3" rows="3" class="form-control" name="message" placeholder="Suggestion"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-primary mr-1">Submit</button>
|
||||
<button type="reset" class="btn btn-outline-warning">Cancel</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="tab-pane active" id="service-center" aria-labelledby="service-tab-center" role="tabpanel">
|
||||
<p>Pudding candy canes sugar plum cookie chocolate cake powder croissant. Carrot cake tiramisu danish
|
||||
candy cake muffin croissant tart dessert. Tiramisu caramels candy canes chocolate cake sweet roll
|
||||
liquorice icing cupcake.</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Nav Centered And Nav End Ends -->
|
||||
|
||||
|
||||
<!-- Dashboard Analytics Start -->
|
||||
<section id="dashboard-analytics">
|
||||
<div class="row">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
<!-- Dashboard Analytics end -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END: Content-->
|
||||
|
||||
|
||||
@@ -23,13 +23,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/extensions/shepherd-theme-default.css">
|
||||
<!-- END: Vendor CSS-->
|
||||
|
||||
<!-- BEGIN: Vendor CSS-->
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/vendors.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/calendars/fullcalendar.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/calendars/extensions/daygrid.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/calendars/extensions/timegrid.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/pickers/pickadate/pickadate.css">
|
||||
<!-- END: Vendor CSS-->
|
||||
<!-- BEGIN: Vendor CSS-->
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/vendors.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/calendars/fullcalendar.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/calendars/extensions/daygrid.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/calendars/extensions/timegrid.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/pickers/pickadate/pickadate.css">
|
||||
<!-- END: Vendor CSS-->
|
||||
<!-- BEGIN: Theme CSS-->
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/css/bootstrap.css">
|
||||
<link rel="stylesheet" type="text/css" href="/assets2/css/bootstrap-extended.css">
|
||||
@@ -70,18 +70,20 @@
|
||||
<!-- li.nav-item.mobile-menu.d-xl-none.mr-auto-->
|
||||
<!-- a.nav-link.nav-menu-main.menu-toggle.hidden-xs(href='#')-->
|
||||
<!-- i.ficon.feather.icon-menu-->
|
||||
<!--
|
||||
<li class="nav-item d-none d-lg-block"><a class="nav-link" href="app-todo.html" data-toggle="tooltip" data-placement="top" title="Todo"><i class="ficon feather icon-check-square"></i></a></li>
|
||||
<li class="nav-item d-none d-lg-block"><a class="nav-link" href="app-chat.html" data-toggle="tooltip" data-placement="top" title="Chat"><i class="ficon feather icon-message-square"></i></a></li>
|
||||
<li class="nav-item d-none d-lg-block"><a class="nav-link" href="app-email.html" data-toggle="tooltip" data-placement="top" title="Email"><i class="ficon feather icon-mail"></i></a></li>
|
||||
<li class="nav-item d-none d-lg-block"><a class="nav-link" href="app-calender.html" data-toggle="tooltip" data-placement="top" title="Calendar"><i class="ficon feather icon-calendar"></i></a></li>
|
||||
-->
|
||||
</ul>
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="nav-item d-none d-lg-block"><a class="nav-link bookmark-star"><i class="ficon feather icon-star warning"></i></a>
|
||||
<div class="bookmark-input search-input">
|
||||
<!-- div class="bookmark-input search-input">
|
||||
<div class="bookmark-input-icon"><i class="feather icon-search primary"></i></div>
|
||||
<input class="form-control input" type="text" placeholder="Explore Vuexy..." tabindex="0" data-search="template-list">
|
||||
<ul class="search-list search-list-bookmark"></ul>
|
||||
</div>
|
||||
</div -->
|
||||
<!-- select.bookmark-select-->
|
||||
<!-- option Chat-->
|
||||
<!-- option email-->
|
||||
@@ -91,12 +93,12 @@
|
||||
</ul>
|
||||
</div>
|
||||
<ul class="nav navbar-nav float-right">
|
||||
<li class="dropdown dropdown-language nav-item"><a class="dropdown-toggle nav-link" id="dropdown-flag" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="flag-icon flag-icon-us"></i><span class="selected-language">English</span></a>
|
||||
<!-- li class="dropdown dropdown-language nav-item"><a class="dropdown-toggle nav-link" id="dropdown-flag" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="flag-icon flag-icon-us"></i><span class="selected-language">English</span></a>
|
||||
<div class="dropdown-menu" aria-labelledby="dropdown-flag"><a class="dropdown-item" href="#" data-language="en"><i class="flag-icon flag-icon-us"></i> English</a><a class="dropdown-item" href="#" data-language="fr"><i class="flag-icon flag-icon-fr"></i> French</a><a class="dropdown-item" href="#" data-language="de"><i class="flag-icon flag-icon-de"></i> German</a><a class="dropdown-item" href="#" data-language="pt"><i class="flag-icon flag-icon-pt"></i> Portuguese</a></div>
|
||||
</li>
|
||||
<li class="nav-item d-none d-lg-block"><a class="nav-link nav-link-expand"><i class="ficon feather icon-maximize"></i></a></li>
|
||||
<li class="nav-item d-none d-lg-block"><a class="nav-link nav-link-expand"><i class="ficon feather icon-maximize"></i></a></li -->
|
||||
|
||||
<li class="dropdown dropdown-notification nav-item"><a class="nav-link nav-link-label" href="#" data-toggle="dropdown"><i class="ficon feather icon-shopping-cart"></i><span class="badge badge-pill badge-primary badge-up cart-item-count">6</span></a>
|
||||
<!--- li class="dropdown dropdown-notification nav-item"><a class="nav-link nav-link-label" href="#" data-toggle="dropdown"><i class="ficon feather icon-shopping-cart"></i><span class="badge badge-pill badge-primary badge-up cart-item-count">6</span></a>
|
||||
<ul class="dropdown-menu dropdown-menu-media dropdown-cart dropdown-menu-right">
|
||||
<li class="dropdown-menu-header">
|
||||
<div class="dropdown-header m-0 p-2">
|
||||
@@ -149,8 +151,10 @@
|
||||
<li class="dropdown-menu-footer"><a class="dropdown-item p-1 text-center text-primary" href="app-ecommerce-checkout.html"><i class="feather icon-shopping-cart align-middle"></i><span class="align-middle text-bold-600">Checkout</span></a></li>
|
||||
<li class="empty-cart d-none p-2">Your Cart Is Empty.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown dropdown-notification nav-item"><a class="nav-link nav-link-label" href="#" data-toggle="dropdown"><i class="ficon feather icon-bell"></i><span class="badge badge-pill badge-primary badge-up">5</span></a>
|
||||
</li -->
|
||||
|
||||
|
||||
<!-- li class="dropdown dropdown-notification nav-item"><a class="nav-link nav-link-label" href="#" data-toggle="dropdown"><i class="ficon feather icon-bell"></i><span class="badge badge-pill badge-primary badge-up">5</span></a>
|
||||
<ul class="dropdown-menu dropdown-menu-media dropdown-menu-right">
|
||||
<li class="dropdown-menu-header">
|
||||
<div class="dropdown-header m-0 p-2">
|
||||
@@ -200,9 +204,9 @@
|
||||
</a></li>
|
||||
<li class="dropdown-menu-footer"><a class="dropdown-item p-1 text-center" href="javascript:void(0)">View all notifications</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</li -->
|
||||
<li class="dropdown dropdown-user nav-item"><a class="dropdown-toggle nav-link dropdown-user-link" href="#" data-toggle="dropdown">
|
||||
<div class="user-nav d-sm-flex d-none"><span class="user-name text-bold-600">John Doe</span><span class="user-status">Available</span></div><span><img class="round" src="/assets2/images/portrait/small/avatar-s-11.jpg" alt="avatar" height="40" width="40"></span>
|
||||
<div class="user-nav d-sm-flex d-none"><span class="user-name text-bold-600"> <?= isset($_SESSION['firstname']) ? $_SESSION['firstname'] : '' ?> <?= isset($_SESSION['lastname']) ? $_SESSION['lastname'] : '' ?></span><!-- span class="user-status">Available</span --></div><span><img class="round" src="/assets2/images/portrait/small/avatar-s-11.jpg" alt="avatar" height="40" width="40"></span>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right"><a class="dropdown-item" href="page-user-profile.html"><i class="feather icon-user"></i> Edit Profile</a><a class="dropdown-item" href="app-email.html"><i class="feather icon-mail"></i> My Inbox</a><a class="dropdown-item" href="app-todo.html"><i class="feather icon-check-square"></i> Task</a><a class="dropdown-item" href="app-chat.html"><i class="feather icon-message-square"></i> Chats</a>
|
||||
<div class="dropdown-divider"></div><a class="dropdown-item" href="/auth/logout"><i class="feather icon-power"></i> Logout</a>
|
||||
@@ -305,9 +309,9 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="shadow-bottom"></div>
|
||||
|
||||
|
||||
<?php include("common/side_menu.php"); ?>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!-- END: Main Menu-->
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
if (!array_key_exists('coregrade', $GLOBALS)) {
|
||||
$coregrade = new coregrade_api_oameye\coregrade();
|
||||
|
||||
$USER = $_SERVER['SCRIPT_FILENAME'];
|
||||
$USER = str_replace('/home', '', $USER);
|
||||
$USER = strtok($USER, '/');
|
||||
if ($USER=='opt') $USER = 'root';
|
||||
// Load API class
|
||||
/* $USER="savvy";
|
||||
$savvyext_class = 'savvyext_api_' . $USER . '\\SavvyExt';
|
||||
$savvyext = new $savvyext_class();
|
||||
*/
|
||||
|
||||
$coregrade_class = 'coregrade_api_' . $USER . '\\coregrade';
|
||||
if (!is_object($coregrade)) {
|
||||
$coregrade = new $coregrade_class();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -312,4 +312,7 @@ switch (ENVIRONMENT)
|
||||
*
|
||||
* And away we go...
|
||||
*/
|
||||
|
||||
require_once 'backend.php';
|
||||
|
||||
require_once BASEPATH.'core/CodeIgniter.php';
|
||||
|
||||
Reference in New Issue
Block a user