public unsafe void VerificaDCC(global::IT.Icbpi.XPaySDK.Models.WebApi.Requests.Varie.ApiVerificaDCCRequest p0, global::IT.Icbpi.XPaySDK.CallBacks.IApiResponseCallback p1)
 {
     if (id_verificaDCC_Lit_icbpi_XPaySDK_Models_WebApi_Requests_Varie_ApiVerificaDCCRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_ == IntPtr.Zero)
     {
         id_verificaDCC_Lit_icbpi_XPaySDK_Models_WebApi_Requests_Varie_ApiVerificaDCCRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_ = JNIEnv.GetMethodID(class_ref, "verificaDCC", "(Lit/icbpi/XPaySDK/Models/WebApi/Requests/Varie/ApiVerificaDCCRequest;Lit/icbpi/XPaySDK/CallBacks/ApiResponseCallback;)V");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_verificaDCC_Lit_icbpi_XPaySDK_Models_WebApi_Requests_Varie_ApiVerificaDCCRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_, __args);
     } finally {
     }
 }
 public unsafe void PagamentoRicorrenteMOTO(global::IT.Icbpi.XPaySDK.Models.WebApi.Requests.Ricorrenze.ApiPagamentoRicorrenteMOTORequest p0, global::IT.Icbpi.XPaySDK.CallBacks.IApiResponseCallback p1)
 {
     if (id_pagamentoRicorrenteMOTO_Lit_icbpi_XPaySDK_Models_WebApi_Requests_Ricorrenze_ApiPagamentoRicorrenteMOTORequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_ == IntPtr.Zero)
     {
         id_pagamentoRicorrenteMOTO_Lit_icbpi_XPaySDK_Models_WebApi_Requests_Ricorrenze_ApiPagamentoRicorrenteMOTORequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_ = JNIEnv.GetMethodID(class_ref, "pagamentoRicorrenteMOTO", "(Lit/icbpi/XPaySDK/Models/WebApi/Requests/Ricorrenze/ApiPagamentoRicorrenteMOTORequest;Lit/icbpi/XPaySDK/CallBacks/ApiResponseCallback;)V");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_pagamentoRicorrenteMOTO_Lit_icbpi_XPaySDK_Models_WebApi_Requests_Ricorrenze_ApiPagamentoRicorrenteMOTORequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_, __args);
     } finally {
     }
 }
