When I set the BankAccount.accountType to BankAccount.AccountType.BUSINESS_SAVINGS or BankAccount.AccountType.BUSINESS_CHECKING and pass the ECheck to ECheckService.create() I get the follow error:
com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type com.intuit.payment.data.ECheck$PaymentModeType from String "CCD": not one of the values accepted for Enum class: [WEB]
at [Source: (String)"{"id":"amyxeq2p","authCode":"063-451","created":"2020-08-26T16:55:33Z","status":"PENDING","amount":"5.00","bankAccount":{"name":"bob","inputType":"KEYED","routingNumber":"xxxxx2676","accountNumber":"xxxxx6789","accountType":"BUSINESS_CHECKING","phone":"8015551212"},"paymentMode":"CCD"}"; line: 1, column: 281] (through reference chain: com.intuit.payment.data.ECheck["paymentMode"])
It looks like CCD needs to be added to the ECheck.PaymentModeType enum.
When I set the BankAccount.accountType to BankAccount.AccountType.BUSINESS_SAVINGS or BankAccount.AccountType.BUSINESS_CHECKING and pass the ECheck to ECheckService.create() I get the follow error:
com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type
com.intuit.payment.data.ECheck$PaymentModeType
from String "CCD": not one of the values accepted for Enum class: [WEB] at [Source: (String)"{"id":"amyxeq2p","authCode":"063-451","created":"2020-08-26T16:55:33Z","status":"PENDING","amount":"5.00","bankAccount":{"name":"bob","inputType":"KEYED","routingNumber":"xxxxx2676","accountNumber":"xxxxx6789","accountType":"BUSINESS_CHECKING","phone":"8015551212"},"paymentMode":"CCD"}"; line: 1, column: 281] (through reference chain: com.intuit.payment.data.ECheck["paymentMode"])It looks like CCD needs to be added to the ECheck.PaymentModeType enum.