Android.Xamarin.SampleApp.WithUIActivity.payTokenPreAuth_Click C# (CSharp) Method

payTokenPreAuth_Click() private method

private payTokenPreAuth_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void payTokenPreAuth_Click (object sender, EventArgs e)
        {

            if (string.IsNullOrWhiteSpace (cardToken) || string.IsNullOrWhiteSpace (lastFour)) {
                Toast.MakeText (this,
                    "Can't make a Preauth token payment before making a full preauth card payment to save card token",
                    ToastLength.Short).Show ();
                return;
            }

            Judo.Instance.TokenPreAuth (GetTokenCardViewModel (), SuccessPayment, FailurePayment, this);

         
        }