Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
PaymentMethodCard | |
|
Instances
Eq PaymentMethodCard Source # | |
Defined in StripeAPI.Types.PaymentMethodCard (==) :: PaymentMethodCard -> PaymentMethodCard -> Bool # (/=) :: PaymentMethodCard -> PaymentMethodCard -> Bool # | |
Show PaymentMethodCard Source # | |
Defined in StripeAPI.Types.PaymentMethodCard showsPrec :: Int -> PaymentMethodCard -> ShowS # show :: PaymentMethodCard -> String # showList :: [PaymentMethodCard] -> ShowS # | |
ToJSON PaymentMethodCard Source # | |
Defined in StripeAPI.Types.PaymentMethodCard toJSON :: PaymentMethodCard -> Value # toEncoding :: PaymentMethodCard -> Encoding # toJSONList :: [PaymentMethodCard] -> Value # toEncodingList :: [PaymentMethodCard] -> Encoding # | |
FromJSON PaymentMethodCard Source # | |
Defined in StripeAPI.Types.PaymentMethodCard 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.
PaymentMethodCardChecks' | |
|
Instances
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.
PaymentMethodCardGeneratedFrom' | |
|
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.
PaymentMethodCardGeneratedFrom'PaymentMethodDetails' | |
|
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.
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.
PaymentMethodCardNetworks' | |
|
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.
PaymentMethodCardThreeDSecureUsage' | |
|
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.
Instances
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.
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 |