Fixed that ChipTan has been renamed to ChipTanOptisch

This commit is contained in:
dankl 2019-11-04 00:03:37 +01:00 committed by dankito
parent 75496efd3e
commit 677f360855
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ open class EnterTanDialog : DialogFragment() {
protected open fun setupUI(rootView: View) {
val flickerCodeView = rootView.flickerCodeView
if (tanChallenge.tanProcedure.type == TanProcedureType.ChipTan) {
if (tanChallenge.tanProcedure.type == TanProcedureType.ChipTanOptisch) {
flickerCodeView.visibility = View.VISIBLE
flickerCodeView.setCode(FlickercodeDecoder().decodeChallenge(tanChallenge.tanChallenge))

View File

@ -29,7 +29,7 @@ public class JavaShowcase {
BankData bank = new BankDataMapper().mapFromBankInfo(foundBanks.get(0));
// set your customer data (customerId = Kontonummer in most cases, pin = online banking pin)
CustomerData customer = new CustomerData("<customer_id>", "<pin>");
customer.setSelectedTanProcedure(new TanProcedure("", Sicherheitsfunktion.PIN_TAN_911, TanProcedureType.ChipTan));
customer.setSelectedTanProcedure(new TanProcedure("", Sicherheitsfunktion.PIN_TAN_911, TanProcedureType.ChipTanOptisch));
FinTsClientCallback callback = new FinTsClientCallback() {
@Nullable

View File

@ -34,7 +34,7 @@ abstract class FinTsTestBase {
const val ControlReference = "4477"
val Customer = CustomerData(CustomerId, Pin, selectedTanProcedure = TanProcedure("chipTAN-optisch", SecurityFunction, TanProcedureType.ChipTan), selectedLanguage = Language)
val Customer = CustomerData(CustomerId, Pin, selectedTanProcedure = TanProcedure("chipTAN-optisch", SecurityFunction, TanProcedureType.ChipTanOptisch), selectedLanguage = Language)
const val ProductName = "FinTS-TestClient25Stellen"