Wow
Toggle table of contents
10.0.0-beta.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Wow
eshop-basket-api
/
me.ahoo.wow.example.eshop.basket.api.basket
/
BasketItem
Basket
Item
data
class
BasketItem
(
val
productId
:
String
,
val
unitPrice
:
BigDecimal
,
val
quantity
:
Int
)
A line of a basket:
quantity
units of
productId
at
unitPrice
each.
Members
Constructors
Basket
Item
Link copied to clipboard
constructor
(
productId
:
String
,
unitPrice
:
BigDecimal
,
quantity
:
Int
)
Properties
product
Id
Link copied to clipboard
val
productId
:
String
quantity
Link copied to clipboard
val
quantity
:
Int
unit
Price
Link copied to clipboard
val
unitPrice
:
BigDecimal