PayPalAndroidTest.PayPalManager.PayPalManager C# (CSharp) Метод

PayPalManager() публичный Метод

public PayPalManager ( Android.Content.Context context ) : System
context Android.Content.Context
Результат System
		public PayPalManager (Context context)
		{
			Context = context;
			config = new PayPalConfiguration ()
				.Environment (CONFIG_ENVIRONMENT)
				.ClientId (CONFIG_CLIENT_ID)
			// The following are only used in PayPalFuturePaymentActivity.
				.MerchantName ("Example Merchant")
				.MerchantPrivacyPolicyUri (Android.Net.Uri.Parse ("https://www.example.com/privacy"))
				.MerchantUserAgreementUri (Android.Net.Uri.Parse ("https://www.example.com/legal"));

			Intent intent = new Intent (Context, typeof(PayPalService));
			intent.PutExtra (PayPalService.ExtraPaypalConfiguration, config);
			Context.StartService (intent);
		}