Skip to content

CouponRejectionReason.ReasonEnum does not include CouponLimitReached  #39

Open
@nathan-shields

Description

@nathan-shields

We try to parse effects from Talon.One using

CouponRejectionReason.ReasonEnum.fromValue(props.rejectionReason)

However, the enum does not include CouponLimitReached, which results in the error:

java.lang.IllegalArgumentException: Unexpected value 'CouponLimitReached'
    at one.talon.model.CouponRejectionReason$ReasonEnum.fromValue(CouponRejectionReason.java:91)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions