Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.PaymentMethod
Description
Contains the types generated from the schema PaymentMethod
Synopsis
- data PaymentMethod = PaymentMethod {
- paymentMethodAccount_type :: Maybe PaymentMethodAccount_type
- paymentMethodBilling_agreement_id :: Maybe Text
- paymentMethodCard_network_preference :: Maybe PaymentMethodCard_network_preference
- paymentMethodCard_type :: Maybe PaymentMethodCard_type
- paymentMethodCc_bin_country :: Maybe Text
- paymentMethodExp_month :: Maybe Int
- paymentMethodExp_year :: Maybe Int
- paymentMethodFirst_six :: Maybe Text
- paymentMethodFunding_source :: Maybe PaymentMethodFunding_source
- paymentMethodGateway_attributes :: Maybe PaymentMethodGateway_attributes
- paymentMethodGateway_code :: Maybe Text
- paymentMethodGateway_token :: Maybe Text
- paymentMethodLast_four :: Maybe Text
- paymentMethodLast_two :: Maybe Text
- paymentMethodName_on_account :: Maybe Text
- paymentMethodObject :: Maybe PaymentMethodObject
- paymentMethodRouting_number :: Maybe Text
- paymentMethodRouting_number_bank :: Maybe Text
- paymentMethodUsername :: Maybe Text
- mkPaymentMethod :: PaymentMethod
- data PaymentMethodAccount_type
- data PaymentMethodCard_network_preference
- = PaymentMethodCard_network_preferenceOther Value
- | PaymentMethodCard_network_preferenceTyped Text
- | PaymentMethodCard_network_preferenceEnumBancontact
- | PaymentMethodCard_network_preferenceEnumCartesBancaires
- | PaymentMethodCard_network_preferenceEnumDankort
- | PaymentMethodCard_network_preferenceEnumMasterCard
- | PaymentMethodCard_network_preferenceEnumVisa
- data PaymentMethodCard_type
- = PaymentMethodCard_typeOther Value
- | PaymentMethodCard_typeTyped Text
- | PaymentMethodCard_typeEnumAmerican_Express
- | PaymentMethodCard_typeEnumDankort
- | PaymentMethodCard_typeEnumDiners_Club
- | PaymentMethodCard_typeEnumDiscover
- | PaymentMethodCard_typeEnumELO
- | PaymentMethodCard_typeEnumForbrugsforeningen
- | PaymentMethodCard_typeEnumHipercard
- | PaymentMethodCard_typeEnumJCB
- | PaymentMethodCard_typeEnumLaser
- | PaymentMethodCard_typeEnumMaestro
- | PaymentMethodCard_typeEnumMasterCard
- | PaymentMethodCard_typeEnumTest_Card
- | PaymentMethodCard_typeEnumUnion_Pay
- | PaymentMethodCard_typeEnumUnknown
- | PaymentMethodCard_typeEnumVisa
- | PaymentMethodCard_typeEnumTarjeta_Naranja
- data PaymentMethodFunding_source
- data PaymentMethodGateway_attributes = PaymentMethodGateway_attributes {}
- mkPaymentMethodGateway_attributes :: PaymentMethodGateway_attributes
- data PaymentMethodObject
- = PaymentMethodObjectOther Value
- | PaymentMethodObjectTyped Text
- | PaymentMethodObjectEnumBacs
- | PaymentMethodObjectEnumAmazon
- | PaymentMethodObjectEnumAmazon_billing_agreement
- | PaymentMethodObjectEnumApple_pay
- | PaymentMethodObjectEnumBank_account_info
- | PaymentMethodObjectEnumBraintree_apple_pay
- | PaymentMethodObjectEnumCheck
- | PaymentMethodObjectEnumCredit_card
- | PaymentMethodObjectEnumEft
- | PaymentMethodObjectEnumGateway_token
- | PaymentMethodObjectEnumGoogle_pay
- | PaymentMethodObjectEnumIban_bank_account
- | PaymentMethodObjectEnumMoney_order
- | PaymentMethodObjectEnumOther
- | PaymentMethodObjectEnumPaypal
- | PaymentMethodObjectEnumPaypal_billing_agreement
- | PaymentMethodObjectEnumRoku
- | PaymentMethodObjectEnumSepadirectdebit
- | PaymentMethodObjectEnumVenmo
- | PaymentMethodObjectEnumWire_transfer
- | PaymentMethodObjectEnumBraintree_v_zero
- | PaymentMethodObjectEnumBoleto
- | PaymentMethodObjectEnumCash_app
Documentation
data PaymentMethod Source #
Defines the object schema located at components.schemas.PaymentMethod
in the specification.
Constructors
PaymentMethod | |
Fields
|
Instances
FromJSON PaymentMethod Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods parseJSON :: Value -> Parser PaymentMethod # parseJSONList :: Value -> Parser [PaymentMethod] # | |
ToJSON PaymentMethod Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods toJSON :: PaymentMethod -> Value # toEncoding :: PaymentMethod -> Encoding # toJSONList :: [PaymentMethod] -> Value # toEncodingList :: [PaymentMethod] -> Encoding # | |
Show PaymentMethod Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods showsPrec :: Int -> PaymentMethod -> ShowS # show :: PaymentMethod -> String # showList :: [PaymentMethod] -> ShowS # | |
Eq PaymentMethod Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods (==) :: PaymentMethod -> PaymentMethod -> Bool # (/=) :: PaymentMethod -> PaymentMethod -> Bool # |
mkPaymentMethod :: PaymentMethod Source #
Create a new PaymentMethod
with all required fields.
data PaymentMethodAccount_type Source #
Defines the enum schema located at components.schemas.PaymentMethod.properties.account_type
in the specification.
The bank account type. Only present for ACH payment methods.
Constructors
PaymentMethodAccount_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PaymentMethodAccount_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PaymentMethodAccount_typeEnumChecking | Represents the JSON value |
PaymentMethodAccount_typeEnumSavings | Represents the JSON value |
Instances
FromJSON PaymentMethodAccount_type Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods parseJSON :: Value -> Parser PaymentMethodAccount_type # parseJSONList :: Value -> Parser [PaymentMethodAccount_type] # | |
ToJSON PaymentMethodAccount_type Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods toJSON :: PaymentMethodAccount_type -> Value # toEncoding :: PaymentMethodAccount_type -> Encoding # toJSONList :: [PaymentMethodAccount_type] -> Value # | |
Show PaymentMethodAccount_type Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods showsPrec :: Int -> PaymentMethodAccount_type -> ShowS # show :: PaymentMethodAccount_type -> String # showList :: [PaymentMethodAccount_type] -> ShowS # | |
Eq PaymentMethodAccount_type Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods (==) :: PaymentMethodAccount_type -> PaymentMethodAccount_type -> Bool # (/=) :: PaymentMethodAccount_type -> PaymentMethodAccount_type -> Bool # |
data PaymentMethodCard_network_preference Source #
Defines the enum schema located at components.schemas.PaymentMethod.properties.card_network_preference
in the specification.
Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
Constructors
PaymentMethodCard_network_preferenceOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PaymentMethodCard_network_preferenceTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PaymentMethodCard_network_preferenceEnumBancontact | Represents the JSON value |
PaymentMethodCard_network_preferenceEnumCartesBancaires | Represents the JSON value |
PaymentMethodCard_network_preferenceEnumDankort | Represents the JSON value |
PaymentMethodCard_network_preferenceEnumMasterCard | Represents the JSON value |
PaymentMethodCard_network_preferenceEnumVisa | Represents the JSON value |
Instances
data PaymentMethodCard_type Source #
Defines the enum schema located at components.schemas.PaymentMethod.properties.card_type
in the specification.
Visa, MasterCard, American Express, Discover, JCB, etc.
Constructors
PaymentMethodCard_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PaymentMethodCard_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PaymentMethodCard_typeEnumAmerican_Express | Represents the JSON value |
PaymentMethodCard_typeEnumDankort | Represents the JSON value |
PaymentMethodCard_typeEnumDiners_Club | Represents the JSON value |
PaymentMethodCard_typeEnumDiscover | Represents the JSON value |
PaymentMethodCard_typeEnumELO | Represents the JSON value |
PaymentMethodCard_typeEnumForbrugsforeningen | Represents the JSON value |
PaymentMethodCard_typeEnumHipercard | Represents the JSON value |
PaymentMethodCard_typeEnumJCB | Represents the JSON value |
PaymentMethodCard_typeEnumLaser | Represents the JSON value |
PaymentMethodCard_typeEnumMaestro | Represents the JSON value |
PaymentMethodCard_typeEnumMasterCard | Represents the JSON value |
PaymentMethodCard_typeEnumTest_Card | Represents the JSON value |
PaymentMethodCard_typeEnumUnion_Pay | Represents the JSON value |
PaymentMethodCard_typeEnumUnknown | Represents the JSON value |
PaymentMethodCard_typeEnumVisa | Represents the JSON value |
PaymentMethodCard_typeEnumTarjeta_Naranja | Represents the JSON value |
Instances
FromJSON PaymentMethodCard_type Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods parseJSON :: Value -> Parser PaymentMethodCard_type # parseJSONList :: Value -> Parser [PaymentMethodCard_type] # | |
ToJSON PaymentMethodCard_type Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods toJSON :: PaymentMethodCard_type -> Value # toEncoding :: PaymentMethodCard_type -> Encoding # toJSONList :: [PaymentMethodCard_type] -> Value # | |
Show PaymentMethodCard_type Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods showsPrec :: Int -> PaymentMethodCard_type -> ShowS # show :: PaymentMethodCard_type -> String # showList :: [PaymentMethodCard_type] -> ShowS # | |
Eq PaymentMethodCard_type Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods (==) :: PaymentMethodCard_type -> PaymentMethodCard_type -> Bool # (/=) :: PaymentMethodCard_type -> PaymentMethodCard_type -> Bool # |
data PaymentMethodFunding_source Source #
Defines the enum schema located at components.schemas.PaymentMethod.properties.funding_source
in the specification.
The funding source of the card, if known.
Constructors
PaymentMethodFunding_sourceOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PaymentMethodFunding_sourceTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PaymentMethodFunding_sourceEnumCredit | Represents the JSON value |
PaymentMethodFunding_sourceEnumDebit | Represents the JSON value |
PaymentMethodFunding_sourceEnumCharge | Represents the JSON value |
PaymentMethodFunding_sourceEnumPrepaid | Represents the JSON value |
PaymentMethodFunding_sourceEnumDeferred_debit | Represents the JSON value |
Instances
data PaymentMethodGateway_attributes Source #
Defines the object schema located at components.schemas.PaymentMethod.properties.gateway_attributes
in the specification.
Gateway specific attributes associated with this PaymentMethod
Constructors
PaymentMethodGateway_attributes | |
Fields
|
Instances
mkPaymentMethodGateway_attributes :: PaymentMethodGateway_attributes Source #
Create a new PaymentMethodGateway_attributes
with all required fields.
data PaymentMethodObject Source #
Defines the enum schema located at components.schemas.PaymentMethod.properties.object
in the specification.
Constructors
PaymentMethodObjectOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PaymentMethodObjectTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PaymentMethodObjectEnumBacs | Represents the JSON value |
PaymentMethodObjectEnumAmazon | Represents the JSON value |
PaymentMethodObjectEnumAmazon_billing_agreement | Represents the JSON value |
PaymentMethodObjectEnumApple_pay | Represents the JSON value |
PaymentMethodObjectEnumBank_account_info | Represents the JSON value |
PaymentMethodObjectEnumBraintree_apple_pay | Represents the JSON value |
PaymentMethodObjectEnumCheck | Represents the JSON value |
PaymentMethodObjectEnumCredit_card | Represents the JSON value |
PaymentMethodObjectEnumEft | Represents the JSON value |
PaymentMethodObjectEnumGateway_token | Represents the JSON value |
PaymentMethodObjectEnumGoogle_pay | Represents the JSON value |
PaymentMethodObjectEnumIban_bank_account | Represents the JSON value |
PaymentMethodObjectEnumMoney_order | Represents the JSON value |
PaymentMethodObjectEnumOther | Represents the JSON value |
PaymentMethodObjectEnumPaypal | Represents the JSON value |
PaymentMethodObjectEnumPaypal_billing_agreement | Represents the JSON value |
PaymentMethodObjectEnumRoku | Represents the JSON value |
PaymentMethodObjectEnumSepadirectdebit | Represents the JSON value |
PaymentMethodObjectEnumVenmo | Represents the JSON value |
PaymentMethodObjectEnumWire_transfer | Represents the JSON value |
PaymentMethodObjectEnumBraintree_v_zero | Represents the JSON value |
PaymentMethodObjectEnumBoleto | Represents the JSON value |
PaymentMethodObjectEnumCash_app | Represents the JSON value |
Instances
FromJSON PaymentMethodObject Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods parseJSON :: Value -> Parser PaymentMethodObject # parseJSONList :: Value -> Parser [PaymentMethodObject] # | |
ToJSON PaymentMethodObject Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods toJSON :: PaymentMethodObject -> Value # toEncoding :: PaymentMethodObject -> Encoding # toJSONList :: [PaymentMethodObject] -> Value # toEncodingList :: [PaymentMethodObject] -> Encoding # | |
Show PaymentMethodObject Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods showsPrec :: Int -> PaymentMethodObject -> ShowS # show :: PaymentMethodObject -> String # showList :: [PaymentMethodObject] -> ShowS # | |
Eq PaymentMethodObject Source # | |
Defined in RecurlyClient.Types.PaymentMethod Methods (==) :: PaymentMethodObject -> PaymentMethodObject -> Bool # (/=) :: PaymentMethodObject -> PaymentMethodObject -> Bool # |