Tier Accounts.
Static methods
staticget(id:String):TierAccount
Returns:
The TierAccount with the given id, or null if it was not found.
staticlist(filters:Query):Collection<TierAccount>
Lists all TierAccounts that match the given filters. Supported filters are:
idexternal_idexternal_uidenvironmentscopesmarketplace.idmarketplace.namehub.idhub.namesearch(search based on all fields - generic search option)
Returns:
A Collection of TierAccounts.
Constructor
Variables
scopes:Collection<String>
Scopes of the tier account in asset tier chain. Possible: tier1, tier2, customer
Methods
getTierConfig(productId:String, tierLevel:Int):TierConfig
Gets the TierConfig for this TierAccount, based on the product id and
tier level specified.
Parameters:
productId | Product id of the TierConfig we want to get. |
|---|---|
tierLevel | Tier level of the tier account. |
Returns:
TierConfig The TierConfig, or null if none could be found with the given parameters.