HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.Rule

Contains the types generated from the schema Rule

Synopsis
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