Files
flutter_wisetronic/lib/constants.dart
2022-03-10 00:47:26 -05:00

74 lines
3.0 KiB
Dart

class Constants {
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 bool DEBUG = false;
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 = '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';
static const String PAYMENT_METHOD_CODE_POD = 'payondeliverypickup';
static const String PAYMENT_METHOD_NATIVE_PAY = 'native_pay';
static const String STRIPE_STATUS_REQUIRES_CONFIRMATION = 'requires_confirmation';
static const String STRIPE_CLIENT_SECRET = 'client_secret';
static const String STRIPE_STATUS_SUCCEDED = 'succeeded';
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';
}