Skip to main content
Skip table of contents

BasketModel

Model for an asset of type 'order.shoppingbasket.'.

implements: hash
bundle: standard portal bundle
since 2.0.0
Model for an asset of type 'order.shoppingbasket.'.

Defined hash keys

basketDescription ↦ String
since 2.0.0
get description of basket asset

basketId ↦ long
since 2.0.0
get ID of basket asset

basketItems ↦ sequence<BasketEntryModel>
since 2.0.0
get entries in basket

basketName ↦ String
since 2.0.0
get name of basket asset

basketValuePriceModel
since 2.0.0
get basket's value

Permission Verbs used

basket.description
since 2.0.0 'basket.description' - guards requests to '→basketDescription'

basket.id
since 2.0.0 'basket.id' - guards requests to '→basketId'

basket.itemCount
since 2.0.0 'basket.itemCount' - guards requests to '→basketItemCount'

basket.items
since 2.0.0 'basket.items' - guards requests to '→basket.items'

basket.name
since 2.0.0 'basket.name' - guards requests to '→basketName'

basket.value
since 2.0.0 'basket.value' - guards requests to '→basketValue'

Methods

basketItemCount(AssetModel)number
since 2.0.0
for given item asset return count in basket or 0 if not added

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.