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

Contents

Description

Notify about charge on user's selected payments method.

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

Synopsis

REST Resource

type OrderpaymentsNotifychargeResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderpayments" :> (Capture "orderId" Text :> ("notifyCharge" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderpaymentsNotifyChargeRequest :> Post '[JSON] OrderpaymentsNotifyChargeResponse))))))) Source #

A resource alias for content.orderpayments.notifycharge method which the OrderpaymentsNotifycharge request conforms to.

Creating a Request

orderpaymentsNotifycharge Source #

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

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

data OrderpaymentsNotifycharge Source #

Notify about charge on user's selected payments method.

See: orderpaymentsNotifycharge smart constructor.

Instances
Eq OrderpaymentsNotifycharge Source # 
Instance details

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

Data OrderpaymentsNotifycharge Source # 
Instance details

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

Methods

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

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

toConstr :: OrderpaymentsNotifycharge -> Constr #

dataTypeOf :: OrderpaymentsNotifycharge -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrderpaymentsNotifycharge Source # 
Instance details

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

Generic OrderpaymentsNotifycharge Source # 
Instance details

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

Associated Types

type Rep OrderpaymentsNotifycharge :: Type -> Type #

GoogleRequest OrderpaymentsNotifycharge Source # 
Instance details

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

type Rep OrderpaymentsNotifycharge Source # 
Instance details

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

type Rep OrderpaymentsNotifycharge = D1 (MetaData "OrderpaymentsNotifycharge" "Network.Google.Resource.Content.Orderpayments.Notifycharge" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrderpaymentsNotifycharge'" PrefixI True) (S1 (MetaSel (Just "_onnMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_onnPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrderpaymentsNotifyChargeRequest) :*: S1 (MetaSel (Just "_onnOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrderpaymentsNotifycharge Source # 
Instance details

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

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

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

Request Lenses

onnMerchantId :: Lens' OrderpaymentsNotifycharge Word64 Source #

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

onnOrderId :: Lens' OrderpaymentsNotifycharge Text Source #

The ID of the order for which charge is happening.