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.Orderinvoices.Createchargeinvoice

Contents

Description

Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders.

See: Content API for Shopping Reference for content.orderinvoices.createchargeinvoice.

Synopsis

REST Resource

type OrderinvoicesCreatechargeinvoiceResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderinvoices" :> (Capture "orderId" Text :> ("createChargeInvoice" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderinvoicesCreateChargeInvoiceRequest :> Post '[JSON] OrderinvoicesCreateChargeInvoiceResponse))))))) Source #

A resource alias for content.orderinvoices.createchargeinvoice method which the OrderinvoicesCreatechargeinvoice request conforms to.

Creating a Request

orderinvoicesCreatechargeinvoice Source #

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

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

data OrderinvoicesCreatechargeinvoice Source #

Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders.

See: orderinvoicesCreatechargeinvoice smart constructor.

Instances
Eq OrderinvoicesCreatechargeinvoice Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderinvoices.Createchargeinvoice

Data OrderinvoicesCreatechargeinvoice Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderinvoices.Createchargeinvoice

Methods

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

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

toConstr :: OrderinvoicesCreatechargeinvoice -> Constr #

dataTypeOf :: OrderinvoicesCreatechargeinvoice -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrderinvoicesCreatechargeinvoice Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderinvoices.Createchargeinvoice

Generic OrderinvoicesCreatechargeinvoice Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderinvoices.Createchargeinvoice

Associated Types

type Rep OrderinvoicesCreatechargeinvoice :: Type -> Type #

GoogleRequest OrderinvoicesCreatechargeinvoice Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderinvoices.Createchargeinvoice

type Rep OrderinvoicesCreatechargeinvoice Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderinvoices.Createchargeinvoice

type Rep OrderinvoicesCreatechargeinvoice = D1 (MetaData "OrderinvoicesCreatechargeinvoice" "Network.Google.Resource.Content.Orderinvoices.Createchargeinvoice" "gogol-shopping-content-0.5.0-JEbpzNrc2lB7bX2emYTGER" False) (C1 (MetaCons "OrderinvoicesCreatechargeinvoice'" PrefixI True) (S1 (MetaSel (Just "_oMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_oPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrderinvoicesCreateChargeInvoiceRequest) :*: S1 (MetaSel (Just "_oOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrderinvoicesCreatechargeinvoice Source # 
Instance details

Defined in Network.Google.Resource.Content.Orderinvoices.Createchargeinvoice

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

Defined in Network.Google.Resource.Content.Orderinvoices.Createchargeinvoice

Request Lenses

oMerchantId :: Lens' OrderinvoicesCreatechargeinvoice Word64 Source #

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