Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Types.Radar_ValueList
Description
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.
Constructors
Radar'valueList | |
Fields
|
Instances
Eq Radar'valueList Source # | |
Defined in StripeAPI.Types.Radar_ValueList Methods (==) :: Radar'valueList -> Radar'valueList -> Bool # (/=) :: Radar'valueList -> Radar'valueList -> Bool # | |
Show Radar'valueList Source # | |
Defined in StripeAPI.Types.Radar_ValueList Methods showsPrec :: Int -> Radar'valueList -> ShowS # show :: Radar'valueList -> String # showList :: [Radar'valueList] -> ShowS # | |
ToJSON Radar'valueList Source # | |
Defined in StripeAPI.Types.Radar_ValueList Methods 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 Methods parseJSON :: Value -> Parser Radar'valueList # parseJSONList :: Value -> Parser [Radar'valueList] # |
Arguments
:: 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`.
Constructors
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 Methods (==) :: Radar'valueListItemType' -> Radar'valueListItemType' -> Bool # (/=) :: Radar'valueListItemType' -> Radar'valueListItemType' -> Bool # | |
Show Radar'valueListItemType' Source # | |
Defined in StripeAPI.Types.Radar_ValueList Methods showsPrec :: Int -> Radar'valueListItemType' -> ShowS # show :: Radar'valueListItemType' -> String # showList :: [Radar'valueListItemType'] -> ShowS # | |
ToJSON Radar'valueListItemType' Source # | |
Defined in StripeAPI.Types.Radar_ValueList Methods toJSON :: Radar'valueListItemType' -> Value # toEncoding :: Radar'valueListItemType' -> Encoding # toJSONList :: [Radar'valueListItemType'] -> Value # | |
FromJSON Radar'valueListItemType' Source # | |
Defined in StripeAPI.Types.Radar_ValueList Methods parseJSON :: Value -> Parser Radar'valueListItemType' # parseJSONList :: Value -> Parser [Radar'valueListItemType'] # |
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.
Constructors
Radar'valueListListItems' | |
Fields
|
Instances
Eq Radar'valueListListItems' Source # | |
Defined in StripeAPI.Types.Radar_ValueList Methods (==) :: Radar'valueListListItems' -> Radar'valueListListItems' -> Bool # (/=) :: Radar'valueListListItems' -> Radar'valueListListItems' -> Bool # | |
Show Radar'valueListListItems' Source # | |
Defined in StripeAPI.Types.Radar_ValueList Methods showsPrec :: Int -> Radar'valueListListItems' -> ShowS # show :: Radar'valueListListItems' -> String # showList :: [Radar'valueListListItems'] -> ShowS # | |
ToJSON Radar'valueListListItems' Source # | |
Defined in StripeAPI.Types.Radar_ValueList Methods toJSON :: Radar'valueListListItems' -> Value # toEncoding :: Radar'valueListListItems' -> Encoding # toJSONList :: [Radar'valueListListItems'] -> Value # | |
FromJSON Radar'valueListListItems' Source # | |
Defined in StripeAPI.Types.Radar_ValueList Methods parseJSON :: Value -> Parser Radar'valueListListItems' # parseJSONList :: Value -> Parser [Radar'valueListListItems'] # |
mkRadar'valueListListItems' Source #
Arguments
:: [Radar'valueListItem] | |
-> Bool | |
-> Text | |
-> Radar'valueListListItems' |
Create a new Radar'valueListListItems'
with all required fields.