UNPKG

bc-elavon-sdk

Version:

BetterCommerce's Elavon NodeJS SDK enables BC client applications to integrate with Elavon merchant API system. It publishes an interface to interact with [Elavon API](https://developer.elavon.com/products/checkout-js/v1/api-reference/) endpoints.

43 lines (42 loc) 2.88 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TransactionType = void 0; /** * Enum representing different types of transactions that can be performed. * @enum {string} * @readonly * @property {string} CREDIT_CARD_SALE - Credit card sale transaction type. * @property {string} CREDIT_CARD_AUTH_Only - Credit card authorization only transaction type. * @property {string} CREDIT_CARD_VERIFY - Credit card verification transaction type. * @property {string} CREDIT_CARD_ADD_RECURRING - Credit card add recurring transaction type. * @property {string} CREDIT_CARD_ADD_INSTALLMENT - Credit card add installment transaction type. * @property {string} CREDIT_CARD_GENERATE_TOKEN - Credit card generate token transaction type. * @property {string} ELECTRONIC_CHECK_PURCHASE - Electronic check purchase transaction type. * @property {string} ELECTRONIC_CHECK_ADD_RECURRING - Electronic check add recurring transaction type. * @property {string} ELECTRONIC_CHECK_ADD_INSTALLMENT - Electronic check add installment transaction type. * @property {string} ELECTRONIC_GIFT_CARD_REDEMPTION - Electronic gift card redemption transaction type. * @property {string} POS_LENDING_WITH_CHECKOUT_JS - POS lending with checkout.js transaction type. * @property {string} GOOGLE_PAY_WITH_CHECKOUT_JS - Google Pay with checkout.js transaction type. * @property {string} CLICK_TO_PAY_WITH_CHECKOUT_JS - Click to pay with checkout.js transaction type. * @property {string} PAYPAL_WITH_CHECKOUT_JS - PayPal with checkout.js transaction type. * @property {string} SURCHARGE_WITH_CHECKOUT_JS - Surcharge with checkout.js transaction type. */ var TransactionType; (function (TransactionType) { TransactionType["CREDIT_CARD_SALE"] = "ccsale"; TransactionType["CREDIT_CARD_AUTH_Only"] = "ccauthonly"; TransactionType["CREDIT_CARD_VERIFY"] = "ccverify"; TransactionType["CREDIT_CARD_ADD_RECURRING"] = "ccaddrecurring"; TransactionType["CREDIT_CARD_ADD_INSTALLMENT"] = "ccaddinstall"; TransactionType["CREDIT_CARD_GENERATE_TOKEN"] = "ccgettoken"; TransactionType["ELECTRONIC_CHECK_PURCHASE"] = "ecspurchase"; TransactionType["ELECTRONIC_CHECK_ADD_RECURRING"] = "ecsaddrecurring"; TransactionType["ELECTRONIC_CHECK_ADD_INSTALLMENT"] = "ecsaddinstall"; TransactionType["ELECTRONIC_GIFT_CARD_REDEMPTION"] = "egcsale"; TransactionType["POS_LENDING_WITH_CHECKOUT_JS"] = "ccsale"; TransactionType["GOOGLE_PAY_WITH_CHECKOUT_JS"] = "ccsale"; TransactionType["CLICK_TO_PAY_WITH_CHECKOUT_JS"] = "ccsale"; TransactionType["PAYPAL_WITH_CHECKOUT_JS"] = "ccsale"; TransactionType["SURCHARGE_WITH_CHECKOUT_JS"] = "ccsale"; TransactionType["THREE_D_SECURE2_WITH_CHECKOUT_JS"] = "ccsale"; })(TransactionType = exports.TransactionType || (exports.TransactionType = {}));