gogol-android-publisher-0.0.1: Google Play Developer SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Revoke

Contents

Description

Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.

See: Google Play Developer API Reference for androidpublisher.purchases.subscriptions.revoke.

Synopsis

REST Resource

type PurchasesSubscriptionsRevokeResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("purchases" :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("tokens" :> (CaptureMode "token" "revoke" Text :> (QueryParam "alt" AltJSON :> Post `[JSON]` ()))))))))) Source

A resource alias for androidpublisher.purchases.subscriptions.revoke method which the PurchasesSubscriptionsRevoke request conforms to.

Creating a Request

purchasesSubscriptionsRevoke Source

Creates a value of PurchasesSubscriptionsRevoke with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data PurchasesSubscriptionsRevoke Source

Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.

See: purchasesSubscriptionsRevoke smart constructor.

Request Lenses

pPackageName :: Lens' PurchasesSubscriptionsRevoke Text Source

The package name of the application for which this subscription was purchased (for example, 'com.some.thing').

pToken :: Lens' PurchasesSubscriptionsRevoke Text Source

The token provided to the user's device when the subscription was purchased.

pSubscriptionId :: Lens' PurchasesSubscriptionsRevoke Text Source

The purchased subscription ID (for example, 'monthly001').