
class Constants {

  static const bool DEBUG = false;
  static const bool ENABLE_NATIVE_PAY = false;

  static const bool isPreview = false;

  static const int FONT_GOOGLE = 0xe800;
  static const int FONT_ALEXA = 0xe801;
  static const int FONT_APPLE = 0xe802;
  static const int FONT_EBAY = 0xe803;
  static const int FONT_QUICKBOOKS = 0xe804;
  static const int FONT_SHOPIFY = 0xe805;
  static const int FONT_MINIPOS = 0xe807;
  static const int FONT_WINDOWS = 0xe80a;
  static const int FONT_ANDROID = 0xe80b;
  static const int FONT_APPLE_LOGO = 0xe80c;
  static const int FONT_IOS = 0xe80d;
  static const int FONT_UBUNTU = 0xe80e;
  static const int FONT_WISETRONIC = 0xe812;
  static const int FONT_TOPTONS = 0xe813;

  static const int BUSINESS_ID = 310; //310, 680, 357(notjust), 651(kiosk);
  static const String APP_TITLE = 'MiniPOS Ponit of Sale System';
  static const String BASE_API_URL = DEBUG ? 'https://sandbox.minipos.us/' : 'https://api.minipos.us/'; //'https://sandbox.minipos.us/', 'https://api.minipos.us/'
  static const String TUTORIAL_URL = 'https://archive.wisetronic.com/wisetronic-products-documentation/';
  static const String API_SECRET = 'pei326sami1223HellowWorldabcdEd';
  static const KEY_USER_ID = 'user_id';
  static const KEY_ACCESS_TOKEN = 'access_token';
  static const KEY_CARTINFOS =  "cart_infos";
  static const ORDERS_PER_PAGE = 10;

  static const KEY_LAST_VISIT = 'last-visits';

  static const int TICKET_PER_PAGE_MOBILE = 20;
  static const int TICKET_PER_PAGE_DESKTOP = 40;
  static const int BLOG_PER_PAGE_MOBILE = 20;
  static const int BLOG_PER_PAGE_DESKTOP = 30;

  static const double BREADCRUMB_HEIGHT = 42;

  static const int HOT_SALE_ID = -1;
  static const int FEATURED_PRODUCT_ID = -2;

  static const String PAYMENT_METHOD_PAY_ON_DELIVERY = 'POD';
  static const String PAYMENT_METHOD_CODE_CHASE = 'chase';
  static const String PAYMENT_METHOD_CODE_SQUARE = 'web-credit-card';
  static const String PAYMENT_METHOD_CODE_OTT_ALIPAY = 'ALIPAY';
  static const String PAYMENT_METHOD_CODE_OTT_WECHATPAY = 'WECHATPAY';
  static const String PAYMENT_METHOD_CODE_PAYPAL = 'paypal';
  static const String PAYMENT_METHOD_CODE_STRIPE = 'stripe'; // API still returns 'stripe' code; now routed to e-Transfer
  static const String PAYMENT_METHOD_CODE_POD = 'payondeliverypickup';
  static const String PAYMENT_METHOD_NATIVE_PAY = 'native_pay';

  // e-Transfer (replaces Stripe)
  static const String ETRANSFER_EMAIL = 'payment@wisetronic.com';
  static const String ETRANSFER_QA = 'wisetronic'; // security question answer placeholder, if needed
  // Remark template for auto-processing: R#<receipt id> (= order id)
  static const String ETRANSFER_REMARK_PREFIX = 'R#';

  static const int STATUS_PENDING = 0;
  static const int STATUS_ACCEPT = 1;
  static const int STATUS_PROCESSING = 2;
  static const int STATUS_COMPLETE = 5;
  static const int STATUS_CANCELLED = -1;

  static const String PAYMENT_STATUS_UNPAID = 'UNPAID';
  static const String PAYMENT_STATUS_PAID = 'PAID';
  static const String PAYMENT_STATUS_PARTIALPAID = 'PARTIALPAID';

  static const double PRODUCT_ITEM_HEIGHT_H = 180;
  static const double PRODUCT_ITEM_HEIGHT_V = 278;

  static const String WEB_MINISTORE_SERVICE = 'web-ministore-service';
}