This commit is contained in:
2020-02-05 06:09:09 -05:00
parent d3ccc39e57
commit fb5c9b7709
35 changed files with 3740 additions and 2793 deletions
File diff suppressed because it is too large Load Diff
+76 -7
View File
@@ -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