UNPKG

esnekpos

Version:

Node.js entegrasyon paketi - EsnekPOS ödeme sistemi için resmi olmayan istemci

25 lines (21 loc) 679 B
/** * EsnekPOS - Node.js entegrasyon paketi * @module esnekpos */ const EsnekPOSClient = require('./client'); const constants = require('./constants'); /** * EsnekPOS istemcisi oluşturur * @param {Object} options - Yapılandırma seçenekleri * @param {string} options.merchant - Üye işyeri kodu * @param {string} options.merchantKey - Üye işyeri anahtarı * @param {boolean} [options.testMode=false] - Test modu (true: test ortamı, false: gerçek ortam) * @returns {EsnekPOSClient} - EsnekPOS istemci nesnesi */ function createClient(options) { return new EsnekPOSClient(options); } module.exports = { createClient, constants };