Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Checks the purchase and consumption status of an inapp item.
See: Google Play Developer API Reference for androidpublisher.purchases.products.get
.
Synopsis
- type PurchasesProductsGetResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("purchases" :> ("products" :> (Capture "productId" Text :> ("tokens" :> (Capture "token" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductPurchase)))))))))
- purchasesProductsGet :: Text -> Text -> Text -> PurchasesProductsGet
- data PurchasesProductsGet
- ppgPackageName :: Lens' PurchasesProductsGet Text
- ppgToken :: Lens' PurchasesProductsGet Text
- ppgProductId :: Lens' PurchasesProductsGet Text
REST Resource
type PurchasesProductsGetResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("purchases" :> ("products" :> (Capture "productId" Text :> ("tokens" :> (Capture "token" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductPurchase))))))))) Source #
A resource alias for androidpublisher.purchases.products.get
method which the
PurchasesProductsGet
request conforms to.
Creating a Request
Creates a value of PurchasesProductsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PurchasesProductsGet Source #
Checks the purchase and consumption status of an inapp item.
See: purchasesProductsGet
smart constructor.
Instances
Request Lenses
ppgPackageName :: Lens' PurchasesProductsGet Text Source #
The package name of the application the inapp product was sold in (for example, 'com.some.thing').
ppgToken :: Lens' PurchasesProductsGet Text Source #
The token provided to the user's device when the inapp product was purchased.
ppgProductId :: Lens' PurchasesProductsGet Text Source #
The inapp product SKU (for example, 'com.some.thing.inapp1').