onPurchaseComplete property

Function onPurchaseComplete
getter/setter pair

This function will get executed when productId product is successfully purchased.

It could also be an async function

Its main task is to activate the product (like changing shared preference data)

Implementation

Function onPurchaseComplete;