Wow
Toggle table of contents
10.0.0-beta.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Wow
eshop-ordering-api
/
me.ahoo.wow.example.eshop.ordering.api.order
/
OrderItem
Order
Item
data
class
OrderItem
(
val
productId
:
String
,
val
unitPrice
:
BigDecimal
,
val
quantity
:
Int
)
A line of an order:
quantity
units of
productId
at
unitPrice
each.
Members
Constructors
Order
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
@
Positive
val
quantity
:
Int
unit
Price
Link copied to clipboard
@
PositiveOrZero
val
unitPrice
:
BigDecimal