gogol-shopping-content-0.4.0: Google Content API for Shopping 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.Content.Orderpayments.NotifyauthApproved

Contents

Description

Notify about successfully authorizing user's payment method for a given amount.

See: Content API for Shopping Reference for content.orderpayments.notifyauthapproved.

Synopsis

REST Resource

type OrderpaymentsNotifyauthApprovedResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderpayments" :> (Capture "orderId" Text :> ("notifyAuthApproved" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderpaymentsNotifyAuthApprovedRequest :> Post '[JSON] OrderpaymentsNotifyAuthApprovedResponse))))))) Source #

A resource alias for content.orderpayments.notifyauthapproved method which the OrderpaymentsNotifyauthApproved request conforms to.

Creating a Request

orderpaymentsNotifyauthApproved Source #

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

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

data OrderpaymentsNotifyauthApproved Source #

Notify about successfully authorizing user's payment method for a given amount.

See: orderpaymentsNotifyauthApproved smart constructor.

Instances
Eq OrderpaymentsNotifyauthApproved Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderpayments.NotifyauthApproved

Data OrderpaymentsNotifyauthApproved Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderpayments.NotifyauthApproved

Methods

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

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

toConstr :: OrderpaymentsNotifyauthApproved -> Constr #

dataTypeOf :: OrderpaymentsNotifyauthApproved -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrderpaymentsNotifyauthApproved Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderpayments.NotifyauthApproved

Generic OrderpaymentsNotifyauthApproved Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderpayments.NotifyauthApproved

Associated Types

type Rep OrderpaymentsNotifyauthApproved :: Type -> Type #

GoogleRequest OrderpaymentsNotifyauthApproved Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderpayments.NotifyauthApproved

type Rep OrderpaymentsNotifyauthApproved Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderpayments.NotifyauthApproved

type Rep OrderpaymentsNotifyauthApproved = D1 (MetaData "OrderpaymentsNotifyauthApproved" "Network.Google.Resource.Content.Orderpayments.NotifyauthApproved" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrderpaymentsNotifyauthApproved'" PrefixI True) (S1 (MetaSel (Just "_onaMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_onaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrderpaymentsNotifyAuthApprovedRequest) :*: S1 (MetaSel (Just "_onaOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrderpaymentsNotifyauthApproved Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderpayments.NotifyauthApproved

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

Defined in Network.Google.Resource.Content.Orderpayments.NotifyauthApproved

Request Lenses

onaMerchantId :: Lens' OrderpaymentsNotifyauthApproved Word64 Source #

The ID of the account that manages the order. This cannot be a multi-client account.

onaOrderId :: Lens' OrderpaymentsNotifyauthApproved Text Source #

The ID of the order for for which payment authorization is happening.