Exemplo n.º 1
0
        static IntPtr n_RequestEntityTOPayloadRequest_Lcom_bpn_payguardian_android_entity_PaymentRequestEntity_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Bpn.Payguardian.Android.Util.ConversionUtil         __this = global::Java.Lang.Object.GetObject <global::Com.Bpn.Payguardian.Android.Util.ConversionUtil> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Bpn.Payguardian.Android.Entity.PaymentRequestEntity p0     = global::Java.Lang.Object.GetObject <global::Com.Bpn.Payguardian.Android.Entity.PaymentRequestEntity> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.RequestEntityTOPayloadRequest(p0));

            return(__ret);
        }
Exemplo n.º 2
0
        static void n_ProcessBridgeCommTransaction_Lcom_bpn_payguardian_android_entity_PaymentRequestEntity_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Bpn.Payguardian.Android.Service.IPaymentProcessService __this = global::Java.Lang.Object.GetObject <global::Com.Bpn.Payguardian.Android.Service.IPaymentProcessService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Bpn.Payguardian.Android.Entity.PaymentRequestEntity    p0     = global::Java.Lang.Object.GetObject <global::Com.Bpn.Payguardian.Android.Entity.PaymentRequestEntity> (native_p0, JniHandleOwnership.DoNotTransfer);
            string p1 = JNIEnv.GetString(native_p1, JniHandleOwnership.DoNotTransfer);

            __this.ProcessBridgeCommTransaction(p0, p1);
        }
Exemplo n.º 3
0
        public unsafe void ProcessBridgeCommTransaction(global::Com.Bpn.Payguardian.Android.Entity.PaymentRequestEntity p0, string p1)
        {
            if (id_processBridgeCommTransaction_Lcom_bpn_payguardian_android_entity_PaymentRequestEntity_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_processBridgeCommTransaction_Lcom_bpn_payguardian_android_entity_PaymentRequestEntity_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "processBridgeCommTransaction", "(Lcom/bpn/payguardian/android/entity/PaymentRequestEntity;Ljava/lang/String;)V");
            }
            IntPtr  native_p1 = JNIEnv.NewString(p1);
            JValue *__args    = stackalloc JValue [2];

            __args [0] = new JValue(p0);
            __args [1] = new JValue(native_p1);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_processBridgeCommTransaction_Lcom_bpn_payguardian_android_entity_PaymentRequestEntity_Ljava_lang_String_, __args);
            JNIEnv.DeleteLocalRef(native_p1);
        }
Exemplo n.º 4
0
        public virtual unsafe global::Com.Bpn.Payguardian.Android.Payment.PayloadRequestHeader RequestEntityTOPayloadRequest(global::Com.Bpn.Payguardian.Android.Entity.PaymentRequestEntity p0)
        {
            if (id_requestEntityTOPayloadRequest_Lcom_bpn_payguardian_android_entity_PaymentRequestEntity_ == IntPtr.Zero)
            {
                id_requestEntityTOPayloadRequest_Lcom_bpn_payguardian_android_entity_PaymentRequestEntity_ = JNIEnv.GetMethodID(class_ref, "requestEntityTOPayloadRequest", "(Lcom/bpn/payguardian/android/entity/PaymentRequestEntity;)Lcom/bpn/payguardian/android/payment/PayloadRequestHeader;");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                global::Com.Bpn.Payguardian.Android.Payment.PayloadRequestHeader __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Com.Bpn.Payguardian.Android.Payment.PayloadRequestHeader> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_requestEntityTOPayloadRequest_Lcom_bpn_payguardian_android_entity_PaymentRequestEntity_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Com.Bpn.Payguardian.Android.Payment.PayloadRequestHeader> (JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "requestEntityTOPayloadRequest", "(Lcom/bpn/payguardian/android/entity/PaymentRequestEntity;)Lcom/bpn/payguardian/android/payment/PayloadRequestHeader;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } finally {
            }
        }