The Transaction widget only supports buying of a single type of Good. We want to be able to model the purchase of multiple Goods by making a CompoundTransaction entity that contains multiple Transactions.
Note: we cannot simply change Transaction to have the field goods: [Good] because each purchased Good needs its own quantifiers price and quantity.
The
Transaction
widget only supports buying of a single type ofGood
. We want to be able to model the purchase of multipleGood
s by making aCompoundTransaction
entity that contains multipleTransaction
s.Note: we cannot simply change
Transaction
to have the fieldgoods: [Good]
because each purchasedGood
needs its own quantifiersprice
andquantity
.