stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Rule

Description

Contains the types generated from the schema Rule

Synopsis

Documentation

data Rule Source #

Defines the data type for the schema rule

Constructors

Rule 

Fields

  • 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
Instances
Eq Rule Source # 
Instance details

Defined in StripeAPI.Types.Rule

Methods

(==) :: Rule -> Rule -> Bool #

(/=) :: Rule -> Rule -> Bool #

Show Rule Source # 
Instance details

Defined in StripeAPI.Types.Rule

Methods

showsPrec :: Int -> Rule -> ShowS #

show :: Rule -> String #

showList :: [Rule] -> ShowS #

ToJSON Rule Source # 
Instance details

Defined in StripeAPI.Types.Rule

FromJSON Rule Source # 
Instance details

Defined in StripeAPI.Types.Rule