summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.electron/-in-app-purchase/purchase-product.html
blob: 5f60b820e19b73b0a4370e304b780a5960f8feb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>InAppPurchase.purchaseProduct - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.electron</a>&nbsp;/&nbsp;<a href="index.html">InAppPurchase</a>&nbsp;/&nbsp;<a href="./purchase-product.html">purchaseProduct</a><br/>
<br/>
<h1>purchaseProduct</h1>
<a name="pl.treksoft.kvision.electron.InAppPurchase$purchaseProduct(kotlin.String, kotlin.Number, kotlin.Function1((kotlin.Boolean, kotlin.Unit)))"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">purchaseProduct</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.InAppPurchase$purchaseProduct(kotlin.String, kotlin.Number, kotlin.Function1((kotlin.Boolean, kotlin.Unit)))/productID">productID</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.InAppPurchase$purchaseProduct(kotlin.String, kotlin.Number, kotlin.Function1((kotlin.Boolean, kotlin.Unit)))/quantity">quantity</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;definedExternally<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.InAppPurchase$purchaseProduct(kotlin.String, kotlin.Number, kotlin.Function1((kotlin.Boolean, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">isProductValid</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
</BODY>
</HTML>