| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.PaymentMethodCard
Description
Contains the types generated from the schema PaymentMethodCard
Synopsis
- data PaymentMethodCard = PaymentMethodCard {
- paymentMethodCardBrand :: Text
- paymentMethodCardChecks :: Maybe PaymentMethodCardChecks'
- paymentMethodCardCountry :: Maybe Text
- paymentMethodCardExpMonth :: Int
- paymentMethodCardExpYear :: Int
- paymentMethodCardFingerprint :: Maybe Text
- paymentMethodCardFunding :: Text
- paymentMethodCardGeneratedFrom :: Maybe PaymentMethodCardGeneratedFrom'
- paymentMethodCardLast4 :: Text
- paymentMethodCardNetworks :: Maybe PaymentMethodCardNetworks'
- paymentMethodCardThreeDSecureUsage :: Maybe PaymentMethodCardThreeDSecureUsage'
- paymentMethodCardWallet :: Maybe PaymentMethodCardWallet'
- mkPaymentMethodCard :: Text -> Int -> Int -> Text -> Text -> PaymentMethodCard
- data PaymentMethodCardChecks' = PaymentMethodCardChecks' {}
- mkPaymentMethodCardChecks' :: PaymentMethodCardChecks'
- data PaymentMethodCardGeneratedFrom' = PaymentMethodCardGeneratedFrom' {}
- mkPaymentMethodCardGeneratedFrom' :: PaymentMethodCardGeneratedFrom'
- data PaymentMethodCardGeneratedFrom'PaymentMethodDetails' = PaymentMethodCardGeneratedFrom'PaymentMethodDetails' {}
- mkPaymentMethodCardGeneratedFrom'PaymentMethodDetails' :: PaymentMethodCardGeneratedFrom'PaymentMethodDetails'
- data PaymentMethodCardGeneratedFrom'SetupAttempt'Variants
- data PaymentMethodCardNetworks' = PaymentMethodCardNetworks' {}
- mkPaymentMethodCardNetworks' :: PaymentMethodCardNetworks'
- data PaymentMethodCardThreeDSecureUsage' = PaymentMethodCardThreeDSecureUsage' {}
- mkPaymentMethodCardThreeDSecureUsage' :: PaymentMethodCardThreeDSecureUsage'
- data PaymentMethodCardWallet' = PaymentMethodCardWallet' {
- paymentMethodCardWallet'AmexExpressCheckout :: Maybe PaymentMethodCardWalletAmexExpressCheckout
- paymentMethodCardWallet'ApplePay :: Maybe PaymentMethodCardWalletApplePay
- paymentMethodCardWallet'DynamicLast4 :: Maybe Text
- paymentMethodCardWallet'GooglePay :: Maybe PaymentMethodCardWalletGooglePay
- paymentMethodCardWallet'Masterpass :: Maybe PaymentMethodCardWalletMasterpass
- paymentMethodCardWallet'SamsungPay :: Maybe PaymentMethodCardWalletSamsungPay
- paymentMethodCardWallet'Type :: Maybe PaymentMethodCardWallet'Type'
- paymentMethodCardWallet'VisaCheckout :: Maybe PaymentMethodCardWalletVisaCheckout
- mkPaymentMethodCardWallet' :: PaymentMethodCardWallet'
- data PaymentMethodCardWallet'Type'
- = PaymentMethodCardWallet'Type'Other Value
- | PaymentMethodCardWallet'Type'Typed Text
- | PaymentMethodCardWallet'Type'EnumAmexExpressCheckout
- | PaymentMethodCardWallet'Type'EnumApplePay
- | PaymentMethodCardWallet'Type'EnumGooglePay
- | PaymentMethodCardWallet'Type'EnumMasterpass
- | PaymentMethodCardWallet'Type'EnumSamsungPay
- | PaymentMethodCardWallet'Type'EnumVisaCheckout
Documentation
data PaymentMethodCard Source #
Defines the object schema located at components.schemas.payment_method_card in the specification.
Constructors
| PaymentMethodCard | |
Fields
| |
Instances
| Eq PaymentMethodCard Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods (==) :: PaymentMethodCard -> PaymentMethodCard -> Bool # (/=) :: PaymentMethodCard -> PaymentMethodCard -> Bool # | |
| Show PaymentMethodCard Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods showsPrec :: Int -> PaymentMethodCard -> ShowS # show :: PaymentMethodCard -> String # showList :: [PaymentMethodCard] -> ShowS # | |
| ToJSON PaymentMethodCard Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods toJSON :: PaymentMethodCard -> Value # toEncoding :: PaymentMethodCard -> Encoding # toJSONList :: [PaymentMethodCard] -> Value # toEncodingList :: [PaymentMethodCard] -> Encoding # | |
| FromJSON PaymentMethodCard Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods parseJSON :: Value -> Parser PaymentMethodCard # parseJSONList :: Value -> Parser [PaymentMethodCard] # | |
Create a new PaymentMethodCard with all required fields.
data PaymentMethodCardChecks' Source #
Defines the object schema located at components.schemas.payment_method_card.properties.checks.anyOf in the specification.
Checks on Card address and CVC if provided.
Constructors
| PaymentMethodCardChecks' | |
Fields
| |
Instances
| Eq PaymentMethodCardChecks' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods (==) :: PaymentMethodCardChecks' -> PaymentMethodCardChecks' -> Bool # (/=) :: PaymentMethodCardChecks' -> PaymentMethodCardChecks' -> Bool # | |
| Show PaymentMethodCardChecks' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods showsPrec :: Int -> PaymentMethodCardChecks' -> ShowS # show :: PaymentMethodCardChecks' -> String # showList :: [PaymentMethodCardChecks'] -> ShowS # | |
| ToJSON PaymentMethodCardChecks' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods toJSON :: PaymentMethodCardChecks' -> Value # toEncoding :: PaymentMethodCardChecks' -> Encoding # toJSONList :: [PaymentMethodCardChecks'] -> Value # | |
| FromJSON PaymentMethodCardChecks' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods parseJSON :: Value -> Parser PaymentMethodCardChecks' # parseJSONList :: Value -> Parser [PaymentMethodCardChecks'] # | |
mkPaymentMethodCardChecks' :: PaymentMethodCardChecks' Source #
Create a new PaymentMethodCardChecks' with all required fields.
data PaymentMethodCardGeneratedFrom' Source #
Defines the object schema located at components.schemas.payment_method_card.properties.generated_from.anyOf in the specification.
Details of the original PaymentMethod that created this object.
Constructors
| PaymentMethodCardGeneratedFrom' | |
Fields
| |
Instances
mkPaymentMethodCardGeneratedFrom' :: PaymentMethodCardGeneratedFrom' Source #
Create a new PaymentMethodCardGeneratedFrom' with all required fields.
data PaymentMethodCardGeneratedFrom'PaymentMethodDetails' Source #
Defines the object schema located at components.schemas.payment_method_card.properties.generated_from.anyOf.properties.payment_method_details.anyOf in the specification.
Transaction-specific details of the payment method used in the payment.
Constructors
| PaymentMethodCardGeneratedFrom'PaymentMethodDetails' | |
Fields
| |
Instances
mkPaymentMethodCardGeneratedFrom'PaymentMethodDetails' :: PaymentMethodCardGeneratedFrom'PaymentMethodDetails' Source #
Create a new PaymentMethodCardGeneratedFrom'PaymentMethodDetails' with all required fields.
data PaymentMethodCardGeneratedFrom'SetupAttempt'Variants Source #
Defines the oneOf schema located at components.schemas.payment_method_card.properties.generated_from.anyOf.properties.setup_attempt.anyOf in the specification.
The ID of the SetupAttempt that generated this PaymentMethod, if any.
Constructors
| PaymentMethodCardGeneratedFrom'SetupAttempt'Text Text | |
| PaymentMethodCardGeneratedFrom'SetupAttempt'SetupAttempt SetupAttempt |
Instances
data PaymentMethodCardNetworks' Source #
Defines the object schema located at components.schemas.payment_method_card.properties.networks.anyOf in the specification.
Contains information about card networks that can be used to process the payment.
Constructors
| PaymentMethodCardNetworks' | |
Fields
| |
Instances
mkPaymentMethodCardNetworks' :: PaymentMethodCardNetworks' Source #
Create a new PaymentMethodCardNetworks' with all required fields.
data PaymentMethodCardThreeDSecureUsage' Source #
Defines the object schema located at components.schemas.payment_method_card.properties.three_d_secure_usage.anyOf in the specification.
Contains details on how this Card maybe be used for 3D Secure authentication.
Constructors
| PaymentMethodCardThreeDSecureUsage' | |
Fields
| |
Instances
mkPaymentMethodCardThreeDSecureUsage' :: PaymentMethodCardThreeDSecureUsage' Source #
Create a new PaymentMethodCardThreeDSecureUsage' with all required fields.
data PaymentMethodCardWallet' Source #
Defines the object schema located at components.schemas.payment_method_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
| Eq PaymentMethodCardWallet' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods (==) :: PaymentMethodCardWallet' -> PaymentMethodCardWallet' -> Bool # (/=) :: PaymentMethodCardWallet' -> PaymentMethodCardWallet' -> Bool # | |
| Show PaymentMethodCardWallet' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods showsPrec :: Int -> PaymentMethodCardWallet' -> ShowS # show :: PaymentMethodCardWallet' -> String # showList :: [PaymentMethodCardWallet'] -> ShowS # | |
| ToJSON PaymentMethodCardWallet' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods toJSON :: PaymentMethodCardWallet' -> Value # toEncoding :: PaymentMethodCardWallet' -> Encoding # toJSONList :: [PaymentMethodCardWallet'] -> Value # | |
| FromJSON PaymentMethodCardWallet' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods parseJSON :: Value -> Parser PaymentMethodCardWallet' # parseJSONList :: Value -> Parser [PaymentMethodCardWallet'] # | |
mkPaymentMethodCardWallet' :: PaymentMethodCardWallet' Source #
Create a new PaymentMethodCardWallet' with all required fields.
data PaymentMethodCardWallet'Type' Source #
Defines the enum schema located at components.schemas.payment_method_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
| PaymentMethodCardWallet'Type'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PaymentMethodCardWallet'Type'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PaymentMethodCardWallet'Type'EnumAmexExpressCheckout | Represents the JSON value |
| PaymentMethodCardWallet'Type'EnumApplePay | Represents the JSON value |
| PaymentMethodCardWallet'Type'EnumGooglePay | Represents the JSON value |
| PaymentMethodCardWallet'Type'EnumMasterpass | Represents the JSON value |
| PaymentMethodCardWallet'Type'EnumSamsungPay | Represents the JSON value |
| PaymentMethodCardWallet'Type'EnumVisaCheckout | Represents the JSON value |
Instances
| Eq PaymentMethodCardWallet'Type' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard | |
| Show PaymentMethodCardWallet'Type' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods showsPrec :: Int -> PaymentMethodCardWallet'Type' -> ShowS # show :: PaymentMethodCardWallet'Type' -> String # showList :: [PaymentMethodCardWallet'Type'] -> ShowS # | |
| ToJSON PaymentMethodCardWallet'Type' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods toJSON :: PaymentMethodCardWallet'Type' -> Value # toEncoding :: PaymentMethodCardWallet'Type' -> Encoding # toJSONList :: [PaymentMethodCardWallet'Type'] -> Value # toEncodingList :: [PaymentMethodCardWallet'Type'] -> Encoding # | |
| FromJSON PaymentMethodCardWallet'Type' Source # | |
Defined in StripeAPI.Types.PaymentMethodCard Methods parseJSON :: Value -> Parser PaymentMethodCardWallet'Type' # parseJSONList :: Value -> Parser [PaymentMethodCardWallet'Type'] # | |