static IntPtr n_CastToResponseNoncePrimoPagamento3DS_Ljava_lang_String_Lit_icbpi_XPaySDK_Models_WebApi_Responses_ApiBaseResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::IT.Icbpi.XPaySDK.Models.WebViewClients._3DSecureClients.Secure3DWebClient __this = global::Java.Lang.Object.GetObject <global::IT.Icbpi.XPaySDK.Models.WebViewClients._3DSecureClients.Secure3DWebClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.ApiBaseResponse p1 = global::Java.Lang.Object.GetObject <global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.ApiBaseResponse> (native_p1, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.CastToResponseNoncePrimoPagamento3DS(p0, p1)); return(__ret); }
static IntPtr n_GetTimeStamp(IntPtr jnienv, IntPtr native__this) { global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.ApiBaseResponse __this = global::Java.Lang.Object.GetObject <global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.ApiBaseResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.TimeStamp)); }
static bool n_IsSuccess(IntPtr jnienv, IntPtr native__this) { global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.ApiBaseResponse __this = global::Java.Lang.Object.GetObject <global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.ApiBaseResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.IsSuccess); }
static IntPtr n_GetError(IntPtr jnienv, IntPtr native__this) { global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.ApiBaseResponse __this = global::Java.Lang.Object.GetObject <global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.ApiBaseResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Error)); }
protected virtual unsafe global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.PrimiPagamentiRecurring.ApiCreaNoncePrimoPagamento3DSResponse CastToResponseNoncePrimoPagamento3DS(string p0, global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.ApiBaseResponse p1) { if (id_castToResponseNoncePrimoPagamento3DS_Ljava_lang_String_Lit_icbpi_XPaySDK_Models_WebApi_Responses_ApiBaseResponse_ == IntPtr.Zero) { id_castToResponseNoncePrimoPagamento3DS_Ljava_lang_String_Lit_icbpi_XPaySDK_Models_WebApi_Responses_ApiBaseResponse_ = JNIEnv.GetMethodID(class_ref, "castToResponseNoncePrimoPagamento3DS", "(Ljava/lang/String;Lit/icbpi/XPaySDK/Models/WebApi/Responses/ApiBaseResponse;)Lit/icbpi/XPaySDK/Models/WebApi/Responses/PrimiPagamentiRecurring/ApiCreaNoncePrimoPagamento3DSResponse;"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.PrimiPagamentiRecurring.ApiCreaNoncePrimoPagamento3DSResponse __ret; if (((object)this).GetType() == ThresholdType) { __ret = global::Java.Lang.Object.GetObject <global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.PrimiPagamentiRecurring.ApiCreaNoncePrimoPagamento3DSResponse> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_castToResponseNoncePrimoPagamento3DS_Ljava_lang_String_Lit_icbpi_XPaySDK_Models_WebApi_Responses_ApiBaseResponse_, __args), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Java.Lang.Object.GetObject <global::IT.Icbpi.XPaySDK.Models.WebApi.Responses.PrimiPagamentiRecurring.ApiCreaNoncePrimoPagamento3DSResponse> (JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "castToResponseNoncePrimoPagamento3DS", "(Ljava/lang/String;Lit/icbpi/XPaySDK/Models/WebApi/Responses/ApiBaseResponse;)Lit/icbpi/XPaySDK/Models/WebApi/Responses/PrimiPagamentiRecurring/ApiCreaNoncePrimoPagamento3DSResponse;"), __args), JniHandleOwnership.TransferLocalRef); } return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }