stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Mandate

Description

Contains the types generated from the schema Mandate

Synopsis

Documentation

data Mandate Source #

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

A Mandate is a record of the permission a customer has given you to debit their payment method.

Constructors

Mandate 

Fields

Instances

Instances details
Eq Mandate Source # 
Instance details

Defined in StripeAPI.Types.Mandate

Methods

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

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

Show Mandate Source # 
Instance details

Defined in StripeAPI.Types.Mandate

ToJSON Mandate Source # 
Instance details

Defined in StripeAPI.Types.Mandate

FromJSON Mandate Source # 
Instance details

Defined in StripeAPI.Types.Mandate

data MandateStatus' Source #

Defines the enum schema located at components.schemas.mandate.properties.status in the specification.

The status of the mandate, which indicates whether it can be used to initiate a payment.

Constructors

MandateStatus'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

MandateStatus'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

MandateStatus'EnumActive

Represents the JSON value "active"

MandateStatus'EnumInactive

Represents the JSON value "inactive"

MandateStatus'EnumPending

Represents the JSON value "pending"

data MandateType' Source #

Defines the enum schema located at components.schemas.mandate.properties.type in the specification.

The type of the mandate.

Constructors

MandateType'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

MandateType'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

MandateType'EnumMultiUse

Represents the JSON value "multi_use"

MandateType'EnumSingleUse

Represents the JSON value "single_use"