stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Rule

Description

Contains the types generated from the schema Rule

Synopsis

Documentation

data Rule Source #

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

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

Instances details
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

mkRule Source #

Create a new Rule with all required fields.