Options
All
  • Public
  • Public/Protected
  • All
Menu

Class that defines each offer.

Hierarchy

  • Promotion

Index

Constructors

constructor

Properties

actions

actions: any[]

Optional adjustments

adjustments: any[] = []

adjustments for a promotion.

Optional customFields

customFields: any = {}

custom attributes for a promotion

Optional groupMaxQuantity

groupMaxQuantity: number

groupMaxQuantity of the offer.

Optional groupMinQuantity

groupMinQuantity: number

groupMinQuantity of the offer.

name

name: string

name of the offer.

Optional promoActionType

promoActionType: string

Route url for deep linking for an offer.

Optional promoCode

promoCode: string

offercode.

Methods

Static parse

  • parse(promotionResponse: any, cartItemResponse: any, input?: any): Promotion
  • Parameters

    • promotionResponse: any
    • cartItemResponse: any
    • Optional input: any

    Returns Promotion

Generated using TypeDoc