Is there a way to add custom functionality to a custom payment method at the POS?

For example, change the order amount by a certain percentage when this pricing option is selected.