| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.PaymentMethodDetailsCard
Description
Contains the types generated from the schema PaymentMethodDetailsCard
Synopsis
- data PaymentMethodDetailsCard = PaymentMethodDetailsCard {
- paymentMethodDetailsCardBrand :: Maybe Text
- paymentMethodDetailsCardChecks :: Maybe PaymentMethodDetailsCardChecks'
- paymentMethodDetailsCardCountry :: Maybe Text
- paymentMethodDetailsCardExpMonth :: Int
- paymentMethodDetailsCardExpYear :: Int
- paymentMethodDetailsCardFingerprint :: Maybe Text
- paymentMethodDetailsCardFunding :: Maybe Text
- paymentMethodDetailsCardInstallments :: Maybe PaymentMethodDetailsCardInstallments'
- paymentMethodDetailsCardLast4 :: Maybe Text
- paymentMethodDetailsCardNetwork :: Maybe Text
- paymentMethodDetailsCardThreeDSecure :: Maybe PaymentMethodDetailsCardThreeDSecure'
- paymentMethodDetailsCardWallet :: Maybe PaymentMethodDetailsCardWallet'
- mkPaymentMethodDetailsCard :: Int -> Int -> PaymentMethodDetailsCard
- data PaymentMethodDetailsCardChecks' = PaymentMethodDetailsCardChecks' {}
- mkPaymentMethodDetailsCardChecks' :: PaymentMethodDetailsCardChecks'
- data PaymentMethodDetailsCardInstallments' = PaymentMethodDetailsCardInstallments' {}
- mkPaymentMethodDetailsCardInstallments' :: PaymentMethodDetailsCardInstallments'
- data PaymentMethodDetailsCardInstallments'Plan' = PaymentMethodDetailsCardInstallments'Plan' {}
- mkPaymentMethodDetailsCardInstallments'Plan' :: PaymentMethodDetailsCardInstallments'Plan'
- data PaymentMethodDetailsCardInstallments'Plan'Interval'
- data PaymentMethodDetailsCardInstallments'Plan'Type'
- data PaymentMethodDetailsCardThreeDSecure' = PaymentMethodDetailsCardThreeDSecure' {
- paymentMethodDetailsCardThreeDSecure'AuthenticationFlow :: Maybe PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
- paymentMethodDetailsCardThreeDSecure'Result :: Maybe PaymentMethodDetailsCardThreeDSecure'Result'
- paymentMethodDetailsCardThreeDSecure'ResultReason :: Maybe PaymentMethodDetailsCardThreeDSecure'ResultReason'
- paymentMethodDetailsCardThreeDSecure'Version :: Maybe PaymentMethodDetailsCardThreeDSecure'Version'
- mkPaymentMethodDetailsCardThreeDSecure' :: PaymentMethodDetailsCardThreeDSecure'
- data PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
- data PaymentMethodDetailsCardThreeDSecure'Result'
- = PaymentMethodDetailsCardThreeDSecure'Result'Other Value
- | PaymentMethodDetailsCardThreeDSecure'Result'Typed Text
- | PaymentMethodDetailsCardThreeDSecure'Result'EnumAttemptAcknowledged
- | PaymentMethodDetailsCardThreeDSecure'Result'EnumAuthenticated
- | PaymentMethodDetailsCardThreeDSecure'Result'EnumFailed
- | PaymentMethodDetailsCardThreeDSecure'Result'EnumNotSupported
- | PaymentMethodDetailsCardThreeDSecure'Result'EnumProcessingError
- data PaymentMethodDetailsCardThreeDSecure'ResultReason'
- = PaymentMethodDetailsCardThreeDSecure'ResultReason'Other Value
- | PaymentMethodDetailsCardThreeDSecure'ResultReason'Typed Text
- | PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumAbandoned
- | PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumBypassed
- | PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumCanceled
- | PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumCardNotEnrolled
- | PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumNetworkNotSupported
- | PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumProtocolError
- | PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumRejected
- data PaymentMethodDetailsCardThreeDSecure'Version'
- data PaymentMethodDetailsCardWallet' = PaymentMethodDetailsCardWallet' {
- paymentMethodDetailsCardWallet'AmexExpressCheckout :: Maybe PaymentMethodDetailsCardWalletAmexExpressCheckout
- paymentMethodDetailsCardWallet'ApplePay :: Maybe PaymentMethodDetailsCardWalletApplePay
- paymentMethodDetailsCardWallet'DynamicLast4 :: Maybe Text
- paymentMethodDetailsCardWallet'GooglePay :: Maybe PaymentMethodDetailsCardWalletGooglePay
- paymentMethodDetailsCardWallet'Masterpass :: Maybe PaymentMethodDetailsCardWalletMasterpass
- paymentMethodDetailsCardWallet'SamsungPay :: Maybe PaymentMethodDetailsCardWalletSamsungPay
- paymentMethodDetailsCardWallet'Type :: Maybe PaymentMethodDetailsCardWallet'Type'
- paymentMethodDetailsCardWallet'VisaCheckout :: Maybe PaymentMethodDetailsCardWalletVisaCheckout
- mkPaymentMethodDetailsCardWallet' :: PaymentMethodDetailsCardWallet'
- data PaymentMethodDetailsCardWallet'Type'
- = PaymentMethodDetailsCardWallet'Type'Other Value
- | PaymentMethodDetailsCardWallet'Type'Typed Text
- | PaymentMethodDetailsCardWallet'Type'EnumAmexExpressCheckout
- | PaymentMethodDetailsCardWallet'Type'EnumApplePay
- | PaymentMethodDetailsCardWallet'Type'EnumGooglePay
- | PaymentMethodDetailsCardWallet'Type'EnumMasterpass
- | PaymentMethodDetailsCardWallet'Type'EnumSamsungPay
- | PaymentMethodDetailsCardWallet'Type'EnumVisaCheckout
Documentation
data PaymentMethodDetailsCard Source #
Defines the object schema located at components.schemas.payment_method_details_card in the specification.
Constructors
| PaymentMethodDetailsCard | |
Fields
| |
Instances
| Eq PaymentMethodDetailsCard Source # | |
Defined in StripeAPI.Types.PaymentMethodDetailsCard Methods (==) :: PaymentMethodDetailsCard -> PaymentMethodDetailsCard -> Bool # (/=) :: PaymentMethodDetailsCard -> PaymentMethodDetailsCard -> Bool # | |
| Show PaymentMethodDetailsCard Source # | |
Defined in StripeAPI.Types.PaymentMethodDetailsCard Methods showsPrec :: Int -> PaymentMethodDetailsCard -> ShowS # show :: PaymentMethodDetailsCard -> String # showList :: [PaymentMethodDetailsCard] -> ShowS # | |
| ToJSON PaymentMethodDetailsCard Source # | |
Defined in StripeAPI.Types.PaymentMethodDetailsCard Methods toJSON :: PaymentMethodDetailsCard -> Value # toEncoding :: PaymentMethodDetailsCard -> Encoding # toJSONList :: [PaymentMethodDetailsCard] -> Value # | |
| FromJSON PaymentMethodDetailsCard Source # | |
Defined in StripeAPI.Types.PaymentMethodDetailsCard Methods parseJSON :: Value -> Parser PaymentMethodDetailsCard # parseJSONList :: Value -> Parser [PaymentMethodDetailsCard] # | |
mkPaymentMethodDetailsCard Source #
Arguments
| :: Int | |
| -> Int | |
| -> PaymentMethodDetailsCard |
Create a new PaymentMethodDetailsCard with all required fields.
data PaymentMethodDetailsCardChecks' Source #
Defines the object schema located at components.schemas.payment_method_details_card.properties.checks.anyOf in the specification.
Check results by Card networks on Card address and CVC at time of payment.
Constructors
| PaymentMethodDetailsCardChecks' | |
Fields
| |
Instances
mkPaymentMethodDetailsCardChecks' :: PaymentMethodDetailsCardChecks' Source #
Create a new PaymentMethodDetailsCardChecks' with all required fields.
data PaymentMethodDetailsCardInstallments' Source #
Defines the object schema located at components.schemas.payment_method_details_card.properties.installments.anyOf in the specification.
Installment details for this payment (Mexico only).
For more information, see the installments integration guide.
Constructors
| PaymentMethodDetailsCardInstallments' | |
Fields
| |
Instances
mkPaymentMethodDetailsCardInstallments' :: PaymentMethodDetailsCardInstallments' Source #
Create a new PaymentMethodDetailsCardInstallments' with all required fields.
data PaymentMethodDetailsCardInstallments'Plan' Source #
Defines the object schema located at components.schemas.payment_method_details_card.properties.installments.anyOf.properties.plan.anyOf in the specification.
Installment plan selected for the payment.
Constructors
| PaymentMethodDetailsCardInstallments'Plan' | |
Fields
| |
mkPaymentMethodDetailsCardInstallments'Plan' :: PaymentMethodDetailsCardInstallments'Plan' Source #
Create a new PaymentMethodDetailsCardInstallments'Plan' with all required fields.
data PaymentMethodDetailsCardInstallments'Plan'Interval' Source #
Defines the enum schema located at components.schemas.payment_method_details_card.properties.installments.anyOf.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
| PaymentMethodDetailsCardInstallments'Plan'Interval'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PaymentMethodDetailsCardInstallments'Plan'Interval'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PaymentMethodDetailsCardInstallments'Plan'Interval'EnumMonth | Represents the JSON value |
Instances
data PaymentMethodDetailsCardInstallments'Plan'Type' Source #
Defines the enum schema located at components.schemas.payment_method_details_card.properties.installments.anyOf.properties.plan.anyOf.properties.type in the specification.
Type of installment plan, one of `fixed_count`.
Constructors
| PaymentMethodDetailsCardInstallments'Plan'Type'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PaymentMethodDetailsCardInstallments'Plan'Type'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PaymentMethodDetailsCardInstallments'Plan'Type'EnumFixedCount | Represents the JSON value |
Instances
data PaymentMethodDetailsCardThreeDSecure' Source #
Defines the object schema located at components.schemas.payment_method_details_card.properties.three_d_secure.anyOf in the specification.
Populated if this transaction used 3D Secure authentication.
Constructors
| PaymentMethodDetailsCardThreeDSecure' | |
Fields
| |
Instances
mkPaymentMethodDetailsCardThreeDSecure' :: PaymentMethodDetailsCardThreeDSecure' Source #
Create a new PaymentMethodDetailsCardThreeDSecure' with all required fields.
data PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow' Source #
Defines the enum schema located at components.schemas.payment_method_details_card.properties.three_d_secure.anyOf.properties.authentication_flow in the specification.
For authenticated transactions: how the customer was authenticated by the issuing bank.
Constructors
| PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'EnumChallenge | Represents the JSON value |
| PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'EnumFrictionless | Represents the JSON value |
Instances
data PaymentMethodDetailsCardThreeDSecure'Result' Source #
Defines the enum schema located at components.schemas.payment_method_details_card.properties.three_d_secure.anyOf.properties.result in the specification.
Indicates the outcome of 3D Secure authentication.
Constructors
| PaymentMethodDetailsCardThreeDSecure'Result'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PaymentMethodDetailsCardThreeDSecure'Result'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PaymentMethodDetailsCardThreeDSecure'Result'EnumAttemptAcknowledged | Represents the JSON value |
| PaymentMethodDetailsCardThreeDSecure'Result'EnumAuthenticated | Represents the JSON value |
| PaymentMethodDetailsCardThreeDSecure'Result'EnumFailed | Represents the JSON value |
| PaymentMethodDetailsCardThreeDSecure'Result'EnumNotSupported | Represents the JSON value |
| PaymentMethodDetailsCardThreeDSecure'Result'EnumProcessingError | Represents the JSON value |
Instances
data PaymentMethodDetailsCardThreeDSecure'ResultReason' Source #
Defines the enum schema located at components.schemas.payment_method_details_card.properties.three_d_secure.anyOf.properties.result_reason in the specification.
Additional information about why 3D Secure succeeded or failed based on the `result`.
Constructors
Instances
data PaymentMethodDetailsCardThreeDSecure'Version' Source #
Defines the enum schema located at components.schemas.payment_method_details_card.properties.three_d_secure.anyOf.properties.version in the specification.
The version of 3D Secure that was used.
Constructors
| PaymentMethodDetailsCardThreeDSecure'Version'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PaymentMethodDetailsCardThreeDSecure'Version'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PaymentMethodDetailsCardThreeDSecure'Version'Enum1'0'2 | Represents the JSON value |
| PaymentMethodDetailsCardThreeDSecure'Version'Enum2'1'0 | Represents the JSON value |
| PaymentMethodDetailsCardThreeDSecure'Version'Enum2'2'0 | Represents the JSON value |
Instances
data PaymentMethodDetailsCardWallet' Source #
Defines the object schema located at components.schemas.payment_method_details_card.properties.wallet.anyOf in the specification.
If this Card is part of a card wallet, this contains the details of the card wallet.
Constructors
Instances
mkPaymentMethodDetailsCardWallet' :: PaymentMethodDetailsCardWallet' Source #
Create a new PaymentMethodDetailsCardWallet' with all required fields.
data PaymentMethodDetailsCardWallet'Type' Source #
Defines the enum schema located at components.schemas.payment_method_details_card.properties.wallet.anyOf.properties.type in the specification.
The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, or `visa_checkout`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
Constructors
| PaymentMethodDetailsCardWallet'Type'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PaymentMethodDetailsCardWallet'Type'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PaymentMethodDetailsCardWallet'Type'EnumAmexExpressCheckout | Represents the JSON value |
| PaymentMethodDetailsCardWallet'Type'EnumApplePay | Represents the JSON value |
| PaymentMethodDetailsCardWallet'Type'EnumGooglePay | Represents the JSON value |
| PaymentMethodDetailsCardWallet'Type'EnumMasterpass | Represents the JSON value |
| PaymentMethodDetailsCardWallet'Type'EnumSamsungPay | Represents the JSON value |
| PaymentMethodDetailsCardWallet'Type'EnumVisaCheckout | Represents the JSON value |