How to set values dynamically

Hello. I received this from a partner program where I need to set Values dynamically. For orderId and orderSubTotalPostDiscount.

Any help will be appreciated. thanks