CartExtension.OptionalCartItem

This object may provide information about a specific CartExtension.CartItem.

Set specified CartItem

TypeDescription
OptionalCartItemOptionalCartItem

Set empty CartItem

TypeDescription
OptionalCartItemOptionalCartItem

Get CartItem

TypeDescription
CartItemCartItem
ExceptionDescription
OptionalNotCheckedExceptionIf the isPresent() method was not called prior to calling this method

Checks if CartItem exists (not null)

TypeDescription
BooleanBoolean