HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.Rule

Contains the types generated from the schema Rule

  • 1 type
  • 1 value
datadata Rule
#

Defines the object schema located at components.schemas.rule in the specification.

Constructors

  • Rule
    • ruleAction :: Text

      action: The action taken on the payment.

      Constraints:

      • Maximum length of 5000

    • ruleId :: Text

      id: Unique identifier for the object.

      Constraints:

      • Maximum length of 5000

    • rulePredicate :: Text

      predicate: The predicate to evaluate the payment against.

      Constraints:

      • Maximum length of 5000

Instances4Eq, Show, FromJSON, ToJSON
  • Eq RuleDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Rule
  • Show RuleDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Rule
  • FromJSON RuleDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Rule
  • ToJSON RuleDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Rule