Safe Haskell | None |
---|
- data Card = Card {
- cardType :: Text
- cardCountry :: Maybe Text
- cardLastFour :: Text
- cardExpMonth :: Int
- cardExpYear :: Int
- cardChecks :: CardChecks
- data RequestCard = RequestCard {}
- data CardChecks = CardChecks {}
- data CardCheckResult
- = NotProvided
- | NotChecked
- | Passed
- | Failed
- rCardKV :: RequestCard -> [(ByteString, ByteString)]
Documentation
Represents a credit card in the Stripe system.
Card | |
|
data RequestCard Source
Represents a credit car (with full details) that is used as input to the Stripe API.
RequestCard | |
|
data CardCheckResult Source
rCardKV :: RequestCard -> [(ByteString, ByteString)]Source
Turns a RequestCard
into a list of key-value pairs that can be submitted
to the Stripe API in a query.