Skip to main content
Skip table of contents

OrderModel

A model for assets of type 'order.'.

implements: hash
bundle: standard portal bundle
since 2.0.0
A model for assets of type 'order.'.

Defined hash keys

downloads ↦ sequence<Download>
since 2.0.0
get the name of this order

hasLock.<String:hashKey> ↦ Boolean
since 5.2.0
Check if the value accessed by the hash-key 'hashKey' within this model is secured by an active lock by permission rights management

  • Example:
    model.hasLock.elem - is elem in model guarded by an active permission lock?
    article.hasLock.text - Returns if there is a permission lock for text configured in 'article' ? (In this example 'article' is of of type ArticleModel)

isLocked.<String:hashKey> ↦ Boolean
since 5.2.0
Check if the value accessed by the hash-key 'hashKey' within this model is is locked for current user by permission rights management

  • Example:
    model.isLocked.elem -- is value for elem in model locked for current logged-in user?
    article.isLocked.text -- Returns if the value for 'text' within 'article' is locked (not accessible) for current user. (In this example 'article' is of of type ArticleModel)

orderDescription ↦ string
since 2.0.0
get the decription of this order

orderId ↦ number
since 2.0.0
get the id of this order

orderItems ↦ sequence<OrderItemModel>
since 2.0.0
get the items contained in this order

orderName ↦ string
since 2.0.0
get the name of this order

orderValuePriceModel
since 2.0.0
get summarized prices of items in this order

Permission Verbs used

order.description
since 2.0.0 'order.description' - guards requests to '→orderDescription'

order.id
since 2.0.0 'order.id' - guards requests to '→orderId'

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

order.mpDownloads
since 2.0.0 'order.mpDownloads' - guards requests to '→downloads'

order.mpValue
since 2.0.0 'order.mpValue' - guards requests to '→orderValue'

order.name
since 2.0.0 'order.name' - guards requests to '→orderName'

JavaScript errors detected

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

If this problem persists, please contact our support.