gogol-shopping-content-0.5.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.Orders.Instorerefundlineitem

Contents

Description

Notifies that item return and refund was handled directly by merchant outside of Google payments processing (e.g. cash refund done in store). Note: We recommend calling the returnrefundlineitem method to refund in-store returns. We will issue the refund directly to the customer. This helps to prevent possible differences arising between merchant and Google transaction records. We also recommend having the point of sale system communicate with Google to ensure that customers do not receive a double refund by first refunding via Google then via an in-store return.

See: Content API for Shopping Reference for content.orders.instorerefundlineitem.

Synopsis

REST Resource

type OrdersInstorerefundlineitemResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("inStoreRefundLineItem" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersInStoreRefundLineItemRequest :> Post '[JSON] OrdersInStoreRefundLineItemResponse))))))) Source #

A resource alias for content.orders.instorerefundlineitem method which the OrdersInstorerefundlineitem request conforms to.

Creating a Request

ordersInstorerefundlineitem Source #

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

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

data OrdersInstorerefundlineitem Source #

Notifies that item return and refund was handled directly by merchant outside of Google payments processing (e.g. cash refund done in store). Note: We recommend calling the returnrefundlineitem method to refund in-store returns. We will issue the refund directly to the customer. This helps to prevent possible differences arising between merchant and Google transaction records. We also recommend having the point of sale system communicate with Google to ensure that customers do not receive a double refund by first refunding via Google then via an in-store return.

See: ordersInstorerefundlineitem smart constructor.

Instances
Eq OrdersInstorerefundlineitem Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Instorerefundlineitem

Data OrdersInstorerefundlineitem Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Instorerefundlineitem

Methods

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

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

toConstr :: OrdersInstorerefundlineitem -> Constr #

dataTypeOf :: OrdersInstorerefundlineitem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrdersInstorerefundlineitem Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Instorerefundlineitem

Generic OrdersInstorerefundlineitem Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Instorerefundlineitem

Associated Types

type Rep OrdersInstorerefundlineitem :: Type -> Type #

GoogleRequest OrdersInstorerefundlineitem Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Instorerefundlineitem

type Rep OrdersInstorerefundlineitem Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Instorerefundlineitem

type Rep OrdersInstorerefundlineitem = D1 (MetaData "OrdersInstorerefundlineitem" "Network.Google.Resource.Content.Orders.Instorerefundlineitem" "gogol-shopping-content-0.5.0-JEbpzNrc2lB7bX2emYTGER" False) (C1 (MetaCons "OrdersInstorerefundlineitem'" PrefixI True) (S1 (MetaSel (Just "_oiMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_oiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrdersInStoreRefundLineItemRequest) :*: S1 (MetaSel (Just "_oiOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrdersInstorerefundlineitem Source # 
Instance details

Defined in Network.Google.Resource.Content.Orders.Instorerefundlineitem

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

Defined in Network.Google.Resource.Content.Orders.Instorerefundlineitem

Request Lenses

oiMerchantId :: Lens' OrdersInstorerefundlineitem Word64 Source #

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