gogol-apps-reseller-0.4.0: Google Enterprise Apps Reseller 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.Reseller.Customers.Insert

Contents

Description

Order a new customer's account.

See: Enterprise Apps Reseller API Reference for reseller.customers.insert.

Synopsis

REST Resource

type CustomersInsertResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (QueryParam "customerAuthToken" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Post '[JSON] Customer)))))) Source #

A resource alias for reseller.customers.insert method which the CustomersInsert request conforms to.

Creating a Request

customersInsert Source #

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

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

data CustomersInsert Source #

Order a new customer's account.

See: customersInsert smart constructor.

Instances
Eq CustomersInsert Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Insert

Data CustomersInsert Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Insert

Methods

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

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

toConstr :: CustomersInsert -> Constr #

dataTypeOf :: CustomersInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomersInsert Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Insert

Generic CustomersInsert Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Insert

Associated Types

type Rep CustomersInsert :: Type -> Type #

GoogleRequest CustomersInsert Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Insert

Associated Types

type Rs CustomersInsert :: Type #

type Scopes CustomersInsert :: [Symbol] #

type Rep CustomersInsert Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Insert

type Rep CustomersInsert = D1 (MetaData "CustomersInsert" "Network.Google.Resource.Reseller.Customers.Insert" "gogol-apps-reseller-0.4.0-KDuipGWXeWG9naMHX80l3C" False) (C1 (MetaCons "CustomersInsert'" PrefixI True) (S1 (MetaSel (Just "_ciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Customer) :*: S1 (MetaSel (Just "_ciCustomerAuthToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Scopes CustomersInsert Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Insert

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

Defined in Network.Google.Resource.Reseller.Customers.Insert

Request Lenses

ciPayload :: Lens' CustomersInsert Customer Source #

Multipart request metadata.

ciCustomerAuthToken :: Lens' CustomersInsert (Maybe Text) Source #

The customerAuthToken query string is required when creating a resold account that transfers a direct customer's subscription or transfers another reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. For more information, see the administrator help center.