Options
All
  • Public
  • Public/Protected
  • All
Menu

Class that defines each product group.

Hierarchy

  • ProductGroup

Index

Properties

Optional childProducts

childProducts: Offer[]

childProducts will hold all child offers.

Optional customFields

customFields: any

custom fields

Optional description

description: string

description of the offer.

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

unique ID for each offer.

Optional maxQuantity

maxQuantity: number

maximum product quantity allowed.

Optional minQuantity

minQuantity: number

minimum product quantity allowed.

name

name: string

name of the offer.

Optional productGroups

productGroups: ProductGroup[]

childProducts will hold all nested offer bundles.

Optional quantity

quantity: number

quantity of the offer.

Methods

Static parse

  • parse(productGroupResponse: any, input?: any): ProductGroup
  • This function parse the offer product group bundle

    Parameters

    • productGroupResponse: any

      each offer product bundle

    • Optional input: any

    Returns ProductGroup

    productGroup

Generated using TypeDoc