예제 #3
0
 public unsafe void CancellaContratto(global::IT.Icbpi.XPaySDK.Models.WebApi.Requests.GestioneContratti.ApiCancellaContrattoRequest p0, global::IT.Icbpi.XPaySDK.CallBacks.IApiResponseCallback p1)
 {
     if (id_cancellaContratto_Lit_icbpi_XPaySDK_Models_WebApi_Requests_GestioneContratti_ApiCancellaContrattoRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_ == IntPtr.Zero)
     {
         id_cancellaContratto_Lit_icbpi_XPaySDK_Models_WebApi_Requests_GestioneContratti_ApiCancellaContrattoRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_ = JNIEnv.GetMethodID(class_ref, "cancellaContratto", "(Lit/icbpi/XPaySDK/Models/WebApi/Requests/GestioneContratti/ApiCancellaContrattoRequest;Lit/icbpi/XPaySDK/CallBacks/ApiResponseCallback;)V");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_cancellaContratto_Lit_icbpi_XPaySDK_Models_WebApi_Requests_GestioneContratti_ApiCancellaContrattoRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_, __args);
     } finally {
     }
 }
 public unsafe void CreaNonce(global::IT.Icbpi.XPaySDK.Models.WebApi.Requests.HostedPayments.ApiCreaNonceRequest p0, global::IT.Icbpi.XPaySDK.CallBacks.IApiResponseCallback p1)
 {
     if (id_creaNonce_Lit_icbpi_XPaySDK_Models_WebApi_Requests_HostedPayments_ApiCreaNonceRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_ == IntPtr.Zero)
     {
         id_creaNonce_Lit_icbpi_XPaySDK_Models_WebApi_Requests_HostedPayments_ApiCreaNonceRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_ = JNIEnv.GetMethodID(class_ref, "creaNonce", "(Lit/icbpi/XPaySDK/Models/WebApi/Requests/HostedPayments/ApiCreaNonceRequest;Lit/icbpi/XPaySDK/CallBacks/ApiResponseCallback;)V");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_creaNonce_Lit_icbpi_XPaySDK_Models_WebApi_Requests_HostedPayments_ApiCreaNonceRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_, __args);
     } finally {
     }
 }
 static void n_OnError_Lit_icbpi_XPaySDK_Models_WebApi_Errors_ApiErrorResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::IT.Icbpi.XPaySDK.CallBacks.IApiResponseCallback        __this = global::Java.Lang.Object.GetObject <global::IT.Icbpi.XPaySDK.CallBacks.IApiResponseCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::IT.Icbpi.XPaySDK.Models.WebApi.Errors.ApiErrorResponse p0     = global::Java.Lang.Object.GetObject <global::IT.Icbpi.XPaySDK.Models.WebApi.Errors.ApiErrorResponse> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnError(p0);
 }
 static void n_OnSuccess_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::IT.Icbpi.XPaySDK.CallBacks.IApiResponseCallback __this = global::Java.Lang.Object.GetObject <global::IT.Icbpi.XPaySDK.CallBacks.IApiResponseCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnSuccess(p0);
 }
 public unsafe void ControllaBlackList(global::IT.Icbpi.XPaySDK.Models.WebApi.Requests.ControlliSicurezza.ApiControllaBlackListRequest p0, global::IT.Icbpi.XPaySDK.CallBacks.IApiResponseCallback p1)
 {
     if (id_controllaBlackList_Lit_icbpi_XPaySDK_Models_WebApi_Requests_ControlliSicurezza_ApiControllaBlackListRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_ == IntPtr.Zero)
     {
         id_controllaBlackList_Lit_icbpi_XPaySDK_Models_WebApi_Requests_ControlliSicurezza_ApiControllaBlackListRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_ = JNIEnv.GetMethodID(class_ref, "controllaBlackList", "(Lit/icbpi/XPaySDK/Models/WebApi/Requests/ControlliSicurezza/ApiControllaBlackListRequest;Lit/icbpi/XPaySDK/CallBacks/ApiResponseCallback;)V");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_controllaBlackList_Lit_icbpi_XPaySDK_Models_WebApi_Requests_ControlliSicurezza_ApiControllaBlackListRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_, __args);
     } finally {
     }
 }
예제 #8
0
        public static unsafe void DoRequest(global::Android.Content.Context p0, int p1, global::IT.Icbpi.XPaySDK.Utils.EnvironmentUtils.Environment p2, string p3, global::Java.Lang.Object p4, global::IT.Icbpi.XPaySDK.CallBacks.IApiResponseCallback p5, global::Java.Lang.Class p6)
        {
            if (id_doRequest_Landroid_content_Context_ILit_icbpi_XPaySDK_Utils_EnvironmentUtils_Environment_Ljava_lang_String_Lit_icbpi_XPaySDK_Models_WebApi_Requests_ApiBaseRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_Ljava_lang_Class_ == IntPtr.Zero)
            {
                id_doRequest_Landroid_content_Context_ILit_icbpi_XPaySDK_Utils_EnvironmentUtils_Environment_Ljava_lang_String_Lit_icbpi_XPaySDK_Models_WebApi_Requests_ApiBaseRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_Ljava_lang_Class_ = JNIEnv.GetStaticMethodID(class_ref, "doRequest", "(Landroid/content/Context;ILit/icbpi/XPaySDK/Utils/EnvironmentUtils$Environment;Ljava/lang/String;Lit/icbpi/XPaySDK/Models/WebApi/Requests/ApiBaseRequest;Lit/icbpi/XPaySDK/CallBacks/ApiResponseCallback;Ljava/lang/Class;)V");
            }
            IntPtr native_p3 = JNIEnv.NewString(p3);
            IntPtr native_p4 = JNIEnv.ToLocalJniHandle(p4);

            try {
                JValue *__args = stackalloc JValue [7];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(native_p3);
                __args [4] = new JValue(native_p4);
                __args [5] = new JValue(p5);
                __args [6] = new JValue(p6);
                JNIEnv.CallStaticVoidMethod(class_ref, id_doRequest_Landroid_content_Context_ILit_icbpi_XPaySDK_Utils_EnvironmentUtils_Environment_Ljava_lang_String_Lit_icbpi_XPaySDK_Models_WebApi_Requests_ApiBaseRequest_Lit_icbpi_XPaySDK_CallBacks_ApiResponseCallback_Ljava_lang_Class_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p3);
                JNIEnv.DeleteLocalRef(native_p4);
            }
        }