Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema UsageRecord
Synopsis
- data UsageRecord = UsageRecord {}
- data UsageRecordObject'
Documentation
data UsageRecord Source #
Defines the data type for the schema usage_record
Usage records allow you to report customer usage and metrics to Stripe for metered billing of subscription plans.
Related guide: Metered Billing.
UsageRecord | |
|
Instances
Eq UsageRecord Source # | |
Defined in StripeAPI.Types.UsageRecord (==) :: UsageRecord -> UsageRecord -> Bool # (/=) :: UsageRecord -> UsageRecord -> Bool # | |
Show UsageRecord Source # | |
Defined in StripeAPI.Types.UsageRecord showsPrec :: Int -> UsageRecord -> ShowS # show :: UsageRecord -> String # showList :: [UsageRecord] -> ShowS # | |
ToJSON UsageRecord Source # | |
Defined in StripeAPI.Types.UsageRecord toJSON :: UsageRecord -> Value # toEncoding :: UsageRecord -> Encoding # toJSONList :: [UsageRecord] -> Value # toEncodingList :: [UsageRecord] -> Encoding # | |
FromJSON UsageRecord Source # | |
Defined in StripeAPI.Types.UsageRecord parseJSON :: Value -> Parser UsageRecord # parseJSONList :: Value -> Parser [UsageRecord] # |
data UsageRecordObject' Source #
Defines the enum schema usage_recordObject'
String representing the object's type. Objects of the same type share the same value.
UsageRecordObject'EnumOther Value | |
UsageRecordObject'EnumTyped String | |
UsageRecordObject'EnumStringUsageRecord |
Instances
Eq UsageRecordObject' Source # | |
Defined in StripeAPI.Types.UsageRecord (==) :: UsageRecordObject' -> UsageRecordObject' -> Bool # (/=) :: UsageRecordObject' -> UsageRecordObject' -> Bool # | |
Show UsageRecordObject' Source # | |
Defined in StripeAPI.Types.UsageRecord showsPrec :: Int -> UsageRecordObject' -> ShowS # show :: UsageRecordObject' -> String # showList :: [UsageRecordObject'] -> ShowS # | |
ToJSON UsageRecordObject' Source # | |
Defined in StripeAPI.Types.UsageRecord toJSON :: UsageRecordObject' -> Value # toEncoding :: UsageRecordObject' -> Encoding # toJSONList :: [UsageRecordObject'] -> Value # toEncodingList :: [UsageRecordObject'] -> Encoding # | |
FromJSON UsageRecordObject' Source # | |
Defined in StripeAPI.Types.UsageRecord parseJSON :: Value -> Parser UsageRecordObject' # parseJSONList :: Value -> Parser [UsageRecordObject'] # |