{-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeOperators #-} {-# OPTIONS_GHC -fno-warn-duplicate-exports #-} {-# OPTIONS_GHC -fno-warn-unused-binds #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- | -- Module : Network.Google.Resource.AdExchangeBuyer.BillingInfo.List -- Copyright : (c) 2015-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Retrieves a list of billing information for all accounts of the -- authenticated user. -- -- /See:/ for @adexchangebuyer.billingInfo.list@. module Network.Google.Resource.AdExchangeBuyer.BillingInfo.List ( -- * REST Resource BillingInfoListResource -- * Creating a Request , billingInfoList' , BillingInfoList' ) where import Network.Google.AdExchangeBuyer.Types import Network.Google.Prelude -- | A resource alias for @adexchangebuyer.billingInfo.list@ method which the -- 'BillingInfoList'' request conforms to. type BillingInfoListResource = "adexchangebuyer" :> "v1.4" :> "billinginfo" :> QueryParam "alt" AltJSON :> Get '[JSON] BillingInfoList -- | Retrieves a list of billing information for all accounts of the -- authenticated user. -- -- /See:/ 'billingInfoList'' smart constructor. data BillingInfoList' = BillingInfoList'' deriving (Eq,Show,Data,Typeable,Generic) -- | Creates a value of 'BillingInfoList'' with the minimum fields required to make a request. -- billingInfoList' :: BillingInfoList' billingInfoList' = BillingInfoList'' instance GoogleRequest BillingInfoList' where type Rs BillingInfoList' = BillingInfoList type Scopes BillingInfoList' = '["https://www.googleapis.com/auth/adexchange.buyer"] requestClient BillingInfoList''{} = go (Just AltJSON) adExchangeBuyerService where go = buildClient (Proxy :: Proxy BillingInfoListResource) mempty