Open
Description
We use the following to parse the rejectionReason
from a referral error:
ReferralRejectionReason.ReasonEnum.fromValue(props.rejectionReason)
But ReferralRejectionReason.ReasonEnum
doesn't include an enum for ReferralCustomerAlreadyReferred
, which is defined in your documentation and is being sent back to us by the API in certain cases. This is causing the following exception:
java.lang.IllegalArgumentException: Unexpected value 'ReferralCustomerAlreadyReferred'
at one.talon.model.ReferralRejectionReason$ReasonEnum.fromValue(ReferralRejectionReason.java:89)
Could you please add that enum value, and any others that may be missing from your library?
Metadata
Metadata
Assignees
Labels
No labels