Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema Radar_ValueList
Synopsis
- data Radar'valueList = Radar'valueList {
- radar'valueListAlias :: Text
- radar'valueListCreated :: Int
- radar'valueListCreatedBy :: Text
- radar'valueListId :: Text
- radar'valueListItemType :: Radar'valueListItemType'
- radar'valueListListItems :: Radar'valueListListItems'
- radar'valueListLivemode :: Bool
- radar'valueListMetadata :: Object
- radar'valueListName :: Text
- mkRadar'valueList :: Text -> Int -> Text -> Text -> Radar'valueListItemType' -> Radar'valueListListItems' -> Bool -> Object -> Text -> Radar'valueList
- data Radar'valueListItemType'
- = Radar'valueListItemType'Other Value
- | Radar'valueListItemType'Typed Text
- | Radar'valueListItemType'EnumCardBin
- | Radar'valueListItemType'EnumCardFingerprint
- | Radar'valueListItemType'EnumCaseSensitiveString
- | Radar'valueListItemType'EnumCountry
- | Radar'valueListItemType'EnumEmail
- | Radar'valueListItemType'EnumIpAddress
- | Radar'valueListItemType'EnumString
- data Radar'valueListListItems' = Radar'valueListListItems' {}
- mkRadar'valueListListItems' :: [Radar'valueListItem] -> Bool -> Text -> Radar'valueListListItems'
Documentation
data Radar'valueList Source #
Defines the object schema located at components.schemas.radar.value_list
in the specification.
Value lists allow you to group values together which can then be referenced in rules.
Related guide: Default Stripe Lists.
Radar'valueList | |
|
Instances
Eq Radar'valueList Source # | |
Defined in StripeAPI.Types.Radar_ValueList (==) :: Radar'valueList -> Radar'valueList -> Bool # (/=) :: Radar'valueList -> Radar'valueList -> Bool # | |
Show Radar'valueList Source # | |
Defined in StripeAPI.Types.Radar_ValueList showsPrec :: Int -> Radar'valueList -> ShowS # show :: Radar'valueList -> String # showList :: [Radar'valueList] -> ShowS # | |
ToJSON Radar'valueList Source # | |
Defined in StripeAPI.Types.Radar_ValueList toJSON :: Radar'valueList -> Value # toEncoding :: Radar'valueList -> Encoding # toJSONList :: [Radar'valueList] -> Value # toEncodingList :: [Radar'valueList] -> Encoding # | |
FromJSON Radar'valueList Source # | |
Defined in StripeAPI.Types.Radar_ValueList parseJSON :: Value -> Parser Radar'valueList # parseJSONList :: Value -> Parser [Radar'valueList] # |
:: Text | |
-> Int | |
-> Text | |
-> Text | |
-> Radar'valueListItemType' | |
-> Radar'valueListListItems' | |
-> Bool | |
-> Object | |
-> Text | |
-> Radar'valueList |
Create a new Radar'valueList
with all required fields.
data Radar'valueListItemType' Source #
Defines the enum schema located at components.schemas.radar.value_list.properties.item_type
in the specification.
The type of items in the value list. One of `card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, or `case_sensitive_string`.
Radar'valueListItemType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
Radar'valueListItemType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
Radar'valueListItemType'EnumCardBin | Represents the JSON value |
Radar'valueListItemType'EnumCardFingerprint | Represents the JSON value |
Radar'valueListItemType'EnumCaseSensitiveString | Represents the JSON value |
Radar'valueListItemType'EnumCountry | Represents the JSON value |
Radar'valueListItemType'EnumEmail | Represents the JSON value |
Radar'valueListItemType'EnumIpAddress | Represents the JSON value |
Radar'valueListItemType'EnumString | Represents the JSON value |
Instances
Eq Radar'valueListItemType' Source # | |
Defined in StripeAPI.Types.Radar_ValueList | |
Show Radar'valueListItemType' Source # | |
Defined in StripeAPI.Types.Radar_ValueList showsPrec :: Int -> Radar'valueListItemType' -> ShowS # show :: Radar'valueListItemType' -> String # showList :: [Radar'valueListItemType'] -> ShowS # | |
ToJSON Radar'valueListItemType' Source # | |
Defined in StripeAPI.Types.Radar_ValueList | |
FromJSON Radar'valueListItemType' Source # | |
Defined in StripeAPI.Types.Radar_ValueList |
data Radar'valueListListItems' Source #
Defines the object schema located at components.schemas.radar.value_list.properties.list_items
in the specification.
List of items contained within this value list.
Radar'valueListListItems' | |
|
Instances
mkRadar'valueListListItems' Source #
:: [Radar'valueListItem] | |
-> Bool | |
-> Text | |
-> Radar'valueListListItems' |
Create a new Radar'valueListListItems'
with all required fields.