Options
All
  • Public
  • Public/Protected
  • All
Menu

Class that defines each cart item group.

Hierarchy

  • CartItemGroup

Index

Constructors

constructor

Properties

Optional action

action: string

action for asset item in cart

Optional actions

actions: any

action params of each offer.

Optional attachments

attachments: any[] = []

media url's of an offer

Optional attributes

attributes: any

it holds various attribute types of an offer.

Optional cartItems

cartItems: CartItem[]

cartItems will hold all cart items.

Optional childProducts

childProducts: CartItemGroup[]

childProducts will hold all child cart items which are not yet added.

Optional customFields

customFields: any = {}

custom fields

Optional groupMaxQuantity

groupMaxQuantity: number

maximum child quantity allowed for product bundle..

Optional groupMinQuantity

groupMinQuantity: number

minimum child quantity allowed for product bundle..

id

id: string

product code of cart item group.

Optional lineItems

lineItems: CartItemGroup[]

lineItems will hold all child cart items.

Optional lineNumber

lineNumber: string

line number of cart item group.

Optional maxQuantity

maxQuantity: number

Max Quantity of each basket offer.

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.

Optional minQuantity

minQuantity: number

Min Quantity of each basket offer.

name

name: string

name of cart item group.

Optional priceInfo

priceInfo: PriceInfo

price information of cart item group.

Optional productGroupPrices

productGroupPrices: any = {}

Optional productGroups

productGroups: CartItemGroup[]

cartItemGroups will hold all nested cart item bundles.

Optional productHierarchyPath

productHierarchyPath: string

heirarchy path to identify child-product from offer bundle.

Optional provisioningStatus

provisioningStatus: any = {}

provisioningStatus for asset item in cart

Optional quantity

quantity: number

Quantity of each offer.

Optional selectedAttributes

selectedAttributes: any

it holds various selected default attributes of an offer.

Methods

Static parse

  • parse(cartItemGroupResponse: any, input?: any, isAsset?: boolean): CartItemGroup
  • This function parse the cart item group bundle

    Parameters

    • cartItemGroupResponse: any

      each product bundle

    • Optional input: any
    • Optional isAsset: boolean

    Returns CartItemGroup

    CartItemGroup

Generated using TypeDoc