Options
All
  • Public
  • Public/Protected
  • All
Menu

Class that defines each asset item.

Hierarchy

  • AssetItem

Index

Constructors

constructor

Properties

Optional actions

actions: any

action params of each offer.

Optional assetItems

assetItems: AssetItem[]

assetItems will hold all asset items.

Optional attachments

attachments: any[] = []

media url's of an offer

Optional attributes

attributes: any

it holds various attribute types of an offer.

Optional catalogCodes

catalogCodes: any[] = []

catalog code of an offer

Optional childAssets

childAssets: AssetItemGroup[] = []

childAssets of the each asset item.

Optional customFields

customFields: any = {}

custom attributes for an offer

description

description: string

description of the offer.

id

id: string

unique ID for each offer.

Optional lineNumber

lineNumber: string

line number of each bundle.

Optional messages

messages: string[]

Error or warning messages from the response. Messages will be availabe when auto-rules of Excludes/Requires/Recommends setup for the products and the rules are triggered.

name

name: string

name of the offer.

Optional offerType

offerType: string

promotions for an offer

Optional priceInfo

priceInfo: PriceInfo

prices information for an offer.

productCode

productCode: any

Unique offer catalog code.

Optional productHierarchyPath

productHierarchyPath: string

heirarchy path to identify child-product from offer bundle.

productId

productId: string

unique key for each basket.

Optional promotions

promotions: any[]

promotions for an offer

quantity

quantity: number

Quantity of each basket offer.

Optional rootItemId

rootItemId: string

RootItemId of a asset

Optional selectedAttributes

selectedAttributes: any

it holds various selected default attributes of an offer.

Methods

Static parse

  • parse(assetItemResponse: any, input?: any): AssetItem
  • This function parse the asset item.

    Parameters

    • assetItemResponse: any
    • Optional input: any

    Returns AssetItem

    AssetItem

Generated using TypeDoc