public void PaymentController(CCCPaymentController controller, CCCAccount account)
 {
     if (controller == null)
     {
         throw new ArgumentNullException("controller");
     }
     if (account == null)
     {
         throw new ArgumentNullException("account");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(this.Handle, Selector.GetHandle("paymentController:finishedWithAccount:"), controller.Handle, account.Handle);
 }
Exemple #2
0
        public unsafe void CCC_updateAccount(CCCAccount account, [BlockProxy(typeof(ObjCRuntime.Trampolines.NIDActionArity2V0))] global::System.Action <CCCAccount, NSError> completion)
        {
            if (account == null)
            {
                throw new ArgumentNullException("account");
            }
            if (completion == null)
            {
                throw new ArgumentNullException("completion");
            }
            BlockLiteral *block_ptr_completion;
            BlockLiteral  block_completion;

            block_completion     = new BlockLiteral();
            block_ptr_completion = &block_completion;
            block_completion.SetupBlockUnsafe(Trampolines.SDActionArity2V0.Handler, completion);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(this.Handle, Selector.GetHandle("CCC_updateAccount:completion:"), account.Handle, (IntPtr)block_ptr_completion);
            block_ptr_completion->CleanupBlock();
        }
Exemple #3
0
        public unsafe void Swiper(CCCSwiper swiper, CCCAccount account, [BlockProxy(typeof(ObjCRuntime.Trampolines.NIDAction))] global::System.Action completion)
        {
            if (swiper == null)
            {
                throw new ArgumentNullException("swiper");
            }
            if (account == null)
            {
                throw new ArgumentNullException("account");
            }
            if (completion == null)
            {
                throw new ArgumentNullException("completion");
            }
            BlockLiteral *block_ptr_completion;
            BlockLiteral  block_completion;

            block_completion     = new BlockLiteral();
            block_ptr_completion = &block_completion;
            block_completion.SetupBlockUnsafe(Trampolines.SDAction.Handler, completion);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr(this.Handle, Selector.GetHandle("swiper:didGenerateTokenWithAccount:completion:"), swiper.Handle, account.Handle, (IntPtr)block_ptr_completion);
            block_ptr_completion->CleanupBlock();
        }
 public abstract void PaymentController(CCCPaymentController controller, CCCAccount account);
Exemple #5
0
 public unsafe abstract void Swiper(CCCSwiper swiper, CCCAccount account, [BlockProxy(typeof(ObjCRuntime.Trampolines.NIDAction))] global::System.Action completion);
Exemple #6
0
 public unsafe abstract void CCC_updateAccount(CCCAccount account, [BlockProxy(typeof(ObjCRuntime.Trampolines.NIDActionArity2V0))] global::System.Action <CCCAccount, NSError> completion);