stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.PaymentSource

Description

Contains the types generated from the schema PaymentSource

Synopsis

Documentation

data PaymentSource Source #

Defines the object schema located at components.schemas.payment_source.anyOf in the specification.

Constructors

PaymentSource 

Fields

mkPaymentSource :: PaymentSource Source #

Create a new PaymentSource with all required fields.

data PaymentSourceAvailablePayoutMethods' Source #

Defines the enum schema located at components.schemas.payment_source.anyOf.properties.available_payout_methods.items in the specification.

Constructors

PaymentSourceAvailablePayoutMethods'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PaymentSourceAvailablePayoutMethods'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PaymentSourceAvailablePayoutMethods'EnumInstant

Represents the JSON value "instant"

PaymentSourceAvailablePayoutMethods'EnumStandard

Represents the JSON value "standard"

data PaymentSourceBusinessProfile' Source #

Defines the object schema located at components.schemas.payment_source.anyOf.properties.business_profile.anyOf in the specification.

Business information about the account.

Constructors

PaymentSourceBusinessProfile' 

Fields

data PaymentSourceBusinessProfile'SupportAddress' Source #

Defines the object schema located at components.schemas.payment_source.anyOf.properties.business_profile.anyOf.properties.support_address.anyOf in the specification.

A publicly available mailing address for sending support issues to.

Constructors

PaymentSourceBusinessProfile'SupportAddress' 

Fields

data PaymentSourceBusinessType' Source #

Defines the enum schema located at components.schemas.payment_source.anyOf.properties.business_type in the specification.

The business type.

Constructors

PaymentSourceBusinessType'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PaymentSourceBusinessType'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PaymentSourceBusinessType'EnumCompany

Represents the JSON value "company"

PaymentSourceBusinessType'EnumGovernmentEntity

Represents the JSON value "government_entity"

PaymentSourceBusinessType'EnumIndividual

Represents the JSON value "individual"

PaymentSourceBusinessType'EnumNonProfit

Represents the JSON value "non_profit"

data PaymentSourceCustomer'Variants Source #

Defines the oneOf schema located at components.schemas.payment_source.anyOf.properties.customer.anyOf in the specification.

The ID of the customer associated with this Alipay Account.

data PaymentSourceExternalAccounts' Source #

Defines the object schema located at components.schemas.payment_source.anyOf.properties.external_accounts in the specification.

External accounts (bank accounts and debit cards) currently attached to this account

Constructors

PaymentSourceExternalAccounts' 

Fields

data PaymentSourceExternalAccounts'Data' Source #

Defines the object schema located at components.schemas.payment_source.anyOf.properties.external_accounts.properties.data.items.anyOf in the specification.

Constructors

PaymentSourceExternalAccounts'Data' 

Fields

data PaymentSourceExternalAccounts'Data'Account'Variants Source #

Defines the oneOf schema located at components.schemas.payment_source.anyOf.properties.external_accounts.properties.data.items.anyOf.properties.account.anyOf in the specification.

The ID of the account that the bank account is associated with.

Instances

Instances details
Eq PaymentSourceExternalAccounts'Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

Show PaymentSourceExternalAccounts'Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

ToJSON PaymentSourceExternalAccounts'Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

FromJSON PaymentSourceExternalAccounts'Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

data PaymentSourceExternalAccounts'Data'AvailablePayoutMethods' Source #

Defines the enum schema located at components.schemas.payment_source.anyOf.properties.external_accounts.properties.data.items.anyOf.properties.available_payout_methods.items in the specification.

Constructors

PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'EnumInstant

Represents the JSON value "instant"

PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'EnumStandard

Represents the JSON value "standard"

Instances

Instances details
Eq PaymentSourceExternalAccounts'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

Show PaymentSourceExternalAccounts'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

ToJSON PaymentSourceExternalAccounts'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

FromJSON PaymentSourceExternalAccounts'Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

data PaymentSourceExternalAccounts'Data'Customer'Variants Source #

