@oxyhq/services
Version:
47 lines (46 loc) • 1.08 kB
JavaScript
;
export const PAYMENT_METHODS = [{
key: 'card',
label: 'Credit/Debit Card',
icon: 'card-outline',
description: 'Pay securely with your credit or debit card.'
}, {
key: 'oxy',
label: 'Oxy Pay',
icon: 'wallet-outline',
description: 'Use your Oxy Pay in-app balance.'
}, {
key: 'faircoin',
label: 'FAIRWallet',
icon: 'qr-code-outline',
description: 'Pay with FairCoin by scanning a QR code.'
}];
export const CURRENCY_SYMBOLS = {
FAIR: '⊜',
INR: '₹',
USD: '$',
EUR: '€',
GBP: '£',
JPY: '¥',
CNY: '¥',
AUD: 'A$',
CAD: 'C$'
};
export const CURRENCY_NAMES = {
FAIR: 'FairCoin',
INR: 'Indian Rupee',
USD: 'US Dollar',
EUR: 'Euro',
GBP: 'British Pound',
JPY: 'Japanese Yen',
CNY: 'Chinese Yuan',
AUD: 'Australian Dollar',
CAD: 'Canadian Dollar'
};
export const getCurrencySymbol = currency => {
return CURRENCY_SYMBOLS[currency.toUpperCase()] || currency;
};
export const getCurrencyName = currency => {
return CURRENCY_NAMES[currency.toUpperCase()] || currency;
};
//# sourceMappingURL=constants.js.map