Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
getMethod :: MethodAPI route -> route :- ("methods" :> (Capture "id" PaymentMethod :> Get '[HalJSON] Method)) Source #
Handler to get a payment method by its identifier. See https://docs.mollie.com/reference/v2/methods-api/get-method
getMethods :: MethodAPI route -> route :- ("methods" :> Get '[HalJSON] (List Method)) Source #
Handler to get a list of payment methods. See https://docs.mollie.com/reference/v2/methods-api/list-methods
Instances
Generic (MethodAPI route) Source # | |
type Rep (MethodAPI route) Source # | |
Defined in Mollie.API.Methods type Rep (MethodAPI route) = D1 (MetaData "MethodAPI" "Mollie.API.Methods" "mollie-api-haskell-2.0.0.0-79op8QUDPdyAagRpBQOely" False) (C1 (MetaCons "MethodAPI" PrefixI True) (S1 (MetaSel (Just "getMethods") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (route :- ("methods" :> Get (HalJSON ': ([] :: [Type])) (List Method)))) :*: S1 (MetaSel (Just "getMethod") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (route :- ("methods" :> (Capture "id" PaymentMethod :> Get (HalJSON ': ([] :: [Type])) Method)))))) |