is Valid Log Purchase Input
fun isValidLogPurchaseInput(productId: String?, currencyCode: String?, price: BigDecimal?, quantity: Int, serverConfigStorageProvider: ServerConfigStorageProvider): Boolean
Validates the log purchase event parameters.
Return
true if all log purchase event parameters are valid.
Parameters
product Id
The product Id. Must be non-empty and not in the blocklist.
currency Code
The currency code. Must be non-empty and in the list of VALID_CURRENCY_CODES.
price
The price. Must not be null.
quantity
The quantity of purchases. Must be 1 or greater.
server Config Storage Provider
The server configuration. Used to check against blocklisted purchases.