stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.PaymentMethodDetailsCardInstallments

Description

Contains the types generated from the schema PaymentMethodDetailsCardInstallments

Synopsis

Documentation

data PaymentMethodDetailsCardInstallments Source #

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

data PaymentMethodDetailsCardInstallmentsPlan' Source #

Defines the object schema located at components.schemas.payment_method_details_card_installments.properties.plan.anyOf in the specification.

Installment plan selected for the payment.

Constructors

PaymentMethodDetailsCardInstallmentsPlan' 

Fields

data PaymentMethodDetailsCardInstallmentsPlan'Interval' Source #

Defines the enum schema located at components.schemas.payment_method_details_card_installments.properties.plan.anyOf.properties.interval in the specification.

For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. One of `month`.

Constructors

PaymentMethodDetailsCardInstallmentsPlan'Interval'Other Value

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

PaymentMethodDetailsCardInstallmentsPlan'Interval'Typed Text

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

PaymentMethodDetailsCardInstallmentsPlan'Interval'EnumMonth

Represents the JSON value "month"

Instances

Instances details
Eq PaymentMethodDetailsCardInstallmentsPlan'Interval' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardInstallments

Show PaymentMethodDetailsCardInstallmentsPlan'Interval' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardInstallments

ToJSON PaymentMethodDetailsCardInstallmentsPlan'Interval' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardInstallments

FromJSON PaymentMethodDetailsCardInstallmentsPlan'Interval' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardInstallments

data PaymentMethodDetailsCardInstallmentsPlan'Type' Source #

Defines the enum schema located at components.schemas.payment_method_details_card_installments.properties.plan.anyOf.properties.type in the specification.

Type of installment plan, one of `fixed_count`.

Constructors

PaymentMethodDetailsCardInstallmentsPlan'Type'Other Value

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

PaymentMethodDetailsCardInstallmentsPlan'Type'Typed Text

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

PaymentMethodDetailsCardInstallmentsPlan'Type'EnumFixedCount

Represents the JSON value "fixed_count"

Instances

Instances details
Eq PaymentMethodDetailsCardInstallmentsPlan'Type' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardInstallments

Show PaymentMethodDetailsCardInstallmentsPlan'Type' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardInstallments

ToJSON PaymentMethodDetailsCardInstallmentsPlan'Type' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardInstallments

FromJSON PaymentMethodDetailsCardInstallmentsPlan'Type' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardInstallments