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 |
Lists the user's current inapp item or subscription entitlements
See: Google Play Developer API Reference for androidpublisher.entitlements.list
.
- type EntitlementsListResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("entitlements" :> (QueryParam "token" Text :> (QueryParam "startIndex" (Textual Word32) :> (QueryParam "productId" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] EntitlementsListResponse)))))))))
- entitlementsList :: Text -> EntitlementsList
- data EntitlementsList
- elPackageName :: Lens' EntitlementsList Text
- elToken :: Lens' EntitlementsList (Maybe Text)
- elStartIndex :: Lens' EntitlementsList (Maybe Word32)
- elProductId :: Lens' EntitlementsList (Maybe Text)
- elMaxResults :: Lens' EntitlementsList (Maybe Word32)
REST Resource
type EntitlementsListResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("entitlements" :> (QueryParam "token" Text :> (QueryParam "startIndex" (Textual Word32) :> (QueryParam "productId" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] EntitlementsListResponse))))))))) Source #
A resource alias for androidpublisher.entitlements.list
method which the
EntitlementsList
request conforms to.
Creating a Request
Creates a value of EntitlementsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EntitlementsList Source #
Lists the user's current inapp item or subscription entitlements
See: entitlementsList
smart constructor.
Request Lenses
elPackageName :: Lens' EntitlementsList Text Source #
The package name of the application the inapp product was sold in (for example, 'com.some.thing').
elProductId :: Lens' EntitlementsList (Maybe Text) Source #
The product id of the inapp product (for example, 'sku1'). This can be used to restrict the result set.