Object-Oriented Programming · Stripe · Medium
Design a transaction validation engine that decides whether an incoming payment record should be accepted based on a set of rule strings. The rules are human‑readable expressions that describe conditions under which a transaction must be blocked. For example, rules might reject transactions that use a particular card network or that originate from a blacklisted merchant category. You must define a concrete, bounded grammar for the rule language, build a parser that produces…
Checking your access…