Removed SOAP interswitch/storeface
This commit is contained in:
@@ -1,378 +0,0 @@
|
||||
/* envH.h
|
||||
Generated by gSOAP 2.8.16 from env.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 envH_H
|
||||
#define envH_H
|
||||
#include "envStub.h"
|
||||
#ifndef WITH_NOIDREF
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap*, const void*, int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap*);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
SOAP_FMAC3 void *SOAP_FMAC4 soap_getelement(struct soap*, int*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap*, const void*, const char*, int, int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap*);
|
||||
|
||||
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap);
|
||||
|
||||
SOAP_FMAC3 void * SOAP_FMAC4 env_instantiate(struct soap*, int, const char*, const char*, size_t*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 env_fdelete(struct soap_clist*);
|
||||
SOAP_FMAC3 void* SOAP_FMAC4 soap_class_id_enter(struct soap*, const char*, void*, int, size_t, const char*, const char*);
|
||||
|
||||
#ifndef SOAP_TYPE_byte
|
||||
#define SOAP_TYPE_byte (3)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap*, char *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap*, const char*, int, const char *, const char*);
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap*, const char*, char *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap*, const char *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_byte
|
||||
#define soap_write_byte(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_byte(soap, data),0) || soap_put_byte(soap, data, "byte", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap*, char *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_byte
|
||||
#define soap_read_byte(soap, data) ( soap_begin_recv(soap) || !soap_get_byte(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SOAP_TYPE_int
|
||||
#define SOAP_TYPE_int (1)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap*, int *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap*, const char*, int, const int *, const char*);
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap*, const char*, int *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap*, const int *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_int
|
||||
#define soap_write_int(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_int(soap, data),0) || soap_put_int(soap, data, "int", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap*, int *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_int
|
||||
#define soap_read_int(soap, data) ( soap_begin_recv(soap) || !soap_get_int(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_SOAP_ENV__Fault (14)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap*, const char*, int, const struct SOAP_ENV__Fault *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct soap*, const char*, struct SOAP_ENV__Fault *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Fault
|
||||
#define soap_write_SOAP_ENV__Fault(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Fault(soap, data),0) || soap_put_SOAP_ENV__Fault(soap, data, "SOAP-ENV:Fault", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Fault
|
||||
#define soap_read_SOAP_ENV__Fault(soap, data) ( soap_begin_recv(soap) || !soap_get_SOAP_ENV__Fault(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_SOAP_ENV__Fault(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Fault(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_req_SOAP_ENV__Fault(struct soap *soap) { struct SOAP_ENV__Fault *_p = soap_instantiate_SOAP_ENV__Fault(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Fault(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_set_SOAP_ENV__Fault(struct soap *soap, char *faultcode, char *faultstring, char *faultactor, struct SOAP_ENV__Detail *detail, struct SOAP_ENV__Code *SOAP_ENV__Code, struct SOAP_ENV__Reason *SOAP_ENV__Reason, char *SOAP_ENV__Node, char *SOAP_ENV__Role, struct SOAP_ENV__Detail *SOAP_ENV__Detail) { struct SOAP_ENV__Fault *_p = soap_instantiate_SOAP_ENV__Fault(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Fault(soap, _p); _p->faultcode = faultcode; _p->faultstring = faultstring; _p->faultactor = faultactor; _p->detail = detail; _p->SOAP_ENV__Code = SOAP_ENV__Code; _p->SOAP_ENV__Reason = SOAP_ENV__Reason; _p->SOAP_ENV__Node = SOAP_ENV__Node; _p->SOAP_ENV__Role = SOAP_ENV__Role; _p->SOAP_ENV__Detail = SOAP_ENV__Detail; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Fault(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_SOAP_ENV__Reason (13)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Reason(struct soap*, const struct SOAP_ENV__Reason *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Reason(struct soap*, const char*, int, const struct SOAP_ENV__Reason *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_in_SOAP_ENV__Reason(struct soap*, const char*, struct SOAP_ENV__Reason *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Reason(struct soap*, const struct SOAP_ENV__Reason *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Reason
|
||||
#define soap_write_SOAP_ENV__Reason(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Reason(soap, data),0) || soap_put_SOAP_ENV__Reason(soap, data, "SOAP-ENV:Reason", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_get_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Reason
|
||||
#define soap_read_SOAP_ENV__Reason(soap, data) ( soap_begin_recv(soap) || !soap_get_SOAP_ENV__Reason(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_SOAP_ENV__Reason(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Reason(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_req_SOAP_ENV__Reason(struct soap *soap) { struct SOAP_ENV__Reason *_p = soap_instantiate_SOAP_ENV__Reason(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Reason(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_set_SOAP_ENV__Reason(struct soap *soap, char *SOAP_ENV__Text) { struct SOAP_ENV__Reason *_p = soap_instantiate_SOAP_ENV__Reason(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Reason(soap, _p); _p->SOAP_ENV__Text = SOAP_ENV__Text; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Reason(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_SOAP_ENV__Detail (10)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap*, const char*, int, const struct SOAP_ENV__Detail *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Detail
|
||||
#define soap_write_SOAP_ENV__Detail(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Detail(soap, data),0) || soap_put_SOAP_ENV__Detail(soap, data, "SOAP-ENV:Detail", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Detail
|
||||
#define soap_read_SOAP_ENV__Detail(soap, data) ( soap_begin_recv(soap) || !soap_get_SOAP_ENV__Detail(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_SOAP_ENV__Detail(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Detail(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_req_SOAP_ENV__Detail(struct soap *soap, int __type, void *fault) { struct SOAP_ENV__Detail *_p = soap_instantiate_SOAP_ENV__Detail(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Detail(soap, _p); _p->__type = __type; _p->fault = fault; } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_set_SOAP_ENV__Detail(struct soap *soap, char *__any, int __type, void *fault) { struct SOAP_ENV__Detail *_p = soap_instantiate_SOAP_ENV__Detail(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Detail(soap, _p); _p->__any = __any; _p->__type = __type; _p->fault = fault; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Detail(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_SOAP_ENV__Code (8)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap*, const char*, int, const struct SOAP_ENV__Code *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Code
|
||||
#define soap_write_SOAP_ENV__Code(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Code(soap, data),0) || soap_put_SOAP_ENV__Code(soap, data, "SOAP-ENV:Code", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Code
|
||||
#define soap_read_SOAP_ENV__Code(soap, data) ( soap_begin_recv(soap) || !soap_get_SOAP_ENV__Code(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_SOAP_ENV__Code(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Code(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_req_SOAP_ENV__Code(struct soap *soap) { struct SOAP_ENV__Code *_p = soap_instantiate_SOAP_ENV__Code(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Code(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_set_SOAP_ENV__Code(struct soap *soap, char *SOAP_ENV__Value, struct SOAP_ENV__Code *SOAP_ENV__Subcode) { struct SOAP_ENV__Code *_p = soap_instantiate_SOAP_ENV__Code(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Code(soap, _p); _p->SOAP_ENV__Value = SOAP_ENV__Value; _p->SOAP_ENV__Subcode = SOAP_ENV__Subcode; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Code(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_SOAP_ENV__Header (7)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap*, const char*, int, const struct SOAP_ENV__Header *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap*, const char*, struct SOAP_ENV__Header *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Header
|
||||
#define soap_write_SOAP_ENV__Header(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Header(soap, data),0) || soap_put_SOAP_ENV__Header(soap, data, "SOAP-ENV:Header", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Header
|
||||
#define soap_read_SOAP_ENV__Header(soap, data) ( soap_begin_recv(soap) || !soap_get_SOAP_ENV__Header(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_SOAP_ENV__Header(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Header(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_req_SOAP_ENV__Header(struct soap *soap) { struct SOAP_ENV__Header *_p = soap_instantiate_SOAP_ENV__Header(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Header(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_set_SOAP_ENV__Header(struct soap *soap) { struct SOAP_ENV__Header *_p = soap_instantiate_SOAP_ENV__Header(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Header(soap, _p); } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Header(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Reason (16)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Reason(struct soap*, const char *, int, struct SOAP_ENV__Reason *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Reason(struct soap*, const char*, struct SOAP_ENV__Reason **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Reason
|
||||
#define soap_write_PointerToSOAP_ENV__Reason(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_PointerToSOAP_ENV__Reason(soap, data),0) || soap_put_PointerToSOAP_ENV__Reason(soap, data, "SOAP-ENV:Reason", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Reason
|
||||
#define soap_read_PointerToSOAP_ENV__Reason(soap, data) ( soap_begin_recv(soap) || !soap_get_PointerToSOAP_ENV__Reason(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Detail (15)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Detail(struct soap*, const char *, int, struct SOAP_ENV__Detail *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Detail
|
||||
#define soap_write_PointerToSOAP_ENV__Detail(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_PointerToSOAP_ENV__Detail(soap, data),0) || soap_put_PointerToSOAP_ENV__Detail(soap, data, "SOAP-ENV:Detail", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Detail
|
||||
#define soap_read_PointerToSOAP_ENV__Detail(soap, data) ( soap_begin_recv(soap) || !soap_get_PointerToSOAP_ENV__Detail(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Code (9)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap*, const char *, int, struct SOAP_ENV__Code *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Code
|
||||
#define soap_write_PointerToSOAP_ENV__Code(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_PointerToSOAP_ENV__Code(soap, data),0) || soap_put_PointerToSOAP_ENV__Code(soap, data, "SOAP-ENV:Code", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Code
|
||||
#define soap_read_PointerToSOAP_ENV__Code(soap, data) ( soap_begin_recv(soap) || !soap_get_PointerToSOAP_ENV__Code(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#define SOAP_TYPE__QName (5)
|
||||
#endif
|
||||
|
||||
#define soap_default__QName(soap, a) soap_default_string(soap, a)
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap*, char *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap*, const char*, int, char*const*, const char*);
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap*, const char*, char **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap*, char *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write__QName
|
||||
#define soap_write__QName(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize__QName(soap, data),0) || soap_put__QName(soap, data, "byte", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap*, char **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read__QName
|
||||
#define soap_read__QName(soap, data) ( soap_begin_recv(soap) || !soap_get__QName(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SOAP_TYPE_string
|
||||
#define SOAP_TYPE_string (4)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap*, char **);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap*, char *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap*, const char*, int, char*const*, const char*);
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap*, const char*, char **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap*, char *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_string
|
||||
#define soap_write_string(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_string(soap, data),0) || soap_put_string(soap, data, "byte", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap*, char **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_string
|
||||
#define soap_read_string(soap, data) ( soap_begin_recv(soap) || !soap_get_string(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* End of envH.h */
|
||||
@@ -1,163 +0,0 @@
|
||||
/* envStub.h
|
||||
Generated by gSOAP 2.8.16 from env.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 envStub_H
|
||||
#define envStub_H
|
||||
#include "stdsoap2.h"
|
||||
#if GSOAP_VERSION != 20816
|
||||
# error "GSOAP VERSION MISMATCH IN GENERATED CODE: PLEASE REINSTALL PACKAGE"
|
||||
#endif
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Enumerations *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Types with Custom Serializers *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Classes and Structs *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
#if 0 /* volatile type: do not declare here, declared elsewhere */
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_SOAP_ENV__Header (7)
|
||||
/* SOAP Header: */
|
||||
struct SOAP_ENV__Header
|
||||
{
|
||||
public:
|
||||
int soap_type() const { return 7; } /* = unique id SOAP_TYPE_SOAP_ENV__Header */
|
||||
#ifdef WITH_NOEMPTYSTRUCT
|
||||
private:
|
||||
char dummy; /* dummy member to enable compilation */
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_SOAP_ENV__Code (8)
|
||||
/* SOAP Fault Code: */
|
||||
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 8; } /* = unique id SOAP_TYPE_SOAP_ENV__Code */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_SOAP_ENV__Detail (10)
|
||||
/* SOAP-ENV:Detail */
|
||||
struct SOAP_ENV__Detail
|
||||
{
|
||||
public:
|
||||
char *__any;
|
||||
int __type; /* any type of element <fault> (defined below) */
|
||||
void *fault; /* transient */
|
||||
public:
|
||||
int soap_type() const { return 10; } /* = unique id SOAP_TYPE_SOAP_ENV__Detail */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_SOAP_ENV__Reason (13)
|
||||
/* SOAP-ENV:Reason */
|
||||
struct SOAP_ENV__Reason
|
||||
{
|
||||
public:
|
||||
char *SOAP_ENV__Text; /* optional element of type xsd:string */
|
||||
public:
|
||||
int soap_type() const { return 13; } /* = unique id SOAP_TYPE_SOAP_ENV__Reason */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_SOAP_ENV__Fault (14)
|
||||
/* SOAP Fault: */
|
||||
struct SOAP_ENV__Fault
|
||||
{
|
||||
public:
|
||||
char *faultcode; /* optional element of type xsd:QName */
|
||||
char *faultstring; /* optional element of type xsd:string */
|
||||
char *faultactor; /* optional element of type xsd:string */
|
||||
struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */
|
||||
struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of type SOAP-ENV:Reason */
|
||||
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 14; } /* = unique id SOAP_TYPE_SOAP_ENV__Fault */
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Typedefs *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#define SOAP_TYPE__QName (5)
|
||||
typedef char *_QName;
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE__XML
|
||||
#define SOAP_TYPE__XML (6)
|
||||
typedef char *_XML;
|
||||
#endif
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Externals *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* End of envStub.h */
|
||||
@@ -1,37 +0,0 @@
|
||||
#ifndef __INTERSWITCH_H__
|
||||
#define __INTERSWITCH_H__
|
||||
|
||||
#include "vars.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <ext/hash_map>
|
||||
|
||||
using namespace std;
|
||||
using namespace __gnu_cxx;
|
||||
|
||||
/*****************************************************************************/
|
||||
struct eqstr{
|
||||
bool operator()(const char* s1, const char* s2) const {
|
||||
return strcmp(s1,s2)==0;
|
||||
}
|
||||
};
|
||||
/*****************************************************************************/
|
||||
|
||||
long interswitch_config_ssl(const char *keyfile, const char *password, const char *cacert, long version);
|
||||
long interswitch_getBillers(const char *endpoint, const char *tid, int billerId, int categoryId, int channelId, const char *billerName, char *status, long(*save)(hash_map<const char*, const char*, hash<const char*>, eqstr>));
|
||||
long interswitch_getBillerPaymentItems(const char *endpoint, const char *tid, int billerId, char *status, long(*save)(const char*, hash_map<const char*, const char*, hash<const char*>, eqstr>));
|
||||
long interswitch_getBillerCategories(const char *endpoint, char *error, long(*save)(hash_map<const char*, const char*, hash<const char*>, eqstr>));
|
||||
string interswitch_getBankCodes(const char *endpoint, const char *tid, char *status);
|
||||
string interswitch_queryTransaction(const char *endpoint, const char *tid, const char *transferCode, const char *requestReference, char *status, char *transactionResponseCode);
|
||||
long interswitch_getBalance(const char *endpoint, const char *tid, const char *mkey, const char *pin, char *status);
|
||||
string interswitch_transferFunds(const char *endpoint, const char *tid, const char *mkey, const char *pin, char *error, const char *account, const char *uniqueRef, const char *bankCode, long currency, long amount ,CVars trans_info);
|
||||
string interswitch_SendBillPaymentAdvice(const char *endpoint, const char *tid, long amount, const char *paymentCode, long customerId, const char *requestReference, char *status, char *transactionRef,char *customer_mobile,char *customer_email);
|
||||
string interswitch_doTransfer(const char *endpoint, const char *tid, CVars trans_info, char *error);
|
||||
//char * interswitch_pinChange(const char *tid, const char *mkey, const char *pin, char *status);
|
||||
long interswitch_test();
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
vi:ts=2
|
||||
*/
|
||||
@@ -1,12 +0,0 @@
|
||||
|
||||
#include "interswitchH.h"
|
||||
SOAP_NMAC struct Namespace interswitch_namespaces[] =
|
||||
{
|
||||
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://schemas.xmlsoap.org/soap/envelope/", NULL},
|
||||
{"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://www.w3.org/2003/05/soap-encoding", NULL},
|
||||
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
|
||||
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
|
||||
{"interswitch2", "http://schemas.microsoft.com/2003/10/Serialization/", NULL, NULL},
|
||||
{"interswitch", "http://services.interswitchng.com/quicktellerservice/", NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
@@ -1,171 +0,0 @@
|
||||
/* interswitchBasicHttpBinding_USCOREQuickTellerServiceProxy.h
|
||||
Generated by gSOAP 2.7.16 from QuickTellerService.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.
|
||||
*/
|
||||
|
||||
#ifndef interswitchBasicHttpBinding_USCOREQuickTellerServiceProxy_H
|
||||
#define interswitchBasicHttpBinding_USCOREQuickTellerServiceProxy_H
|
||||
#include "interswitchH.h"
|
||||
|
||||
namespace interswitch {
|
||||
|
||||
class SOAP_CMAC BasicHttpBinding_USCOREQuickTellerServiceProxy : public soap
|
||||
{ public:
|
||||
/// Endpoint URL of service 'BasicHttpBinding_USCOREQuickTellerServiceProxy' (change as needed)
|
||||
const char *soap_endpoint;
|
||||
/// Constructor
|
||||
BasicHttpBinding_USCOREQuickTellerServiceProxy();
|
||||
/// Constructor with copy of another engine state
|
||||
BasicHttpBinding_USCOREQuickTellerServiceProxy(const struct soap&);
|
||||
/// Constructor with engine input+output mode control
|
||||
BasicHttpBinding_USCOREQuickTellerServiceProxy(soap_mode iomode);
|
||||
/// Constructor with engine input and output mode control
|
||||
BasicHttpBinding_USCOREQuickTellerServiceProxy(soap_mode imode, soap_mode omode);
|
||||
/// Destructor frees deserialized data
|
||||
virtual ~BasicHttpBinding_USCOREQuickTellerServiceProxy();
|
||||
/// Initializer used by constructors
|
||||
virtual void BasicHttpBinding_USCOREQuickTellerServiceProxy_init(soap_mode imode, soap_mode omode);
|
||||
/// Delete all deserialized data (uses soap_destroy and soap_end)
|
||||
virtual void destroy();
|
||||
/// Disables and removes SOAP Header from message
|
||||
virtual void soap_noheader();
|
||||
/// 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)
|
||||
virtual int soap_close_socket();
|
||||
/// Print fault
|
||||
virtual void soap_print_fault(FILE*);
|
||||
#ifndef WITH_LEAN
|
||||
/// Print fault to stream
|
||||
virtual void soap_stream_fault(std::ostream&);
|
||||
/// Put fault into buffer
|
||||
virtual char *soap_sprint_fault(char *buf, size_t len);
|
||||
#endif
|
||||
|
||||
/// Web service operation 'ValidateCustomer' (returns error code or SOAP_OK)
|
||||
virtual int ValidateCustomer(_interswitch__ValidateCustomer *interswitch__ValidateCustomer, _interswitch__ValidateCustomerResponse *interswitch__ValidateCustomerResponse);
|
||||
|
||||
/// Web service operation 'DoTransfer' (returns error code or SOAP_OK)
|
||||
virtual int DoTransfer(_interswitch__DoTransfer *interswitch__DoTransfer, _interswitch__DoTransferResponse *interswitch__DoTransferResponse);
|
||||
|
||||
/// Web service operation 'CancelTransfer' (returns error code or SOAP_OK)
|
||||
virtual int CancelTransfer(_interswitch__CancelTransfer *interswitch__CancelTransfer, _interswitch__CancelTransferResponse *interswitch__CancelTransferResponse);
|
||||
|
||||
/// Web service operation 'SendSessionKey' (returns error code or SOAP_OK)
|
||||
virtual int SendSessionKey(_interswitch__SendSessionKey *interswitch__SendSessionKey, _interswitch__SendSessionKeyResponse *interswitch__SendSessionKeyResponse);
|
||||
|
||||
/// Web service operation 'QueryTransfer' (returns error code or SOAP_OK)
|
||||
virtual int QueryTransfer(_interswitch__QueryTransfer *interswitch__QueryTransfer, _interswitch__QueryTransferResponse *interswitch__QueryTransferResponse);
|
||||
|
||||
/// Web service operation 'AuthoriseCashOut' (returns error code or SOAP_OK)
|
||||
virtual int AuthoriseCashOut(_interswitch__AuthoriseCashOut *interswitch__AuthoriseCashOut, _interswitch__AuthoriseCashOutResponse *interswitch__AuthoriseCashOutResponse);
|
||||
|
||||
/// Web service operation 'AuthoriseAccountCashOut' (returns error code or SOAP_OK)
|
||||
virtual int AuthoriseAccountCashOut(_interswitch__AuthoriseAccountCashOut *interswitch__AuthoriseAccountCashOut, _interswitch__AuthoriseAccountCashOutResponse *interswitch__AuthoriseAccountCashOutResponse);
|
||||
|
||||
/// Web service operation 'ReverseCashOut' (returns error code or SOAP_OK)
|
||||
virtual int ReverseCashOut(_interswitch__ReverseCashOut *interswitch__ReverseCashOut, _interswitch__ReverseCashOutResponse *interswitch__ReverseCashOutResponse);
|
||||
|
||||
/// Web service operation 'StatusCheck' (returns error code or SOAP_OK)
|
||||
virtual int StatusCheck(_interswitch__StatusCheck *interswitch__StatusCheck, _interswitch__StatusCheckResponse *interswitch__StatusCheckResponse);
|
||||
|
||||
/// Web service operation 'QueryTransaction' (returns error code or SOAP_OK)
|
||||
virtual int QueryTransaction(_interswitch__QueryTransaction *interswitch__QueryTransaction, _interswitch__QueryTransactionResponse *interswitch__QueryTransactionResponse);
|
||||
|
||||
/// Web service operation 'GetSystemSettings' (returns error code or SOAP_OK)
|
||||
virtual int GetSystemSettings(_interswitch__GetSystemSettings *interswitch__GetSystemSettings, _interswitch__GetSystemSettingsResponse *interswitch__GetSystemSettingsResponse);
|
||||
|
||||
/// Web service operation 'CreateUser' (returns error code or SOAP_OK)
|
||||
virtual int CreateUser(_interswitch__CreateUser *interswitch__CreateUser, _interswitch__CreateUserResponse *interswitch__CreateUserResponse);
|
||||
|
||||
/// Web service operation 'ActivateUser' (returns error code or SOAP_OK)
|
||||
virtual int ActivateUser(_interswitch__ActivateUser *interswitch__ActivateUser, _interswitch__ActivateUserResponse *interswitch__ActivateUserResponse);
|
||||
|
||||
/// Web service operation 'UpdateUser' (returns error code or SOAP_OK)
|
||||
virtual int UpdateUser(_interswitch__UpdateUser *interswitch__UpdateUser, _interswitch__UpdateUserResponse *interswitch__UpdateUserResponse);
|
||||
|
||||
/// Web service operation 'ChangePassword' (returns error code or SOAP_OK)
|
||||
virtual int ChangePassword(_interswitch__ChangePassword *interswitch__ChangePassword, _interswitch__ChangePasswordResponse *interswitch__ChangePasswordResponse);
|
||||
|
||||
/// Web service operation 'ResetPassword' (returns error code or SOAP_OK)
|
||||
virtual int ResetPassword(_interswitch__ResetPassword *interswitch__ResetPassword, _interswitch__ResetPasswordResponse *interswitch__ResetPasswordResponse);
|
||||
|
||||
/// Web service operation 'AuthenticateUser' (returns error code or SOAP_OK)
|
||||
virtual int AuthenticateUser(_interswitch__AuthenticateUser *interswitch__AuthenticateUser, _interswitch__AuthenticateUserResponse *interswitch__AuthenticateUserResponse);
|
||||
|
||||
/// Web service operation 'AuthenticateUserSecurityToken' (returns error code or SOAP_OK)
|
||||
virtual int AuthenticateUserSecurityToken(_interswitch__AuthenticateUserSecurityToken *interswitch__AuthenticateUserSecurityToken, _interswitch__AuthenticateUserSecurityTokenResponse *interswitch__AuthenticateUserSecurityTokenResponse);
|
||||
|
||||
/// Web service operation 'GetUser' (returns error code or SOAP_OK)
|
||||
virtual int GetUser(_interswitch__GetUser *interswitch__GetUser, _interswitch__GetUserResponse *interswitch__GetUserResponse);
|
||||
|
||||
/// Web service operation 'GetBillers' (returns error code or SOAP_OK)
|
||||
virtual int GetBillers(_interswitch__GetBillers *interswitch__GetBillers, _interswitch__GetBillersResponse *interswitch__GetBillersResponse);
|
||||
|
||||
/// Web service operation 'GetLatestBillers' (returns error code or SOAP_OK)
|
||||
virtual int GetLatestBillers(_interswitch__GetLatestBillers *interswitch__GetLatestBillers, _interswitch__GetLatestBillersResponse *interswitch__GetLatestBillersResponse);
|
||||
|
||||
/// Web service operation 'GetFeaturedBillers' (returns error code or SOAP_OK)
|
||||
virtual int GetFeaturedBillers(_interswitch__GetFeaturedBillers *interswitch__GetFeaturedBillers, _interswitch__GetFeaturedBillersResponse *interswitch__GetFeaturedBillersResponse);
|
||||
|
||||
/// Web service operation 'GetBillerPaymentItems' (returns error code or SOAP_OK)
|
||||
virtual int GetBillerPaymentItems(_interswitch__GetBillerPaymentItems *interswitch__GetBillerPaymentItems, _interswitch__GetBillerPaymentItemsResponse *interswitch__GetBillerPaymentItemsResponse);
|
||||
|
||||
/// Web service operation 'GetBillerCategories' (returns error code or SOAP_OK)
|
||||
virtual int GetBillerCategories(_interswitch__GetBillerCategories *interswitch__GetBillerCategories, _interswitch__GetBillerCategoriesResponse *interswitch__GetBillerCategoriesResponse);
|
||||
|
||||
/// Web service operation 'DoBillPaymentInquiry' (returns error code or SOAP_OK)
|
||||
virtual int DoBillPaymentInquiry(_interswitch__DoBillPaymentInquiry *interswitch__DoBillPaymentInquiry, _interswitch__DoBillPaymentInquiryResponse *interswitch__DoBillPaymentInquiryResponse);
|
||||
|
||||
/// Web service operation 'AuthenticateCustomer' (returns error code or SOAP_OK)
|
||||
virtual int AuthenticateCustomer(_interswitch__AuthenticateCustomer *interswitch__AuthenticateCustomer, _interswitch__AuthenticateCustomerResponse *interswitch__AuthenticateCustomerResponse);
|
||||
|
||||
/// Web service operation 'SendBillPaymentAdvice' (returns error code or SOAP_OK)
|
||||
virtual int SendBillPaymentAdvice(_interswitch__SendBillPaymentAdvice *interswitch__SendBillPaymentAdvice, _interswitch__SendBillPaymentAdviceResponse *interswitch__SendBillPaymentAdviceResponse);
|
||||
|
||||
/// Web service operation 'SendPayments' (returns error code or SOAP_OK)
|
||||
virtual int SendPayments(_interswitch__SendPayments *interswitch__SendPayments, _interswitch__SendPaymentsResponse *interswitch__SendPaymentsResponse);
|
||||
|
||||
/// Web service operation 'AddCustomerBillerAccount' (returns error code or SOAP_OK)
|
||||
virtual int AddCustomerBillerAccount(_interswitch__AddCustomerBillerAccount *interswitch__AddCustomerBillerAccount, _interswitch__AddCustomerBillerAccountResponse *interswitch__AddCustomerBillerAccountResponse);
|
||||
|
||||
/// Web service operation 'GetCustomerBillerAccounts' (returns error code or SOAP_OK)
|
||||
virtual int GetCustomerBillerAccounts(_interswitch__GetCustomerBillerAccounts *interswitch__GetCustomerBillerAccounts, _interswitch__GetCustomerBillerAccountsResponse *interswitch__GetCustomerBillerAccountsResponse);
|
||||
|
||||
/// Web service operation 'GetCustomerPayments' (returns error code or SOAP_OK)
|
||||
virtual int GetCustomerPayments(_interswitch__GetCustomerPayments *interswitch__GetCustomerPayments, _interswitch__GetCustomerPaymentsResponse *interswitch__GetCustomerPaymentsResponse);
|
||||
|
||||
/// Web service operation 'AddBillerCustomer' (returns error code or SOAP_OK)
|
||||
virtual int AddBillerCustomer(_interswitch__AddBillerCustomer *interswitch__AddBillerCustomer, _interswitch__AddBillerCustomerResponse *interswitch__AddBillerCustomerResponse);
|
||||
|
||||
/// Web service operation 'GetCollectionsAccount' (returns error code or SOAP_OK)
|
||||
virtual int GetCollectionsAccount(_interswitch__GetCollectionsAccount *interswitch__GetCollectionsAccount, _interswitch__GetCollectionsAccountResponse *interswitch__GetCollectionsAccountResponse);
|
||||
|
||||
/// Web service operation 'GetBillersCollectionsAccount' (returns error code or SOAP_OK)
|
||||
virtual int GetBillersCollectionsAccount(_interswitch__GetBillersCollectionsAccount *interswitch__GetBillersCollectionsAccount, _interswitch__GetBillersCollectionsAccountResponse *interswitch__GetBillersCollectionsAccountResponse);
|
||||
|
||||
/// Web service operation 'EditCustomerBillerAccount' (returns error code or SOAP_OK)
|
||||
virtual int EditCustomerBillerAccount(_interswitch__EditCustomerBillerAccount *interswitch__EditCustomerBillerAccount, _interswitch__EditCustomerBillerAccountResponse *interswitch__EditCustomerBillerAccountResponse);
|
||||
|
||||
/// Web service operation 'ResendActivationToken' (returns error code or SOAP_OK)
|
||||
virtual int ResendActivationToken(_interswitch__ResendActivationToken *interswitch__ResendActivationToken, _interswitch__ResendActivationTokenResponse *interswitch__ResendActivationTokenResponse);
|
||||
|
||||
/// Web service operation 'DoCustomProcessing' (returns error code or SOAP_OK)
|
||||
virtual int DoCustomProcessing(_interswitch__DoCustomProcessing *interswitch__DoCustomProcessing, _interswitch__DoCustomProcessingResponse *interswitch__DoCustomProcessingResponse);
|
||||
|
||||
/// Web service operation 'CreateBiller' (returns error code or SOAP_OK)
|
||||
virtual int CreateBiller(_interswitch__CreateBiller *interswitch__CreateBiller, _interswitch__CreateBillerResponse *interswitch__CreateBillerResponse);
|
||||
|
||||
/// Web service operation 'VerifyBiller' (returns error code or SOAP_OK)
|
||||
virtual int VerifyBiller(_interswitch__VerifyBiller *interswitch__VerifyBiller, _interswitch__VerifyBillerResponse *interswitch__VerifyBillerResponse);
|
||||
};
|
||||
|
||||
} // namespace interswitch
|
||||
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,28 +0,0 @@
|
||||
#ifndef __INTERSITCH_SENDMONEY_H__
|
||||
#define __INTERSITCH_SENDMONEY_H__
|
||||
|
||||
#include <stdarg.h>
|
||||
#include "vars.h"
|
||||
#include "interswitch.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
long INTW_configure(CVars in, CVars &out);
|
||||
long INTW_getBillersSave(hash_map<const char*, const char*, hash<const char*>, eqstr> saveData);
|
||||
long INTW_getBillers(CVars in, CVars &out);
|
||||
long INTW_getSaveGeneric(const char *table, hash_map<const char*, const char*, hash<const char*>, eqstr> saveData);
|
||||
long INTW_getBillerPaymentItems(CVars in, CVars &out);
|
||||
long INTW_getBillerCategories(CVars in, CVars &out );
|
||||
long INTW_sendBillPaymentAdvice(CVars in, CVars &out );
|
||||
long INTW_doTransfer(CVars in, CVars &out );
|
||||
long INTW_queryTransaction(CVars in, CVars &out );
|
||||
long INTW_doServiceTransfer(CVars in, CVars &out );
|
||||
long do_transferPayment(CVars pm);
|
||||
long INTW_querySendMoneyTransaction(CVars in, CVars &out);
|
||||
long INTW_doCompleteSavedTransfer(CVars in, CVars &out);
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#ifndef __PAYLID_H__
|
||||
#define __PAYLID_H__
|
||||
|
||||
long storeface_getAccountBalance(const char *endpoint, const char *tid, const char *key, char *status);
|
||||
long storeface_transferFund(const char *endpoint, const char *tid, const char *toDestination, const char *key, char *status);
|
||||
long storeface_checkTransferStatus(const char *endpoint, const char *tid, const char *transactionRef, const char *key, char *status);
|
||||
long storeface_directAirTimeTopUp(const char *endpoint, const char *tid, const char *topupData, const char *key, char *status, long &delivery_status);
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
vi:ts=2
|
||||
*/
|
||||
@@ -1,11 +0,0 @@
|
||||
|
||||
#include "paylidH.h"
|
||||
SOAP_NMAC struct Namespace paylid_namespaces[] =
|
||||
{
|
||||
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
|
||||
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
|
||||
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
|
||||
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
|
||||
{"paylid", "urn:paylidwsdl", NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
@@ -1,915 +0,0 @@
|
||||
/* paylidH.h
|
||||
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 paylidH_H
|
||||
#define paylidH_H
|
||||
#include "paylidStub.h"
|
||||
|
||||
namespace paylid {
|
||||
#ifndef WITH_NOIDREF
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap*, const void*, int);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap*);
|
||||
#endif
|
||||
SOAP_FMAC3 void *SOAP_FMAC4 soap_getelement(struct soap*, int*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap*, const void*, const char*, int, int);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap*);
|
||||
|
||||
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap);
|
||||
|
||||
SOAP_FMAC3 void * SOAP_FMAC4 paylid_instantiate(struct soap*, int, const char*, const char*, size_t*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 paylid_fdelete(struct soap_clist*);
|
||||
SOAP_FMAC3 void* SOAP_FMAC4 soap_class_id_enter(struct soap*, const char*, void*, int, size_t, const char*, const char*);
|
||||
|
||||
SOAP_FMAC3 void* SOAP_FMAC4 soap_container_id_forward(struct soap*, const char*, void*, size_t, int, int, size_t, unsigned int);
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 paylid_container_insert(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_byte
|
||||
#define SOAP_TYPE_paylid_byte (3)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap*, char *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap*, const char*, int, const char *, const char*);
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap*, const char*, char *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap*, const char *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_byte
|
||||
#define soap_write_byte(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_byte(soap, data),0) || paylid::soap_put_byte(soap, data, "byte", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap*, char *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_byte
|
||||
#define soap_read_byte(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_byte(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_int
|
||||
#define SOAP_TYPE_paylid_int (1)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap*, int *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap*, const char*, int, const int *, const char*);
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap*, const char*, int *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap*, const int *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_int
|
||||
#define soap_write_int(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_int(soap, data),0) || paylid::soap_put_int(soap, data, "int", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap*, int *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_int
|
||||
#define soap_read_int(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_int(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_std__string
|
||||
#define SOAP_TYPE_paylid_std__string (9)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__string(struct soap*, std::string *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__string(struct soap*, const std::string *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__string(struct soap*, const char*, int, const std::string*, const char*);
|
||||
SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_std__string(struct soap*, const char*, std::string*, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__string(struct soap*, const std::string *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_std__string
|
||||
#define soap_write_std__string(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_std__string(soap, data),0) || soap_put_std__string(soap, data, "string", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_std__string(struct soap*, std::string *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_std__string
|
||||
#define soap_read_std__string(soap, data) ( soap_begin_recv(soap) || !soap_get_std__string(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 std::string * SOAP_FMAC2 soap_instantiate_std__string(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline std::string * soap_new_std__string(struct soap *soap, int n = -1) { return soap_instantiate_std__string(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline std::string * soap_new_req_std__string(struct soap *soap) { std::string *_p = soap_instantiate_std__string(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_std__string(soap, _p); } return _p; }
|
||||
|
||||
inline std::string * soap_new_set_std__string(struct soap *soap) { std::string *_p = soap_instantiate_std__string(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_std__string(soap, _p); } return _p; }
|
||||
|
||||
inline void soap_delete_std__string(struct soap *soap, std::string *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_std__string(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Fault (48)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap*, const char*, int, const struct SOAP_ENV__Fault *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct soap*, const char*, struct SOAP_ENV__Fault *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Fault
|
||||
#define soap_write_SOAP_ENV__Fault(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_SOAP_ENV__Fault(soap, data),0) || paylid::soap_put_SOAP_ENV__Fault(soap, data, "SOAP-ENV:Fault", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Fault
|
||||
#define soap_read_SOAP_ENV__Fault(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_SOAP_ENV__Fault(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_SOAP_ENV__Fault(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Fault(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_req_SOAP_ENV__Fault(struct soap *soap) { struct SOAP_ENV__Fault *_p = soap_instantiate_SOAP_ENV__Fault(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Fault(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_set_SOAP_ENV__Fault(struct soap *soap, char *faultcode, char *faultstring, char *faultactor, struct SOAP_ENV__Detail *detail, struct SOAP_ENV__Code *SOAP_ENV__Code, struct SOAP_ENV__Reason *SOAP_ENV__Reason, char *SOAP_ENV__Node, char *SOAP_ENV__Role, struct SOAP_ENV__Detail *SOAP_ENV__Detail) { struct SOAP_ENV__Fault *_p = soap_instantiate_SOAP_ENV__Fault(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Fault(soap, _p); _p->faultcode = faultcode; _p->faultstring = faultstring; _p->faultactor = faultactor; _p->detail = detail; _p->SOAP_ENV__Code = SOAP_ENV__Code; _p->SOAP_ENV__Reason = SOAP_ENV__Reason; _p->SOAP_ENV__Node = SOAP_ENV__Node; _p->SOAP_ENV__Role = SOAP_ENV__Role; _p->SOAP_ENV__Detail = SOAP_ENV__Detail; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Fault(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Reason (47)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Reason(struct soap*, const struct SOAP_ENV__Reason *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Reason(struct soap*, const char*, int, const struct SOAP_ENV__Reason *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_in_SOAP_ENV__Reason(struct soap*, const char*, struct SOAP_ENV__Reason *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Reason(struct soap*, const struct SOAP_ENV__Reason *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Reason
|
||||
#define soap_write_SOAP_ENV__Reason(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_SOAP_ENV__Reason(soap, data),0) || paylid::soap_put_SOAP_ENV__Reason(soap, data, "SOAP-ENV:Reason", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_get_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Reason
|
||||
#define soap_read_SOAP_ENV__Reason(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_SOAP_ENV__Reason(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_SOAP_ENV__Reason(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Reason(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_req_SOAP_ENV__Reason(struct soap *soap) { struct SOAP_ENV__Reason *_p = soap_instantiate_SOAP_ENV__Reason(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Reason(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_set_SOAP_ENV__Reason(struct soap *soap, char *SOAP_ENV__Text) { struct SOAP_ENV__Reason *_p = soap_instantiate_SOAP_ENV__Reason(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Reason(soap, _p); _p->SOAP_ENV__Text = SOAP_ENV__Text; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Reason(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Detail (44)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap*, const char*, int, const struct SOAP_ENV__Detail *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Detail
|
||||
#define soap_write_SOAP_ENV__Detail(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_SOAP_ENV__Detail(soap, data),0) || paylid::soap_put_SOAP_ENV__Detail(soap, data, "SOAP-ENV:Detail", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Detail
|
||||
#define soap_read_SOAP_ENV__Detail(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_SOAP_ENV__Detail(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_SOAP_ENV__Detail(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Detail(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_req_SOAP_ENV__Detail(struct soap *soap, int __type, void *fault) { struct SOAP_ENV__Detail *_p = soap_instantiate_SOAP_ENV__Detail(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Detail(soap, _p); _p->__type = __type; _p->fault = fault; } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_set_SOAP_ENV__Detail(struct soap *soap, char *__any, int __type, void *fault) { struct SOAP_ENV__Detail *_p = soap_instantiate_SOAP_ENV__Detail(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Detail(soap, _p); _p->__any = __any; _p->__type = __type; _p->fault = fault; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Detail(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Code (42)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap*, const char*, int, const struct SOAP_ENV__Code *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Code
|
||||
#define soap_write_SOAP_ENV__Code(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_SOAP_ENV__Code(soap, data),0) || paylid::soap_put_SOAP_ENV__Code(soap, data, "SOAP-ENV:Code", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Code
|
||||
#define soap_read_SOAP_ENV__Code(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_SOAP_ENV__Code(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_SOAP_ENV__Code(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Code(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_req_SOAP_ENV__Code(struct soap *soap) { struct SOAP_ENV__Code *_p = soap_instantiate_SOAP_ENV__Code(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Code(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_set_SOAP_ENV__Code(struct soap *soap, char *SOAP_ENV__Value, struct SOAP_ENV__Code *SOAP_ENV__Subcode) { struct SOAP_ENV__Code *_p = soap_instantiate_SOAP_ENV__Code(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Code(soap, _p); _p->SOAP_ENV__Value = SOAP_ENV__Value; _p->SOAP_ENV__Subcode = SOAP_ENV__Subcode; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Code(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Header (41)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap*, const char*, int, const struct SOAP_ENV__Header *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap*, const char*, struct SOAP_ENV__Header *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Header
|
||||
#define soap_write_SOAP_ENV__Header(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_SOAP_ENV__Header(soap, data),0) || paylid::soap_put_SOAP_ENV__Header(soap, data, "SOAP-ENV:Header", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Header
|
||||
#define soap_read_SOAP_ENV__Header(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_SOAP_ENV__Header(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_SOAP_ENV__Header(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Header(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_req_SOAP_ENV__Header(struct soap *soap) { struct SOAP_ENV__Header *_p = soap_instantiate_SOAP_ENV__Header(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Header(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_set_SOAP_ENV__Header(struct soap *soap) { struct SOAP_ENV__Header *_p = soap_instantiate_SOAP_ENV__Header(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Header(soap, _p); } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Header(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getSupportedBanks
|
||||
#define SOAP_TYPE_paylid_paylid__getSupportedBanks (40)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getSupportedBanks(struct soap*, struct paylid__getSupportedBanks *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getSupportedBanks(struct soap*, const struct paylid__getSupportedBanks *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getSupportedBanks(struct soap*, const char*, int, const struct paylid__getSupportedBanks *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getSupportedBanks * SOAP_FMAC4 soap_in_paylid__getSupportedBanks(struct soap*, const char*, struct paylid__getSupportedBanks *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getSupportedBanks(struct soap*, const struct paylid__getSupportedBanks *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getSupportedBanks
|
||||
#define soap_write_paylid__getSupportedBanks(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getSupportedBanks(soap, data),0) || paylid::soap_put_paylid__getSupportedBanks(soap, data, "paylid:getSupportedBanks", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getSupportedBanks * SOAP_FMAC4 soap_get_paylid__getSupportedBanks(struct soap*, struct paylid__getSupportedBanks *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getSupportedBanks
|
||||
#define soap_read_paylid__getSupportedBanks(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getSupportedBanks(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getSupportedBanks * SOAP_FMAC2 soap_instantiate_paylid__getSupportedBanks(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getSupportedBanks * soap_new_paylid__getSupportedBanks(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getSupportedBanks(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getSupportedBanks * soap_new_req_paylid__getSupportedBanks(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getSupportedBanks *_p = soap_instantiate_paylid__getSupportedBanks(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getSupportedBanks(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getSupportedBanks * soap_new_set_paylid__getSupportedBanks(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getSupportedBanks *_p = soap_instantiate_paylid__getSupportedBanks(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getSupportedBanks(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getSupportedBanks(struct soap *soap, struct paylid__getSupportedBanks *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getSupportedBanks(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getSupportedBanksResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getSupportedBanksResponse (37)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getSupportedBanksResponse(struct soap*, struct paylid__getSupportedBanksResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getSupportedBanksResponse(struct soap*, const struct paylid__getSupportedBanksResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getSupportedBanksResponse(struct soap*, const char*, int, const struct paylid__getSupportedBanksResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getSupportedBanksResponse * SOAP_FMAC4 soap_in_paylid__getSupportedBanksResponse(struct soap*, const char*, struct paylid__getSupportedBanksResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getSupportedBanksResponse(struct soap*, const struct paylid__getSupportedBanksResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getSupportedBanksResponse
|
||||
#define soap_write_paylid__getSupportedBanksResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getSupportedBanksResponse(soap, data),0) || paylid::soap_put_paylid__getSupportedBanksResponse(soap, data, "paylid:getSupportedBanksResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getSupportedBanksResponse * SOAP_FMAC4 soap_get_paylid__getSupportedBanksResponse(struct soap*, struct paylid__getSupportedBanksResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getSupportedBanksResponse
|
||||
#define soap_read_paylid__getSupportedBanksResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getSupportedBanksResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getSupportedBanksResponse * SOAP_FMAC2 soap_instantiate_paylid__getSupportedBanksResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getSupportedBanksResponse * soap_new_paylid__getSupportedBanksResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getSupportedBanksResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getSupportedBanksResponse * soap_new_req_paylid__getSupportedBanksResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getSupportedBanksResponse *_p = soap_instantiate_paylid__getSupportedBanksResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getSupportedBanksResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getSupportedBanksResponse * soap_new_set_paylid__getSupportedBanksResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getSupportedBanksResponse *_p = soap_instantiate_paylid__getSupportedBanksResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getSupportedBanksResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getSupportedBanksResponse(struct soap *soap, struct paylid__getSupportedBanksResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getSupportedBanksResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getTrxStatus
|
||||
#define SOAP_TYPE_paylid_paylid__getTrxStatus (36)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getTrxStatus(struct soap*, struct paylid__getTrxStatus *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getTrxStatus(struct soap*, const struct paylid__getTrxStatus *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getTrxStatus(struct soap*, const char*, int, const struct paylid__getTrxStatus *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getTrxStatus * SOAP_FMAC4 soap_in_paylid__getTrxStatus(struct soap*, const char*, struct paylid__getTrxStatus *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getTrxStatus(struct soap*, const struct paylid__getTrxStatus *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getTrxStatus
|
||||
#define soap_write_paylid__getTrxStatus(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getTrxStatus(soap, data),0) || paylid::soap_put_paylid__getTrxStatus(soap, data, "paylid:getTrxStatus", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getTrxStatus * SOAP_FMAC4 soap_get_paylid__getTrxStatus(struct soap*, struct paylid__getTrxStatus *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getTrxStatus
|
||||
#define soap_read_paylid__getTrxStatus(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getTrxStatus(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getTrxStatus * SOAP_FMAC2 soap_instantiate_paylid__getTrxStatus(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getTrxStatus * soap_new_paylid__getTrxStatus(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getTrxStatus(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getTrxStatus * soap_new_req_paylid__getTrxStatus(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getTrxStatus *_p = soap_instantiate_paylid__getTrxStatus(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getTrxStatus(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getTrxStatus * soap_new_set_paylid__getTrxStatus(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getTrxStatus *_p = soap_instantiate_paylid__getTrxStatus(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getTrxStatus(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getTrxStatus(struct soap *soap, struct paylid__getTrxStatus *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getTrxStatus(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getTrxStatusResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getTrxStatusResponse (33)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getTrxStatusResponse(struct soap*, struct paylid__getTrxStatusResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getTrxStatusResponse(struct soap*, const struct paylid__getTrxStatusResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getTrxStatusResponse(struct soap*, const char*, int, const struct paylid__getTrxStatusResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getTrxStatusResponse * SOAP_FMAC4 soap_in_paylid__getTrxStatusResponse(struct soap*, const char*, struct paylid__getTrxStatusResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getTrxStatusResponse(struct soap*, const struct paylid__getTrxStatusResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getTrxStatusResponse
|
||||
#define soap_write_paylid__getTrxStatusResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getTrxStatusResponse(soap, data),0) || paylid::soap_put_paylid__getTrxStatusResponse(soap, data, "paylid:getTrxStatusResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getTrxStatusResponse * SOAP_FMAC4 soap_get_paylid__getTrxStatusResponse(struct soap*, struct paylid__getTrxStatusResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getTrxStatusResponse
|
||||
#define soap_read_paylid__getTrxStatusResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getTrxStatusResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getTrxStatusResponse * SOAP_FMAC2 soap_instantiate_paylid__getTrxStatusResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getTrxStatusResponse * soap_new_paylid__getTrxStatusResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getTrxStatusResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getTrxStatusResponse * soap_new_req_paylid__getTrxStatusResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getTrxStatusResponse *_p = soap_instantiate_paylid__getTrxStatusResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getTrxStatusResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getTrxStatusResponse * soap_new_set_paylid__getTrxStatusResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getTrxStatusResponse *_p = soap_instantiate_paylid__getTrxStatusResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getTrxStatusResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getTrxStatusResponse(struct soap *soap, struct paylid__getTrxStatusResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getTrxStatusResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccount
|
||||
#define SOAP_TYPE_paylid_paylid__getAccount (32)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccount(struct soap*, struct paylid__getAccount *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccount(struct soap*, const struct paylid__getAccount *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccount(struct soap*, const char*, int, const struct paylid__getAccount *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getAccount * SOAP_FMAC4 soap_in_paylid__getAccount(struct soap*, const char*, struct paylid__getAccount *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccount(struct soap*, const struct paylid__getAccount *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getAccount
|
||||
#define soap_write_paylid__getAccount(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getAccount(soap, data),0) || paylid::soap_put_paylid__getAccount(soap, data, "paylid:getAccount", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getAccount * SOAP_FMAC4 soap_get_paylid__getAccount(struct soap*, struct paylid__getAccount *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getAccount
|
||||
#define soap_read_paylid__getAccount(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getAccount(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getAccount * SOAP_FMAC2 soap_instantiate_paylid__getAccount(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getAccount * soap_new_paylid__getAccount(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getAccount(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getAccount * soap_new_req_paylid__getAccount(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getAccount *_p = soap_instantiate_paylid__getAccount(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccount(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getAccount * soap_new_set_paylid__getAccount(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getAccount *_p = soap_instantiate_paylid__getAccount(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccount(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getAccount(struct soap *soap, struct paylid__getAccount *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccount(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountResponse (29)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccountResponse(struct soap*, struct paylid__getAccountResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccountResponse(struct soap*, const struct paylid__getAccountResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccountResponse(struct soap*, const char*, int, const struct paylid__getAccountResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getAccountResponse * SOAP_FMAC4 soap_in_paylid__getAccountResponse(struct soap*, const char*, struct paylid__getAccountResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccountResponse(struct soap*, const struct paylid__getAccountResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getAccountResponse
|
||||
#define soap_write_paylid__getAccountResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getAccountResponse(soap, data),0) || paylid::soap_put_paylid__getAccountResponse(soap, data, "paylid:getAccountResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getAccountResponse * SOAP_FMAC4 soap_get_paylid__getAccountResponse(struct soap*, struct paylid__getAccountResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getAccountResponse
|
||||
#define soap_read_paylid__getAccountResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getAccountResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getAccountResponse * SOAP_FMAC2 soap_instantiate_paylid__getAccountResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getAccountResponse * soap_new_paylid__getAccountResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getAccountResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getAccountResponse * soap_new_req_paylid__getAccountResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getAccountResponse *_p = soap_instantiate_paylid__getAccountResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getAccountResponse * soap_new_set_paylid__getAccountResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getAccountResponse *_p = soap_instantiate_paylid__getAccountResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getAccountResponse(struct soap *soap, struct paylid__getAccountResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccountResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__currentXrate
|
||||
#define SOAP_TYPE_paylid_paylid__currentXrate (28)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__currentXrate(struct soap*, struct paylid__currentXrate *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__currentXrate(struct soap*, const struct paylid__currentXrate *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__currentXrate(struct soap*, const char*, int, const struct paylid__currentXrate *, const char*);
|
||||
SOAP_FMAC3 struct paylid__currentXrate * SOAP_FMAC4 soap_in_paylid__currentXrate(struct soap*, const char*, struct paylid__currentXrate *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__currentXrate(struct soap*, const struct paylid__currentXrate *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__currentXrate
|
||||
#define soap_write_paylid__currentXrate(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__currentXrate(soap, data),0) || paylid::soap_put_paylid__currentXrate(soap, data, "paylid:currentXrate", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__currentXrate * SOAP_FMAC4 soap_get_paylid__currentXrate(struct soap*, struct paylid__currentXrate *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__currentXrate
|
||||
#define soap_read_paylid__currentXrate(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__currentXrate(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__currentXrate * SOAP_FMAC2 soap_instantiate_paylid__currentXrate(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__currentXrate * soap_new_paylid__currentXrate(struct soap *soap, int n = -1) { return soap_instantiate_paylid__currentXrate(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__currentXrate * soap_new_req_paylid__currentXrate(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__currentXrate *_p = soap_instantiate_paylid__currentXrate(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__currentXrate(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__currentXrate * soap_new_set_paylid__currentXrate(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__currentXrate *_p = soap_instantiate_paylid__currentXrate(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__currentXrate(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__currentXrate(struct soap *soap, struct paylid__currentXrate *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__currentXrate(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__currentXrateResponse
|
||||
#define SOAP_TYPE_paylid_paylid__currentXrateResponse (25)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__currentXrateResponse(struct soap*, struct paylid__currentXrateResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__currentXrateResponse(struct soap*, const struct paylid__currentXrateResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__currentXrateResponse(struct soap*, const char*, int, const struct paylid__currentXrateResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__currentXrateResponse * SOAP_FMAC4 soap_in_paylid__currentXrateResponse(struct soap*, const char*, struct paylid__currentXrateResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__currentXrateResponse(struct soap*, const struct paylid__currentXrateResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__currentXrateResponse
|
||||
#define soap_write_paylid__currentXrateResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__currentXrateResponse(soap, data),0) || paylid::soap_put_paylid__currentXrateResponse(soap, data, "paylid:currentXrateResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__currentXrateResponse * SOAP_FMAC4 soap_get_paylid__currentXrateResponse(struct soap*, struct paylid__currentXrateResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__currentXrateResponse
|
||||
#define soap_read_paylid__currentXrateResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__currentXrateResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__currentXrateResponse * SOAP_FMAC2 soap_instantiate_paylid__currentXrateResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__currentXrateResponse * soap_new_paylid__currentXrateResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__currentXrateResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__currentXrateResponse * soap_new_req_paylid__currentXrateResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__currentXrateResponse *_p = soap_instantiate_paylid__currentXrateResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__currentXrateResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__currentXrateResponse * soap_new_set_paylid__currentXrateResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__currentXrateResponse *_p = soap_instantiate_paylid__currentXrateResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__currentXrateResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__currentXrateResponse(struct soap *soap, struct paylid__currentXrateResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__currentXrateResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__directAirTimeTopUp
|
||||
#define SOAP_TYPE_paylid_paylid__directAirTimeTopUp (24)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__directAirTimeTopUp(struct soap*, struct paylid__directAirTimeTopUp *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__directAirTimeTopUp(struct soap*, const struct paylid__directAirTimeTopUp *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__directAirTimeTopUp(struct soap*, const char*, int, const struct paylid__directAirTimeTopUp *, const char*);
|
||||
SOAP_FMAC3 struct paylid__directAirTimeTopUp * SOAP_FMAC4 soap_in_paylid__directAirTimeTopUp(struct soap*, const char*, struct paylid__directAirTimeTopUp *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__directAirTimeTopUp(struct soap*, const struct paylid__directAirTimeTopUp *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__directAirTimeTopUp
|
||||
#define soap_write_paylid__directAirTimeTopUp(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__directAirTimeTopUp(soap, data),0) || paylid::soap_put_paylid__directAirTimeTopUp(soap, data, "paylid:directAirTimeTopUp", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__directAirTimeTopUp * SOAP_FMAC4 soap_get_paylid__directAirTimeTopUp(struct soap*, struct paylid__directAirTimeTopUp *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__directAirTimeTopUp
|
||||
#define soap_read_paylid__directAirTimeTopUp(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__directAirTimeTopUp(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__directAirTimeTopUp * SOAP_FMAC2 soap_instantiate_paylid__directAirTimeTopUp(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__directAirTimeTopUp * soap_new_paylid__directAirTimeTopUp(struct soap *soap, int n = -1) { return soap_instantiate_paylid__directAirTimeTopUp(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__directAirTimeTopUp * soap_new_req_paylid__directAirTimeTopUp(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__directAirTimeTopUp *_p = soap_instantiate_paylid__directAirTimeTopUp(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__directAirTimeTopUp(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__directAirTimeTopUp * soap_new_set_paylid__directAirTimeTopUp(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__directAirTimeTopUp *_p = soap_instantiate_paylid__directAirTimeTopUp(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__directAirTimeTopUp(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__directAirTimeTopUp(struct soap *soap, struct paylid__directAirTimeTopUp *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__directAirTimeTopUp(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse
|
||||
#define SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse (21)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__directAirTimeTopUpResponse(struct soap*, struct paylid__directAirTimeTopUpResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__directAirTimeTopUpResponse(struct soap*, const struct paylid__directAirTimeTopUpResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__directAirTimeTopUpResponse(struct soap*, const char*, int, const struct paylid__directAirTimeTopUpResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__directAirTimeTopUpResponse * SOAP_FMAC4 soap_in_paylid__directAirTimeTopUpResponse(struct soap*, const char*, struct paylid__directAirTimeTopUpResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__directAirTimeTopUpResponse(struct soap*, const struct paylid__directAirTimeTopUpResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__directAirTimeTopUpResponse
|
||||
#define soap_write_paylid__directAirTimeTopUpResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__directAirTimeTopUpResponse(soap, data),0) || paylid::soap_put_paylid__directAirTimeTopUpResponse(soap, data, "paylid:directAirTimeTopUpResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__directAirTimeTopUpResponse * SOAP_FMAC4 soap_get_paylid__directAirTimeTopUpResponse(struct soap*, struct paylid__directAirTimeTopUpResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__directAirTimeTopUpResponse
|
||||
#define soap_read_paylid__directAirTimeTopUpResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__directAirTimeTopUpResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__directAirTimeTopUpResponse * SOAP_FMAC2 soap_instantiate_paylid__directAirTimeTopUpResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__directAirTimeTopUpResponse * soap_new_paylid__directAirTimeTopUpResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__directAirTimeTopUpResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__directAirTimeTopUpResponse * soap_new_req_paylid__directAirTimeTopUpResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__directAirTimeTopUpResponse *_p = soap_instantiate_paylid__directAirTimeTopUpResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__directAirTimeTopUpResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__directAirTimeTopUpResponse * soap_new_set_paylid__directAirTimeTopUpResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__directAirTimeTopUpResponse *_p = soap_instantiate_paylid__directAirTimeTopUpResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__directAirTimeTopUpResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__directAirTimeTopUpResponse(struct soap *soap, struct paylid__directAirTimeTopUpResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__directAirTimeTopUpResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__checkTransferStatus
|
||||
#define SOAP_TYPE_paylid_paylid__checkTransferStatus (20)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__checkTransferStatus(struct soap*, struct paylid__checkTransferStatus *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__checkTransferStatus(struct soap*, const struct paylid__checkTransferStatus *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__checkTransferStatus(struct soap*, const char*, int, const struct paylid__checkTransferStatus *, const char*);
|
||||
SOAP_FMAC3 struct paylid__checkTransferStatus * SOAP_FMAC4 soap_in_paylid__checkTransferStatus(struct soap*, const char*, struct paylid__checkTransferStatus *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__checkTransferStatus(struct soap*, const struct paylid__checkTransferStatus *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__checkTransferStatus
|
||||
#define soap_write_paylid__checkTransferStatus(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__checkTransferStatus(soap, data),0) || paylid::soap_put_paylid__checkTransferStatus(soap, data, "paylid:checkTransferStatus", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__checkTransferStatus * SOAP_FMAC4 soap_get_paylid__checkTransferStatus(struct soap*, struct paylid__checkTransferStatus *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__checkTransferStatus
|
||||
#define soap_read_paylid__checkTransferStatus(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__checkTransferStatus(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__checkTransferStatus * SOAP_FMAC2 soap_instantiate_paylid__checkTransferStatus(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__checkTransferStatus * soap_new_paylid__checkTransferStatus(struct soap *soap, int n = -1) { return soap_instantiate_paylid__checkTransferStatus(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__checkTransferStatus * soap_new_req_paylid__checkTransferStatus(struct soap *soap, std::string& terminalID, std::string& transactionRef, std::string& hmac) { struct paylid__checkTransferStatus *_p = soap_instantiate_paylid__checkTransferStatus(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__checkTransferStatus(soap, _p); _p->terminalID = terminalID; _p->transactionRef = transactionRef; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__checkTransferStatus * soap_new_set_paylid__checkTransferStatus(struct soap *soap, std::string& terminalID, std::string& transactionRef, std::string& hmac) { struct paylid__checkTransferStatus *_p = soap_instantiate_paylid__checkTransferStatus(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__checkTransferStatus(soap, _p); _p->terminalID = terminalID; _p->transactionRef = transactionRef; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__checkTransferStatus(struct soap *soap, struct paylid__checkTransferStatus *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__checkTransferStatus(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__checkTransferStatusResponse
|
||||
#define SOAP_TYPE_paylid_paylid__checkTransferStatusResponse (17)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__checkTransferStatusResponse(struct soap*, struct paylid__checkTransferStatusResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__checkTransferStatusResponse(struct soap*, const struct paylid__checkTransferStatusResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__checkTransferStatusResponse(struct soap*, const char*, int, const struct paylid__checkTransferStatusResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__checkTransferStatusResponse * SOAP_FMAC4 soap_in_paylid__checkTransferStatusResponse(struct soap*, const char*, struct paylid__checkTransferStatusResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__checkTransferStatusResponse(struct soap*, const struct paylid__checkTransferStatusResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__checkTransferStatusResponse
|
||||
#define soap_write_paylid__checkTransferStatusResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__checkTransferStatusResponse(soap, data),0) || paylid::soap_put_paylid__checkTransferStatusResponse(soap, data, "paylid:checkTransferStatusResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__checkTransferStatusResponse * SOAP_FMAC4 soap_get_paylid__checkTransferStatusResponse(struct soap*, struct paylid__checkTransferStatusResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__checkTransferStatusResponse
|
||||
#define soap_read_paylid__checkTransferStatusResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__checkTransferStatusResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__checkTransferStatusResponse * SOAP_FMAC2 soap_instantiate_paylid__checkTransferStatusResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__checkTransferStatusResponse * soap_new_paylid__checkTransferStatusResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__checkTransferStatusResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__checkTransferStatusResponse * soap_new_req_paylid__checkTransferStatusResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__checkTransferStatusResponse *_p = soap_instantiate_paylid__checkTransferStatusResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__checkTransferStatusResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__checkTransferStatusResponse * soap_new_set_paylid__checkTransferStatusResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__checkTransferStatusResponse *_p = soap_instantiate_paylid__checkTransferStatusResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__checkTransferStatusResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__checkTransferStatusResponse(struct soap *soap, struct paylid__checkTransferStatusResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__checkTransferStatusResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__transferFund
|
||||
#define SOAP_TYPE_paylid_paylid__transferFund (16)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__transferFund(struct soap*, struct paylid__transferFund *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__transferFund(struct soap*, const struct paylid__transferFund *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__transferFund(struct soap*, const char*, int, const struct paylid__transferFund *, const char*);
|
||||
SOAP_FMAC3 struct paylid__transferFund * SOAP_FMAC4 soap_in_paylid__transferFund(struct soap*, const char*, struct paylid__transferFund *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__transferFund(struct soap*, const struct paylid__transferFund *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__transferFund
|
||||
#define soap_write_paylid__transferFund(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__transferFund(soap, data),0) || paylid::soap_put_paylid__transferFund(soap, data, "paylid:transferFund", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__transferFund * SOAP_FMAC4 soap_get_paylid__transferFund(struct soap*, struct paylid__transferFund *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__transferFund
|
||||
#define soap_read_paylid__transferFund(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__transferFund(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__transferFund * SOAP_FMAC2 soap_instantiate_paylid__transferFund(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__transferFund * soap_new_paylid__transferFund(struct soap *soap, int n = -1) { return soap_instantiate_paylid__transferFund(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__transferFund * soap_new_req_paylid__transferFund(struct soap *soap, std::string& terminalID, std::string& toDestination, std::string& hmac) { struct paylid__transferFund *_p = soap_instantiate_paylid__transferFund(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__transferFund(soap, _p); _p->terminalID = terminalID; _p->toDestination = toDestination; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__transferFund * soap_new_set_paylid__transferFund(struct soap *soap, std::string& terminalID, std::string& toDestination, std::string& hmac) { struct paylid__transferFund *_p = soap_instantiate_paylid__transferFund(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__transferFund(soap, _p); _p->terminalID = terminalID; _p->toDestination = toDestination; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__transferFund(struct soap *soap, struct paylid__transferFund *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__transferFund(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__transferFundResponse
|
||||
#define SOAP_TYPE_paylid_paylid__transferFundResponse (13)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__transferFundResponse(struct soap*, struct paylid__transferFundResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__transferFundResponse(struct soap*, const struct paylid__transferFundResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__transferFundResponse(struct soap*, const char*, int, const struct paylid__transferFundResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__transferFundResponse * SOAP_FMAC4 soap_in_paylid__transferFundResponse(struct soap*, const char*, struct paylid__transferFundResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__transferFundResponse(struct soap*, const struct paylid__transferFundResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__transferFundResponse
|
||||
#define soap_write_paylid__transferFundResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__transferFundResponse(soap, data),0) || paylid::soap_put_paylid__transferFundResponse(soap, data, "paylid:transferFundResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__transferFundResponse * SOAP_FMAC4 soap_get_paylid__transferFundResponse(struct soap*, struct paylid__transferFundResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__transferFundResponse
|
||||
#define soap_read_paylid__transferFundResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__transferFundResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__transferFundResponse * SOAP_FMAC2 soap_instantiate_paylid__transferFundResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__transferFundResponse * soap_new_paylid__transferFundResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__transferFundResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__transferFundResponse * soap_new_req_paylid__transferFundResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__transferFundResponse *_p = soap_instantiate_paylid__transferFundResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__transferFundResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__transferFundResponse * soap_new_set_paylid__transferFundResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__transferFundResponse *_p = soap_instantiate_paylid__transferFundResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__transferFundResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__transferFundResponse(struct soap *soap, struct paylid__transferFundResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__transferFundResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountBalance
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountBalance (12)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccountBalance(struct soap*, struct paylid__getAccountBalance *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccountBalance(struct soap*, const struct paylid__getAccountBalance *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccountBalance(struct soap*, const char*, int, const struct paylid__getAccountBalance *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getAccountBalance * SOAP_FMAC4 soap_in_paylid__getAccountBalance(struct soap*, const char*, struct paylid__getAccountBalance *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccountBalance(struct soap*, const struct paylid__getAccountBalance *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getAccountBalance
|
||||
#define soap_write_paylid__getAccountBalance(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getAccountBalance(soap, data),0) || paylid::soap_put_paylid__getAccountBalance(soap, data, "paylid:getAccountBalance", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getAccountBalance * SOAP_FMAC4 soap_get_paylid__getAccountBalance(struct soap*, struct paylid__getAccountBalance *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getAccountBalance
|
||||
#define soap_read_paylid__getAccountBalance(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getAccountBalance(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getAccountBalance * SOAP_FMAC2 soap_instantiate_paylid__getAccountBalance(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getAccountBalance * soap_new_paylid__getAccountBalance(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getAccountBalance(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getAccountBalance * soap_new_req_paylid__getAccountBalance(struct soap *soap, std::string& terminalID, std::string& hmac) { struct paylid__getAccountBalance *_p = soap_instantiate_paylid__getAccountBalance(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountBalance(soap, _p); _p->terminalID = terminalID; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getAccountBalance * soap_new_set_paylid__getAccountBalance(struct soap *soap, std::string& terminalID, std::string& hmac) { struct paylid__getAccountBalance *_p = soap_instantiate_paylid__getAccountBalance(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountBalance(soap, _p); _p->terminalID = terminalID; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getAccountBalance(struct soap *soap, struct paylid__getAccountBalance *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccountBalance(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountBalanceResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountBalanceResponse (8)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccountBalanceResponse(struct soap*, struct paylid__getAccountBalanceResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccountBalanceResponse(struct soap*, const struct paylid__getAccountBalanceResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccountBalanceResponse(struct soap*, const char*, int, const struct paylid__getAccountBalanceResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getAccountBalanceResponse * SOAP_FMAC4 soap_in_paylid__getAccountBalanceResponse(struct soap*, const char*, struct paylid__getAccountBalanceResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccountBalanceResponse(struct soap*, const struct paylid__getAccountBalanceResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getAccountBalanceResponse
|
||||
#define soap_write_paylid__getAccountBalanceResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getAccountBalanceResponse(soap, data),0) || paylid::soap_put_paylid__getAccountBalanceResponse(soap, data, "paylid:getAccountBalanceResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getAccountBalanceResponse * SOAP_FMAC4 soap_get_paylid__getAccountBalanceResponse(struct soap*, struct paylid__getAccountBalanceResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getAccountBalanceResponse
|
||||
#define soap_read_paylid__getAccountBalanceResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getAccountBalanceResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getAccountBalanceResponse * SOAP_FMAC2 soap_instantiate_paylid__getAccountBalanceResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getAccountBalanceResponse * soap_new_paylid__getAccountBalanceResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getAccountBalanceResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getAccountBalanceResponse * soap_new_req_paylid__getAccountBalanceResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getAccountBalanceResponse *_p = soap_instantiate_paylid__getAccountBalanceResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountBalanceResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getAccountBalanceResponse * soap_new_set_paylid__getAccountBalanceResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getAccountBalanceResponse *_p = soap_instantiate_paylid__getAccountBalanceResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountBalanceResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getAccountBalanceResponse(struct soap *soap, struct paylid__getAccountBalanceResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccountBalanceResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_PointerToSOAP_ENV__Reason
|
||||
#define SOAP_TYPE_paylid_PointerToSOAP_ENV__Reason (50)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Reason(struct soap*, const char *, int, struct SOAP_ENV__Reason *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Reason(struct soap*, const char*, struct SOAP_ENV__Reason **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Reason
|
||||
#define soap_write_PointerToSOAP_ENV__Reason(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_PointerToSOAP_ENV__Reason(soap, data),0) || paylid::soap_put_PointerToSOAP_ENV__Reason(soap, data, "SOAP-ENV:Reason", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Reason
|
||||
#define soap_read_PointerToSOAP_ENV__Reason(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_PointerToSOAP_ENV__Reason(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_PointerToSOAP_ENV__Detail
|
||||
#define SOAP_TYPE_paylid_PointerToSOAP_ENV__Detail (49)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Detail(struct soap*, const char *, int, struct SOAP_ENV__Detail *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Detail
|
||||
#define soap_write_PointerToSOAP_ENV__Detail(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_PointerToSOAP_ENV__Detail(soap, data),0) || paylid::soap_put_PointerToSOAP_ENV__Detail(soap, data, "SOAP-ENV:Detail", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Detail
|
||||
#define soap_read_PointerToSOAP_ENV__Detail(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_PointerToSOAP_ENV__Detail(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_PointerToSOAP_ENV__Code
|
||||
#define SOAP_TYPE_paylid_PointerToSOAP_ENV__Code (43)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap*, const char *, int, struct SOAP_ENV__Code *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Code
|
||||
#define soap_write_PointerToSOAP_ENV__Code(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_PointerToSOAP_ENV__Code(soap, data),0) || paylid::soap_put_PointerToSOAP_ENV__Code(soap, data, "SOAP-ENV:Code", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Code
|
||||
#define soap_read_PointerToSOAP_ENV__Code(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_PointerToSOAP_ENV__Code(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_paylid__QName
|
||||
#define SOAP_TYPE_paylid__QName (5)
|
||||
#endif
|
||||
|
||||
#define soap_default__QName(soap, a) soap_default_string(soap, a)
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap*, char *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap*, const char*, int, char*const*, const char*);
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap*, const char*, char **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap*, char *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write__QName
|
||||
#define soap_write__QName(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize__QName(soap, data),0) || paylid::soap_put__QName(soap, data, "byte", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap*, char **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read__QName
|
||||
#define soap_read__QName(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get__QName(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_string
|
||||
#define SOAP_TYPE_paylid_string (4)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap*, char **);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap*, char *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap*, const char*, int, char*const*, const char*);
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap*, const char*, char **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap*, char *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_string
|
||||
#define soap_write_string(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_string(soap, data),0) || paylid::soap_put_string(soap, data, "byte", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap*, char **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_string
|
||||
#define soap_read_string(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_string(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
} // namespace paylid
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* End of paylidH.h */
|
||||
@@ -1,403 +0,0 @@
|
||||
/* paylidStub.h
|
||||
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
|
||||
#define paylidStub_H
|
||||
#include <vector>
|
||||
#define SOAP_NAMESPACE_OF_paylid "urn:paylidwsdl"
|
||||
#ifndef WITH_NONAMESPACES
|
||||
#define WITH_NONAMESPACES
|
||||
#endif
|
||||
#ifndef WITH_NOGLOBAL
|
||||
#define WITH_NOGLOBAL
|
||||
#endif
|
||||
#include "stdsoap2.h"
|
||||
#if GSOAP_VERSION != 20816
|
||||
# error "GSOAP VERSION MISMATCH IN GENERATED CODE: PLEASE REINSTALL PACKAGE"
|
||||
#endif
|
||||
|
||||
|
||||
namespace paylid {
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Enumerations *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Types with Custom Serializers *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Classes and Structs *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
#if 0 /* volatile type: do not declare here, declared elsewhere */
|
||||
|
||||
#endif
|
||||
|
||||
#if 0 /* volatile type: do not declare here, declared elsewhere */
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountBalanceResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountBalanceResponse (8)
|
||||
/* paylid:getAccountBalanceResponse */
|
||||
struct paylid__getAccountBalanceResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountBalance
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountBalance (12)
|
||||
/* paylid:getAccountBalance */
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__transferFundResponse
|
||||
#define SOAP_TYPE_paylid_paylid__transferFundResponse (13)
|
||||
/* paylid:transferFundResponse */
|
||||
struct paylid__transferFundResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__transferFund
|
||||
#define SOAP_TYPE_paylid_paylid__transferFund (16)
|
||||
/* paylid:transferFund */
|
||||
struct paylid__transferFund
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__checkTransferStatusResponse
|
||||
#define SOAP_TYPE_paylid_paylid__checkTransferStatusResponse (17)
|
||||
/* paylid:checkTransferStatusResponse */
|
||||
struct paylid__checkTransferStatusResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__checkTransferStatus
|
||||
#define SOAP_TYPE_paylid_paylid__checkTransferStatus (20)
|
||||
/* paylid:checkTransferStatus */
|
||||
struct paylid__checkTransferStatus
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse
|
||||
#define SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse (21)
|
||||
/* paylid:directAirTimeTopUpResponse */
|
||||
struct paylid__directAirTimeTopUpResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__directAirTimeTopUp
|
||||
#define SOAP_TYPE_paylid_paylid__directAirTimeTopUp (24)
|
||||
/* paylid:directAirTimeTopUp */
|
||||
struct paylid__directAirTimeTopUp
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__currentXrateResponse
|
||||
#define SOAP_TYPE_paylid_paylid__currentXrateResponse (25)
|
||||
/* paylid:currentXrateResponse */
|
||||
struct paylid__currentXrateResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__currentXrate
|
||||
#define SOAP_TYPE_paylid_paylid__currentXrate (28)
|
||||
/* paylid:currentXrate */
|
||||
struct paylid__currentXrate
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountResponse (29)
|
||||
/* paylid:getAccountResponse */
|
||||
struct paylid__getAccountResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccount
|
||||
#define SOAP_TYPE_paylid_paylid__getAccount (32)
|
||||
/* paylid:getAccount */
|
||||
struct paylid__getAccount
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getTrxStatusResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getTrxStatusResponse (33)
|
||||
/* paylid:getTrxStatusResponse */
|
||||
struct paylid__getTrxStatusResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getTrxStatus
|
||||
#define SOAP_TYPE_paylid_paylid__getTrxStatus (36)
|
||||
/* paylid:getTrxStatus */
|
||||
struct paylid__getTrxStatus
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getSupportedBanksResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getSupportedBanksResponse (37)
|
||||
/* paylid:getSupportedBanksResponse */
|
||||
struct paylid__getSupportedBanksResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getSupportedBanks
|
||||
#define SOAP_TYPE_paylid_paylid__getSupportedBanks (40)
|
||||
/* paylid:getSupportedBanks */
|
||||
struct paylid__getSupportedBanks
|
||||
{
|
||||
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 */
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Code (42)
|
||||
/* SOAP Fault Code: */
|
||||
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 */
|
||||
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 */
|
||||
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: */
|
||||
struct SOAP_ENV__Fault
|
||||
{
|
||||
public:
|
||||
char *faultcode; /* optional element of type xsd:QName */
|
||||
char *faultstring; /* optional element of type xsd:string */
|
||||
char *faultactor; /* optional element of type xsd:string */
|
||||
struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */
|
||||
struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of type SOAP-ENV:Reason */
|
||||
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 *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
#ifndef SOAP_TYPE_paylid__QName
|
||||
#define SOAP_TYPE_paylid__QName (5)
|
||||
typedef char *_QName;
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_paylid__XML
|
||||
#define SOAP_TYPE_paylid__XML (6)
|
||||
typedef char *_XML;
|
||||
#endif
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Externals *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
} // namespace paylid
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* End of paylidStub.h */
|
||||
@@ -1,102 +0,0 @@
|
||||
/* paylidpaylidwsdlBindingProxy.h
|
||||
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
|
||||
#define paylidpaylidwsdlBindingProxy_H
|
||||
#include "paylidH.h"
|
||||
|
||||
namespace paylid {
|
||||
|
||||
class SOAP_CMAC paylidwsdlBindingProxy : public soap
|
||||
{ public:
|
||||
/// Endpoint URL of service 'paylidwsdlBindingProxy' (change as needed)
|
||||
const char *soap_endpoint;
|
||||
/// Constructor
|
||||
paylidwsdlBindingProxy();
|
||||
/// 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 (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();
|
||||
/// 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) { 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) { 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) { 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) { 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) { 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) { 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) { 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) { 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
|
||||
|
||||
#endif
|
||||
@@ -1,15 +0,0 @@
|
||||
#ifndef __STOREFACE_H__
|
||||
#define __STOREFACE_H__
|
||||
|
||||
#include "vars.h"
|
||||
|
||||
long paylid_getAccountBalance(CVars in, CVars &out);
|
||||
long paylid_transferFund(CVars in, CVars &out);
|
||||
long paylid_checkTransferStatus(CVars in, CVars &out);
|
||||
long paylid_directAirTimeTopUp(CVars in, CVars &out);
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
vi:ts=2
|
||||
*/
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
-2116
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,593 +0,0 @@
|
||||
#include <cstdlib>
|
||||
#include <ext/hash_map>
|
||||
|
||||
#include "interswitch.h"
|
||||
#include "interswitch_sendmoney.h"
|
||||
|
||||
#include "cfg.h"
|
||||
#include "clog.h"
|
||||
#include "exceptions.h"
|
||||
#include "input.h"
|
||||
#include "coregrade_api.h"
|
||||
#include "pgsql.h"
|
||||
#include "pgsql_wrapper.h"
|
||||
#include "safestring.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
|
||||
using namespace std;
|
||||
using namespace __gnu_cxx;
|
||||
|
||||
//*****************************************************************************/
|
||||
long INTW_configure(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "long INTW_configure(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
// Configure Interswitch SSL
|
||||
interswitch_config_ssl(
|
||||
CfgReadChar("interswitch.keyfile"),
|
||||
CfgReadChar("interswitch.password"),
|
||||
CfgReadChar("interswitch.cacert"),
|
||||
CfgReadLong("interswitch.version"));
|
||||
|
||||
out["interswitch_ver"] = CfgReadLong("interswitch.version");
|
||||
out["interswitch_sep"] = CfgReadChar("interswitch.soap_endpoint");
|
||||
out["interswitch_tid"] = CfgReadChar("interswitch.terminal_id");
|
||||
out["interswitch_code"] = CfgReadChar("interswitch.entity_code");
|
||||
out["interswitch_mkey"] = CfgReadChar("interswitch.master_key");
|
||||
out["interswitch_pin"] = CfgReadChar("interswitch.pin");
|
||||
out["interswitch_pfix"] = CfgReadChar("interswitch.prefix");
|
||||
out["interswitch_keyf"] = CfgReadChar("interswitch.keyfile");
|
||||
out["interswitch_pass"] = CfgReadChar("interswitch.password");
|
||||
out["interswitch_cert"] = CfgReadChar("interswitch.cacert");
|
||||
|
||||
ret = PHP_API_OK;
|
||||
|
||||
} catch (bad_parameter) {
|
||||
|
||||
out["status"] = "Bad parameter";
|
||||
|
||||
} catch ( ... ) {
|
||||
|
||||
out["status"] = "Unhandled exception in INTW_configure";
|
||||
|
||||
}
|
||||
logfmt( logINFO, "/long INTW_configure(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
long INTW_getBillersSave(hash_map<const char*, const char*, hash<const char*>, eqstr> saveData) { //long id, char *name, long currencyCode, char *quickTellerSiteUrlName, char *supportEmail) {
|
||||
logfmt( logINFO, "long INTW_getBillersSave(...)");
|
||||
long gid = -1L, id = 0L;
|
||||
CVars x;
|
||||
hash_map<const char*, const char*, hash<const char*>, eqstr>::iterator pointer;
|
||||
for (pointer = saveData.begin();pointer!=saveData.end();++pointer) {
|
||||
x[pointer->first] = pointer->second; x[pointer->first].set_valid(true);
|
||||
if (strcmp("Id",pointer->first)==0) {
|
||||
id = atol(pointer->second);
|
||||
// Check if the record already exists
|
||||
const PGresult* res = pgsql_query("SELECT * FROM interswitch_billers WHERE id = %lu", id );
|
||||
if (id<1L || (res && pgsql_num_rows(res)>0)) {
|
||||
// Incorrect id or alredy exists
|
||||
logfmt(FLOG_MAX, "Incorrect id or alredy exists: %ld", id);
|
||||
return -1L;
|
||||
}
|
||||
}
|
||||
}
|
||||
gid = insert_db_record( DBS_VALID, "interswitch_billers", "interswitch_billers_gid_seq", x );
|
||||
pgsql_exec( "UPDATE global_settings SET value=now() WHERE name='LAST_INTSW_GETBILLER_RUN'");
|
||||
logfmt( logINFO, "/long INTW_getBillersSave(...)");
|
||||
|
||||
return gid;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
long INTW_getBillers(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "long INTW_getBillers(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
|
||||
// Initiate interswitch session
|
||||
CVars setup;
|
||||
INTW_configure(in, setup);
|
||||
|
||||
// Prepare call
|
||||
const int statusSize = 1024;
|
||||
char status[statusSize];
|
||||
|
||||
int billerId = 0;
|
||||
int categoryId = 0;
|
||||
int channelId = 0;
|
||||
|
||||
char xtid[12];
|
||||
int channel_code = 3;
|
||||
|
||||
sprintf( xtid, "%s", setup["interswitch_tid"].c_str() );
|
||||
|
||||
ret = interswitch_getBillers(
|
||||
setup["interswitch_sep"].c_str(),
|
||||
xtid,
|
||||
billerId,
|
||||
categoryId,
|
||||
channelId,
|
||||
"",
|
||||
status,
|
||||
&INTW_getBillersSave);
|
||||
|
||||
} catch ( ... ) {
|
||||
|
||||
out["status"] = "Unhandled exception in INTW_getBillers";
|
||||
}
|
||||
logfmt( logINFO, "/long INTW_getBillers(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
/*
|
||||
<------>long INTW_getSaveGeneric(const char *table, hash_map<const char*, const char*, hash<const char*>, eqstr> saveData);
|
||||
<------>long INTW_getBillerPaymentItems(CVars in, CVars &out);
|
||||
*/
|
||||
//*****************************************************************************/
|
||||
long INTW_getSaveGeneric(const char *table, hash_map<const char*, const char*, hash<const char*>, eqstr> saveData) { //long id, char *name, long currencyCode, char *quickTellerSiteUrlName, char *supportEmail) {
|
||||
logfmt( logINFO, "long INTW_getSaveGeneric(...)");
|
||||
long gid = -1L, id = 0L;
|
||||
CVars x;
|
||||
hash_map<const char*, const char*, hash<const char*>, eqstr>::iterator pointer;
|
||||
for (pointer = saveData.begin();pointer!=saveData.end();++pointer) {
|
||||
x[pointer->first] = pointer->second; x[pointer->first].set_valid(true);
|
||||
}
|
||||
const int n = strlen(table) + 20;
|
||||
char table_seq[n];
|
||||
snprintf(table_seq, n, "%s_gid_seq", table);
|
||||
gid = insert_db_record( DBS_VALID, table, table_seq, x );
|
||||
logfmt( logINFO, "/long INTW_getSaveGeneric(...)");
|
||||
|
||||
return gid;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
long INTW_getBillerPaymentItems(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "long INTW_getBillerPaymentItems(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
|
||||
// Initiate interswitch session
|
||||
CVars setup;
|
||||
INTW_configure(in, setup);
|
||||
|
||||
// Prepare call
|
||||
const int statusSize = 1024;
|
||||
char status[statusSize];
|
||||
|
||||
int billerId = REQ_LONG( in, "id", 1, -1 );;
|
||||
|
||||
char xtid[12];
|
||||
|
||||
sprintf( xtid, "%s", setup["interswitch_tid"].c_str() );
|
||||
|
||||
ret = interswitch_getBillerPaymentItems(
|
||||
setup["interswitch_sep"].c_str(),
|
||||
xtid,
|
||||
billerId,
|
||||
status,
|
||||
&INTW_getSaveGeneric);
|
||||
|
||||
} catch (bad_parameter) {
|
||||
out["status"] = "Incorrect Biller ID";
|
||||
} catch ( ... ) {
|
||||
|
||||
out["status"] = "Unhandled exception in INTW_getBillerPaymentItems";
|
||||
}
|
||||
logfmt( logINFO, "/long INTW_getBillerPaymentItems(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
long INTW_sendBillPaymentAdvice(CVars in, CVars &out )
|
||||
{
|
||||
logfmt( logINFO, "long INTW_sendBillPaymentAdvice(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
int customerId = REQ_LONG( in, "customerid", 1, -1 );
|
||||
int paymentItemId = REQ_LONG( in, "paymentitemid", 1, -1 );
|
||||
int amount = REQ_LONG( in, "amount", 0, -1 );
|
||||
|
||||
REQ_STRING( in, "customermobile", 5, 15, "(.*)");
|
||||
OPTIONAL (in, "customeremail") REQ_STRING( in, "customeremail", 1, 100, "(.*)");
|
||||
OPTIONAL (in, "order_id") REQ_STRING( in, "order_id", 1, 25, "(.*)");
|
||||
char CustomerMobile[15];
|
||||
char CustomerEmail[100];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
sprintf( CustomerEmail, "%s", in["customeremail"].c_str() );
|
||||
sprintf( CustomerMobile, "%s", in["customermobile"].c_str() );
|
||||
|
||||
|
||||
//topalert = "sales@payquic.com";
|
||||
out["topalert"] = CfgReadChar("transnotif.topalert");
|
||||
sprintf( CustomerEmail, "%s", out["topalert"].c_str() );
|
||||
|
||||
|
||||
CVars customer; // Load customer
|
||||
ret = load_db_record( customer, "SELECT email,firstname,lastname FROM customer WHERE status=1 AND id = %lu", customerId );
|
||||
if (ret<1L) {
|
||||
throw new bad_parameter(out, "customerid");
|
||||
}
|
||||
|
||||
CVars paymentitem; // Load payment item
|
||||
ret = load_db_record( paymentitem, "SELECT id,billerid,billername,name,amount,paymentcode FROM interswitch_biller_payment_items WHERE gid = %lu", paymentItemId);
|
||||
if (ret<1L) {
|
||||
out["advice"] = "PaymentID not found or not valid !!!";
|
||||
throw new bad_parameter(out, "paymentitemid");
|
||||
}
|
||||
|
||||
// Check amount
|
||||
if (amount<1L) {
|
||||
amount = paymentitem["amount"].Long();
|
||||
}
|
||||
|
||||
/**/
|
||||
|
||||
|
||||
|
||||
|
||||
// Create record
|
||||
CVars advice;
|
||||
|
||||
advice["customerid"] = customerId; advice["customerid"].set_valid(true);
|
||||
advice["billerid"] = paymentitem["billerid"]; advice["billerid"].set_valid(true);
|
||||
advice["billerpaymentitemgid"] = paymentItemId; advice["billerpaymentitemgid"].set_valid(true);
|
||||
advice["amount"] = amount; advice["amount"].set_valid(true);
|
||||
advice["paymentcode"] = paymentitem["paymentcode"]; advice["paymentcode"].set_valid(true);
|
||||
advice["order_id"] = in["order_id"]; advice["order_id"].set_valid(true);
|
||||
advice["customeremail"] = in["customeremail"]; advice["customeremail"].set_valid(true);
|
||||
advice["customermobile"] = in["customermobile"]; advice["customermobile"].set_valid(true);
|
||||
|
||||
out["bill_payment_advice_id"] = insert_db_record( DBS_VALID, "interswitch_bill_payment_advice", "interswitch_bill_payment_advice_id_seq", advice );
|
||||
if (out["bill_payment_advice_id"].Long()<1L) {
|
||||
throw new runtime_error("Failed to create interswitch bill payment advice record");
|
||||
}
|
||||
|
||||
// Initiate interswitch session
|
||||
CVars setup;
|
||||
INTW_configure(in, setup);
|
||||
|
||||
|
||||
|
||||
CVars transaction;
|
||||
|
||||
|
||||
|
||||
transaction["detail_id"] = out["bill_payment_advice_id"]; transaction["detail_id"].set_valid(true);
|
||||
transaction["type"] = 1L; /* SendBillPaymentAdvice */ transaction["type"].set_valid(true);
|
||||
out["transaction_id"] = insert_db_record( DBS_VALID, "interswitch_transaction", "interswitch_transaction_id_seq", transaction );
|
||||
if (out["transaction_id"].Long()<1L) {
|
||||
throw new runtime_error("Failed to create interswitch transaction record");
|
||||
}
|
||||
|
||||
|
||||
char uniqueRef[20];
|
||||
memset(uniqueRef, 0, 20);
|
||||
// TransferCode - RequestReference - UniqueRef => request prefix for terminal owner + ID
|
||||
sprintf( uniqueRef, "%s%s000000", setup["interswitch_pfix"].c_str(), out["transaction_id"].c_str() );
|
||||
//sprintf( uniqueRef, "%s%09s", setup["interswitch_pfix"].c_str(), out["transaction_id"].c_str() );
|
||||
transaction["transfer_code"] = uniqueRef; transaction["transfer_code"].set_valid(true);
|
||||
|
||||
CVars cxc;
|
||||
cxc["transfer_code"] = transaction["transfer_code"];
|
||||
cxc["transfer_code"].set_valid(true);
|
||||
update_db_record( DBS_VALID, "interswitch_transaction", cxc, out["transaction_id"].Long());
|
||||
logfmt( logINFO, "Here -> 1");
|
||||
logfmt( logINFO, "SENDING TRANSACTION - setup[interswitch_tid].c_str() ->%s",setup["interswitch_tid"].c_str());
|
||||
// Prepare call
|
||||
const int statusSize = 1024;
|
||||
char status[statusSize];
|
||||
char transactionRef[statusSize];
|
||||
memset(status, 0, statusSize); // Clear?
|
||||
memset(transactionRef, 0, statusSize); // Clear?
|
||||
|
||||
char xtid[12];
|
||||
|
||||
sprintf( xtid, "%s", setup["interswitch_tid"].c_str() );
|
||||
|
||||
logfmt( logINFO, "SENDING TRANSACTION->%s",xtid);
|
||||
|
||||
|
||||
string result = interswitch_SendBillPaymentAdvice(
|
||||
setup["interswitch_sep"].c_str(),
|
||||
xtid,
|
||||
amount,
|
||||
paymentitem["paymentcode"].c_str(),
|
||||
customerId,
|
||||
uniqueRef,
|
||||
status,
|
||||
transactionRef,
|
||||
CustomerMobile,
|
||||
CustomerEmail);
|
||||
|
||||
|
||||
CVars advicestatus;
|
||||
|
||||
out["status"] = status;
|
||||
out["ResponseCode"] = result;
|
||||
out["TransactionRef"] = transactionRef;
|
||||
// Update status
|
||||
|
||||
try
|
||||
{
|
||||
transaction["responsecode"] = result; transaction["responsecode"].set_valid(true);
|
||||
transaction["transactionref"] = transactionRef; transaction["transactionref"].set_valid(true);
|
||||
update_db_record( DBS_VALID, "interswitch_transaction", transaction, out["transaction_id"].Long());
|
||||
}
|
||||
catch ( ... ) { out["status"] = "I see no good response from interswitch"; }
|
||||
|
||||
|
||||
// Success?
|
||||
if (result=="90000") {
|
||||
|
||||
advicestatus["status"] = "5"; advicestatus["status"].set_valid(true);
|
||||
update_db_record( DBS_VALID, "interswitch_bill_payment_advice", advicestatus, out["bill_payment_advice_id"].Long());
|
||||
|
||||
logfmt( logINFO, "Send bill payment advice successful");
|
||||
|
||||
ret = PHP_API_OK;
|
||||
} else {
|
||||
CVars fr1;
|
||||
fr1["status"] = "7"; fr1["status"].set_valid( true );
|
||||
|
||||
advicestatus["status"] = "7"; advicestatus["status"].set_valid(true);
|
||||
update_db_record( DBS_VALID, "interswitch_bill_payment_advice", fr1, out["bill_payment_advice_id"].Long());
|
||||
//ret = -1;
|
||||
throw new runtime_error("Failed to send bill payment advice");
|
||||
}
|
||||
|
||||
} catch (runtime_error& ex) {
|
||||
out["status"] = ex.what();
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
} catch (bad_parameter) {
|
||||
out["status"] = "Incorrect parameter";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
} catch ( ... ) {
|
||||
out["status"] = "Unhandled exception in INTW_sendBillPaymentAdvice";
|
||||
}
|
||||
logfmt( logINFO, "/long INTW_sendBillPaymentAdvice(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
//*****************************************************************************/
|
||||
long INTW_getBillerCategories(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "long INTW_getBillerCategories(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
|
||||
// Initiate interswitch session
|
||||
CVars setup;
|
||||
INTW_configure(in, setup);
|
||||
|
||||
// Prepare call
|
||||
const int statusSize = 1024;
|
||||
char status[statusSize];
|
||||
|
||||
ret = interswitch_getBillerCategories(
|
||||
setup["interswitch_sep"].c_str(),
|
||||
status,
|
||||
NULL);
|
||||
|
||||
} catch ( ... ) {
|
||||
|
||||
out["status"] = "Unhandled exception in INTW_getBillerCategories";
|
||||
}
|
||||
logfmt( logINFO, "/long INTW_getBillerCategories(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
long INTW_doTransfer(CVars in, CVars &out )
|
||||
{
|
||||
logfmt( logINFO, "long INTW_doTransfer(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
|
||||
// Initiate interswitch session
|
||||
CVars setup;
|
||||
INTW_configure(in, setup);
|
||||
|
||||
|
||||
in["action"].set_valid(false);
|
||||
REQ_STRING( in, "InitiatingEntityCode", 3, 3, "(.*)" );
|
||||
REQ_LONG( in, "InitiatingAmount", 1, -1 );
|
||||
REQ_LONG( in, "Fee", 1, -1 );
|
||||
REQ_LONG( in, "InitiatingChannel", 1, -1 );
|
||||
REQ_STRING( in, "InitiatingPaymentMethodCode", 2, 2, "(.*)" );
|
||||
REQ_STRING( in, "InitiatingCurrencyCode", 3, 3, "(.*)" );
|
||||
REQ_STRING( in, "TerminatingPaymentMethodCode", 2, 2, "(.*)" );
|
||||
REQ_LONG( in, "TerminatingAmount", 1, -1 );
|
||||
REQ_STRING( in, "TerminatingCurrencyCode", 3, 3, "(.*)" );
|
||||
REQ_STRING( in, "TerminatingCountryCode", 2, 2, "(.*)" );
|
||||
|
||||
//REQ_STRING( in, "TerminatingEntityCode", 1, 5, "(.*)" );
|
||||
//REQ_STRING( in, "TerminatingAccountNumber", 1, 50, "(.*)" );
|
||||
//REQ_STRING( in, "TerminatingAccountType", 2, 2, "(.*)" );
|
||||
|
||||
long senderid = REQ_LONG( in, "senderid", 1, -1 );
|
||||
long recipientid = REQ_LONG( in, "recipientid", 1, -1 );
|
||||
in["InitiatingEntityCode"]="MBA";
|
||||
|
||||
CVars recipient; // Load recipient
|
||||
//ret = load_db_record( recipient, "SELECT firstname,lastname FROM customer WHERE id = %lu AND status = 1", recipientid);
|
||||
ret = load_db_record( recipient, "SELECT firstname,lastname,account_no,bank_code,account_type FROM sendmoney_recipient WHERE id = %lu ", recipientid);
|
||||
if (ret<1L) {
|
||||
throw new bad_parameter(out, "recipientid");
|
||||
}
|
||||
in["TerminatingEntityCode"] = recipient["bank_code"]; in["TerminatingEntityCode"].set_valid( true );
|
||||
in["TerminatingAccountNumber"] = recipient["account_no"]; in["TerminatingAccountNumber"].set_valid( true );
|
||||
|
||||
out["money_transfer_id"] = insert_db_record( DBS_VALID, "interswitch_money_transfer", "interswitch_money_transfer_id_seq", in );
|
||||
if (out["money_transfer_id"].Long()<1L) {
|
||||
throw new runtime_error("Failed to create interswitch bill money transfer record");
|
||||
}
|
||||
|
||||
CVars transaction;
|
||||
transaction["detail_id"] = out["money_transfer_id"]; transaction["detail_id"].set_valid(true);
|
||||
transaction["type"] = 2L; /* DoTransfer */ transaction["type"].set_valid(true);
|
||||
out["transaction_id"] = insert_db_record( DBS_VALID, "interswitch_transaction", "interswitch_transaction_id_seq", transaction );
|
||||
if (out["transaction_id"].Long()<1L) {
|
||||
throw new runtime_error("Failed to create interswitch transaction record");
|
||||
}
|
||||
|
||||
char xtid[12], uniqueRef[20];
|
||||
memset(uniqueRef, 0, 20);
|
||||
// TransferCode - RequestReference - UniqueRef => request prefix for terminal owner + ID
|
||||
sprintf( uniqueRef, "%s%s000000", setup["interswitch_pfix"].c_str(), out["transaction_id"].c_str() );
|
||||
transaction["transfer_code"] = uniqueRef; transaction["transfer_code"].set_valid(true);
|
||||
|
||||
//sprintf( xtid, "%s", setup["interswitch_tid"].c_str() );
|
||||
sprintf( xtid, "%s", "MBA" );
|
||||
|
||||
CVars sender; // Load sender
|
||||
ret = load_db_record( sender, "SELECT firstname,lastname FROM customer WHERE id = %lu AND status = 1", senderid);
|
||||
if (ret<1L) {
|
||||
throw new bad_parameter(out, "senderid");
|
||||
}
|
||||
//in["SenderEmail"] = sender["email"]; in["SenderEmail"].set_valid(true);
|
||||
|
||||
|
||||
//in["BeneficiaryEmail"] = recipient["email"]; in["BeneficiaryEmail"].set_valid(true);
|
||||
|
||||
CVars trans_info;
|
||||
|
||||
trans_info["Fee"] = in["Fee"];
|
||||
trans_info["InitiatingAmount"] = in["InitiatingAmount"];
|
||||
trans_info["InitiatingChannel"] = in["InitiatingChannel"];
|
||||
trans_info["InitiatingCurrencyCode"] = in["InitiatingCurrencyCode"];
|
||||
trans_info["InitiatingEntityCode"] = in["InitiatingEntityCode"];
|
||||
trans_info["InitiatingPaymentMethodCode"] = in["InitiatingPaymentMethodCode"];
|
||||
trans_info["TerminatingAccountNumber"] = recipient["account_no"]; //in["TerminatingAccountNumber"];
|
||||
trans_info["TerminatingAccountType"] = recipient["account_type"]; // in["TerminatingAccountType"];
|
||||
trans_info["TerminatingAmount"] = in["TerminatingAmount"];
|
||||
trans_info["TerminatingCountryCode"] = in["TerminatingCountryCode"];
|
||||
trans_info["TerminatingCurrencyCode"] = in["TerminatingCurrencyCode"];
|
||||
trans_info["TerminatingEntityCode"] = recipient["bank_code"]; //in["TerminatingEntityCode"];
|
||||
trans_info["TerminatingPaymentMethodCode"] = in["TerminatingPaymentMethodCode"];
|
||||
trans_info["TransferCode"] = uniqueRef;
|
||||
trans_info["SenderLastname"] = sender["lastname"];
|
||||
trans_info["SenderOthernames"] = sender["firstname"];
|
||||
trans_info["BeneficiaryLastname"] = recipient["lastname"];
|
||||
trans_info["BeneficiaryOthernames"] = recipient["firstname"];
|
||||
|
||||
char status[SAFESTRING_COMMON_BUFFER_SIZE];
|
||||
memset(status,32,SAFESTRING_COMMON_BUFFER_SIZE);
|
||||
status[SAFESTRING_COMMON_BUFFER_SIZE] = '\0';
|
||||
|
||||
char transCode[SAFESTRING_COMMON_BUFFER_SIZE];
|
||||
memset(transCode, 0, SAFESTRING_COMMON_BUFFER_SIZE);
|
||||
sprintf(transCode,""); // ???
|
||||
|
||||
string result = interswitch_doTransfer(
|
||||
setup["interswitch_sep"].c_str(),
|
||||
xtid,
|
||||
trans_info,
|
||||
status);
|
||||
|
||||
logfmt(FLOG_MAX, "Return: %s", result.c_str());
|
||||
logfmt(FLOG_MAX, "Status: %s", status);
|
||||
|
||||
out["ResponseCode"] = result;
|
||||
out["status"] = status;
|
||||
out["TransferCode"] = in["TransferCode"];
|
||||
if (result=="90000") {
|
||||
ret = PHP_API_OK;
|
||||
out["TransactionReferenceCode"] = status;
|
||||
out["status"] = "Transfer successful";
|
||||
} else {
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
out["TransactionReferenceCode"] = "";
|
||||
}
|
||||
|
||||
transaction["responsecode"] = out["ResponseCode"]; transaction["responsecode"].set_valid(true);
|
||||
transaction["transactionref"] = out["TransactionReferenceCode"]; transaction["transactionref"].set_valid(true);
|
||||
|
||||
update_db_record( DBS_VALID, "interswitch_transaction", transaction, out["transaction_id"].Long());
|
||||
|
||||
} catch (runtime_error& ex) {
|
||||
|
||||
out["status"] = ex.what();
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
|
||||
} catch (bad_parameter) {
|
||||
|
||||
out["status"] = "Invalid input";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
|
||||
} catch ( ... ) {
|
||||
|
||||
out["status"] = "Unhandled exception in INTW_doTransfer";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
|
||||
}
|
||||
logfmt( logINFO, "/long INTW_doTransfer(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
long INTW_queryTransaction(CVars in, CVars &out )
|
||||
{
|
||||
logfmt( logINFO, "long INTW_queryTransaction(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
|
||||
// Initiate interswitch session
|
||||
CVars setup;
|
||||
INTW_configure(in, setup);
|
||||
|
||||
// Prepare call
|
||||
const int statusSize = SAFESTRING_COMMON_BUFFER_SIZE;
|
||||
char status[statusSize];
|
||||
char transactionResponseCode[SAFESTRING_COMMON_BUFFER_SIZE];
|
||||
|
||||
long id = REQ_LONG( in, "id", 1, -1 );
|
||||
|
||||
char xtid[12];
|
||||
|
||||
sprintf( xtid, "%s", setup["interswitch_tid"].c_str() );
|
||||
|
||||
CVars advice; // Load advice
|
||||
ret = load_db_record( advice, "SELECT transfer_code,transactionref FROM interswitch_transaction WHERE id = %lu", id);
|
||||
if (ret<1L) {
|
||||
throw new bad_parameter(out, "id");
|
||||
}
|
||||
|
||||
string result = interswitch_queryTransaction(
|
||||
setup["interswitch_sep"].c_str(),
|
||||
xtid,
|
||||
advice["transfer_code"].c_str(),
|
||||
advice["transactionref"].c_str(),
|
||||
status,
|
||||
transactionResponseCode);
|
||||
out["ResponseCode"] = result;
|
||||
out["TransactionResponseCode"] = transactionResponseCode;
|
||||
out["status"] = status;
|
||||
ret = PHP_API_OK;
|
||||
|
||||
advice["responsecode"] = transactionResponseCode; advice["responsecode"].set_valid(true);
|
||||
update_db_record( DBS_VALID, "interswitch_transaction", advice, id);
|
||||
|
||||
} catch (bad_parameter) {
|
||||
|
||||
out["status"] = "Invalid ID";
|
||||
|
||||
} catch ( ... ) {
|
||||
|
||||
out["status"] = "Unhandled exception in INTW_queryTransaction";
|
||||
}
|
||||
logfmt( logINFO, "/long INTW_queryTransaction(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
@@ -1,550 +0,0 @@
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <cstring>
|
||||
|
||||
#include "XmlParser.h"
|
||||
#include "hmac_sha2.h"
|
||||
#include "paylidpaylidwsdlBindingProxy.h" // get proxy
|
||||
#include "paylid.nsmap" // obtain the generated XML namespace mapping table for the InterSwitch service
|
||||
|
||||
#define BUFSIZE 1024
|
||||
|
||||
using namespace std;
|
||||
using namespace paylid;
|
||||
|
||||
#ifdef TEST
|
||||
enum { FLOG_NONE,FLOG_FATAL,FLOG_CRITICAL,FLOG_WARN,FLOG_COMMAND,FLOG_MAX };
|
||||
#define logfmt test_log
|
||||
#define PREFIX "FAKE:"
|
||||
class FakeLog {
|
||||
public:
|
||||
void SetFileName(const char *str) {
|
||||
cout << str << endl;
|
||||
}
|
||||
};
|
||||
static FakeLog *plog = new FakeLog();
|
||||
#else
|
||||
//#include "general_types.h"
|
||||
#include "clog.h"
|
||||
#warning "Including log..."
|
||||
#endif
|
||||
|
||||
void test_log( int level, const char * format, ... ) {
|
||||
|
||||
va_list ap;
|
||||
va_start( ap, format );
|
||||
|
||||
vfprintf( stdout, format, ap );
|
||||
fprintf( stdout, "\n" );
|
||||
|
||||
fflush( stdout );
|
||||
|
||||
va_end( ap );
|
||||
}
|
||||
|
||||
// Helper to convert hex digit to integer
|
||||
char dtox(int d) {
|
||||
if (d>=0 && d<=9) return '0'+d;
|
||||
if (d>=10 && d<=16) return 'a'-10+d;
|
||||
return '0'; // not Hex digit
|
||||
}
|
||||
// Helper to convert hex digit to integer
|
||||
int xtod(char c) {
|
||||
if (c>='0' && c<='9') return c-'0';
|
||||
if (c>='A' && c<='F') return c-'A'+10;
|
||||
if (c>='a' && c<='f') return c-'a'+10;
|
||||
return c=0; // not Hex digit
|
||||
}
|
||||
// This is a hashing function
|
||||
void hash_hmac(const char *key, char *data, char *result) {
|
||||
unsigned char mac[SHA512_DIGEST_SIZE];
|
||||
hmac_sha512((unsigned char *)key, strlen(key), (unsigned char *)data, strlen(data), mac, SHA512_DIGEST_SIZE);
|
||||
for (int i=0; i<SHA512_DIGEST_SIZE; i++) {
|
||||
unsigned char c = mac[i];
|
||||
*(result+2*i) = dtox((int)c/16);
|
||||
*(result+2*i+1) = dtox(c%16);
|
||||
}
|
||||
}
|
||||
// Helper to replace substrings
|
||||
string& replaceAll(string& context, const string& from, const string& to)
|
||||
{
|
||||
size_t lookHere = 0;
|
||||
size_t foundHere;
|
||||
while((foundHere = context.find(from, lookHere)) != string::npos)
|
||||
{
|
||||
context.replace(foundHere, from.size(), to);
|
||||
lookHere = foundHere + to.size();
|
||||
}
|
||||
return context;
|
||||
}
|
||||
// Basic parsing
|
||||
int ParseResponse(const char *xmlstring,const char *rslCode,const char *what,char *response) {
|
||||
|
||||
// <?xml version="1.0" encoding="UTF-8"?><PayLid><TransactionReference>111111111111111</TransactionReference><ResultCryptogram>B7AFD916C387DCF87DB91C9EAA9828DA</ResultCryptogram></PayLid>
|
||||
using namespace SimpleXMLParser;
|
||||
|
||||
string xml(xmlstring);
|
||||
string lto = "<";
|
||||
string gto = ">";
|
||||
string ltr = "<";
|
||||
string gtr = ">";
|
||||
xml = replaceAll(xml,lto, ltr);
|
||||
xml = replaceAll(xml,gto, gtr);
|
||||
xml = "<PayLid>" + xml + "</PayLid>";
|
||||
|
||||
#ifdef TEST
|
||||
cout << "RSL: " << rslCode << endl;
|
||||
cout << "RAW: " << xmlstring << endl;
|
||||
cout << "XML: " << xml << endl;
|
||||
#endif
|
||||
|
||||
int rsl = atoi(rslCode);
|
||||
|
||||
// logfmt( FLOG_MAX, "Response: %s", paylid__directAirTimeTopUpResponse_.Data.c_str() );
|
||||
logfmt( FLOG_MAX, "Response: rsl %d", rsl );
|
||||
|
||||
if (rsl!=10000) {
|
||||
switch (rsl) {
|
||||
case 20000: strcpy(response,"Invalid terminal ID");break;
|
||||
case 30000: strcpy(response,"Hash HMAC validation failed");break;
|
||||
case 40000: strcpy(response,"Service database error");break;
|
||||
case 50000: strcpy(response,"IP access denied");break;
|
||||
case 90000: strcpy(response,"Custom base error");break;
|
||||
default: strcpy(response,"Unknown code"); break;
|
||||
}
|
||||
return rsl;
|
||||
}
|
||||
|
||||
XmlParser parser;
|
||||
const Element& root = parser.Parse(xml.c_str(),strlen(xml.c_str()));
|
||||
|
||||
if (root.GetName()!="PayLid") {
|
||||
#ifdef TEST
|
||||
cout << "Unknown XML response" << endl;
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
int ret = rsl; // Empty result cryptogram error
|
||||
const Elements* classes = root.GetChildren();
|
||||
if(classes != 0) {
|
||||
for(Elements::const_iterator class_it = classes->begin();class_it != classes->end(); ++class_it) {
|
||||
|
||||
|
||||
if ((*class_it)->GetName()==what) {
|
||||
const string value = (*class_it)->GetValue();
|
||||
strcpy(response,value.c_str());
|
||||
// There is no cryptogram - override
|
||||
if ((*class_it)->GetName()=="TransResponseCode") {
|
||||
ret = atoi(value.c_str());
|
||||
}
|
||||
|
||||
if ((*class_it)->GetName()=="delivery_status") {
|
||||
ret = atoi(value.c_str());
|
||||
}
|
||||
} else {
|
||||
#ifdef TEST
|
||||
cout << (*class_it)->GetName() << endl;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
void GenerateUniqueRef(char *buffer,int bSize) {
|
||||
buffer[0] = 'P';
|
||||
buffer[1] = 'L';
|
||||
buffer[2] = 'I';
|
||||
buffer[3] = 'D';
|
||||
int i = 4, n = bSize - 4;
|
||||
time_t seconds;
|
||||
seconds = time (NULL);
|
||||
while (seconds>0 && n>0) {
|
||||
int d = seconds % 10;
|
||||
buffer[i++] = '0'+d;
|
||||
seconds /= 10;
|
||||
n--;
|
||||
}
|
||||
while (n>0) {
|
||||
buffer[i++] = '\0';
|
||||
n--;
|
||||
}
|
||||
}
|
||||
|
||||
long storeface_transferFund(const char *endpoint, const char *tid, const char *toDestination, const char *key, char *error) {
|
||||
|
||||
//plog->SetFileName( PREFIX"/logs/SendMoneyPayLid.log" );
|
||||
|
||||
long result = -1;
|
||||
string status = "Unknown error";
|
||||
soap_ssl_init(); /* init OpenSSL (just once) */
|
||||
paylidwsdlBindingProxy *q = new paylidwsdlBindingProxy();
|
||||
q->soap_endpoint = endpoint;
|
||||
paylid__transferFundResponse paylid__transferFundResponse_; // = new paylid__transferFundResponse();
|
||||
|
||||
string terminalID(tid);
|
||||
|
||||
logfmt( FLOG_MAX, "XML SENT-> %s", toDestination);
|
||||
string toDestinationString(toDestination);
|
||||
|
||||
string data = tid;
|
||||
data += toDestination;
|
||||
//logfmt( FLOG_MAX, "DATA-> %s", data.c_str());
|
||||
// Get hash HMAC
|
||||
const int mac_512_size = 2*SHA512_DIGEST_SIZE+1;
|
||||
char hmac[mac_512_size];
|
||||
memset(hmac,0,mac_512_size);
|
||||
hash_hmac(key, (char *)data.c_str(), hmac);
|
||||
logfmt( FLOG_MAX, "HMAC is '%s'", hmac);
|
||||
|
||||
if (hmac!=NULL) {
|
||||
string hmacString(hmac);
|
||||
|
||||
if (soap_ssl_client_context(q,SOAP_SSL_SKIP_HOST_CHECK|SOAP_SSL_ALLOW_EXPIRED_CERTIFICATE|SOAP_SSL_NO_AUTHENTICATION,NULL,NULL,NULL,NULL,NULL)) {
|
||||
soap_print_fault(q, stderr);
|
||||
status = "Cannoy initalize SOAP/SSL";
|
||||
strncpy(error,status.c_str(),strlen(error));
|
||||
return -1L;
|
||||
}
|
||||
|
||||
#ifdef TEST
|
||||
cout << "terminalID=" << terminalID.c_str() << endl;
|
||||
cout << "toDestination=" << toDestinationString.c_str() << endl;
|
||||
cout << "hmac=" << hmacString.c_str() << endl;
|
||||
#endif
|
||||
result = SOAP_ERR;
|
||||
try {
|
||||
result = q->transferFund(terminalID, toDestinationString, hmacString, paylid__transferFundResponse_);
|
||||
|
||||
} catch (...) {
|
||||
status = "Proxy exception";
|
||||
}
|
||||
if (result == SOAP_OK) {
|
||||
char response[BUFSIZE];
|
||||
memset(response,0,BUFSIZE);
|
||||
result = ParseResponse(paylid__transferFundResponse_.Data.c_str(),paylid__transferFundResponse_.Code.c_str(),"TransactionReference",response);
|
||||
/*
|
||||
struct paylid__transferFundResponse
|
||||
{
|
||||
std::string Code;
|
||||
std::string Data;
|
||||
std::string Hmac;
|
||||
};
|
||||
*/
|
||||
char c[32];
|
||||
sprintf(c, "%d", result);
|
||||
if (result<0) {
|
||||
status = "ParseResponse() error: ";
|
||||
status += c;
|
||||
} else {
|
||||
status = response;
|
||||
}
|
||||
} else {
|
||||
if (q!=NULL && q->soap_fault_string()!=NULL) {
|
||||
status = "Fault string: ";
|
||||
status += q->soap_fault_string();
|
||||
}
|
||||
if (q!=NULL && q->soap_fault_detail()) {
|
||||
status += "Fault detail: ";
|
||||
status += q->soap_fault_detail();
|
||||
}
|
||||
if (q==NULL) {
|
||||
status = "Bad proxy";
|
||||
} else {
|
||||
//cout << "Unknown error: " << result << endl;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
status = "Hash HMAC error";
|
||||
}
|
||||
//delete paylid__transferFundResponse_;
|
||||
delete q;
|
||||
strncpy(error,status.c_str(),strlen(error));
|
||||
return result;
|
||||
}
|
||||
|
||||
long storeface_checkTransferStatus(const char *endpoint, const char *tid, const char *transactionRef, const char *key, char *error) {
|
||||
long result = -1;
|
||||
string status = "Unknown error";
|
||||
soap_ssl_init(); /* init OpenSSL (just once) */
|
||||
paylidwsdlBindingProxy *q = new paylidwsdlBindingProxy();
|
||||
q->soap_endpoint = endpoint;
|
||||
paylid__checkTransferStatusResponse paylid__checkTransferStatusResponse_;
|
||||
string terminalID(tid);
|
||||
//No session key required
|
||||
string transactionRefString(transactionRef);
|
||||
|
||||
// Get hash HMAC
|
||||
const int mac_512_size = 2*SHA512_DIGEST_SIZE+1;
|
||||
char hmac[mac_512_size];
|
||||
memset(hmac,0,mac_512_size);
|
||||
hash_hmac(key, (char *)tid, hmac);
|
||||
|
||||
string hmacString(hmac);
|
||||
|
||||
if (soap_ssl_client_context(q,SOAP_SSL_SKIP_HOST_CHECK|SOAP_SSL_ALLOW_EXPIRED_CERTIFICATE|SOAP_SSL_NO_AUTHENTICATION,NULL,NULL,NULL,NULL,NULL)) {
|
||||
soap_print_fault(q, stderr);
|
||||
status = "Cannoy initalize SOAP/SSL";
|
||||
strncpy(error,status.c_str(),strlen(error));
|
||||
return -1L;
|
||||
}
|
||||
|
||||
result = SOAP_ERR;
|
||||
try {
|
||||
result = q->checkTransferStatus(terminalID, transactionRefString, hmacString, paylid__checkTransferStatusResponse_);
|
||||
|
||||
} catch (...) {
|
||||
status = "Proxy exception";
|
||||
}
|
||||
if (result == SOAP_OK) {
|
||||
char response[BUFSIZE];
|
||||
memset(response,0,BUFSIZE);
|
||||
result = ParseResponse(paylid__checkTransferStatusResponse_.Data.c_str(),paylid__checkTransferStatusResponse_.Code.c_str(),"TransResponseCode",response);
|
||||
char c[32];
|
||||
sprintf(c, "%d", result);
|
||||
if (result<0) {
|
||||
status = "ParseResponse() error: ";
|
||||
status += c;
|
||||
} else {
|
||||
status = response;
|
||||
}
|
||||
} else {
|
||||
if (q!=NULL && q->soap_fault_string()!=NULL) {
|
||||
status = "Fault string: ";
|
||||
status += q->soap_fault_string();
|
||||
}
|
||||
if (q!=NULL && q->soap_fault_detail()) {
|
||||
status += "Fault detail: ";
|
||||
status += q->soap_fault_detail();
|
||||
}
|
||||
if (q==NULL) {
|
||||
status = "Bad proxy";
|
||||
} else {
|
||||
//cout << "Unknown error: " << result << endl;
|
||||
}
|
||||
}
|
||||
delete q;
|
||||
strncpy(error,status.c_str(),strlen(error));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
long storeface_getAccountBalance(const char *endpoint, const char *tid, const char *key, char *error) {
|
||||
logfmt( FLOG_MAX, "long storeface_getAccountBalance(const char *endpoint, const char *tid, const char *key, char *error)");
|
||||
logfmt( FLOG_MAX, "endpoint=%s", endpoint);
|
||||
|
||||
int result = -1;
|
||||
string status = "Unknown error";
|
||||
soap_ssl_init(); /* init OpenSSL (just once) */
|
||||
//paylidwsdlBindingProxy *q = new paylidwsdlBindingProxy();
|
||||
paylidwsdlBindingProxy q;
|
||||
q.soap_endpoint = endpoint;
|
||||
paylid__getAccountBalanceResponse paylid__getAccountBalanceResponse_;
|
||||
string terminalID(tid);
|
||||
|
||||
// Get hash HMAC
|
||||
const int mac_512_size = 2*SHA512_DIGEST_SIZE+1;
|
||||
char hmac[mac_512_size];
|
||||
memset(hmac,0,mac_512_size);
|
||||
hash_hmac(key, (char *)tid, hmac);
|
||||
|
||||
if (hmac!=NULL) {
|
||||
string hmacString(hmac);
|
||||
|
||||
if (soap_ssl_client_context(&q,SOAP_SSL_SKIP_HOST_CHECK|SOAP_SSL_ALLOW_EXPIRED_CERTIFICATE|SOAP_SSL_NO_AUTHENTICATION,NULL,NULL,NULL,NULL,NULL)) {
|
||||
soap_print_fault(&q, stderr);
|
||||
status = "Cannot initalize SOAP/SSL";
|
||||
strncpy(error,status.c_str(),strlen(error));
|
||||
return -1L;
|
||||
}
|
||||
|
||||
#ifdef TEST
|
||||
cout << "terminalID=" << terminalID.c_str() << endl;
|
||||
cout << "hmac=" << hmacString.c_str() << endl;
|
||||
#endif
|
||||
|
||||
result = SOAP_ERR; // -1
|
||||
try {
|
||||
result = q.getAccountBalance(terminalID, hmacString, paylid__getAccountBalanceResponse_);
|
||||
|
||||
} catch (...) {
|
||||
status = "Proxy exception";
|
||||
}
|
||||
|
||||
logfmt( FLOG_MAX, "SOAP call result = %d", result );
|
||||
|
||||
if (result == SOAP_OK) {
|
||||
char response[BUFSIZE];
|
||||
memset(response,0,BUFSIZE);
|
||||
result = ParseResponse(paylid__getAccountBalanceResponse_.Data.c_str(),paylid__getAccountBalanceResponse_.Code.c_str(),"balance",response);
|
||||
char c[32];
|
||||
sprintf(c, "%d", result);
|
||||
if (result<0) {
|
||||
status = "ParseResponse() error: ";
|
||||
status += c;
|
||||
} else {
|
||||
status = response;
|
||||
}
|
||||
} else {/*
|
||||
if (q!=NULL && q.soap_fault_string()!=NULL) {
|
||||
status = "Fault string: ";
|
||||
status += q.soap_fault_string();
|
||||
}
|
||||
if (q!=NULL && q.soap_fault_detail()) {
|
||||
status += "Fault detail: ";
|
||||
status += q.soap_fault_detail();
|
||||
}
|
||||
if (q==NULL) {
|
||||
status = "Bad proxy";
|
||||
} else {
|
||||
//cout << "Unknown error: " << result << endl;
|
||||
}
|
||||
*/
|
||||
}
|
||||
} else {
|
||||
status = "Hash hmac error";
|
||||
}
|
||||
// WARNING: momory leak!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
q.destroy();
|
||||
//delete q;
|
||||
//q = NULL;
|
||||
|
||||
strncpy(error,status.c_str(),strlen(error));
|
||||
logfmt( FLOG_MAX, "/long storeface_getAccountBalance(const char *endpoint, const char *tid, const char *key, char *error)");
|
||||
return (long)result;
|
||||
}
|
||||
|
||||
long storeface_directAirTimeTopUp(const char *endpoint, const char *tid, const char *topupData, const char *key, char *error, long &delivery_status) {
|
||||
long result = -1;
|
||||
string status = "Unknown error";
|
||||
soap_ssl_init(); /* init OpenSSL (just once) */
|
||||
paylidwsdlBindingProxy *q = new paylidwsdlBindingProxy();
|
||||
q->soap_endpoint = endpoint;
|
||||
paylid__directAirTimeTopUpResponse paylid__directAirTimeTopUpResponse_;
|
||||
string terminalID(tid);
|
||||
string topupDataString(topupData);
|
||||
|
||||
// Get hash HMAC
|
||||
const int mac_512_size = 2*SHA512_DIGEST_SIZE+1;
|
||||
char hmac[mac_512_size];
|
||||
memset(hmac,0,mac_512_size);
|
||||
hash_hmac(key, (char *)tid, hmac);
|
||||
|
||||
if (hmac!=NULL) {
|
||||
string hmacString(hmac);
|
||||
|
||||
if (soap_ssl_client_context(q,SOAP_SSL_SKIP_HOST_CHECK|SOAP_SSL_ALLOW_EXPIRED_CERTIFICATE|SOAP_SSL_NO_AUTHENTICATION,NULL,NULL,NULL,NULL,NULL)) {
|
||||
soap_print_fault(q, stderr);
|
||||
status = "Cannoy initalize SOAP/SSL";
|
||||
strncpy(error,status.c_str(),strlen(error));
|
||||
return -1L;
|
||||
}
|
||||
delivery_status = 56789;
|
||||
result = SOAP_ERR;
|
||||
try {
|
||||
result = q->directAirTimeTopUp(terminalID, topupDataString, hmacString, paylid__directAirTimeTopUpResponse_);
|
||||
|
||||
} catch (...) {
|
||||
status = "Proxy exception";
|
||||
}
|
||||
if (result == SOAP_OK) {
|
||||
logfmt( FLOG_MAX, "Response: %s", paylid__directAirTimeTopUpResponse_.Data.c_str() );
|
||||
char response[BUFSIZE];
|
||||
memset(response,0,BUFSIZE);
|
||||
result = 1L;
|
||||
// result = ParseResponse(paylid__directAirTimeTopUpResponse_->return_->c_str(),sessKey,"Balance",response);
|
||||
//ParseResponse(paylid__directAirTimeTopUpResponse_.Data.c_str(),paylid__directAirTimeTopUpResponse_.Code.c_str(),"result",response);
|
||||
delivery_status = ParseResponse(paylid__directAirTimeTopUpResponse_.Data.c_str(),paylid__directAirTimeTopUpResponse_.Code.c_str(),"delivery_status",response);
|
||||
|
||||
//delivery_status = (long)response;
|
||||
|
||||
// delivery_status = 56789;
|
||||
char c[32];
|
||||
sprintf(c, "%d", result);
|
||||
if (result<0) {
|
||||
status = "ParseResponse() error: ";
|
||||
status += c;
|
||||
} else {
|
||||
status = response;
|
||||
}
|
||||
} else {
|
||||
if (q!=NULL && q->soap_fault_string()!=NULL) {
|
||||
status = "Fault string: ";
|
||||
status += q->soap_fault_string();
|
||||
}
|
||||
if (q!=NULL && q->soap_fault_detail()) {
|
||||
status += "Fault detail: ";
|
||||
status += q->soap_fault_detail();
|
||||
}
|
||||
if (q==NULL) {
|
||||
status = "Bad proxy";
|
||||
} else {
|
||||
//cout << "Unknown error: " << result << endl;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
status = "Hash hmac error";
|
||||
}
|
||||
delete q;
|
||||
strncpy(error,status.c_str(),strlen(error));
|
||||
return result;
|
||||
}
|
||||
|
||||
#ifdef TEST
|
||||
int main(void) {
|
||||
// Common
|
||||
long ret = 0;
|
||||
const char *endpoint = "http://oameye.works.storeface.com/rsl/service.php";
|
||||
const char *tid = "INTERRA001";
|
||||
// WARNING: Key is case-sensetive!
|
||||
const char *key = "29832d0e1a51eff1cb673feda90293abec053aa5b81f9649d9ed53de86f79ed7";
|
||||
const int mac_512_size = 2*SHA512_DIGEST_SIZE+1;
|
||||
char hmac[mac_512_size];
|
||||
// 78fa6a576f52342df61628e2ad48f11027c3d619c00c598c1ca1a9ce086febcd603b846da02eaa5f3a77a97478a8fa0d1832afe2ef7a0715629d7f8f2f4140d1
|
||||
|
||||
// Specific
|
||||
const char *account = "4852010016214"; //"00010080023868"; //"0910010905070015"; //"0910010705222055";
|
||||
char* status = (char *)malloc(BUFSIZE);
|
||||
memset(status,32,BUFSIZE);
|
||||
status[BUFSIZE] = '\0';
|
||||
|
||||
//memset(hmac,0,mac_512_size);
|
||||
//hash_hmac(key, (char *)tid, hmac);
|
||||
cout << "==========================================================" << endl;
|
||||
cout << "getAccountBalance(tid,hmac,status)" << endl;
|
||||
ret = storeface_getAccountBalance(endpoint,tid,key,status);
|
||||
cout << "Return: " << ret << endl << "Status: " << status << endl;
|
||||
memset(status,32,BUFSIZE);
|
||||
status[BUFSIZE] = '\0';
|
||||
|
||||
char *uniqueRef = (char *)malloc(32);
|
||||
GenerateUniqueRef(uniqueRef,32);
|
||||
|
||||
memset(hmac,0,mac_512_size);
|
||||
hash_hmac(key, (char *)tid, hmac);
|
||||
cout << "==========================================================" << endl;
|
||||
cout << "transferFund(tid,toDestination,hmac)" << endl;
|
||||
cout << "Unique Reference: " << uniqueRef << endl;
|
||||
ret = storeface_transferFund(endpoint,tid,uniqueRef,hmac,status); // 100.00
|
||||
cout << "Return: " << ret << endl << "Status: " << status << endl;
|
||||
cout << "Unique Reference: " << uniqueRef << endl;
|
||||
memset(status,32,BUFSIZE);
|
||||
status[BUFSIZE] = '\0';
|
||||
|
||||
memset(hmac,0,mac_512_size);
|
||||
hash_hmac(key, (char *)tid, hmac);
|
||||
cout << "==========================================================" << endl;
|
||||
cout << "checkTransferStatus(tid,transactionRef,hmac,status)" << endl;
|
||||
cout << "Unique Reference: " << uniqueRef << endl;
|
||||
ret = storeface_checkTransferStatus(endpoint,tid,uniqueRef,hmac,status);
|
||||
cout << "Return: " << ret << endl << "Status: " << status << endl;
|
||||
|
||||
free(uniqueRef);
|
||||
free(status);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
// vi:ts=2
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,11 +0,0 @@
|
||||
|
||||
#include "paylidH.h"
|
||||
SOAP_NMAC struct Namespace paylid_namespaces[] =
|
||||
{
|
||||
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
|
||||
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
|
||||
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
|
||||
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
|
||||
{"paylid", "urn:paylidwsdl", NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,915 +0,0 @@
|
||||
/* paylidH.h
|
||||
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 paylidH_H
|
||||
#define paylidH_H
|
||||
#include "paylidStub.h"
|
||||
|
||||
namespace paylid {
|
||||
#ifndef WITH_NOIDREF
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap*, const void*, int);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap*);
|
||||
#endif
|
||||
SOAP_FMAC3 void *SOAP_FMAC4 soap_getelement(struct soap*, int*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap*, const void*, const char*, int, int);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap*);
|
||||
|
||||
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap);
|
||||
|
||||
SOAP_FMAC3 void * SOAP_FMAC4 paylid_instantiate(struct soap*, int, const char*, const char*, size_t*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 paylid_fdelete(struct soap_clist*);
|
||||
SOAP_FMAC3 void* SOAP_FMAC4 soap_class_id_enter(struct soap*, const char*, void*, int, size_t, const char*, const char*);
|
||||
|
||||
SOAP_FMAC3 void* SOAP_FMAC4 soap_container_id_forward(struct soap*, const char*, void*, size_t, int, int, size_t, unsigned int);
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 paylid_container_insert(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_byte
|
||||
#define SOAP_TYPE_paylid_byte (3)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap*, char *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap*, const char*, int, const char *, const char*);
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap*, const char*, char *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap*, const char *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_byte
|
||||
#define soap_write_byte(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_byte(soap, data),0) || paylid::soap_put_byte(soap, data, "byte", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap*, char *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_byte
|
||||
#define soap_read_byte(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_byte(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_int
|
||||
#define SOAP_TYPE_paylid_int (1)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap*, int *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap*, const char*, int, const int *, const char*);
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap*, const char*, int *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap*, const int *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_int
|
||||
#define soap_write_int(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_int(soap, data),0) || paylid::soap_put_int(soap, data, "int", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap*, int *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_int
|
||||
#define soap_read_int(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_int(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_std__string
|
||||
#define SOAP_TYPE_paylid_std__string (9)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__string(struct soap*, std::string *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__string(struct soap*, const std::string *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__string(struct soap*, const char*, int, const std::string*, const char*);
|
||||
SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_std__string(struct soap*, const char*, std::string*, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__string(struct soap*, const std::string *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_std__string
|
||||
#define soap_write_std__string(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (soap_serialize_std__string(soap, data),0) || soap_put_std__string(soap, data, "string", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_std__string(struct soap*, std::string *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_std__string
|
||||
#define soap_read_std__string(soap, data) ( soap_begin_recv(soap) || !soap_get_std__string(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 std::string * SOAP_FMAC2 soap_instantiate_std__string(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline std::string * soap_new_std__string(struct soap *soap, int n = -1) { return soap_instantiate_std__string(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline std::string * soap_new_req_std__string(struct soap *soap) { std::string *_p = soap_instantiate_std__string(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_std__string(soap, _p); } return _p; }
|
||||
|
||||
inline std::string * soap_new_set_std__string(struct soap *soap) { std::string *_p = soap_instantiate_std__string(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_std__string(soap, _p); } return _p; }
|
||||
|
||||
inline void soap_delete_std__string(struct soap *soap, std::string *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_std__string(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Fault (48)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap*, const char*, int, const struct SOAP_ENV__Fault *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct soap*, const char*, struct SOAP_ENV__Fault *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Fault
|
||||
#define soap_write_SOAP_ENV__Fault(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_SOAP_ENV__Fault(soap, data),0) || paylid::soap_put_SOAP_ENV__Fault(soap, data, "SOAP-ENV:Fault", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Fault
|
||||
#define soap_read_SOAP_ENV__Fault(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_SOAP_ENV__Fault(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_SOAP_ENV__Fault(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Fault(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_req_SOAP_ENV__Fault(struct soap *soap) { struct SOAP_ENV__Fault *_p = soap_instantiate_SOAP_ENV__Fault(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Fault(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_set_SOAP_ENV__Fault(struct soap *soap, char *faultcode, char *faultstring, char *faultactor, struct SOAP_ENV__Detail *detail, struct SOAP_ENV__Code *SOAP_ENV__Code, struct SOAP_ENV__Reason *SOAP_ENV__Reason, char *SOAP_ENV__Node, char *SOAP_ENV__Role, struct SOAP_ENV__Detail *SOAP_ENV__Detail) { struct SOAP_ENV__Fault *_p = soap_instantiate_SOAP_ENV__Fault(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Fault(soap, _p); _p->faultcode = faultcode; _p->faultstring = faultstring; _p->faultactor = faultactor; _p->detail = detail; _p->SOAP_ENV__Code = SOAP_ENV__Code; _p->SOAP_ENV__Reason = SOAP_ENV__Reason; _p->SOAP_ENV__Node = SOAP_ENV__Node; _p->SOAP_ENV__Role = SOAP_ENV__Role; _p->SOAP_ENV__Detail = SOAP_ENV__Detail; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Fault(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Reason (47)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Reason(struct soap*, const struct SOAP_ENV__Reason *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Reason(struct soap*, const char*, int, const struct SOAP_ENV__Reason *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_in_SOAP_ENV__Reason(struct soap*, const char*, struct SOAP_ENV__Reason *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Reason(struct soap*, const struct SOAP_ENV__Reason *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Reason
|
||||
#define soap_write_SOAP_ENV__Reason(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_SOAP_ENV__Reason(soap, data),0) || paylid::soap_put_SOAP_ENV__Reason(soap, data, "SOAP-ENV:Reason", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_get_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Reason
|
||||
#define soap_read_SOAP_ENV__Reason(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_SOAP_ENV__Reason(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_SOAP_ENV__Reason(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Reason(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_req_SOAP_ENV__Reason(struct soap *soap) { struct SOAP_ENV__Reason *_p = soap_instantiate_SOAP_ENV__Reason(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Reason(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_set_SOAP_ENV__Reason(struct soap *soap, char *SOAP_ENV__Text) { struct SOAP_ENV__Reason *_p = soap_instantiate_SOAP_ENV__Reason(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Reason(soap, _p); _p->SOAP_ENV__Text = SOAP_ENV__Text; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Reason(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Detail (44)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap*, const char*, int, const struct SOAP_ENV__Detail *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Detail
|
||||
#define soap_write_SOAP_ENV__Detail(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_SOAP_ENV__Detail(soap, data),0) || paylid::soap_put_SOAP_ENV__Detail(soap, data, "SOAP-ENV:Detail", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Detail
|
||||
#define soap_read_SOAP_ENV__Detail(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_SOAP_ENV__Detail(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_SOAP_ENV__Detail(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Detail(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_req_SOAP_ENV__Detail(struct soap *soap, int __type, void *fault) { struct SOAP_ENV__Detail *_p = soap_instantiate_SOAP_ENV__Detail(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Detail(soap, _p); _p->__type = __type; _p->fault = fault; } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_set_SOAP_ENV__Detail(struct soap *soap, char *__any, int __type, void *fault) { struct SOAP_ENV__Detail *_p = soap_instantiate_SOAP_ENV__Detail(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Detail(soap, _p); _p->__any = __any; _p->__type = __type; _p->fault = fault; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Detail(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Code (42)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap*, const char*, int, const struct SOAP_ENV__Code *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Code
|
||||
#define soap_write_SOAP_ENV__Code(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_SOAP_ENV__Code(soap, data),0) || paylid::soap_put_SOAP_ENV__Code(soap, data, "SOAP-ENV:Code", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Code
|
||||
#define soap_read_SOAP_ENV__Code(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_SOAP_ENV__Code(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_SOAP_ENV__Code(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Code(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_req_SOAP_ENV__Code(struct soap *soap) { struct SOAP_ENV__Code *_p = soap_instantiate_SOAP_ENV__Code(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Code(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_set_SOAP_ENV__Code(struct soap *soap, char *SOAP_ENV__Value, struct SOAP_ENV__Code *SOAP_ENV__Subcode) { struct SOAP_ENV__Code *_p = soap_instantiate_SOAP_ENV__Code(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Code(soap, _p); _p->SOAP_ENV__Value = SOAP_ENV__Value; _p->SOAP_ENV__Subcode = SOAP_ENV__Subcode; } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Code(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Header (41)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap*, const char*, int, const struct SOAP_ENV__Header *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap*, const char*, struct SOAP_ENV__Header *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Header
|
||||
#define soap_write_SOAP_ENV__Header(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_SOAP_ENV__Header(soap, data),0) || paylid::soap_put_SOAP_ENV__Header(soap, data, "SOAP-ENV:Header", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Header
|
||||
#define soap_read_SOAP_ENV__Header(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_SOAP_ENV__Header(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_SOAP_ENV__Header(struct soap *soap, int n = -1) { return soap_instantiate_SOAP_ENV__Header(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_req_SOAP_ENV__Header(struct soap *soap) { struct SOAP_ENV__Header *_p = soap_instantiate_SOAP_ENV__Header(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Header(soap, _p); } return _p; }
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_set_SOAP_ENV__Header(struct soap *soap) { struct SOAP_ENV__Header *_p = soap_instantiate_SOAP_ENV__Header(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_SOAP_ENV__Header(soap, _p); } return _p; }
|
||||
|
||||
inline void soap_delete_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Header(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getSupportedBanks
|
||||
#define SOAP_TYPE_paylid_paylid__getSupportedBanks (40)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getSupportedBanks(struct soap*, struct paylid__getSupportedBanks *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getSupportedBanks(struct soap*, const struct paylid__getSupportedBanks *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getSupportedBanks(struct soap*, const char*, int, const struct paylid__getSupportedBanks *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getSupportedBanks * SOAP_FMAC4 soap_in_paylid__getSupportedBanks(struct soap*, const char*, struct paylid__getSupportedBanks *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getSupportedBanks(struct soap*, const struct paylid__getSupportedBanks *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getSupportedBanks
|
||||
#define soap_write_paylid__getSupportedBanks(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getSupportedBanks(soap, data),0) || paylid::soap_put_paylid__getSupportedBanks(soap, data, "paylid:getSupportedBanks", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getSupportedBanks * SOAP_FMAC4 soap_get_paylid__getSupportedBanks(struct soap*, struct paylid__getSupportedBanks *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getSupportedBanks
|
||||
#define soap_read_paylid__getSupportedBanks(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getSupportedBanks(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getSupportedBanks * SOAP_FMAC2 soap_instantiate_paylid__getSupportedBanks(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getSupportedBanks * soap_new_paylid__getSupportedBanks(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getSupportedBanks(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getSupportedBanks * soap_new_req_paylid__getSupportedBanks(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getSupportedBanks *_p = soap_instantiate_paylid__getSupportedBanks(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getSupportedBanks(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getSupportedBanks * soap_new_set_paylid__getSupportedBanks(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getSupportedBanks *_p = soap_instantiate_paylid__getSupportedBanks(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getSupportedBanks(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getSupportedBanks(struct soap *soap, struct paylid__getSupportedBanks *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getSupportedBanks(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getSupportedBanksResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getSupportedBanksResponse (37)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getSupportedBanksResponse(struct soap*, struct paylid__getSupportedBanksResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getSupportedBanksResponse(struct soap*, const struct paylid__getSupportedBanksResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getSupportedBanksResponse(struct soap*, const char*, int, const struct paylid__getSupportedBanksResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getSupportedBanksResponse * SOAP_FMAC4 soap_in_paylid__getSupportedBanksResponse(struct soap*, const char*, struct paylid__getSupportedBanksResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getSupportedBanksResponse(struct soap*, const struct paylid__getSupportedBanksResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getSupportedBanksResponse
|
||||
#define soap_write_paylid__getSupportedBanksResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getSupportedBanksResponse(soap, data),0) || paylid::soap_put_paylid__getSupportedBanksResponse(soap, data, "paylid:getSupportedBanksResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getSupportedBanksResponse * SOAP_FMAC4 soap_get_paylid__getSupportedBanksResponse(struct soap*, struct paylid__getSupportedBanksResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getSupportedBanksResponse
|
||||
#define soap_read_paylid__getSupportedBanksResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getSupportedBanksResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getSupportedBanksResponse * SOAP_FMAC2 soap_instantiate_paylid__getSupportedBanksResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getSupportedBanksResponse * soap_new_paylid__getSupportedBanksResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getSupportedBanksResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getSupportedBanksResponse * soap_new_req_paylid__getSupportedBanksResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getSupportedBanksResponse *_p = soap_instantiate_paylid__getSupportedBanksResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getSupportedBanksResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getSupportedBanksResponse * soap_new_set_paylid__getSupportedBanksResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getSupportedBanksResponse *_p = soap_instantiate_paylid__getSupportedBanksResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getSupportedBanksResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getSupportedBanksResponse(struct soap *soap, struct paylid__getSupportedBanksResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getSupportedBanksResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getTrxStatus
|
||||
#define SOAP_TYPE_paylid_paylid__getTrxStatus (36)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getTrxStatus(struct soap*, struct paylid__getTrxStatus *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getTrxStatus(struct soap*, const struct paylid__getTrxStatus *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getTrxStatus(struct soap*, const char*, int, const struct paylid__getTrxStatus *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getTrxStatus * SOAP_FMAC4 soap_in_paylid__getTrxStatus(struct soap*, const char*, struct paylid__getTrxStatus *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getTrxStatus(struct soap*, const struct paylid__getTrxStatus *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getTrxStatus
|
||||
#define soap_write_paylid__getTrxStatus(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getTrxStatus(soap, data),0) || paylid::soap_put_paylid__getTrxStatus(soap, data, "paylid:getTrxStatus", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getTrxStatus * SOAP_FMAC4 soap_get_paylid__getTrxStatus(struct soap*, struct paylid__getTrxStatus *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getTrxStatus
|
||||
#define soap_read_paylid__getTrxStatus(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getTrxStatus(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getTrxStatus * SOAP_FMAC2 soap_instantiate_paylid__getTrxStatus(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getTrxStatus * soap_new_paylid__getTrxStatus(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getTrxStatus(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getTrxStatus * soap_new_req_paylid__getTrxStatus(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getTrxStatus *_p = soap_instantiate_paylid__getTrxStatus(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getTrxStatus(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getTrxStatus * soap_new_set_paylid__getTrxStatus(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getTrxStatus *_p = soap_instantiate_paylid__getTrxStatus(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getTrxStatus(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getTrxStatus(struct soap *soap, struct paylid__getTrxStatus *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getTrxStatus(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getTrxStatusResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getTrxStatusResponse (33)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getTrxStatusResponse(struct soap*, struct paylid__getTrxStatusResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getTrxStatusResponse(struct soap*, const struct paylid__getTrxStatusResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getTrxStatusResponse(struct soap*, const char*, int, const struct paylid__getTrxStatusResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getTrxStatusResponse * SOAP_FMAC4 soap_in_paylid__getTrxStatusResponse(struct soap*, const char*, struct paylid__getTrxStatusResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getTrxStatusResponse(struct soap*, const struct paylid__getTrxStatusResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getTrxStatusResponse
|
||||
#define soap_write_paylid__getTrxStatusResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getTrxStatusResponse(soap, data),0) || paylid::soap_put_paylid__getTrxStatusResponse(soap, data, "paylid:getTrxStatusResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getTrxStatusResponse * SOAP_FMAC4 soap_get_paylid__getTrxStatusResponse(struct soap*, struct paylid__getTrxStatusResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getTrxStatusResponse
|
||||
#define soap_read_paylid__getTrxStatusResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getTrxStatusResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getTrxStatusResponse * SOAP_FMAC2 soap_instantiate_paylid__getTrxStatusResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getTrxStatusResponse * soap_new_paylid__getTrxStatusResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getTrxStatusResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getTrxStatusResponse * soap_new_req_paylid__getTrxStatusResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getTrxStatusResponse *_p = soap_instantiate_paylid__getTrxStatusResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getTrxStatusResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getTrxStatusResponse * soap_new_set_paylid__getTrxStatusResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getTrxStatusResponse *_p = soap_instantiate_paylid__getTrxStatusResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getTrxStatusResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getTrxStatusResponse(struct soap *soap, struct paylid__getTrxStatusResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getTrxStatusResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccount
|
||||
#define SOAP_TYPE_paylid_paylid__getAccount (32)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccount(struct soap*, struct paylid__getAccount *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccount(struct soap*, const struct paylid__getAccount *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccount(struct soap*, const char*, int, const struct paylid__getAccount *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getAccount * SOAP_FMAC4 soap_in_paylid__getAccount(struct soap*, const char*, struct paylid__getAccount *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccount(struct soap*, const struct paylid__getAccount *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getAccount
|
||||
#define soap_write_paylid__getAccount(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getAccount(soap, data),0) || paylid::soap_put_paylid__getAccount(soap, data, "paylid:getAccount", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getAccount * SOAP_FMAC4 soap_get_paylid__getAccount(struct soap*, struct paylid__getAccount *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getAccount
|
||||
#define soap_read_paylid__getAccount(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getAccount(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getAccount * SOAP_FMAC2 soap_instantiate_paylid__getAccount(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getAccount * soap_new_paylid__getAccount(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getAccount(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getAccount * soap_new_req_paylid__getAccount(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getAccount *_p = soap_instantiate_paylid__getAccount(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccount(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getAccount * soap_new_set_paylid__getAccount(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__getAccount *_p = soap_instantiate_paylid__getAccount(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccount(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getAccount(struct soap *soap, struct paylid__getAccount *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccount(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountResponse (29)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccountResponse(struct soap*, struct paylid__getAccountResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccountResponse(struct soap*, const struct paylid__getAccountResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccountResponse(struct soap*, const char*, int, const struct paylid__getAccountResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getAccountResponse * SOAP_FMAC4 soap_in_paylid__getAccountResponse(struct soap*, const char*, struct paylid__getAccountResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccountResponse(struct soap*, const struct paylid__getAccountResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getAccountResponse
|
||||
#define soap_write_paylid__getAccountResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getAccountResponse(soap, data),0) || paylid::soap_put_paylid__getAccountResponse(soap, data, "paylid:getAccountResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getAccountResponse * SOAP_FMAC4 soap_get_paylid__getAccountResponse(struct soap*, struct paylid__getAccountResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getAccountResponse
|
||||
#define soap_read_paylid__getAccountResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getAccountResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getAccountResponse * SOAP_FMAC2 soap_instantiate_paylid__getAccountResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getAccountResponse * soap_new_paylid__getAccountResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getAccountResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getAccountResponse * soap_new_req_paylid__getAccountResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getAccountResponse *_p = soap_instantiate_paylid__getAccountResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getAccountResponse * soap_new_set_paylid__getAccountResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getAccountResponse *_p = soap_instantiate_paylid__getAccountResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getAccountResponse(struct soap *soap, struct paylid__getAccountResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccountResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__currentXrate
|
||||
#define SOAP_TYPE_paylid_paylid__currentXrate (28)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__currentXrate(struct soap*, struct paylid__currentXrate *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__currentXrate(struct soap*, const struct paylid__currentXrate *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__currentXrate(struct soap*, const char*, int, const struct paylid__currentXrate *, const char*);
|
||||
SOAP_FMAC3 struct paylid__currentXrate * SOAP_FMAC4 soap_in_paylid__currentXrate(struct soap*, const char*, struct paylid__currentXrate *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__currentXrate(struct soap*, const struct paylid__currentXrate *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__currentXrate
|
||||
#define soap_write_paylid__currentXrate(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__currentXrate(soap, data),0) || paylid::soap_put_paylid__currentXrate(soap, data, "paylid:currentXrate", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__currentXrate * SOAP_FMAC4 soap_get_paylid__currentXrate(struct soap*, struct paylid__currentXrate *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__currentXrate
|
||||
#define soap_read_paylid__currentXrate(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__currentXrate(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__currentXrate * SOAP_FMAC2 soap_instantiate_paylid__currentXrate(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__currentXrate * soap_new_paylid__currentXrate(struct soap *soap, int n = -1) { return soap_instantiate_paylid__currentXrate(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__currentXrate * soap_new_req_paylid__currentXrate(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__currentXrate *_p = soap_instantiate_paylid__currentXrate(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__currentXrate(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__currentXrate * soap_new_set_paylid__currentXrate(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__currentXrate *_p = soap_instantiate_paylid__currentXrate(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__currentXrate(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__currentXrate(struct soap *soap, struct paylid__currentXrate *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__currentXrate(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__currentXrateResponse
|
||||
#define SOAP_TYPE_paylid_paylid__currentXrateResponse (25)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__currentXrateResponse(struct soap*, struct paylid__currentXrateResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__currentXrateResponse(struct soap*, const struct paylid__currentXrateResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__currentXrateResponse(struct soap*, const char*, int, const struct paylid__currentXrateResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__currentXrateResponse * SOAP_FMAC4 soap_in_paylid__currentXrateResponse(struct soap*, const char*, struct paylid__currentXrateResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__currentXrateResponse(struct soap*, const struct paylid__currentXrateResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__currentXrateResponse
|
||||
#define soap_write_paylid__currentXrateResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__currentXrateResponse(soap, data),0) || paylid::soap_put_paylid__currentXrateResponse(soap, data, "paylid:currentXrateResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__currentXrateResponse * SOAP_FMAC4 soap_get_paylid__currentXrateResponse(struct soap*, struct paylid__currentXrateResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__currentXrateResponse
|
||||
#define soap_read_paylid__currentXrateResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__currentXrateResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__currentXrateResponse * SOAP_FMAC2 soap_instantiate_paylid__currentXrateResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__currentXrateResponse * soap_new_paylid__currentXrateResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__currentXrateResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__currentXrateResponse * soap_new_req_paylid__currentXrateResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__currentXrateResponse *_p = soap_instantiate_paylid__currentXrateResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__currentXrateResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__currentXrateResponse * soap_new_set_paylid__currentXrateResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__currentXrateResponse *_p = soap_instantiate_paylid__currentXrateResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__currentXrateResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__currentXrateResponse(struct soap *soap, struct paylid__currentXrateResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__currentXrateResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__directAirTimeTopUp
|
||||
#define SOAP_TYPE_paylid_paylid__directAirTimeTopUp (24)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__directAirTimeTopUp(struct soap*, struct paylid__directAirTimeTopUp *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__directAirTimeTopUp(struct soap*, const struct paylid__directAirTimeTopUp *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__directAirTimeTopUp(struct soap*, const char*, int, const struct paylid__directAirTimeTopUp *, const char*);
|
||||
SOAP_FMAC3 struct paylid__directAirTimeTopUp * SOAP_FMAC4 soap_in_paylid__directAirTimeTopUp(struct soap*, const char*, struct paylid__directAirTimeTopUp *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__directAirTimeTopUp(struct soap*, const struct paylid__directAirTimeTopUp *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__directAirTimeTopUp
|
||||
#define soap_write_paylid__directAirTimeTopUp(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__directAirTimeTopUp(soap, data),0) || paylid::soap_put_paylid__directAirTimeTopUp(soap, data, "paylid:directAirTimeTopUp", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__directAirTimeTopUp * SOAP_FMAC4 soap_get_paylid__directAirTimeTopUp(struct soap*, struct paylid__directAirTimeTopUp *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__directAirTimeTopUp
|
||||
#define soap_read_paylid__directAirTimeTopUp(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__directAirTimeTopUp(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__directAirTimeTopUp * SOAP_FMAC2 soap_instantiate_paylid__directAirTimeTopUp(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__directAirTimeTopUp * soap_new_paylid__directAirTimeTopUp(struct soap *soap, int n = -1) { return soap_instantiate_paylid__directAirTimeTopUp(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__directAirTimeTopUp * soap_new_req_paylid__directAirTimeTopUp(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__directAirTimeTopUp *_p = soap_instantiate_paylid__directAirTimeTopUp(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__directAirTimeTopUp(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__directAirTimeTopUp * soap_new_set_paylid__directAirTimeTopUp(struct soap *soap, std::string& terminalID, std::string& topupData, std::string& hmac) { struct paylid__directAirTimeTopUp *_p = soap_instantiate_paylid__directAirTimeTopUp(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__directAirTimeTopUp(soap, _p); _p->terminalID = terminalID; _p->topupData = topupData; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__directAirTimeTopUp(struct soap *soap, struct paylid__directAirTimeTopUp *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__directAirTimeTopUp(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse
|
||||
#define SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse (21)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__directAirTimeTopUpResponse(struct soap*, struct paylid__directAirTimeTopUpResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__directAirTimeTopUpResponse(struct soap*, const struct paylid__directAirTimeTopUpResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__directAirTimeTopUpResponse(struct soap*, const char*, int, const struct paylid__directAirTimeTopUpResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__directAirTimeTopUpResponse * SOAP_FMAC4 soap_in_paylid__directAirTimeTopUpResponse(struct soap*, const char*, struct paylid__directAirTimeTopUpResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__directAirTimeTopUpResponse(struct soap*, const struct paylid__directAirTimeTopUpResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__directAirTimeTopUpResponse
|
||||
#define soap_write_paylid__directAirTimeTopUpResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__directAirTimeTopUpResponse(soap, data),0) || paylid::soap_put_paylid__directAirTimeTopUpResponse(soap, data, "paylid:directAirTimeTopUpResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__directAirTimeTopUpResponse * SOAP_FMAC4 soap_get_paylid__directAirTimeTopUpResponse(struct soap*, struct paylid__directAirTimeTopUpResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__directAirTimeTopUpResponse
|
||||
#define soap_read_paylid__directAirTimeTopUpResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__directAirTimeTopUpResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__directAirTimeTopUpResponse * SOAP_FMAC2 soap_instantiate_paylid__directAirTimeTopUpResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__directAirTimeTopUpResponse * soap_new_paylid__directAirTimeTopUpResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__directAirTimeTopUpResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__directAirTimeTopUpResponse * soap_new_req_paylid__directAirTimeTopUpResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__directAirTimeTopUpResponse *_p = soap_instantiate_paylid__directAirTimeTopUpResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__directAirTimeTopUpResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__directAirTimeTopUpResponse * soap_new_set_paylid__directAirTimeTopUpResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__directAirTimeTopUpResponse *_p = soap_instantiate_paylid__directAirTimeTopUpResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__directAirTimeTopUpResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__directAirTimeTopUpResponse(struct soap *soap, struct paylid__directAirTimeTopUpResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__directAirTimeTopUpResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__checkTransferStatus
|
||||
#define SOAP_TYPE_paylid_paylid__checkTransferStatus (20)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__checkTransferStatus(struct soap*, struct paylid__checkTransferStatus *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__checkTransferStatus(struct soap*, const struct paylid__checkTransferStatus *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__checkTransferStatus(struct soap*, const char*, int, const struct paylid__checkTransferStatus *, const char*);
|
||||
SOAP_FMAC3 struct paylid__checkTransferStatus * SOAP_FMAC4 soap_in_paylid__checkTransferStatus(struct soap*, const char*, struct paylid__checkTransferStatus *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__checkTransferStatus(struct soap*, const struct paylid__checkTransferStatus *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__checkTransferStatus
|
||||
#define soap_write_paylid__checkTransferStatus(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__checkTransferStatus(soap, data),0) || paylid::soap_put_paylid__checkTransferStatus(soap, data, "paylid:checkTransferStatus", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__checkTransferStatus * SOAP_FMAC4 soap_get_paylid__checkTransferStatus(struct soap*, struct paylid__checkTransferStatus *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__checkTransferStatus
|
||||
#define soap_read_paylid__checkTransferStatus(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__checkTransferStatus(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__checkTransferStatus * SOAP_FMAC2 soap_instantiate_paylid__checkTransferStatus(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__checkTransferStatus * soap_new_paylid__checkTransferStatus(struct soap *soap, int n = -1) { return soap_instantiate_paylid__checkTransferStatus(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__checkTransferStatus * soap_new_req_paylid__checkTransferStatus(struct soap *soap, std::string& terminalID, std::string& transactionRef, std::string& hmac) { struct paylid__checkTransferStatus *_p = soap_instantiate_paylid__checkTransferStatus(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__checkTransferStatus(soap, _p); _p->terminalID = terminalID; _p->transactionRef = transactionRef; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__checkTransferStatus * soap_new_set_paylid__checkTransferStatus(struct soap *soap, std::string& terminalID, std::string& transactionRef, std::string& hmac) { struct paylid__checkTransferStatus *_p = soap_instantiate_paylid__checkTransferStatus(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__checkTransferStatus(soap, _p); _p->terminalID = terminalID; _p->transactionRef = transactionRef; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__checkTransferStatus(struct soap *soap, struct paylid__checkTransferStatus *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__checkTransferStatus(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__checkTransferStatusResponse
|
||||
#define SOAP_TYPE_paylid_paylid__checkTransferStatusResponse (17)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__checkTransferStatusResponse(struct soap*, struct paylid__checkTransferStatusResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__checkTransferStatusResponse(struct soap*, const struct paylid__checkTransferStatusResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__checkTransferStatusResponse(struct soap*, const char*, int, const struct paylid__checkTransferStatusResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__checkTransferStatusResponse * SOAP_FMAC4 soap_in_paylid__checkTransferStatusResponse(struct soap*, const char*, struct paylid__checkTransferStatusResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__checkTransferStatusResponse(struct soap*, const struct paylid__checkTransferStatusResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__checkTransferStatusResponse
|
||||
#define soap_write_paylid__checkTransferStatusResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__checkTransferStatusResponse(soap, data),0) || paylid::soap_put_paylid__checkTransferStatusResponse(soap, data, "paylid:checkTransferStatusResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__checkTransferStatusResponse * SOAP_FMAC4 soap_get_paylid__checkTransferStatusResponse(struct soap*, struct paylid__checkTransferStatusResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__checkTransferStatusResponse
|
||||
#define soap_read_paylid__checkTransferStatusResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__checkTransferStatusResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__checkTransferStatusResponse * SOAP_FMAC2 soap_instantiate_paylid__checkTransferStatusResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__checkTransferStatusResponse * soap_new_paylid__checkTransferStatusResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__checkTransferStatusResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__checkTransferStatusResponse * soap_new_req_paylid__checkTransferStatusResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__checkTransferStatusResponse *_p = soap_instantiate_paylid__checkTransferStatusResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__checkTransferStatusResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__checkTransferStatusResponse * soap_new_set_paylid__checkTransferStatusResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__checkTransferStatusResponse *_p = soap_instantiate_paylid__checkTransferStatusResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__checkTransferStatusResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__checkTransferStatusResponse(struct soap *soap, struct paylid__checkTransferStatusResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__checkTransferStatusResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__transferFund
|
||||
#define SOAP_TYPE_paylid_paylid__transferFund (16)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__transferFund(struct soap*, struct paylid__transferFund *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__transferFund(struct soap*, const struct paylid__transferFund *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__transferFund(struct soap*, const char*, int, const struct paylid__transferFund *, const char*);
|
||||
SOAP_FMAC3 struct paylid__transferFund * SOAP_FMAC4 soap_in_paylid__transferFund(struct soap*, const char*, struct paylid__transferFund *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__transferFund(struct soap*, const struct paylid__transferFund *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__transferFund
|
||||
#define soap_write_paylid__transferFund(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__transferFund(soap, data),0) || paylid::soap_put_paylid__transferFund(soap, data, "paylid:transferFund", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__transferFund * SOAP_FMAC4 soap_get_paylid__transferFund(struct soap*, struct paylid__transferFund *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__transferFund
|
||||
#define soap_read_paylid__transferFund(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__transferFund(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__transferFund * SOAP_FMAC2 soap_instantiate_paylid__transferFund(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__transferFund * soap_new_paylid__transferFund(struct soap *soap, int n = -1) { return soap_instantiate_paylid__transferFund(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__transferFund * soap_new_req_paylid__transferFund(struct soap *soap, std::string& terminalID, std::string& toDestination, std::string& hmac) { struct paylid__transferFund *_p = soap_instantiate_paylid__transferFund(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__transferFund(soap, _p); _p->terminalID = terminalID; _p->toDestination = toDestination; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__transferFund * soap_new_set_paylid__transferFund(struct soap *soap, std::string& terminalID, std::string& toDestination, std::string& hmac) { struct paylid__transferFund *_p = soap_instantiate_paylid__transferFund(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__transferFund(soap, _p); _p->terminalID = terminalID; _p->toDestination = toDestination; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__transferFund(struct soap *soap, struct paylid__transferFund *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__transferFund(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__transferFundResponse
|
||||
#define SOAP_TYPE_paylid_paylid__transferFundResponse (13)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__transferFundResponse(struct soap*, struct paylid__transferFundResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__transferFundResponse(struct soap*, const struct paylid__transferFundResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__transferFundResponse(struct soap*, const char*, int, const struct paylid__transferFundResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__transferFundResponse * SOAP_FMAC4 soap_in_paylid__transferFundResponse(struct soap*, const char*, struct paylid__transferFundResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__transferFundResponse(struct soap*, const struct paylid__transferFundResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__transferFundResponse
|
||||
#define soap_write_paylid__transferFundResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__transferFundResponse(soap, data),0) || paylid::soap_put_paylid__transferFundResponse(soap, data, "paylid:transferFundResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__transferFundResponse * SOAP_FMAC4 soap_get_paylid__transferFundResponse(struct soap*, struct paylid__transferFundResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__transferFundResponse
|
||||
#define soap_read_paylid__transferFundResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__transferFundResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__transferFundResponse * SOAP_FMAC2 soap_instantiate_paylid__transferFundResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__transferFundResponse * soap_new_paylid__transferFundResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__transferFundResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__transferFundResponse * soap_new_req_paylid__transferFundResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__transferFundResponse *_p = soap_instantiate_paylid__transferFundResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__transferFundResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__transferFundResponse * soap_new_set_paylid__transferFundResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__transferFundResponse *_p = soap_instantiate_paylid__transferFundResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__transferFundResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__transferFundResponse(struct soap *soap, struct paylid__transferFundResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__transferFundResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountBalance
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountBalance (12)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccountBalance(struct soap*, struct paylid__getAccountBalance *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccountBalance(struct soap*, const struct paylid__getAccountBalance *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccountBalance(struct soap*, const char*, int, const struct paylid__getAccountBalance *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getAccountBalance * SOAP_FMAC4 soap_in_paylid__getAccountBalance(struct soap*, const char*, struct paylid__getAccountBalance *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccountBalance(struct soap*, const struct paylid__getAccountBalance *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getAccountBalance
|
||||
#define soap_write_paylid__getAccountBalance(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getAccountBalance(soap, data),0) || paylid::soap_put_paylid__getAccountBalance(soap, data, "paylid:getAccountBalance", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getAccountBalance * SOAP_FMAC4 soap_get_paylid__getAccountBalance(struct soap*, struct paylid__getAccountBalance *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getAccountBalance
|
||||
#define soap_read_paylid__getAccountBalance(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getAccountBalance(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getAccountBalance * SOAP_FMAC2 soap_instantiate_paylid__getAccountBalance(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getAccountBalance * soap_new_paylid__getAccountBalance(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getAccountBalance(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getAccountBalance * soap_new_req_paylid__getAccountBalance(struct soap *soap, std::string& terminalID, std::string& hmac) { struct paylid__getAccountBalance *_p = soap_instantiate_paylid__getAccountBalance(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountBalance(soap, _p); _p->terminalID = terminalID; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getAccountBalance * soap_new_set_paylid__getAccountBalance(struct soap *soap, std::string& terminalID, std::string& hmac) { struct paylid__getAccountBalance *_p = soap_instantiate_paylid__getAccountBalance(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountBalance(soap, _p); _p->terminalID = terminalID; _p->hmac = hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getAccountBalance(struct soap *soap, struct paylid__getAccountBalance *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccountBalance(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountBalanceResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountBalanceResponse (8)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccountBalanceResponse(struct soap*, struct paylid__getAccountBalanceResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccountBalanceResponse(struct soap*, const struct paylid__getAccountBalanceResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccountBalanceResponse(struct soap*, const char*, int, const struct paylid__getAccountBalanceResponse *, const char*);
|
||||
SOAP_FMAC3 struct paylid__getAccountBalanceResponse * SOAP_FMAC4 soap_in_paylid__getAccountBalanceResponse(struct soap*, const char*, struct paylid__getAccountBalanceResponse *, const char*);
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccountBalanceResponse(struct soap*, const struct paylid__getAccountBalanceResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_paylid__getAccountBalanceResponse
|
||||
#define soap_write_paylid__getAccountBalanceResponse(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_paylid__getAccountBalanceResponse(soap, data),0) || paylid::soap_put_paylid__getAccountBalanceResponse(soap, data, "paylid:getAccountBalanceResponse", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct paylid__getAccountBalanceResponse * SOAP_FMAC4 soap_get_paylid__getAccountBalanceResponse(struct soap*, struct paylid__getAccountBalanceResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_paylid__getAccountBalanceResponse
|
||||
#define soap_read_paylid__getAccountBalanceResponse(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_paylid__getAccountBalanceResponse(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC1 struct paylid__getAccountBalanceResponse * SOAP_FMAC2 soap_instantiate_paylid__getAccountBalanceResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
inline struct paylid__getAccountBalanceResponse * soap_new_paylid__getAccountBalanceResponse(struct soap *soap, int n = -1) { return soap_instantiate_paylid__getAccountBalanceResponse(soap, n, NULL, NULL, NULL); }
|
||||
|
||||
inline struct paylid__getAccountBalanceResponse * soap_new_req_paylid__getAccountBalanceResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getAccountBalanceResponse *_p = soap_instantiate_paylid__getAccountBalanceResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountBalanceResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline struct paylid__getAccountBalanceResponse * soap_new_set_paylid__getAccountBalanceResponse(struct soap *soap, std::string& Code, std::string& Data, std::string& Hmac) { struct paylid__getAccountBalanceResponse *_p = soap_instantiate_paylid__getAccountBalanceResponse(soap, -1, NULL, NULL, NULL); if (_p) { soap_default_paylid__getAccountBalanceResponse(soap, _p); _p->Code = Code; _p->Data = Data; _p->Hmac = Hmac; } return _p; }
|
||||
|
||||
inline void soap_delete_paylid__getAccountBalanceResponse(struct soap *soap, struct paylid__getAccountBalanceResponse *p) { soap_delete(soap, p); }
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccountBalanceResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_PointerToSOAP_ENV__Reason
|
||||
#define SOAP_TYPE_paylid_PointerToSOAP_ENV__Reason (50)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Reason(struct soap*, const char *, int, struct SOAP_ENV__Reason *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Reason(struct soap*, const char*, struct SOAP_ENV__Reason **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Reason
|
||||
#define soap_write_PointerToSOAP_ENV__Reason(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_PointerToSOAP_ENV__Reason(soap, data),0) || paylid::soap_put_PointerToSOAP_ENV__Reason(soap, data, "SOAP-ENV:Reason", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Reason
|
||||
#define soap_read_PointerToSOAP_ENV__Reason(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_PointerToSOAP_ENV__Reason(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_PointerToSOAP_ENV__Detail
|
||||
#define SOAP_TYPE_paylid_PointerToSOAP_ENV__Detail (49)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Detail(struct soap*, const char *, int, struct SOAP_ENV__Detail *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Detail
|
||||
#define soap_write_PointerToSOAP_ENV__Detail(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_PointerToSOAP_ENV__Detail(soap, data),0) || paylid::soap_put_PointerToSOAP_ENV__Detail(soap, data, "SOAP-ENV:Detail", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Detail
|
||||
#define soap_read_PointerToSOAP_ENV__Detail(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_PointerToSOAP_ENV__Detail(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_PointerToSOAP_ENV__Code
|
||||
#define SOAP_TYPE_paylid_PointerToSOAP_ENV__Code (43)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap*, const char *, int, struct SOAP_ENV__Code *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Code
|
||||
#define soap_write_PointerToSOAP_ENV__Code(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_PointerToSOAP_ENV__Code(soap, data),0) || paylid::soap_put_PointerToSOAP_ENV__Code(soap, data, "SOAP-ENV:Code", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Code
|
||||
#define soap_read_PointerToSOAP_ENV__Code(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_PointerToSOAP_ENV__Code(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_paylid__QName
|
||||
#define SOAP_TYPE_paylid__QName (5)
|
||||
#endif
|
||||
|
||||
#define soap_default__QName(soap, a) soap_default_string(soap, a)
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap*, char *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap*, const char*, int, char*const*, const char*);
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap*, const char*, char **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap*, char *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write__QName
|
||||
#define soap_write__QName(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize__QName(soap, data),0) || paylid::soap_put__QName(soap, data, "byte", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap*, char **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read__QName
|
||||
#define soap_read__QName(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get__QName(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_string
|
||||
#define SOAP_TYPE_paylid_string (4)
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap*, char **);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap*, char *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap*, const char*, int, char*const*, const char*);
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap*, const char*, char **, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap*, char *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_write_string
|
||||
#define soap_write_string(soap, data) ( soap_free_temp(soap), soap_begin_send(soap) || (paylid::soap_serialize_string(soap, data),0) || paylid::soap_put_string(soap, data, "byte", NULL) || soap_end_send(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap*, char **, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_string
|
||||
#define soap_read_string(soap, data) ( soap_begin_recv(soap) || !paylid::soap_get_string(soap, data, NULL, NULL) || soap_end_recv(soap), (soap)->error )
|
||||
#endif
|
||||
|
||||
|
||||
} // namespace paylid
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* End of paylidH.h */
|
||||
@@ -1,403 +0,0 @@
|
||||
/* paylidStub.h
|
||||
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
|
||||
#define paylidStub_H
|
||||
#include <vector>
|
||||
#define SOAP_NAMESPACE_OF_paylid "urn:paylidwsdl"
|
||||
#ifndef WITH_NONAMESPACES
|
||||
#define WITH_NONAMESPACES
|
||||
#endif
|
||||
#ifndef WITH_NOGLOBAL
|
||||
#define WITH_NOGLOBAL
|
||||
#endif
|
||||
#include "stdsoap2.h"
|
||||
#if GSOAP_VERSION != 20816
|
||||
# error "GSOAP VERSION MISMATCH IN GENERATED CODE: PLEASE REINSTALL PACKAGE"
|
||||
#endif
|
||||
|
||||
|
||||
namespace paylid {
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Enumerations *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Types with Custom Serializers *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Classes and Structs *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
#if 0 /* volatile type: do not declare here, declared elsewhere */
|
||||
|
||||
#endif
|
||||
|
||||
#if 0 /* volatile type: do not declare here, declared elsewhere */
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountBalanceResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountBalanceResponse (8)
|
||||
/* paylid:getAccountBalanceResponse */
|
||||
struct paylid__getAccountBalanceResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountBalance
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountBalance (12)
|
||||
/* paylid:getAccountBalance */
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__transferFundResponse
|
||||
#define SOAP_TYPE_paylid_paylid__transferFundResponse (13)
|
||||
/* paylid:transferFundResponse */
|
||||
struct paylid__transferFundResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__transferFund
|
||||
#define SOAP_TYPE_paylid_paylid__transferFund (16)
|
||||
/* paylid:transferFund */
|
||||
struct paylid__transferFund
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__checkTransferStatusResponse
|
||||
#define SOAP_TYPE_paylid_paylid__checkTransferStatusResponse (17)
|
||||
/* paylid:checkTransferStatusResponse */
|
||||
struct paylid__checkTransferStatusResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__checkTransferStatus
|
||||
#define SOAP_TYPE_paylid_paylid__checkTransferStatus (20)
|
||||
/* paylid:checkTransferStatus */
|
||||
struct paylid__checkTransferStatus
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse
|
||||
#define SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse (21)
|
||||
/* paylid:directAirTimeTopUpResponse */
|
||||
struct paylid__directAirTimeTopUpResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__directAirTimeTopUp
|
||||
#define SOAP_TYPE_paylid_paylid__directAirTimeTopUp (24)
|
||||
/* paylid:directAirTimeTopUp */
|
||||
struct paylid__directAirTimeTopUp
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__currentXrateResponse
|
||||
#define SOAP_TYPE_paylid_paylid__currentXrateResponse (25)
|
||||
/* paylid:currentXrateResponse */
|
||||
struct paylid__currentXrateResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__currentXrate
|
||||
#define SOAP_TYPE_paylid_paylid__currentXrate (28)
|
||||
/* paylid:currentXrate */
|
||||
struct paylid__currentXrate
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccountResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getAccountResponse (29)
|
||||
/* paylid:getAccountResponse */
|
||||
struct paylid__getAccountResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getAccount
|
||||
#define SOAP_TYPE_paylid_paylid__getAccount (32)
|
||||
/* paylid:getAccount */
|
||||
struct paylid__getAccount
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getTrxStatusResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getTrxStatusResponse (33)
|
||||
/* paylid:getTrxStatusResponse */
|
||||
struct paylid__getTrxStatusResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getTrxStatus
|
||||
#define SOAP_TYPE_paylid_paylid__getTrxStatus (36)
|
||||
/* paylid:getTrxStatus */
|
||||
struct paylid__getTrxStatus
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getSupportedBanksResponse
|
||||
#define SOAP_TYPE_paylid_paylid__getSupportedBanksResponse (37)
|
||||
/* paylid:getSupportedBanksResponse */
|
||||
struct paylid__getSupportedBanksResponse
|
||||
{
|
||||
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
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_paylid__getSupportedBanks
|
||||
#define SOAP_TYPE_paylid_paylid__getSupportedBanks (40)
|
||||
/* paylid:getSupportedBanks */
|
||||
struct paylid__getSupportedBanks
|
||||
{
|
||||
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 */
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_paylid_SOAP_ENV__Code (42)
|
||||
/* SOAP Fault Code: */
|
||||
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 */
|
||||
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 */
|
||||
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: */
|
||||
struct SOAP_ENV__Fault
|
||||
{
|
||||
public:
|
||||
char *faultcode; /* optional element of type xsd:QName */
|
||||
char *faultstring; /* optional element of type xsd:string */
|
||||
char *faultactor; /* optional element of type xsd:string */
|
||||
struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */
|
||||
struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of type SOAP-ENV:Reason */
|
||||
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 *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
#ifndef SOAP_TYPE_paylid__QName
|
||||
#define SOAP_TYPE_paylid__QName (5)
|
||||
typedef char *_QName;
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_paylid__XML
|
||||
#define SOAP_TYPE_paylid__XML (6)
|
||||
typedef char *_XML;
|
||||
#endif
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Externals *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
} // namespace paylid
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* End of paylidStub.h */
|
||||
@@ -1,588 +0,0 @@
|
||||
/* paylidpaylidwsdlBindingProxy.cpp
|
||||
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"
|
||||
|
||||
namespace paylid {
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy()
|
||||
{ paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
||||
}
|
||||
|
||||
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);
|
||||
soap_endpoint = NULL;
|
||||
static const struct Namespace namespaces[] =
|
||||
{
|
||||
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
|
||||
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
|
||||
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
|
||||
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
|
||||
{"paylid", "urn:paylidwsdl", NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
soap_set_namespaces(this, namespaces);
|
||||
}
|
||||
|
||||
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()
|
||||
{ this->header = NULL;
|
||||
}
|
||||
|
||||
const SOAP_ENV__Header *paylidwsdlBindingProxy::soap_header()
|
||||
{ return this->header;
|
||||
}
|
||||
|
||||
const SOAP_ENV__Fault *paylidwsdlBindingProxy::soap_fault()
|
||||
{ return this->fault;
|
||||
}
|
||||
|
||||
const char *paylidwsdlBindingProxy::soap_fault_string()
|
||||
{ return *soap_faultstring(this);
|
||||
}
|
||||
|
||||
const char *paylidwsdlBindingProxy::soap_fault_detail()
|
||||
{ return *soap_faultdetail(this);
|
||||
}
|
||||
|
||||
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(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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getAccountBalance(soap, &soap_tmp_paylid__getAccountBalance);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__getAccountBalance(soap, &soap_tmp_paylid__getAccountBalance, "paylid:getAccountBalance", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__getAccountBalance(soap, &soap_tmp_paylid__getAccountBalance, "paylid:getAccountBalance", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_1)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__getAccountBalanceResponse(soap, &_param_1);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__getAccountBalanceResponse(soap, &_param_1, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__transferFund(soap, &soap_tmp_paylid__transferFund);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__transferFund(soap, &soap_tmp_paylid__transferFund, "paylid:transferFund", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__transferFund(soap, &soap_tmp_paylid__transferFund, "paylid:transferFund", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_2)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__transferFundResponse(soap, &_param_2);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__transferFundResponse(soap, &_param_2, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__checkTransferStatus(soap, &soap_tmp_paylid__checkTransferStatus);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__checkTransferStatus(soap, &soap_tmp_paylid__checkTransferStatus, "paylid:checkTransferStatus", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__checkTransferStatus(soap, &soap_tmp_paylid__checkTransferStatus, "paylid:checkTransferStatus", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_3)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__checkTransferStatusResponse(soap, &_param_3);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__checkTransferStatusResponse(soap, &_param_3, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__directAirTimeTopUp(soap, &soap_tmp_paylid__directAirTimeTopUp);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__directAirTimeTopUp(soap, &soap_tmp_paylid__directAirTimeTopUp, "paylid:directAirTimeTopUp", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__directAirTimeTopUp(soap, &soap_tmp_paylid__directAirTimeTopUp, "paylid:directAirTimeTopUp", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_4)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__directAirTimeTopUpResponse(soap, &_param_4);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__directAirTimeTopUpResponse(soap, &_param_4, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__currentXrate(soap, &soap_tmp_paylid__currentXrate);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__currentXrate(soap, &soap_tmp_paylid__currentXrate, "paylid:currentXrate", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__currentXrate(soap, &soap_tmp_paylid__currentXrate, "paylid:currentXrate", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_5)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__currentXrateResponse(soap, &_param_5);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__currentXrateResponse(soap, &_param_5, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getAccount(soap, &soap_tmp_paylid__getAccount);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__getAccount(soap, &soap_tmp_paylid__getAccount, "paylid:getAccount", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__getAccount(soap, &soap_tmp_paylid__getAccount, "paylid:getAccount", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_6)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__getAccountResponse(soap, &_param_6);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__getAccountResponse(soap, &_param_6, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getTrxStatus(soap, &soap_tmp_paylid__getTrxStatus);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__getTrxStatus(soap, &soap_tmp_paylid__getTrxStatus, "paylid:getTrxStatus", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__getTrxStatus(soap, &soap_tmp_paylid__getTrxStatus, "paylid:getTrxStatus", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_7)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__getTrxStatusResponse(soap, &_param_7);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__getTrxStatusResponse(soap, &_param_7, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getSupportedBanks(soap, &soap_tmp_paylid__getSupportedBanks);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__getSupportedBanks(soap, &soap_tmp_paylid__getSupportedBanks, "paylid:getSupportedBanks", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__getSupportedBanks(soap, &soap_tmp_paylid__getSupportedBanks, "paylid:getSupportedBanks", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_8)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__getSupportedBanksResponse(soap, &_param_8);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__getSupportedBanksResponse(soap, &_param_8, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
} // namespace paylid
|
||||
|
||||
/* End of client proxy code */
|
||||
@@ -1,102 +0,0 @@
|
||||
/* paylidpaylidwsdlBindingProxy.h
|
||||
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
|
||||
#define paylidpaylidwsdlBindingProxy_H
|
||||
#include "paylidH.h"
|
||||
|
||||
namespace paylid {
|
||||
|
||||
class SOAP_CMAC paylidwsdlBindingProxy : public soap
|
||||
{ public:
|
||||
/// Endpoint URL of service 'paylidwsdlBindingProxy' (change as needed)
|
||||
const char *soap_endpoint;
|
||||
/// Constructor
|
||||
paylidwsdlBindingProxy();
|
||||
/// 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 (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();
|
||||
/// 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) { 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) { 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) { 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) { 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) { 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) { 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) { 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) { 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
|
||||
|
||||
#endif
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:checkTransferStatus>
|
||||
<terminalID></terminalID>
|
||||
<transactionRef></transactionRef>
|
||||
<hmac></hmac>
|
||||
</paylid:checkTransferStatus>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:checkTransferStatusResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
<Hmac></Hmac>
|
||||
</paylid:checkTransferStatusResponse>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:currentXrate>
|
||||
<terminalID></terminalID>
|
||||
<topupData></topupData>
|
||||
<hmac></hmac>
|
||||
</paylid:currentXrate>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:currentXrateResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
<Hmac></Hmac>
|
||||
</paylid:currentXrateResponse>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:directAirTimeTopUp>
|
||||
<terminalID></terminalID>
|
||||
<topupData></topupData>
|
||||
<hmac></hmac>
|
||||
</paylid:directAirTimeTopUp>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:directAirTimeTopUpResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
<Hmac></Hmac>
|
||||
</paylid:directAirTimeTopUpResponse>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:getAccount>
|
||||
<terminalID></terminalID>
|
||||
<topupData></topupData>
|
||||
<hmac></hmac>
|
||||
</paylid:getAccount>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:getAccountResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
<Hmac></Hmac>
|
||||
</paylid:getAccountResponse>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,14 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:getAccountBalance>
|
||||
<terminalID></terminalID>
|
||||
<hmac></hmac>
|
||||
</paylid:getAccountBalance>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:getAccountBalanceResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
<Hmac></Hmac>
|
||||
</paylid:getAccountBalanceResponse>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:getSupportedBanks>
|
||||
<terminalID></terminalID>
|
||||
<topupData></topupData>
|
||||
<hmac></hmac>
|
||||
</paylid:getSupportedBanks>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:getSupportedBanksResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
<Hmac></Hmac>
|
||||
</paylid:getSupportedBanksResponse>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:getTrxStatus>
|
||||
<terminalID></terminalID>
|
||||
<topupData></topupData>
|
||||
<hmac></hmac>
|
||||
</paylid:getTrxStatus>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:getTrxStatusResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
<Hmac></Hmac>
|
||||
</paylid:getTrxStatusResponse>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:transferFund>
|
||||
<terminalID></terminalID>
|
||||
<toDestination></toDestination>
|
||||
<hmac></hmac>
|
||||
</paylid:transferFund>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?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/">
|
||||
<paylid:transferFundResponse>
|
||||
<Code></Code>
|
||||
<Data></Data>
|
||||
<Hmac></Hmac>
|
||||
</paylid:transferFundResponse>
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,588 +0,0 @@
|
||||
/* paylidpaylidwsdlBindingProxy.cpp
|
||||
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"
|
||||
|
||||
namespace paylid {
|
||||
|
||||
paylidwsdlBindingProxy::paylidwsdlBindingProxy()
|
||||
{ paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
||||
}
|
||||
|
||||
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);
|
||||
soap_endpoint = NULL;
|
||||
static const struct Namespace namespaces[] =
|
||||
{
|
||||
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
|
||||
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
|
||||
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
|
||||
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
|
||||
{"paylid", "urn:paylidwsdl", NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
soap_set_namespaces(this, namespaces);
|
||||
}
|
||||
|
||||
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()
|
||||
{ this->header = NULL;
|
||||
}
|
||||
|
||||
const SOAP_ENV__Header *paylidwsdlBindingProxy::soap_header()
|
||||
{ return this->header;
|
||||
}
|
||||
|
||||
const SOAP_ENV__Fault *paylidwsdlBindingProxy::soap_fault()
|
||||
{ return this->fault;
|
||||
}
|
||||
|
||||
const char *paylidwsdlBindingProxy::soap_fault_string()
|
||||
{ return *soap_faultstring(this);
|
||||
}
|
||||
|
||||
const char *paylidwsdlBindingProxy::soap_fault_detail()
|
||||
{ return *soap_faultdetail(this);
|
||||
}
|
||||
|
||||
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(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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getAccountBalance(soap, &soap_tmp_paylid__getAccountBalance);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__getAccountBalance(soap, &soap_tmp_paylid__getAccountBalance, "paylid:getAccountBalance", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__getAccountBalance(soap, &soap_tmp_paylid__getAccountBalance, "paylid:getAccountBalance", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_1)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__getAccountBalanceResponse(soap, &_param_1);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__getAccountBalanceResponse(soap, &_param_1, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__transferFund(soap, &soap_tmp_paylid__transferFund);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__transferFund(soap, &soap_tmp_paylid__transferFund, "paylid:transferFund", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__transferFund(soap, &soap_tmp_paylid__transferFund, "paylid:transferFund", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_2)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__transferFundResponse(soap, &_param_2);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__transferFundResponse(soap, &_param_2, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__checkTransferStatus(soap, &soap_tmp_paylid__checkTransferStatus);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__checkTransferStatus(soap, &soap_tmp_paylid__checkTransferStatus, "paylid:checkTransferStatus", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__checkTransferStatus(soap, &soap_tmp_paylid__checkTransferStatus, "paylid:checkTransferStatus", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_3)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__checkTransferStatusResponse(soap, &_param_3);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__checkTransferStatusResponse(soap, &_param_3, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__directAirTimeTopUp(soap, &soap_tmp_paylid__directAirTimeTopUp);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__directAirTimeTopUp(soap, &soap_tmp_paylid__directAirTimeTopUp, "paylid:directAirTimeTopUp", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__directAirTimeTopUp(soap, &soap_tmp_paylid__directAirTimeTopUp, "paylid:directAirTimeTopUp", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_4)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__directAirTimeTopUpResponse(soap, &_param_4);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__directAirTimeTopUpResponse(soap, &_param_4, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__currentXrate(soap, &soap_tmp_paylid__currentXrate);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__currentXrate(soap, &soap_tmp_paylid__currentXrate, "paylid:currentXrate", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__currentXrate(soap, &soap_tmp_paylid__currentXrate, "paylid:currentXrate", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_5)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__currentXrateResponse(soap, &_param_5);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__currentXrateResponse(soap, &_param_5, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getAccount(soap, &soap_tmp_paylid__getAccount);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__getAccount(soap, &soap_tmp_paylid__getAccount, "paylid:getAccount", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__getAccount(soap, &soap_tmp_paylid__getAccount, "paylid:getAccount", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_6)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__getAccountResponse(soap, &_param_6);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__getAccountResponse(soap, &_param_6, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getTrxStatus(soap, &soap_tmp_paylid__getTrxStatus);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__getTrxStatus(soap, &soap_tmp_paylid__getTrxStatus, "paylid:getTrxStatus", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__getTrxStatus(soap, &soap_tmp_paylid__getTrxStatus, "paylid:getTrxStatus", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_7)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__getTrxStatusResponse(soap, &_param_7);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__getTrxStatusResponse(soap, &_param_7, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
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;
|
||||
if (endpoint)
|
||||
soap_endpoint = endpoint;
|
||||
if (soap_endpoint == NULL)
|
||||
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
|
||||
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_set_version(soap, 1); /* SOAP1.1 */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_paylid__getSupportedBanks(soap, &soap_tmp_paylid__getSupportedBanks);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_paylid__getSupportedBanks(soap, &soap_tmp_paylid__getSupportedBanks, "paylid:getSupportedBanks", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_end_count(soap))
|
||||
return soap->error;
|
||||
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)
|
||||
|| soap_put_paylid__getSupportedBanks(soap, &soap_tmp_paylid__getSupportedBanks, "paylid:getSupportedBanks", NULL)
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
if (!&_param_8)
|
||||
return soap_closesock(soap);
|
||||
soap_default_paylid__getSupportedBanksResponse(soap, &_param_8);
|
||||
if (soap_begin_recv(soap)
|
||||
|| soap_envelope_begin_in(soap)
|
||||
|| soap_recv_header(soap)
|
||||
|| soap_body_begin_in(soap))
|
||||
return soap_closesock(soap);
|
||||
if (soap_recv_fault(soap, 1))
|
||||
return soap->error;
|
||||
soap_get_paylid__getSupportedBanksResponse(soap, &_param_8, "", "");
|
||||
if (soap->error)
|
||||
return soap_recv_fault(soap, 0);
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
} // namespace paylid
|
||||
|
||||
/* End of client proxy code */
|
||||
@@ -1 +0,0 @@
|
||||
namespace interswitch {
|
||||
@@ -1,12 +0,0 @@
|
||||
|
||||
#include "interswitchH.h"
|
||||
SOAP_NMAC struct Namespace interswitch_namespaces[] =
|
||||
{
|
||||
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://schemas.xmlsoap.org/soap/envelope/", NULL},
|
||||
{"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://www.w3.org/2003/05/soap-encoding", NULL},
|
||||
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
|
||||
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
|
||||
{"interswitch2", "http://schemas.microsoft.com/2003/10/Serialization/", NULL, NULL},
|
||||
{"interswitch", "http://services.interswitchng.com/quicktellerservice/", NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
-2116
File diff suppressed because it is too large
Load Diff
-171
@@ -1,171 +0,0 @@
|
||||
/* interswitchBasicHttpBinding_USCOREQuickTellerServiceProxy.h
|
||||
Generated by gSOAP 2.7.16 from QuickTellerService.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.
|
||||
*/
|
||||
|
||||
#ifndef interswitchBasicHttpBinding_USCOREQuickTellerServiceProxy_H
|
||||
#define interswitchBasicHttpBinding_USCOREQuickTellerServiceProxy_H
|
||||
#include "interswitchH.h"
|
||||
|
||||
namespace interswitch {
|
||||
|
||||
class SOAP_CMAC BasicHttpBinding_USCOREQuickTellerServiceProxy : public soap
|
||||
{ public:
|
||||
/// Endpoint URL of service 'BasicHttpBinding_USCOREQuickTellerServiceProxy' (change as needed)
|
||||
const char *soap_endpoint;
|
||||
/// Constructor
|
||||
BasicHttpBinding_USCOREQuickTellerServiceProxy();
|
||||
/// Constructor with copy of another engine state
|
||||
BasicHttpBinding_USCOREQuickTellerServiceProxy(const struct soap&);
|
||||
/// Constructor with engine input+output mode control
|
||||
BasicHttpBinding_USCOREQuickTellerServiceProxy(soap_mode iomode);
|
||||
/// Constructor with engine input and output mode control
|
||||
BasicHttpBinding_USCOREQuickTellerServiceProxy(soap_mode imode, soap_mode omode);
|
||||
/// Destructor frees deserialized data
|
||||
virtual ~BasicHttpBinding_USCOREQuickTellerServiceProxy();
|
||||
/// Initializer used by constructors
|
||||
virtual void BasicHttpBinding_USCOREQuickTellerServiceProxy_init(soap_mode imode, soap_mode omode);
|
||||
/// Delete all deserialized data (uses soap_destroy and soap_end)
|
||||
virtual void destroy();
|
||||
/// Disables and removes SOAP Header from message
|
||||
virtual void soap_noheader();
|
||||
/// 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)
|
||||
virtual int soap_close_socket();
|
||||
/// Print fault
|
||||
virtual void soap_print_fault(FILE*);
|
||||
#ifndef WITH_LEAN
|
||||
/// Print fault to stream
|
||||
virtual void soap_stream_fault(std::ostream&);
|
||||
/// Put fault into buffer
|
||||
virtual char *soap_sprint_fault(char *buf, size_t len);
|
||||
#endif
|
||||
|
||||
/// Web service operation 'ValidateCustomer' (returns error code or SOAP_OK)
|
||||
virtual int ValidateCustomer(_interswitch__ValidateCustomer *interswitch__ValidateCustomer, _interswitch__ValidateCustomerResponse *interswitch__ValidateCustomerResponse);
|
||||
|
||||
/// Web service operation 'DoTransfer' (returns error code or SOAP_OK)
|
||||
virtual int DoTransfer(_interswitch__DoTransfer *interswitch__DoTransfer, _interswitch__DoTransferResponse *interswitch__DoTransferResponse);
|
||||
|
||||
/// Web service operation 'CancelTransfer' (returns error code or SOAP_OK)
|
||||
virtual int CancelTransfer(_interswitch__CancelTransfer *interswitch__CancelTransfer, _interswitch__CancelTransferResponse *interswitch__CancelTransferResponse);
|
||||
|
||||
/// Web service operation 'SendSessionKey' (returns error code or SOAP_OK)
|
||||
virtual int SendSessionKey(_interswitch__SendSessionKey *interswitch__SendSessionKey, _interswitch__SendSessionKeyResponse *interswitch__SendSessionKeyResponse);
|
||||
|
||||
/// Web service operation 'QueryTransfer' (returns error code or SOAP_OK)
|
||||
virtual int QueryTransfer(_interswitch__QueryTransfer *interswitch__QueryTransfer, _interswitch__QueryTransferResponse *interswitch__QueryTransferResponse);
|
||||
|
||||
/// Web service operation 'AuthoriseCashOut' (returns error code or SOAP_OK)
|
||||
virtual int AuthoriseCashOut(_interswitch__AuthoriseCashOut *interswitch__AuthoriseCashOut, _interswitch__AuthoriseCashOutResponse *interswitch__AuthoriseCashOutResponse);
|
||||
|
||||
/// Web service operation 'AuthoriseAccountCashOut' (returns error code or SOAP_OK)
|
||||
virtual int AuthoriseAccountCashOut(_interswitch__AuthoriseAccountCashOut *interswitch__AuthoriseAccountCashOut, _interswitch__AuthoriseAccountCashOutResponse *interswitch__AuthoriseAccountCashOutResponse);
|
||||
|
||||
/// Web service operation 'ReverseCashOut' (returns error code or SOAP_OK)
|
||||
virtual int ReverseCashOut(_interswitch__ReverseCashOut *interswitch__ReverseCashOut, _interswitch__ReverseCashOutResponse *interswitch__ReverseCashOutResponse);
|
||||
|
||||
/// Web service operation 'StatusCheck' (returns error code or SOAP_OK)
|
||||
virtual int StatusCheck(_interswitch__StatusCheck *interswitch__StatusCheck, _interswitch__StatusCheckResponse *interswitch__StatusCheckResponse);
|
||||
|
||||
/// Web service operation 'QueryTransaction' (returns error code or SOAP_OK)
|
||||
virtual int QueryTransaction(_interswitch__QueryTransaction *interswitch__QueryTransaction, _interswitch__QueryTransactionResponse *interswitch__QueryTransactionResponse);
|
||||
|
||||
/// Web service operation 'GetSystemSettings' (returns error code or SOAP_OK)
|
||||
virtual int GetSystemSettings(_interswitch__GetSystemSettings *interswitch__GetSystemSettings, _interswitch__GetSystemSettingsResponse *interswitch__GetSystemSettingsResponse);
|
||||
|
||||
/// Web service operation 'CreateUser' (returns error code or SOAP_OK)
|
||||
virtual int CreateUser(_interswitch__CreateUser *interswitch__CreateUser, _interswitch__CreateUserResponse *interswitch__CreateUserResponse);
|
||||
|
||||
/// Web service operation 'ActivateUser' (returns error code or SOAP_OK)
|
||||
virtual int ActivateUser(_interswitch__ActivateUser *interswitch__ActivateUser, _interswitch__ActivateUserResponse *interswitch__ActivateUserResponse);
|
||||
|
||||
/// Web service operation 'UpdateUser' (returns error code or SOAP_OK)
|
||||
virtual int UpdateUser(_interswitch__UpdateUser *interswitch__UpdateUser, _interswitch__UpdateUserResponse *interswitch__UpdateUserResponse);
|
||||
|
||||
/// Web service operation 'ChangePassword' (returns error code or SOAP_OK)
|
||||
virtual int ChangePassword(_interswitch__ChangePassword *interswitch__ChangePassword, _interswitch__ChangePasswordResponse *interswitch__ChangePasswordResponse);
|
||||
|
||||
/// Web service operation 'ResetPassword' (returns error code or SOAP_OK)
|
||||
virtual int ResetPassword(_interswitch__ResetPassword *interswitch__ResetPassword, _interswitch__ResetPasswordResponse *interswitch__ResetPasswordResponse);
|
||||
|
||||
/// Web service operation 'AuthenticateUser' (returns error code or SOAP_OK)
|
||||
virtual int AuthenticateUser(_interswitch__AuthenticateUser *interswitch__AuthenticateUser, _interswitch__AuthenticateUserResponse *interswitch__AuthenticateUserResponse);
|
||||
|
||||
/// Web service operation 'AuthenticateUserSecurityToken' (returns error code or SOAP_OK)
|
||||
virtual int AuthenticateUserSecurityToken(_interswitch__AuthenticateUserSecurityToken *interswitch__AuthenticateUserSecurityToken, _interswitch__AuthenticateUserSecurityTokenResponse *interswitch__AuthenticateUserSecurityTokenResponse);
|
||||
|
||||
/// Web service operation 'GetUser' (returns error code or SOAP_OK)
|
||||
virtual int GetUser(_interswitch__GetUser *interswitch__GetUser, _interswitch__GetUserResponse *interswitch__GetUserResponse);
|
||||
|
||||
/// Web service operation 'GetBillers' (returns error code or SOAP_OK)
|
||||
virtual int GetBillers(_interswitch__GetBillers *interswitch__GetBillers, _interswitch__GetBillersResponse *interswitch__GetBillersResponse);
|
||||
|
||||
/// Web service operation 'GetLatestBillers' (returns error code or SOAP_OK)
|
||||
virtual int GetLatestBillers(_interswitch__GetLatestBillers *interswitch__GetLatestBillers, _interswitch__GetLatestBillersResponse *interswitch__GetLatestBillersResponse);
|
||||
|
||||
/// Web service operation 'GetFeaturedBillers' (returns error code or SOAP_OK)
|
||||
virtual int GetFeaturedBillers(_interswitch__GetFeaturedBillers *interswitch__GetFeaturedBillers, _interswitch__GetFeaturedBillersResponse *interswitch__GetFeaturedBillersResponse);
|
||||
|
||||
/// Web service operation 'GetBillerPaymentItems' (returns error code or SOAP_OK)
|
||||
virtual int GetBillerPaymentItems(_interswitch__GetBillerPaymentItems *interswitch__GetBillerPaymentItems, _interswitch__GetBillerPaymentItemsResponse *interswitch__GetBillerPaymentItemsResponse);
|
||||
|
||||
/// Web service operation 'GetBillerCategories' (returns error code or SOAP_OK)
|
||||
virtual int GetBillerCategories(_interswitch__GetBillerCategories *interswitch__GetBillerCategories, _interswitch__GetBillerCategoriesResponse *interswitch__GetBillerCategoriesResponse);
|
||||
|
||||
/// Web service operation 'DoBillPaymentInquiry' (returns error code or SOAP_OK)
|
||||
virtual int DoBillPaymentInquiry(_interswitch__DoBillPaymentInquiry *interswitch__DoBillPaymentInquiry, _interswitch__DoBillPaymentInquiryResponse *interswitch__DoBillPaymentInquiryResponse);
|
||||
|
||||
/// Web service operation 'AuthenticateCustomer' (returns error code or SOAP_OK)
|
||||
virtual int AuthenticateCustomer(_interswitch__AuthenticateCustomer *interswitch__AuthenticateCustomer, _interswitch__AuthenticateCustomerResponse *interswitch__AuthenticateCustomerResponse);
|
||||
|
||||
/// Web service operation 'SendBillPaymentAdvice' (returns error code or SOAP_OK)
|
||||
virtual int SendBillPaymentAdvice(_interswitch__SendBillPaymentAdvice *interswitch__SendBillPaymentAdvice, _interswitch__SendBillPaymentAdviceResponse *interswitch__SendBillPaymentAdviceResponse);
|
||||
|
||||
/// Web service operation 'SendPayments' (returns error code or SOAP_OK)
|
||||
virtual int SendPayments(_interswitch__SendPayments *interswitch__SendPayments, _interswitch__SendPaymentsResponse *interswitch__SendPaymentsResponse);
|
||||
|
||||
/// Web service operation 'AddCustomerBillerAccount' (returns error code or SOAP_OK)
|
||||
virtual int AddCustomerBillerAccount(_interswitch__AddCustomerBillerAccount *interswitch__AddCustomerBillerAccount, _interswitch__AddCustomerBillerAccountResponse *interswitch__AddCustomerBillerAccountResponse);
|
||||
|
||||
/// Web service operation 'GetCustomerBillerAccounts' (returns error code or SOAP_OK)
|
||||
virtual int GetCustomerBillerAccounts(_interswitch__GetCustomerBillerAccounts *interswitch__GetCustomerBillerAccounts, _interswitch__GetCustomerBillerAccountsResponse *interswitch__GetCustomerBillerAccountsResponse);
|
||||
|
||||
/// Web service operation 'GetCustomerPayments' (returns error code or SOAP_OK)
|
||||
virtual int GetCustomerPayments(_interswitch__GetCustomerPayments *interswitch__GetCustomerPayments, _interswitch__GetCustomerPaymentsResponse *interswitch__GetCustomerPaymentsResponse);
|
||||
|
||||
/// Web service operation 'AddBillerCustomer' (returns error code or SOAP_OK)
|
||||
virtual int AddBillerCustomer(_interswitch__AddBillerCustomer *interswitch__AddBillerCustomer, _interswitch__AddBillerCustomerResponse *interswitch__AddBillerCustomerResponse);
|
||||
|
||||
/// Web service operation 'GetCollectionsAccount' (returns error code or SOAP_OK)
|
||||
virtual int GetCollectionsAccount(_interswitch__GetCollectionsAccount *interswitch__GetCollectionsAccount, _interswitch__GetCollectionsAccountResponse *interswitch__GetCollectionsAccountResponse);
|
||||
|
||||
/// Web service operation 'GetBillersCollectionsAccount' (returns error code or SOAP_OK)
|
||||
virtual int GetBillersCollectionsAccount(_interswitch__GetBillersCollectionsAccount *interswitch__GetBillersCollectionsAccount, _interswitch__GetBillersCollectionsAccountResponse *interswitch__GetBillersCollectionsAccountResponse);
|
||||
|
||||
/// Web service operation 'EditCustomerBillerAccount' (returns error code or SOAP_OK)
|
||||
virtual int EditCustomerBillerAccount(_interswitch__EditCustomerBillerAccount *interswitch__EditCustomerBillerAccount, _interswitch__EditCustomerBillerAccountResponse *interswitch__EditCustomerBillerAccountResponse);
|
||||
|
||||
/// Web service operation 'ResendActivationToken' (returns error code or SOAP_OK)
|
||||
virtual int ResendActivationToken(_interswitch__ResendActivationToken *interswitch__ResendActivationToken, _interswitch__ResendActivationTokenResponse *interswitch__ResendActivationTokenResponse);
|
||||
|
||||
/// Web service operation 'DoCustomProcessing' (returns error code or SOAP_OK)
|
||||
virtual int DoCustomProcessing(_interswitch__DoCustomProcessing *interswitch__DoCustomProcessing, _interswitch__DoCustomProcessingResponse *interswitch__DoCustomProcessingResponse);
|
||||
|
||||
/// Web service operation 'CreateBiller' (returns error code or SOAP_OK)
|
||||
virtual int CreateBiller(_interswitch__CreateBiller *interswitch__CreateBiller, _interswitch__CreateBillerResponse *interswitch__CreateBillerResponse);
|
||||
|
||||
/// Web service operation 'VerifyBiller' (returns error code or SOAP_OK)
|
||||
virtual int VerifyBiller(_interswitch__VerifyBiller *interswitch__VerifyBiller, _interswitch__VerifyBillerResponse *interswitch__VerifyBillerResponse);
|
||||
};
|
||||
|
||||
} // namespace interswitch
|
||||
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
touch env.h
|
||||
soapcpp2 -penv env.h
|
||||
#wsdl2h -ninterswitch -Ninterswitch -qinterswitch -o QuickTellerService.h https://stageserv.interswitchng.com/uat_quicktellerservice/quickteller.svc?wsdl
|
||||
#soapcpp2 -n -pinterswitch -qinterswitch -1 -C -i -I/usr/share/gsoap/import/ QuickTellerService.h
|
||||
LIST="XmlElements.cc XmlParser.cc sha512.cc safestring.cc vars.cc"
|
||||
echo "*** Compiling SOAP Proxy ***"
|
||||
for i in $LIST
|
||||
do
|
||||
echo "*** Building $i"
|
||||
g++ -DTEST -Wno-deprecated -I../../include -I../../core -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c ../../core/$i -o `echo $i|sed 's/.cc/.o/'`
|
||||
done
|
||||
LIST="interswitch.cc interswitchC.cc interswitchBasicHttpBinding_USCOREQuickTellerServiceProxy.cc"
|
||||
echo "*** Compiling SOAP Proxy ***"
|
||||
for i in $LIST
|
||||
do
|
||||
echo "*** Building $i"
|
||||
g++ -DTEST -Wno-deprecated -I../../include -I../../core -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c ../$i -o `echo $i|sed 's/.cc/.o/'`
|
||||
done
|
||||
#g++ -DWITH_NONAMESPACES -g -O2 -c stdsoap2.cpp -o stdsoap2.o
|
||||
g++ -g -O2 -c envC.cpp -o envC.o
|
||||
g++ -g -O2 -c namespaces.cc -o namespaces.o
|
||||
echo "*** Linking ***"
|
||||
g++ -lstdc++ -lgsoapssl++ -lssl -lz -L/usr/lib64 *.o -o test
|
||||
# -DWITH_NONAMESPACES
|
||||
@@ -1,4 +0,0 @@
|
||||
#include <stdsoap2.h>
|
||||
extern "C" {
|
||||
SOAP_NMAC struct Namespace namespaces[] = { { NULL, NULL} };
|
||||
}
|
||||
@@ -1,124 +0,0 @@
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
#include "cfg.h"
|
||||
#include "clog.h"
|
||||
#include "coregrade_api.h"
|
||||
#include "input.h"
|
||||
#include "paylid.h"
|
||||
#include "storeface.h"
|
||||
|
||||
//*****************************************************************************/
|
||||
long paylid_getAccountBalance(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "long paylid_getAccountBalance(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
const int statusSize = 1024;
|
||||
char status[statusSize];
|
||||
|
||||
memset(status,32,statusSize-1);status[statusSize] = '\0'; // Prepare/Clean-up status
|
||||
long result = 0L;
|
||||
|
||||
result = storeface_getAccountBalance(
|
||||
CfgReadChar("paylid.soap_endpoint"),
|
||||
CfgReadChar("paylid.terminal_id"),
|
||||
CfgReadChar("paylid.master_key"),
|
||||
status);
|
||||
|
||||
logfmt(FLOG_MAX, "CHECK INTERRA FUND result= %lu ",result);
|
||||
|
||||
if (result==10000L) {
|
||||
long balance = atol(status);
|
||||
logfmt (FLOG_MAX, "********** AVAL BALANCE=>%ld", balance);
|
||||
ret = PHP_API_OK;
|
||||
} else {
|
||||
// we failed to get amount status
|
||||
out["status"] = status;
|
||||
}
|
||||
} catch (bad_parameter) {
|
||||
out["status"] = "Bad parameter";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
} catch (...) {
|
||||
out["status"] = "Unhandled exception in paylid_getAccountBalance";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
}
|
||||
logfmt( logINFO, "/long paylid_getAccountBalance(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
long paylid_transferFund(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "long paylid_transferFund(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
// long storeface_transferFund(const char *endpoint, const char *tid, const char *toDestination, const char *key, char *status);
|
||||
} catch (bad_parameter) {
|
||||
out["status"] = "Bad parameter";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
} catch (...) {
|
||||
out["status"] = "Unhandled exception in paylid_transferFund";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
}
|
||||
logfmt( logINFO, "/long paylid_transferFund(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
long paylid_checkTransferStatus(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "long paylid_checkTransferStatus(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
// long storeface_checkTransferStatus(const char *endpoint, const char *tid, const char *transactionRef, const char *key, char *status);
|
||||
} catch (bad_parameter) {
|
||||
out["status"] = "Bad parameter";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
} catch (...) {
|
||||
out["status"] = "Unhandled exception in paylid_checkTransferStatus";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
}
|
||||
logfmt( logINFO, "/long paylid_checkTransferStatus(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
long paylid_directAirTimeTopUp(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "long paylid_directAirTimeTopUp(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
const int statusSize = 1024;
|
||||
char status[statusSize];
|
||||
|
||||
memset(status,32,statusSize-1);status[statusSize] = '\0'; // Prepare/Clean-up status
|
||||
long result = 0L;
|
||||
|
||||
// long storeface_directAirTimeTopUp(const char *endpoint, const char *tid, const char *topupData, const char *key, char *status, long &delivery_status);
|
||||
/*
|
||||
result = storeface_directAirTimeTopUp(
|
||||
CfgReadChar("paylid.soap_endpoint"),
|
||||
CfgReadChar("paylid.terminal_id"),
|
||||
CfgReadChar("paylid.master_key"),
|
||||
...data here...
|
||||
status,
|
||||
...address of delivery status...);
|
||||
*/
|
||||
logfmt(FLOG_MAX, "CHECK INTERRA FUND result= %lu ",result);
|
||||
|
||||
} catch (bad_parameter) {
|
||||
out["status"] = "Bad parameter";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
} catch (...) {
|
||||
out["status"] = "Unhandled exception in paylid_directAirTimeTopUp";
|
||||
ret = PHP_API_BAD_PARAM;
|
||||
}
|
||||
logfmt( logINFO, "/long paylid_directAirTimeTopUp(CVars in, CVars &out)");
|
||||
return ret;
|
||||
}
|
||||
|
||||
//*****************************************************************************/
|
||||
/*
|
||||
vi:ts=2
|
||||
*/
|
||||
@@ -1,252 +0,0 @@
|
||||
// Topup management toosl
|
||||
#include "clog.h"
|
||||
#include "cgi.h"
|
||||
#include "input.h"
|
||||
#include "coregrade_api.h"
|
||||
#include "topups.h"
|
||||
#include "email.h"
|
||||
#include "safestring.h"
|
||||
#include <string>
|
||||
#include "pgsql.h"
|
||||
#include "pgsql_wrapper.h"
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include "interswitch_sendmoney.h"
|
||||
#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();
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
long AddBulkTopupBatchItem(CVars in, CVars &out) {
|
||||
long ret = 0;
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
}
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user