Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Types.ChargeOutcome
Description
Contains the types generated from the schema ChargeOutcome
Synopsis
- data ChargeOutcome = ChargeOutcome {}
- mkChargeOutcome :: Text -> ChargeOutcome
- data ChargeOutcomeRule'Variants
Documentation
data ChargeOutcome Source #
Defines the object schema located at components.schemas.charge_outcome
in the specification.
Constructors
ChargeOutcome | |
Fields
|
Instances
Eq ChargeOutcome Source # | |
Defined in StripeAPI.Types.ChargeOutcome Methods (==) :: ChargeOutcome -> ChargeOutcome -> Bool # (/=) :: ChargeOutcome -> ChargeOutcome -> Bool # | |
Show ChargeOutcome Source # | |
Defined in StripeAPI.Types.ChargeOutcome Methods showsPrec :: Int -> ChargeOutcome -> ShowS # show :: ChargeOutcome -> String # showList :: [ChargeOutcome] -> ShowS # | |
ToJSON ChargeOutcome Source # | |
Defined in StripeAPI.Types.ChargeOutcome Methods toJSON :: ChargeOutcome -> Value # toEncoding :: ChargeOutcome -> Encoding # toJSONList :: [ChargeOutcome] -> Value # toEncodingList :: [ChargeOutcome] -> Encoding # | |
FromJSON ChargeOutcome Source # | |
Defined in StripeAPI.Types.ChargeOutcome Methods parseJSON :: Value -> Parser ChargeOutcome # parseJSONList :: Value -> Parser [ChargeOutcome] # |
Arguments
:: Text | |
-> ChargeOutcome |
Create a new ChargeOutcome
with all required fields.
data ChargeOutcomeRule'Variants Source #
Defines the oneOf schema located at components.schemas.charge_outcome.properties.rule.anyOf
in the specification.
The ID of the Radar rule that matched the payment, if applicable.
Constructors
ChargeOutcomeRule'Text Text | |
ChargeOutcomeRule'Rule Rule |
Instances
Eq ChargeOutcomeRule'Variants Source # | |
Defined in StripeAPI.Types.ChargeOutcome Methods (==) :: ChargeOutcomeRule'Variants -> ChargeOutcomeRule'Variants -> Bool # (/=) :: ChargeOutcomeRule'Variants -> ChargeOutcomeRule'Variants -> Bool # | |
Show ChargeOutcomeRule'Variants Source # | |
Defined in StripeAPI.Types.ChargeOutcome Methods showsPrec :: Int -> ChargeOutcomeRule'Variants -> ShowS # show :: ChargeOutcomeRule'Variants -> String # showList :: [ChargeOutcomeRule'Variants] -> ShowS # | |
ToJSON ChargeOutcomeRule'Variants Source # | |
Defined in StripeAPI.Types.ChargeOutcome Methods toJSON :: ChargeOutcomeRule'Variants -> Value # toEncoding :: ChargeOutcomeRule'Variants -> Encoding # toJSONList :: [ChargeOutcomeRule'Variants] -> Value # toEncodingList :: [ChargeOutcomeRule'Variants] -> Encoding # | |
FromJSON ChargeOutcomeRule'Variants Source # | |
Defined in StripeAPI.Types.ChargeOutcome Methods parseJSON :: Value -> Parser ChargeOutcomeRule'Variants # parseJSONList :: Value -> Parser [ChargeOutcomeRule'Variants] # |