CartExtension.OptionalCartItem
This object may provide information about a specific CartExtension.CartItem.
Set specified CartItem
Type | Description |
---|---|
OptionalCartItem | OptionalCartItem |
Set empty CartItem
Type | Description |
---|---|
OptionalCartItem | OptionalCartItem |
Get CartItem
Type | Description |
---|---|
CartItem | CartItem |
Exception | Description |
---|---|
OptionalNotCheckedException | If the isPresent() method was not called prior to calling this method |
Checks if CartItem exists (not null)
Type | Description |
---|---|
Boolean | Boolean |