Wow
Toggle table of contents
10.0.0-beta.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Wow
migration-rehearsal
/
me.ahoo.wow.rehearsal.example
/
AddCartItem
Add
Cart
Item
@
AllowCreate
data
class
AddCartItem
(
val
productId
:
String
,
val
quantity
:
Int
=
1
)
Creates the customer's cart with its first product, as 9.x did, or adds to it.
Members
Constructors
Add
Cart
Item
Link copied to clipboard
constructor
(
productId
:
String
,
quantity
:
Int
=
1
)
Properties
product
Id
Link copied to clipboard
val
productId
:
String
quantity
Link copied to clipboard
val
quantity
:
Int