stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.PaymentMethodDetailsCardPresent

Description

Contains the types generated from the schema PaymentMethodDetailsCardPresent

Synopsis

Documentation

data PaymentMethodDetailsCardPresent Source #

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

Constructors

PaymentMethodDetailsCardPresent 

Fields

data PaymentMethodDetailsCardPresentReadMethod' Source #

Defines the enum schema located at components.schemas.payment_method_details_card_present.properties.read_method in the specification.

How card details were read in this transaction.

Constructors

PaymentMethodDetailsCardPresentReadMethod'Other Value

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

PaymentMethodDetailsCardPresentReadMethod'Typed Text

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

PaymentMethodDetailsCardPresentReadMethod'EnumContactEmv

Represents the JSON value "contact_emv"

PaymentMethodDetailsCardPresentReadMethod'EnumContactlessEmv

Represents the JSON value "contactless_emv"

PaymentMethodDetailsCardPresentReadMethod'EnumContactlessMagstripeMode

Represents the JSON value "contactless_magstripe_mode"

PaymentMethodDetailsCardPresentReadMethod'EnumMagneticStripeFallback

Represents the JSON value "magnetic_stripe_fallback"

PaymentMethodDetailsCardPresentReadMethod'EnumMagneticStripeTrack2

Represents the JSON value "magnetic_stripe_track2"

data PaymentMethodDetailsCardPresentReceipt' Source #

Defines the object schema located at components.schemas.payment_method_details_card_present.properties.receipt.anyOf in the specification.

A collection of fields required to be displayed on receipts. Only required for EMV transactions.

Constructors

PaymentMethodDetailsCardPresentReceipt' 

Fields

data PaymentMethodDetailsCardPresentReceipt'AccountType' Source #

Defines the enum schema located at components.schemas.payment_method_details_card_present.properties.receipt.anyOf.properties.account_type in the specification.

The type of account being debited or credited

Constructors

PaymentMethodDetailsCardPresentReceipt'AccountType'Other Value

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

PaymentMethodDetailsCardPresentReceipt'AccountType'Typed Text

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

PaymentMethodDetailsCardPresentReceipt'AccountType'EnumChecking

Represents the JSON value "checking"

PaymentMethodDetailsCardPresentReceipt'AccountType'EnumCredit

Represents the JSON value "credit"

PaymentMethodDetailsCardPresentReceipt'AccountType'EnumPrepaid

Represents the JSON value "prepaid"

PaymentMethodDetailsCardPresentReceipt'AccountType'EnumUnknown

Represents the JSON value "unknown"

Instances

Instances details
Eq PaymentMethodDetailsCardPresentReceipt'AccountType' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardPresent

Show PaymentMethodDetailsCardPresentReceipt'AccountType' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardPresent

ToJSON PaymentMethodDetailsCardPresentReceipt'AccountType' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardPresent

FromJSON PaymentMethodDetailsCardPresentReceipt'AccountType' Source # 
Instance details

Defined in StripeAPI.Types.PaymentMethodDetailsCardPresent