createLimitClass(LimitClass, Long, ILimitsLogic.EntityType, Integer, long) method

Create a new limit class.

Syntax

long createLimitClass ( LimitClass limitClass , Long entityId , ILimitsLogic.EntityType entityType , Integer useCase , long callerId ) throws IllegalDataException, EntityNotFoundException

Parameters

Exceptions

Usage

If the entityId is provided it will automatically be attached to the referenced entity, which can be a Customer, a Payment Instrument, a Wallet entry, or an existing Limit Set. In case it is any of the first three and there is no limit set yet, a new limit set is created.