PayplansModifier object allows you to perform numerous actions without writing a single query on the Modifier entity.
Get Modifier amount
public function getAmount()
Return the amount for which modifier has to be applied.
Check if modifier is in percent or fix amount
public function isPercentage()
Check whether the modifier applied is in percentage or fix amount.
Get the sequence of modifier applied
public function getSerial()
Return the serial in which modifier has to be applied.For eg:-Tax should be applied first or discount.
Get the frequency of modifier
public function getFrequency()
Return the number of times, the modifier has to be applied.