| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Mollie.API.Issuers
Synopsis
- issuersPath :: Text
- getIssuer :: Text -> Mollie (Either ResponseError Issuer)
- getIssuers :: Int -> Int -> Mollie (Either ResponseError (List Issuer))
- data PaymentMethod
- data Issuer = Issuer {}
- data ListLinks = ListLinks {}
- data List a = List {
- list_totalCount :: Int
- list_offset :: Int
- list_count :: Int
- list_data :: [a]
- list_links :: Maybe ListLinks
- data ResponseError
Documentation
issuersPath :: Text Source #
Issuer resource's path, relative to API's versioned url.
Arguments
| :: Text | issuerId |
| -> Mollie (Either ResponseError Issuer) |
Handler to get an issuer by its identifier.
For more information see: https://www.mollie.com/en/docs/reference/issuers/get.
Handler to get a list of issuers. Because the list endpoint is paginated this handler requires an offset and a count. The maximum amount of payment methods returned with a single call is 250.
For more information see: https://www.mollie.com/en/docs/reference/issuers/list.
data PaymentMethod Source #
All possible payment methods.
Constructors
| Ideal | |
| Creditcard | |
| Mistercard | |
| Sofort | |
| Banktransfer | |
| Directdebit | |
| Belfius | |
| Paypal | |
| Bitcoin | |
| Podiumcadeaukaart | |
| Paysafecard | |
| NewPaymentMethod Text |
Instances
| Eq PaymentMethod Source # | |
Defined in Mollie.API.Types Methods (==) :: PaymentMethod -> PaymentMethod -> Bool # (/=) :: PaymentMethod -> PaymentMethod -> Bool # | |
| Read PaymentMethod Source # | |
Defined in Mollie.API.Types Methods readsPrec :: Int -> ReadS PaymentMethod # readList :: ReadS [PaymentMethod] # | |
| Show PaymentMethod Source # | |
Defined in Mollie.API.Types Methods showsPrec :: Int -> PaymentMethod -> ShowS # show :: PaymentMethod -> String # showList :: [PaymentMethod] -> ShowS # | |
| ToJSON PaymentMethod Source # | |
Defined in Mollie.API.Types Methods toJSON :: PaymentMethod -> Value # toEncoding :: PaymentMethod -> Encoding # toJSONList :: [PaymentMethod] -> Value # toEncodingList :: [PaymentMethod] -> Encoding # | |
| FromJSON PaymentMethod Source # | |
Defined in Mollie.API.Types Methods parseJSON :: Value -> Parser PaymentMethod # parseJSONList :: Value -> Parser [PaymentMethod] # | |
| ToText PaymentMethod Source # | |
Defined in Mollie.API.Types Methods toText :: PaymentMethod -> Text Source # | |
Representation of an issuer available at Mollie.
For more information see: https://www.mollie.com/en/docs/reference/issuers/get.
Constructors
| Issuer | |
Fields
| |
Important links associated with List responses.
Constructors
| ListLinks | |
Fields
| |
List response for any resource with metadata.
For more information see: https://www.mollie.com/nl/docs/reference/payments/list.
Constructors
| List | |
Fields
| |
data ResponseError Source #
Response errors which could happen when requesting resources from Mollie.
Constructors
| ClientError Int Error | |
| ServerError Int | |
| UnexpectedResponse |
Instances
| Show ResponseError Source # | |
Defined in Mollie.API.Types Methods showsPrec :: Int -> ResponseError -> ShowS # show :: ResponseError -> String # showList :: [ResponseError] -> ShowS # | |