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.Notifyauthdeclined

Contents

Description

Notify about failure to authorize user's payment method.

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

Synopsis

REST Resource

type OrderpaymentsNotifyauthdeclinedResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderpayments" :> (Capture "orderId" Text :> ("notifyAuthDeclined" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderpaymentsNotifyAuthDeclinedRequest :> Post '[JSON] OrderpaymentsNotifyAuthDeclinedResponse))))))) Source #

A resource alias for content.orderpayments.notifyauthdeclined method which the OrderpaymentsNotifyauthdeclined request conforms to.

Creating a Request

orderpaymentsNotifyauthdeclined Source #

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

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

data OrderpaymentsNotifyauthdeclined Source #

Notify about failure to authorize user's payment method.

See: orderpaymentsNotifyauthdeclined smart constructor.

Instances
Eq OrderpaymentsNotifyauthdeclined Source # 
Instance details

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

Data OrderpaymentsNotifyauthdeclined Source # 
Instance details

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

Methods

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

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

toConstr :: OrderpaymentsNotifyauthdeclined -> Constr #

dataTypeOf :: OrderpaymentsNotifyauthdeclined -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrderpaymentsNotifyauthdeclined Source # 
Instance details

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

Generic OrderpaymentsNotifyauthdeclined Source # 
Instance details

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

Associated Types

type Rep OrderpaymentsNotifyauthdeclined :: Type -> Type #

GoogleRequest OrderpaymentsNotifyauthdeclined Source # 
Instance details

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

type Rep OrderpaymentsNotifyauthdeclined Source # 
Instance details

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

type Rep OrderpaymentsNotifyauthdeclined = D1 (MetaData "OrderpaymentsNotifyauthdeclined" "Network.Google.Resource.Content.Orderpayments.Notifyauthdeclined" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrderpaymentsNotifyauthdeclined'" PrefixI True) (S1 (MetaSel (Just "_onMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_onPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrderpaymentsNotifyAuthDeclinedRequest) :*: S1 (MetaSel (Just "_onOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrderpaymentsNotifyauthdeclined Source # 
Instance details

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

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

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

Request Lenses

onMerchantId :: Lens' OrderpaymentsNotifyauthdeclined Word64 Source #

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

onOrderId :: Lens' OrderpaymentsNotifyauthdeclined Text Source #

The ID of the order for which payment authorization was declined.