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

Contents

Description

Notify about refund on user's selected payments method.

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

Synopsis

REST Resource

type OrderpaymentsNotifyrefundResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderpayments" :> (Capture "orderId" Text :> ("notifyRefund" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderpaymentsNotifyRefundRequest :> Post '[JSON] OrderpaymentsNotifyRefundResponse))))))) Source #

A resource alias for content.orderpayments.notifyrefund method which the OrderpaymentsNotifyrefund request conforms to.

Creating a Request

orderpaymentsNotifyrefund Source #

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

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

data OrderpaymentsNotifyrefund Source #

Notify about refund on user's selected payments method.

See: orderpaymentsNotifyrefund smart constructor.

Instances
Eq OrderpaymentsNotifyrefund Source # 
Instance details

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

Data OrderpaymentsNotifyrefund Source # 
Instance details

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

Methods

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

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

toConstr :: OrderpaymentsNotifyrefund -> Constr #

dataTypeOf :: OrderpaymentsNotifyrefund -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrderpaymentsNotifyrefund Source # 
Instance details

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

Generic OrderpaymentsNotifyrefund Source # 
Instance details

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

Associated Types

type Rep OrderpaymentsNotifyrefund :: Type -> Type #

GoogleRequest OrderpaymentsNotifyrefund Source # 
Instance details

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

type Rep OrderpaymentsNotifyrefund Source # 
Instance details

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

type Rep OrderpaymentsNotifyrefund = D1 (MetaData "OrderpaymentsNotifyrefund" "Network.Google.Resource.Content.Orderpayments.Notifyrefund" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "OrderpaymentsNotifyrefund'" PrefixI True) (S1 (MetaSel (Just "_ooMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_ooPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrderpaymentsNotifyRefundRequest) :*: S1 (MetaSel (Just "_ooOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrderpaymentsNotifyrefund Source # 
Instance details

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

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

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

Request Lenses

ooMerchantId :: Lens' OrderpaymentsNotifyrefund Word64 Source #

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

ooOrderId :: Lens' OrderpaymentsNotifyrefund Text Source #

The ID of the order for which charge is happening.