HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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