Defines the oneOf schema located at components.schemas.payment_source.anyOf.properties.external_accounts.properties.data.items.anyOf.properties.customer.anyOf in the specification.

The ID of the customer that the bank account is associated with.

Instances

Instances details
Eq PaymentSourceExternalAccounts'Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

Show PaymentSourceExternalAccounts'Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

ToJSON PaymentSourceExternalAccounts'Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

FromJSON PaymentSourceExternalAccounts'Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

data PaymentSourceExternalAccounts'Data'Object' Source #

Defines the enum schema located at components.schemas.payment_source.anyOf.properties.external_accounts.properties.data.items.anyOf.properties.object in the specification.

String representing the object's type. Objects of the same type share the same value.

Constructors

PaymentSourceExternalAccounts'Data'Object'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PaymentSourceExternalAccounts'Data'Object'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PaymentSourceExternalAccounts'Data'Object'EnumBankAccount

Represents the JSON value "bank_account"

data PaymentSourceExternalAccounts'Data'Recipient'Variants Source #

Defines the oneOf schema located at components.schemas.payment_source.anyOf.properties.external_accounts.properties.data.items.anyOf.properties.recipient.anyOf in the specification.

The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

Instances

Instances details
Eq PaymentSourceExternalAccounts'Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

Show PaymentSourceExternalAccounts'Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

ToJSON PaymentSourceExternalAccounts'Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

FromJSON PaymentSourceExternalAccounts'Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Types.PaymentSource

data PaymentSourceObject' Source #

Defines the enum schema located at components.schemas.payment_source.anyOf.properties.object in the specification.

String representing the object's type. Objects of the same type share the same value.

Constructors

PaymentSourceObject'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PaymentSourceObject'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PaymentSourceObject'EnumAccount

Represents the JSON value "account"

data PaymentSourceOwner' Source #

Defines the object schema located at components.schemas.payment_source.anyOf.properties.owner.anyOf in the specification.

Information about the owner of the payment instrument that may be used or required by particular source types.

Constructors

PaymentSourceOwner' 

Fields

mkPaymentSourceOwner' :: PaymentSourceOwner' Source #

Create a new PaymentSourceOwner' with all required fields.

data PaymentSourceOwner'Address' Source #

Defines the object schema located at components.schemas.payment_source.anyOf.properties.owner.anyOf.properties.address.anyOf in the specification.

Owner\'s address.

Constructors

PaymentSourceOwner'Address' 

Fields

data PaymentSourceOwner'VerifiedAddress' Source #

Defines the object schema located at components.schemas.payment_source.anyOf.properties.owner.anyOf.properties.verified_address.anyOf in the specification.

Verified owner\'s address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

Constructors

PaymentSourceOwner'VerifiedAddress' 

Fields

data PaymentSourceRecipient'Variants Source #

Defines the oneOf schema located at components.schemas.payment_source.anyOf.properties.recipient.anyOf in the specification.

The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

data PaymentSourceSettings' Source #

Defines the object schema located at components.schemas.payment_source.anyOf.properties.settings.anyOf in the specification.

Options for customizing how the account functions within Stripe.

data PaymentSourceTransactions' Source #

Defines the object schema located at components.schemas.payment_source.anyOf.properties.transactions in the specification.

A list with one entry for each time that the customer sent bitcoin to the receiver. Hidden when viewing the receiver with a publishable key.

Constructors

PaymentSourceTransactions' 

Fields

data PaymentSourceType' Source #

Defines the enum schema located at components.schemas.payment_source.anyOf.properties.type in the specification.

The Stripe account type. Can be `standard`, `express`, or `custom`.

Constructors

PaymentSourceType'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PaymentSourceType'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PaymentSourceType'EnumCustom

Represents the JSON value "custom"

PaymentSourceType'EnumExpress

Represents the JSON value "express"

PaymentSourceType'EnumStandard

Represents the JSON value "standard"