Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves credit card offers for the given publisher.
See: Google Affiliate Network API Reference for gan.ccOffers.list
.
- type CcOffersListResource = "gan" :> ("v1beta1" :> ("publishers" :> (Capture "publisher" Text :> ("ccOffers" :> (QueryParams "advertiser" Text :> (QueryParam "projection" CcOffersListProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] CcOffers)))))))
- ccOffersList :: Text -> CcOffersList
- data CcOffersList
- colAdvertiser :: Lens' CcOffersList [Text]
- colProjection :: Lens' CcOffersList (Maybe CcOffersListProjection)
- colPublisher :: Lens' CcOffersList Text
REST Resource
type CcOffersListResource = "gan" :> ("v1beta1" :> ("publishers" :> (Capture "publisher" Text :> ("ccOffers" :> (QueryParams "advertiser" Text :> (QueryParam "projection" CcOffersListProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] CcOffers))))))) Source #
A resource alias for gan.ccOffers.list
method which the
CcOffersList
request conforms to.
Creating a Request
Creates a value of CcOffersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CcOffersList Source #
Retrieves credit card offers for the given publisher.
See: ccOffersList
smart constructor.
Request Lenses
colAdvertiser :: Lens' CcOffersList [Text] Source #
The advertiser ID of a card issuer whose offers to include. Optional, may be repeated.
colProjection :: Lens' CcOffersList (Maybe CcOffersListProjection) Source #
The set of fields to return.
colPublisher :: Lens' CcOffersList Text Source #
The ID of the publisher in question.