Skip to content

VUS use cases

illyfrancis edited this page Aug 1, 2013 · 2 revisions

Filter transaction

Given a transaction,
When it belongs to cashaway model and has account of type b/c,
Then process as vus.

Process unknown transaction

Give a vus transaction,
When the transaction is unknown (i.e. hasn't been processed before)
Then 
  store the transaction,
  look for account a,
  create a vus with unique id,
  associate the two (relationship)
  check if vus can be sent out, if yes send vus 1.

Process known transaction

Given a vus transaction,
When the transaction is known,
Then

Clone this wiki locally