| Safe Haskell | None |
|---|
Web.Stripe.Card
- data Card = Card {
- cardType :: Text
- cardCountry :: Text
- cardLastFour :: Text
- cardExpMonth :: Int
- cardExpYear :: Int
- data RequestCard = RequestCard {}
- rCardKV :: RequestCard -> [(ByteString, ByteString)]
Documentation
Represents a credit card in the Stripe system.
Constructors
| Card | |
Fields
| |
data RequestCard Source
Represents a credit car (with full details) that is used as input to the Stripe API.
Constructors
| RequestCard | |
Fields
| |
Instances
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.