"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getImage = void 0;
var _Payment = require("../Payment.constants");
const getImage = function () {
  let {
    method,
    provider
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  let image;
  if (method === _Payment.METHOD.APLAZAME) image = 'aplazame.png';else if (method === _Payment.METHOD.BIZUM) image = 'bizum.png';else if (method === _Payment.METHOD.CRIPTAN) image = 'criptan.png';else if (method === _Payment.METHOD.OXXO) image = 'oxxo.png';else if (method === _Payment.METHOD.TPV && provider === _Payment.PROVIDER.OPENPAY) image = 'openpay.png';
  return image;
};
exports.getImage = getImage;
//# sourceMappingURL=getImage.js.map