addVar

fun addVar(key: String, value: Any?)

Add a custom key value pair to the purchase item.

Parameters

key

the custom value key

value

the custom value

Throws

if invalid JSON is provided