getVirtualCurrenciesWith

fun Purchases.getVirtualCurrenciesWith(onError: (error: PurchasesError) -> Unit = ON_ERROR_STUB, onSuccess: (virtualCurrencies: VirtualCurrencies) -> Unit)

Fetches the virtual currencies for the current subscriber.

Parameters

onSuccess

Will be called after the call has completed successfully with a VirtualCurrencies object.

onError

Will be called after the call has completed with an error.