Untitled
unknown
plain_text
2 years ago
1.9 kB
5
Indexable
protected String getConfCode() { if (isMonerisGateWay()) { return null; } return null; } protected String getVrfByVisa() { if (isMonerisGateWay()) { if (sua.isHas3DS()); return CreateLocale.YES.getvalue(); } return null; } protected String getCCi() { if (isMultiCurrency()) { return CreateLocale.YES.getvalue(); } return CreateLocale.NO.getvalue(); } protected String getLocaleName() { String name = null; /** MAX 30 chars **/ if (isIVR()) { name = ProductType.PROD_IVR.getProductType(); } else if (isMonerisGateWay()) { if (isTipTap()) { name = DeviceType.TIPTAP.getDeviceType(); } else if (isPinpad()) { name = DeviceType.PINPAD.getDeviceType(); } else if (isInteracOnline()) { name = DeviceType.INTERAC_ONLINE.getDeviceType(); } else if (isInteracEcommerce()) { name = DeviceType.INTERAC_ECOMMERCE.getDeviceType(); } else if (isMGAOnlineOrdering()) { name = DeviceType.MGA_ONLINE_ORDERING.getDeviceType(); } else { if (isPaydPro()) { name = ProductType.PROD_PAYD_PRO.getProductType(); } else if (isPayd()) { name = ProductType.PROD_PAYD.getProductType(); } else { name = CreateLocale.DESC_ESP_CREDITONLY.getvalue(); } } } else if (isPaydProPlus()) { String pinpad = getTerminalName(); if (pinpad != null) { name = ProductType.PROD_PAYDPROPLUS.getProductType() + pinpad; } else { name = CreateLocale.DESC_ESP_PAYDPRO_PLUS_CREDIT_ONLY.getvalue(); } } else if (isVAR()) { if (isPinpad()) { name = CreateLocale.DESC_VAR_PPD.getvalue(); } } else if (isMonerisGoPortal()) { name = DeviceType.MONERISGOPORTAL.getDeviceType(); } else { name = getTerminalName(); } return name != null ? (name.length() > 30 ? name.substring(0, 30) : name) : ""; }
Editor is loading...