recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Types.PaymentMethod

Description

Contains the types generated from the schema PaymentMethod

Synopsis

Documentation

data PaymentMethod Source #

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

Constructors

PaymentMethod 

Fields

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 "checking"

PaymentMethodAccount_typeEnumSavings

Represents the JSON value "savings"

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 Bancontact

PaymentMethodCard_network_preferenceEnumCartesBancaires

Represents the JSON value CartesBancaires

PaymentMethodCard_network_preferenceEnumDankort

Represents the JSON value Dankort

PaymentMethodCard_network_preferenceEnumMasterCard

Represents the JSON value MasterCard

PaymentMethodCard_network_preferenceEnumVisa

Represents the JSON value Visa

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 "American Express"

PaymentMethodCard_typeEnumDankort

Represents the JSON value Dankort

PaymentMethodCard_typeEnumDiners_Club

Represents the JSON value "Diners Club"

PaymentMethodCard_typeEnumDiscover

Represents the JSON value Discover

PaymentMethodCard_typeEnumELO

Represents the JSON value ELO

PaymentMethodCard_typeEnumForbrugsforeningen

Represents the JSON value Forbrugsforeningen

PaymentMethodCard_typeEnumHipercard

Represents the JSON value Hipercard

PaymentMethodCard_typeEnumJCB

Represents the JSON value JCB

PaymentMethodCard_typeEnumLaser

Represents the JSON value Laser

PaymentMethodCard_typeEnumMaestro

Represents the JSON value Maestro

PaymentMethodCard_typeEnumMasterCard

Represents the JSON value MasterCard

PaymentMethodCard_typeEnumTest_Card

Represents the JSON value "Test Card"

PaymentMethodCard_typeEnumUnion_Pay

Represents the JSON value "Union Pay"

PaymentMethodCard_typeEnumUnknown

Represents the JSON value Unknown

PaymentMethodCard_typeEnumVisa

Represents the JSON value Visa

PaymentMethodCard_typeEnumTarjeta_Naranja

Represents the JSON value "Tarjeta Naranja"

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 "credit"

PaymentMethodFunding_sourceEnumDebit

Represents the JSON value "debit"

PaymentMethodFunding_sourceEnumCharge

Represents the JSON value "charge"

PaymentMethodFunding_sourceEnumPrepaid

Represents the JSON value "prepaid"

PaymentMethodFunding_sourceEnumDeferred_debit

Represents the JSON value "deferred_debit"

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

  • paymentMethodGateway_attributesAccount_reference :: Maybe Text

    account_reference: Used by Adyen and Braintree gateways. For Adyen the Shopper Reference value used when the external token was created. For Braintree the PayPal PayerID is populated in the response.

    Constraints:

    • Maximum length of 264

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 "bacs"

PaymentMethodObjectEnumAmazon

Represents the JSON value "amazon"

PaymentMethodObjectEnumAmazon_billing_agreement

Represents the JSON value "amazon_billing_agreement"

PaymentMethodObjectEnumApple_pay

Represents the JSON value "apple_pay"

PaymentMethodObjectEnumBank_account_info

Represents the JSON value "bank_account_info"

PaymentMethodObjectEnumBraintree_apple_pay

Represents the JSON value "braintree_apple_pay"

PaymentMethodObjectEnumCheck

Represents the JSON value "check"

PaymentMethodObjectEnumCredit_card

Represents the JSON value "credit_card"

PaymentMethodObjectEnumEft

Represents the JSON value "eft"

PaymentMethodObjectEnumGateway_token

Represents the JSON value "gateway_token"

PaymentMethodObjectEnumGoogle_pay

Represents the JSON value "google_pay"

PaymentMethodObjectEnumIban_bank_account

Represents the JSON value "iban_bank_account"

PaymentMethodObjectEnumMoney_order

Represents the JSON value "money_order"

PaymentMethodObjectEnumOther

Represents the JSON value "other"

PaymentMethodObjectEnumPaypal

Represents the JSON value "paypal"

PaymentMethodObjectEnumPaypal_billing_agreement

Represents the JSON value "paypal_billing_agreement"

PaymentMethodObjectEnumRoku

Represents the JSON value "roku"

PaymentMethodObjectEnumSepadirectdebit

Represents the JSON value "sepadirectdebit"

PaymentMethodObjectEnumVenmo

Represents the JSON value "venmo"

PaymentMethodObjectEnumWire_transfer

Represents the JSON value "wire_transfer"

PaymentMethodObjectEnumBraintree_v_zero

Represents the JSON value "braintree_v_zero"

PaymentMethodObjectEnumBoleto

Represents the JSON value "boleto"

PaymentMethodObjectEnumCash_app

Represents the JSON value "cash_app"