part of '../config.dart';

PaymentConfig get kPaymentConfig =>
    PaymentConfig.fromJson(Configurations.paymentConfig);

Map get kPayments => Configurations.payments;

Map get kStripeConfig => Configurations.stripeConfig;

Map get kPaypalConfig => Configurations.paypalConfig;

Map get kPaypalExpressConfig => Configurations.paypalExpressConfig;

Map get kRazorpayConfig => Configurations.razorpayConfig;

Map get kTapConfig => Configurations.tapConfig;

Map get kModemPayConfig => Configurations.modemPayConfig;

Map get kPayTmConfig => Configurations.payTmConfig;

Map get kPayStackConfig => Configurations.payStackConfig;

Map get kFlutterwaveConfig => Configurations.flutterwaveConfig;

Map get kMyFatoorahConfig => Configurations.myFatoorahConfig;

Map get kMidtransConfig => Configurations.midtransConfig;

Map get kMercadoPagoConfig => Configurations.mercadoPagoConfig;

Map get kInAppPurchaseConfig => Configurations.inAppPurchaseConfig;

Map get kXenditConfig => Configurations.xenditConfig;

Map get kExpressPayConfig => Configurations.expressPayConfig;

Map get kThaiPromptPayConfig => Configurations.thaiPromptPayConfig;

Map get kFIBConfig => Configurations.fibConfig;

Map get kThawaniConfig => Configurations.thawaniConfig;

Map get kPhonePeConfig => Configurations.phonepeConfig;

Map get kBankTransferConfig => Configurations.bankTransferConfig;

Map get kCashOnDeliveryConfig => Configurations.cashOnDeliveryConfig;

Map get kWhatsAppOrderConfig => Configurations.whatsAppOrderConfig;

Map get kAfterShip => Configurations.afterShip;

/// Limit the country list from Billing Address
/// []: default show all country
List get kDefaultCountry => Configurations.defaultCountryShipping;

bool get kEnableCustomerNote => kPaymentConfig.enableCustomerNote;

//const List DefaultCountry = [
//  {
//    "name": "Vietnam",
//    "iosCode": "VN",
//    "icon": "https://cdn.britannica.com/41/4041-004-A06CBD63/Flag-Vietnam.jpg"
//  },
//  {
//    "name": "India",
//    "iosCode": "IN",
//    "icon":
//        "https://upload.wikimedia.org/wikipedia/en/thumb/4/41/Flag_of_India.svg/1200px-Flag_of_India.svg.png"
//  },
//  {"name": "Austria", "iosCode": "AT", "icon": ""},
//];
