Android Open Source - Interkassa_android Base Url






From Project

Back to project page Interkassa_android.

License

The source code is released under:

Apache License

If you think the Android project Interkassa_android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.interkassa.constants;
/*from  w  w  w . j  ava 2  s  .c o m*/
import java.util.HashMap;

public class BaseUrl {

  public enum System {PRIVAT, LIQPAY, YANDEX, WEBMONEY, W1, PERFECT, PAXUM, TELEMONEY}

  private static HashMap <System, String> dictionary;

  public static String getBaseUrl (System system) {
    fillDictionary();
    return dictionary.get(system);
  }

  private static void fillDictionary () {
    if (dictionary == null) {
      dictionary = new HashMap <System, String>();
      dictionary.put(System.PRIVAT, "https://api.privatbank.ua/p24api/");
      dictionary.put(System.LIQPAY, "https://liqpay.com/api/");
      dictionary.put(System.YANDEX, "https://money.yandex.ru/");
      dictionary.put(System.WEBMONEY,"https://merchant.webmoney.ru/lmi/");
      dictionary.put(System.W1, "http://merchant.w1.ru/checkout/");
      dictionary.put(System.PERFECT, "https://perfectmoney.com/");
      dictionary.put(System.PAXUM, "https://www.paxum.com//payment//");
      dictionary.put(System.TELEMONEY, "https://telemoney.ru/");
    }
  }
}




Java Source Code List

com.interkassa.Interkassa.java
com.interkassa.Interkassa_.java
com.interkassa.constants.BaseUrl.java
com.interkassa.constants.Currency.java
com.interkassa.helpers.Parser.java
com.interkassa.helpers.RequestManager.java
com.interkassa.helpers.WebViewActivity.java
com.interkassa.helpers.WebViewActivity_.java
com.interkassa.models.HTMLWithBaseUrl.java
com.interkassa.models.PaymentFormRequest.java
com.interkassa.models.PaymentInfo.java
com.interkassa.models.PaymentMethod.java
com.interkassa.views.PaymentsMethodChooserLayout.java
com.interkassa.views.PaymentsMethodChooserLayout_.java