AndCondition - gomeddo/js-sdk GitHub Wiki

Object that allows for the combining of different conditions with AND. Implements ConditionElement.

Example

const upperBound = new Condition('B25__Base_Price__c', Operator.LESS_THAN, 200)
const lowerBound = new Condition('B25__Base_Price__c', Operator.GREATER_THAN, 100)
const andCondition = new AndCondition([upperBound, lowerBound])

Constructor

AndCondition(conditionElements)

Parameters

  • conditionElements The condition elements to combine. Entries have to implement ConditionElement.