| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Rakuten.Types.Class
Contents
Documentation
class ToParam a where Source #
Helper Type Class of QueryParam
Minimal complete definition
Instances
| ToParam Bool Source # | |
Defined in Rakuten.Types.Class | |
| ToParam Double Source # | |
Defined in Rakuten.Types.Class | |
| ToParam Int Source # | |
Defined in Rakuten.Types.Class | |
| ToParam Text Source # | |
Defined in Rakuten.Types.Class | |
| ToParam [Text] Source # | |
Defined in Rakuten.Types.Class | |
| ToParam a => ToParam (Maybe a) Source # | |
Defined in Rakuten.Types.Class | |
| ToParam a => ToParam (Identity a) Source # | |
Defined in Rakuten.Types.Class | |
class ToParams a where Source #
Helper Type Class of QueryParam
use to construct request parameter from param type, e.g. IchibaItemSearchParam
Minimal complete definition
Methods
toParams :: (QueryParam param, Monoid param) => a -> param Source #
Instances
| Forall (KeyValue KnownSymbol ToParam) xs => ToParams (Record xs) Source # | |
Defined in Rakuten.Types.Class | |