- newtype Amount = Amount {}
- newtype Count = Count {}
- newtype Currency = Currency {
- unCurrency :: String
- newtype Description = Description {}
- newtype Offset = Offset {}
- optionalArgs :: [(String, Maybe String)] -> [(String, String)]
- jGet :: JSON a => JSObject JSValue -> String -> Result a
- mjGet :: JSON a => JSObject JSValue -> String -> Result (Maybe a)
- data UTCTime = UTCTime {
- utctDay :: Day
- utctDayTime :: DiffTime
- fromSeconds :: Integer -> UTCTime
- toSeconds :: UTCTime -> Integer
Documentation
Represents an amount in cents in the Stripe system.
A maximum number of objects that the Stripe API will return. This value should be between 1 and 100, inclusive.
Represents a currency (e.g., usd) in the Stripe system. This is a 3-letter ISO code.
newtype Description Source
Describes an object in the Stripe system.
A positive integer that is an offset into the array of objects returned by the Stripe API.
jGet :: JSON a => JSObject JSValue -> String -> Result aSource
Convenience function to get a field from a given JSON
object.
data UTCTime
This is the simplest representation of UTC. It consists of the day number, and a time offset from midnight. Note that if a day has a leap second added to it, it will have 86401 seconds.
UTCTime | |
|
fromSeconds :: Integer -> UTCTimeSource
Convert a time in seconds (from Stripe's servers) to UTCTime
. See
Data.Time.Format for more on working with UTCTime
.