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

Copyright(c) 2015-2016 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.Refund

Contents

Description

Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.

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

Synopsis

REST Resource

type PurchasesSubscriptionsRefundResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("purchases" :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("tokens" :> (CaptureMode "token" "refund" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))))) Source #

A resource alias for androidpublisher.purchases.subscriptions.refund method which the PurchasesSubscriptionsRefund request conforms to.

Creating a Request

purchasesSubscriptionsRefund Source #

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

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

data PurchasesSubscriptionsRefund Source #

Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.

See: purchasesSubscriptionsRefund smart constructor.

Instances
Eq PurchasesSubscriptionsRefund Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Refund

Data PurchasesSubscriptionsRefund Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Refund

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PurchasesSubscriptionsRefund -> c PurchasesSubscriptionsRefund #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PurchasesSubscriptionsRefund #

toConstr :: PurchasesSubscriptionsRefund -> Constr #

dataTypeOf :: PurchasesSubscriptionsRefund -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PurchasesSubscriptionsRefund) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PurchasesSubscriptionsRefund) #

gmapT :: (forall b. Data b => b -> b) -> PurchasesSubscriptionsRefund -> PurchasesSubscriptionsRefund #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PurchasesSubscriptionsRefund -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PurchasesSubscriptionsRefund -> r #

gmapQ :: (forall d. Data d => d -> u) -> PurchasesSubscriptionsRefund -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PurchasesSubscriptionsRefund -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PurchasesSubscriptionsRefund -> m PurchasesSubscriptionsRefund #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PurchasesSubscriptionsRefund -> m PurchasesSubscriptionsRefund #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PurchasesSubscriptionsRefund -> m PurchasesSubscriptionsRefund #

Show PurchasesSubscriptionsRefund Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Refund

Generic PurchasesSubscriptionsRefund Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Refund

Associated Types

type Rep PurchasesSubscriptionsRefund :: Type -> Type #

GoogleRequest PurchasesSubscriptionsRefund Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Refund

type Rep PurchasesSubscriptionsRefund Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Refund

type Rep PurchasesSubscriptionsRefund = D1 (MetaData "PurchasesSubscriptionsRefund" "Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Refund" "gogol-android-publisher-0.4.0-A8TPJe0z8xz1LYUimgzodq" False) (C1 (MetaCons "PurchasesSubscriptionsRefund'" PrefixI True) (S1 (MetaSel (Just "_psrPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_psrToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psrSubscriptionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes PurchasesSubscriptionsRefund Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Refund

type Scopes PurchasesSubscriptionsRefund = "https://www.googleapis.com/auth/androidpublisher" ': ([] :: [Symbol])
type Rs PurchasesSubscriptionsRefund Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Purchases.Subscriptions.Refund

Request Lenses

psrPackageName :: Lens' PurchasesSubscriptionsRefund Text Source #

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

psrToken :: Lens' PurchasesSubscriptionsRefund Text Source #

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

psrSubscriptionId :: Lens' PurchasesSubscriptionsRefund Text Source #

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