package ch.pizzalemon.android.api;

public class ApiConstants {
    public static final int API_READ_TIMEOUT = 30;
    public static final int API_CONNECT_TIMEOUT = 10;
    public static final String API_PATH = "http://pizzalemon.ch/";
    public static final String APP_TYPE_ID_ANDROID = "2";
    public static final int APP_ERROR_CODE_AUTHORIZATION = 1;

    public static final int PRODUCT_ID_WUNSCHPIZZA = 56;
    public static final int PRODUCT_ID_ABEND_MENU = 733;
    public static final int PRODUCT_ID_MITTAGS_MENU = 732;
    public static final String PRODUCT_ID_VERSION_MENU = "-111";

    public static final String CAMPAIGN_CODE_PIZZAPASS = "PIZZAPASS";

    public static final String PAYMENT_METHOD_CODE_CREDIT_DEBIT_CARD = "braintree"; // Credit / Debit Card
    public static final String PAYMENT_METHOD_CODE_BANK_CASH = "cod"; // Bar
    public static final String PAYMENT_METHOD_CODE_TRANSFER = "bank_transfer"; // Kreditkarten-Kartenzahlung
    public static final String PAYMENT_METHOD_CODE_TWINT = "twintcw_twint"; // TWINT
    public static final String PAYMENT_METHOD_CODE_PAYPAL = "pp_standard";
    public static final String PAYMENT_METHOD_CODE_POST_FINANCE_CARD = "postfinancecw_postfinancecard";
    public static final String PAYMENT_METHOD_CODE_ANDROID_PAY = "android_pay";
    public static final String PAYMENT_METHOD_CODE_APPLE_PAY = "apple_pay";

    public static final String DATATRANS_MERCHANT_ID_TEST = "1100004450"; // Taken from Datatrans sample app
    //public static final String DATATRANS_MERCHANT_ID_TEST = "1100020808"; // taken from Datatrans sandbox Demo Pusula Media GmbH
    public static final String DATATRANS_REFERENCE_NUMBER_TEST = "968927"; // Taken from Datatrans sample app
    public static final String DATATRANS_SIGNATURE_TEST = "30916165706580013"; // Taken from Datatrans sample app

    public static final String SHIPPING_METHOD_CODE_FREE_SHIPPING = "free.free";
    public static final String SHIPPING_METHOD_CODE_PICK_UP_FROM_STORE = "pickup.pickup";

    public static final String CART_SUBTOTAL = "zwischensumme";
    public static final String CART_COMMISSION = "zahlungsgebühr";
    public static final String CART_TOTAL = "total";

    public static final String OPTION_ID_ABEND_AND_MITTAGS_MENU_PIZZA_SELECTION = "73";

    public static final String PRODUCT_OPTION_ID_ABEND_MENU_PIZZA_SELECTION = "869";
    public static final String PRODUCT_OPTION_ID_MITTAGS_MENU_OPTIONS = "872";

    public static final String ONESIGNAL_APP_ID = "d4dd9cad-7d6e-4872-b93f-0c47ab1a55ec";
    public static final String ONESIGNAL_NOTIFICATION_TAG_KEY = "notificationAllowed";
    public static final String ONESIGNAL_NOTIFICATION_TAG_VALUE = "true";

    public static final String PAYMENT_WEBVIEW_URL_POSTFINANCE_TWINT = "http://pizzalemon.ch/lemon/index.php?route=mobile/service/postFinancePayment&order_id=";
    public static final String PAYMENT_WEBVIEW_REDIRECT_URL_POSTFINANCE_TWINT_SUCCESS = "postFinancePaymentIsSuccess";
    public static final String PAYMENT_WEBVIEW_REDIRECT_URL_POSTFINANCE_TWINT_FAIL = "postFinancePaymentIsFailed";
    public static final String PAYMENT_WEBVIEW_MAIN_PAGE_HTTP = "http://pizzalemon.ch/";
    public static final String PAYMENT_WEBVIEW_MAIN_PAGE_HTTPS = "https://pizzalemon.ch/";

    public static final String STORE_INFO_WEB_PAGE_URL = "http://pizzalemon.ch/lemon/index.php?route=mobile/service/getStoreInfo";

}
